ayatana-commits team mailing list archive
-
ayatana-commits team
-
Mailing list archive
-
Message #03692
[Merge] lp:~chrisccoulson/indicator-messages/fix-menu-ordering into lp:indicator-messages
Chris Coulson has proposed merging lp:~chrisccoulson/indicator-messages/fix-menu-ordering into lp:indicator-messages.
Requested reviews:
Ted Gould (ted)
For more details, see:
https://code.launchpad.net/~chrisccoulson/indicator-messages/fix-menu-ordering/+merge/68811
Fix menu ordering problems. See https://wiki.ubuntu.com/MessagingMenu?action=diff&rev2=78&rev1=77
--
https://code.launchpad.net/~chrisccoulson/indicator-messages/fix-menu-ordering/+merge/68811
Your team ayatana-commits is subscribed to branch lp:indicator-messages.
=== modified file 'src/messages-service.c'
--- src/messages-service.c 2011-07-13 19:26:30 +0000
+++ src/messages-service.c 2011-07-22 09:35:55 +0000
@@ -799,6 +799,8 @@
AppMenuItem * appmenu = APP_MENU_ITEM(data_mi);
if (!g_strcmp0(INDICATE_LISTENER_SERVER_DBUS_NAME((IndicateListenerServer*)msl->server), INDICATE_LISTENER_SERVER_DBUS_NAME(app_menu_item_get_server(appmenu)))) {
msl->found = TRUE;
+ /* Return a position at the end of our shortcuts */
+ msl->position += g_list_length(app_menu_item_get_items(appmenu));
} else {
msl->position++;
}
Follow ups