From 23148d962c4cebe776033b6f487fe3197ad819a5 Mon Sep 17 00:00:00 2001 From: lenemter Date: Sat, 24 Aug 2024 22:51:53 +0900 Subject: [PATCH 1/2] Use new gala dbus name --- src/Application.vala | 2 +- src/Services/BackgroundManager.vala | 6 +++--- wingpanel-interface/DBusServer.vala | 2 +- wingpanel-interface/Main.vala | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Application.vala b/src/Application.vala index ffd871b0..95000b03 100644 --- a/src/Application.vala +++ b/src/Application.vala @@ -36,7 +36,7 @@ public class Wingpanel.Application : Gtk.Application { construct { flags = ApplicationFlags.HANDLES_COMMAND_LINE; - application_id = "org.elementary.wingpanel"; + application_id = "io.elementary.wingpanel"; add_main_option_entries (OPTIONS); diff --git a/src/Services/BackgroundManager.vala b/src/Services/BackgroundManager.vala index ccf43ff7..3da1c2e9 100644 --- a/src/Services/BackgroundManager.vala +++ b/src/Services/BackgroundManager.vala @@ -26,7 +26,7 @@ namespace Wingpanel.Services { TRANSLUCENT_LIGHT } - [DBus (name = "org.pantheon.gala.WingpanelInterface")] + [DBus (name = "io.elementary.gala.WingpanelInterface")] public interface InterfaceBus : Object { public signal void state_changed (BackgroundState state, uint animation_duration); @@ -37,8 +37,8 @@ namespace Wingpanel.Services { } public class BackgroundManager : Object { - private const string DBUS_NAME = "org.pantheon.gala.WingpanelInterface"; - private const string DBUS_PATH = "/org/pantheon/gala/WingpanelInterface"; + private const string DBUS_NAME = "io.elementary.gala.WingpanelInterface"; + private const string DBUS_PATH = "/io/elementary/gala/WingpanelInterface"; private static BackgroundManager? instance = null; diff --git a/wingpanel-interface/DBusServer.vala b/wingpanel-interface/DBusServer.vala index a157ecf1..4692b7a6 100644 --- a/wingpanel-interface/DBusServer.vala +++ b/wingpanel-interface/DBusServer.vala @@ -17,7 +17,7 @@ * Boston, MA 02110-1301 USA. */ -[DBus (name = "org.pantheon.gala.WingpanelInterface")] +[DBus (name = "io.pantheon.gala.WingpanelInterface")] public class WingpanelInterface.DBusServer : Object { private BackgroundManager background_manager; private FocusManager focus_manager; diff --git a/wingpanel-interface/Main.vala b/wingpanel-interface/Main.vala index ecb4405d..9cab5528 100644 --- a/wingpanel-interface/Main.vala +++ b/wingpanel-interface/Main.vala @@ -23,8 +23,8 @@ */ public class WingpanelInterface.Main : Gala.Plugin { - private const string DBUS_NAME = "org.pantheon.gala.WingpanelInterface"; - private const string DBUS_PATH = "/org/pantheon/gala/WingpanelInterface"; + private const string DBUS_NAME = "io.elementary.gala.WingpanelInterface"; + private const string DBUS_PATH = "/io/elementary/gala/WingpanelInterface"; public static Gala.WindowManager wm; public static unowned Meta.Display display; From 3bbd5d19fb163b38b33a6b988cd8e8b1313e8f79 Mon Sep 17 00:00:00 2001 From: lenemter Date: Sat, 24 Aug 2024 23:14:32 +0900 Subject: [PATCH 2/2] Revert app id --- src/Application.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Application.vala b/src/Application.vala index 95000b03..ffd871b0 100644 --- a/src/Application.vala +++ b/src/Application.vala @@ -36,7 +36,7 @@ public class Wingpanel.Application : Gtk.Application { construct { flags = ApplicationFlags.HANDLES_COMMAND_LINE; - application_id = "io.elementary.wingpanel"; + application_id = "org.elementary.wingpanel"; add_main_option_entries (OPTIONS);