summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2013-03-18 08:19:01 +0100
committerStef Walter <stefw@gnome.org>2013-03-18 08:19:44 +0100
commitf14fd0a8ee08e26904e473af22614c34a79f3479 (patch)
tree6f0a1f1970c2d3b2b714b9fcae80a2a3615fdaad /ui
parentf25cc328066e7b6a7f960aea38ab6beb6f967a42 (diff)
ui: Have the gcr-prompter replace the running prompter
If the gcr-prompter is explicitly run, then have it replace the running prompter. This is for debugging purposes, and other desktops.
Diffstat (limited to 'ui')
-rw-r--r--ui/gcr-prompter-tool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gcr-prompter-tool.c b/ui/gcr-prompter-tool.c
index 54aa024..dde4bdc 100644
--- a/ui/gcr-prompter-tool.c
+++ b/ui/gcr-prompter-tool.c
@@ -234,7 +234,7 @@ main (int argc, char *argv[])
system_owner_id = g_bus_own_name (G_BUS_TYPE_SESSION,
GCR_DBUS_PROMPTER_SYSTEM_BUS_NAME,
- G_BUS_NAME_OWNER_FLAGS_NONE,
+ G_BUS_NAME_OWNER_FLAGS_REPLACE,
on_bus_acquired,
on_name_acquired,
on_name_lost,
@@ -243,7 +243,7 @@ main (int argc, char *argv[])
private_owner_id = g_bus_own_name (G_BUS_TYPE_SESSION,
GCR_DBUS_PROMPTER_PRIVATE_BUS_NAME,
- G_BUS_NAME_OWNER_FLAGS_NONE,
+ G_BUS_NAME_OWNER_FLAGS_REPLACE,
on_bus_acquired,
on_name_acquired,
on_name_lost,