[nautilus] dbus-launcher: Add ability to launch GNOME Console
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] dbus-launcher: Add ability to launch GNOME Console
- Date: Thu, 4 Aug 2022 22:31:06 +0000 (UTC)
commit f011462772c37365c1051b601fbd171433864508
Author: Corey Berla <corey berla me>
Date: Sat Jul 30 16:02:55 2022 -0700
dbus-launcher: Add ability to launch GNOME Console
Add interface for org.gnome.Console
src/nautilus-dbus-launcher.c | 5 +++++
src/nautilus-dbus-launcher.h | 1 +
2 files changed, 6 insertions(+)
---
diff --git a/src/nautilus-dbus-launcher.c b/src/nautilus-dbus-launcher.c
index 99c0b28c8..84ee8676a 100644
--- a/src/nautilus-dbus-launcher.c
+++ b/src/nautilus-dbus-launcher.c
@@ -215,6 +215,7 @@ nautilus_dbus_launcher_init (NautilusDBusLauncher *self)
{
nautilus_dbus_launcher_data_init (self, NAUTILUS_DBUS_LAUNCHER_SETTINGS, FALSE);
nautilus_dbus_launcher_data_init (self, NAUTILUS_DBUS_LAUNCHER_DISKS, TRUE);
+ nautilus_dbus_launcher_data_init (self, NAUTILUS_DBUS_LAUNCHER_CONSOLE, TRUE);
nautilus_dbus_launcher_create_proxy (self->data[NAUTILUS_DBUS_LAUNCHER_SETTINGS],
"org.gnome.Settings", "/org/gnome/Settings",
@@ -223,4 +224,8 @@ nautilus_dbus_launcher_init (NautilusDBusLauncher *self)
nautilus_dbus_launcher_create_proxy (self->data[NAUTILUS_DBUS_LAUNCHER_DISKS],
"org.gnome.DiskUtility", "/org/gnome/DiskUtility",
"org.gtk.Application");
+
+ nautilus_dbus_launcher_create_proxy (self->data[NAUTILUS_DBUS_LAUNCHER_CONSOLE],
+ "org.gnome.Console", "/org/gnome/Console",
+ "org.freedesktop.Application");
}
diff --git a/src/nautilus-dbus-launcher.h b/src/nautilus-dbus-launcher.h
index 8d5552d95..0e553372d 100644
--- a/src/nautilus-dbus-launcher.h
+++ b/src/nautilus-dbus-launcher.h
@@ -20,6 +20,7 @@ typedef enum {
NAUTILUS_DBUS_APP_0,
NAUTILUS_DBUS_LAUNCHER_SETTINGS,
NAUTILUS_DBUS_LAUNCHER_DISKS,
+ NAUTILUS_DBUS_LAUNCHER_CONSOLE,
NAUTILUS_DBUS_LAUNCHER_N_APPS
} NautilusDBusLauncherApp;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]