aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-08-20 10:47:48 -0500
committerTed Gould <ted@gould.cx>2014-08-20 10:47:48 -0500
commite66af3b073fbbf77236a186bdd8caa6d14e71737 (patch)
tree753a005b68674315bf0209a3cf5612defb8c76d2
parent3dff9faf490ddc96bccb70f7c277c69e1e28a386 (diff)
downloadayatana-indicator-messages-e66af3b073fbbf77236a186bdd8caa6d14e71737.tar.gz
ayatana-indicator-messages-e66af3b073fbbf77236a186bdd8caa6d14e71737.tar.bz2
ayatana-indicator-messages-e66af3b073fbbf77236a186bdd8caa6d14e71737.zip
Adding desktop_greeter and phone_greeter profiles
-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);