aboutsummaryrefslogtreecommitdiff
path: root/src/messages-service.c
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-08-13 09:43:22 +0200
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-08-13 09:43:22 +0200
commit046ef6f5581ab2634d5ef097e6c449316c2404bf (patch)
treebbcbc8b9943b39d10e055d9ea469bb51a385e2d0 /src/messages-service.c
parent0b24c6a91ff91400568cab9b4d192a0a85db918e (diff)
downloadayatana-indicator-messages-046ef6f5581ab2634d5ef097e6c449316c2404bf.tar.gz
ayatana-indicator-messages-046ef6f5581ab2634d5ef097e6c449316c2404bf.tar.bz2
ayatana-indicator-messages-046ef6f5581ab2634d5ef097e6c449316c2404bf.zip
Add desktop menu
Only shows application launchers right now.
Diffstat (limited to 'src/messages-service.c')
-rw-r--r--src/messages-service.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/messages-service.c b/src/messages-service.c
index 781e261..efe9602 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -32,6 +32,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include "indicator-messages-service.h"
#include "indicator-messages-application.h"
#include "im-phone-menu.h"
+#include "im-desktop-menu.h"
#include "im-application-list.h"
#define NUM_STATUSES 5
@@ -169,6 +170,7 @@ 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, "desktop", im_desktop_menu_new (applications));
g_main_loop_run(mainloop);