summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorXiaotian Wu <[email protected]>2023-10-02 20:41:19 +0800
committerraveit65 <[email protected]>2023-10-07 19:55:00 +0200
commitbfbb91b6edcf90501a236fa98a66340b83798297 (patch)
tree2447cd27bdf8f94fc2dd0e11ce34cf05319107b8 /plugins
parent5a5e8bf6520af810a4a880af815e0fca6a37c821 (diff)
downloadmate-settings-daemon-bfbb91b6edcf90501a236fa98a66340b83798297.tar.bz2
mate-settings-daemon-bfbb91b6edcf90501a236fa98a66340b83798297.tar.xz
rfkill: change bus name to org.mate.SettingsDaemon
Diffstat (limited to 'plugins')
-rw-r--r--plugins/media-keys/msd-media-keys-manager.c2
-rw-r--r--plugins/rfkill/msd-rfkill-manager.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/media-keys/msd-media-keys-manager.c b/plugins/media-keys/msd-media-keys-manager.c
index 9d25367..0aee95f 100644
--- a/plugins/media-keys/msd-media-keys-manager.c
+++ b/plugins/media-keys/msd-media-keys-manager.c
@@ -1525,7 +1525,7 @@ rfkill_appeared_cb (GDBusConnection *connection,
g_dbus_proxy_new_for_bus (G_BUS_TYPE_SESSION,
0, NULL,
- "org.mate.SettingsDaemon.Rfkill",
+ "org.mate.SettingsDaemon",
"/org/mate/SettingsDaemon/Rfkill",
"org.mate.SettingsDaemon.Rfkill",
manager->priv->rfkill_cancellable,
diff --git a/plugins/rfkill/msd-rfkill-manager.c b/plugins/rfkill/msd-rfkill-manager.c
index 397bb0e..252761d 100644
--- a/plugins/rfkill/msd-rfkill-manager.c
+++ b/plugins/rfkill/msd-rfkill-manager.c
@@ -491,7 +491,7 @@ on_bus_gotten (GObject *source_object,
NULL);
manager->priv->name_id = g_bus_own_name_on_connection (connection,
- MSD_RFKILL_DBUS_NAME,
+ MSD_DBUS_NAME,
G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT,
NULL,
NULL,