diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-05-18 23:29:59 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-05-18 23:29:59 +0200 |
commit | 63d9a2f65fc576b03181b8c2aecc1f6775524d8b (patch) | |
tree | f0951d0de570ec573943a077b8c76902692f4799 | |
parent | 5d54b6aca7f1d1b9f63dc7792b2765c1ca91d628 (diff) | |
download | arctica-greeter-63d9a2f65fc576b03181b8c2aecc1f6775524d8b.tar.gz arctica-greeter-63d9a2f65fc576b03181b8c2aecc1f6775524d8b.tar.bz2 arctica-greeter-63d9a2f65fc576b03181b8c2aecc1f6775524d8b.zip |
Acquire DBus session bus 'com.canonical.Unity' for now. Same bus name is used in ayatana-indicator-session and maybe elsewhere.
-rw-r--r-- | src/arctica-greeter.vala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala index c4e3a45..a98f25f 100644 --- a/src/arctica-greeter.vala +++ b/src/arctica-greeter.vala @@ -501,7 +501,7 @@ public class ArcticaGreeter main_window = new MainWindow (); - Bus.own_name (BusType.SESSION, "org.arctica-project.ArcticaGreeter", BusNameOwnerFlags.NONE); + Bus.own_name (BusType.SESSION, "com.canonical.Unity", BusNameOwnerFlags.NONE); dbus_object = new DialogDBusInterface (); dbus_object.open_dialog.connect ((type) => @@ -520,7 +520,7 @@ public class ArcticaGreeter main_window.show_shutdown_dialog (dialog_type); }); dbus_object.close_dialog.connect ((type) => { main_window.close_shutdown_dialog (); }); - Bus.own_name (BusType.SESSION, "org.arctica-project.GreeterSession", BusNameOwnerFlags.NONE, + Bus.own_name (BusType.SESSION, "com.canonical.Unity", BusNameOwnerFlags.NONE, (c) => { try @@ -533,7 +533,7 @@ public class ArcticaGreeter } }, null, - () => debug ("Failed to acquire name org.arctica-project.GreeterSession")); + () => debug ("Failed to acquire name com.canonical.Unity")); start_fake_wm (); Gdk.threads_add_idle (ready_cb); |