[gcr] ui: Have the gcr-prompter replace the running prompter
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcr] ui: Have the gcr-prompter replace the running prompter
- Date: Mon, 18 Mar 2013 07:26:04 +0000 (UTC)
commit f14fd0a8ee08e26904e473af22614c34a79f3479
Author: Stef Walter <stefw gnome org>
Date: Mon Mar 18 08:19:01 2013 +0100
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.
ui/gcr-prompter-tool.c | 4 ++--
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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]