aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/com.canonical.indicator.messages5
-rw-r--r--src/messages-service.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/data/com.canonical.indicator.messages b/data/com.canonical.indicator.messages
index 2bc6156..f08a1bc 100644
--- a/data/com.canonical.indicator.messages
+++ b/data/com.canonical.indicator.messages
@@ -6,9 +6,12 @@ Position=50
[desktop]
ObjectPath=/com/canonical/indicator/messages/desktop
+[desktop_greeter]
+ObjectPath=/com/canonical/indicator/messages/desktop_greeter
+
[phone]
ObjectPath=/com/canonical/indicator/messages/phone
[phone_greeter]
-ObjectPath=/com/canonical/indicator/messages/phone
+ObjectPath=/com/canonical/indicator/messages/phone_greeter
diff --git a/src/messages-service.c b/src/messages-service.c
index d1ccbbc..3035d84 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -274,7 +274,9 @@ main (int argc, char ** argv)
menus = g_hash_table_new_full (g_str_hash, g_str_equal, NULL, g_object_unref);
g_hash_table_insert (menus, "phone", im_phone_menu_new (applications));
+ g_hash_table_insert (menus, "phone_greeter", im_phone_menu_new (applications));
g_hash_table_insert (menus, "desktop", im_desktop_menu_new (applications));
+ g_hash_table_insert (menus, "desktop_greeter", im_desktop_menu_new (applications));
g_unix_signal_add(SIGTERM, sig_term_handler, mainloop);