aboutsummaryrefslogtreecommitdiff
path: root/src/messages-service.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2014-11-03 20:56:20 +0000
committerCI bot <ps-jenkins@lists.canonical.com>2014-11-03 20:56:20 +0000
commit2b470ce8dfbdfc6f6d7c5344bef76784b3f5915a (patch)
tree84b83a5df9e93a07dba3dc512e6354aa54439e33 /src/messages-service.c
parent8ff11f946024ddd04f1e5322efcd57ecb147efdf (diff)
parent330352f2d5983357dad382b89bb4c0be803cf7cb (diff)
downloadayatana-indicator-messages-2b470ce8dfbdfc6f6d7c5344bef76784b3f5915a.tar.gz
ayatana-indicator-messages-2b470ce8dfbdfc6f6d7c5344bef76784b3f5915a.tar.bz2
ayatana-indicator-messages-2b470ce8dfbdfc6f6d7c5344bef76784b3f5915a.zip
Add filtering for lock screen. Fixes: 1358340
Approved by: PS Jenkins bot
Diffstat (limited to 'src/messages-service.c')
-rw-r--r--src/messages-service.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/messages-service.c b/src/messages-service.c
index d1ccbbc..d2c7e92 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -273,8 +273,10 @@ 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", im_phone_menu_new (applications, FALSE));
+ g_hash_table_insert (menus, "phone_greeter", im_phone_menu_new (applications, TRUE));
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);