aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-05-23 12:02:34 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-05-23 12:02:34 +0200
commit930c41ab69640df2d76bdba85d9bc8c61087b016 (patch)
tree4217a1808ac09e19bc2643ec817ee5bd22250e8d
parent794b686759521d6cb5a3c3679e4eca16fc6c86f7 (diff)
downloadarctica-greeter-930c41ab69640df2d76bdba85d9bc8c61087b016.tar.gz
arctica-greeter-930c41ab69640df2d76bdba85d9bc8c61087b016.tar.bz2
arctica-greeter-930c41ab69640df2d76bdba85d9bc8c61087b016.zip
DBus own_name: Clear up mess. Arctica Greeter owns two buses: org.ArcticaProject.ArcticaGreeter (formerly: com.canonical.UnityGreeter) and org.ayatana.Desktop (formerly: com.canonical.Unity).
-rw-r--r--src/arctica-greeter.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala
index adbe582..e6d59da 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, "com.canonical.Unity", BusNameOwnerFlags.NONE);
+ Bus.own_name (BusType.SESSION, "org.ArcticaProject.ArcticaGreeter", 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, "com.canonical.Unity", BusNameOwnerFlags.NONE,
+ Bus.own_name (BusType.SESSION, "org.ayatana.Desktop", BusNameOwnerFlags.NONE,
(c) =>
{
try
@@ -533,7 +533,7 @@ public class ArcticaGreeter
}
},
null,
- () => debug ("Failed to acquire name com.canonical.Unity"));
+ () => debug ("Failed to acquire name org.ayatana.Desktop"));
start_fake_wm ();
Gdk.threads_add_idle (ready_cb);