diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-08-21 00:49:13 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-08-21 00:49:13 -0500 |
commit | 993109acc17163354749a7a3ba4c78ca657f5b14 (patch) | |
tree | afdc3a1810b5c167ec2a6018f1d41f00544c4856 /src/messages-service.c | |
parent | d34fb7000e9b508b05c653b47bb60f35989c34f9 (diff) | |
parent | 91eb0b1a17c5bc9d0087fe807f373d1b8a8eb87b (diff) | |
download | ayatana-indicator-messages-993109acc17163354749a7a3ba4c78ca657f5b14.tar.gz ayatana-indicator-messages-993109acc17163354749a7a3ba4c78ca657f5b14.tar.bz2 ayatana-indicator-messages-993109acc17163354749a7a3ba4c78ca657f5b14.zip |
sync with lp:~larsu/indicator-messages/towards-q-redesign
Diffstat (limited to 'src/messages-service.c')
-rw-r--r-- | src/messages-service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages-service.c b/src/messages-service.c index ccd2eba..aade829 100644 --- a/src/messages-service.c +++ b/src/messages-service.c @@ -168,7 +168,7 @@ add_application (const gchar *desktop_id) /* TODO insert it at the right position (alphabetically by application name) */ menuitem = g_menu_item_new_section (NULL, app_section_get_menu (section)); g_menu_item_set_attribute (menuitem, "action-namespace", "s", id); - g_menu_insert_item (menu, 2, menuitem); + g_menu_insert_item (menu, g_menu_model_get_n_items (G_MENU_MODEL (menu)) -1, menuitem); g_object_unref (menuitem); } |