From 25ad920d871e6ff3036942f118afac9264041159 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 28 Oct 2015 23:35:33 +0100 Subject: Set a session name in our own namespace. --- src/arctica-greeter.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala index 23d79f9..37c28db 100644 --- a/src/arctica-greeter.vala +++ b/src/arctica-greeter.vala @@ -119,7 +119,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.gnome.SessionManager", BusNameOwnerFlags.NONE, + Bus.own_name (BusType.SESSION, "org.ArcticaProject.GreeterSession", BusNameOwnerFlags.NONE, (c) => { try @@ -132,7 +132,7 @@ public class ArcticaGreeter } }, null, - () => debug ("Failed to acquire name org.gnome.SessionManager")); + () => debug ("Failed to acquire name org.ArcticaProject.GreeterSession")); start_fake_wm (); Gdk.threads_add_idle (ready_cb); -- cgit v1.2.3