aboutsummaryrefslogtreecommitdiff
path: root/src/messages-service.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-08-11 09:25:58 -0500
committerTed Gould <ted@gould.cx>2011-08-11 09:25:58 -0500
commitbfd668716a3702fbc27abee0bf609fc747b88f4e (patch)
treed33cd9bd9c2c4eaa75d9543252d34d8a8aea5c61 /src/messages-service.c
parentd7e5e470e3abc7b1ef9c1854b4078f4952642615 (diff)
parent191be4ed4601ce62c3197eb14b4044c89a26a0cd (diff)
downloadayatana-indicator-messages-bfd668716a3702fbc27abee0bf609fc747b88f4e.tar.gz
ayatana-indicator-messages-bfd668716a3702fbc27abee0bf609fc747b88f4e.tar.bz2
ayatana-indicator-messages-bfd668716a3702fbc27abee0bf609fc747b88f4e.zip
Updating from Ubuntu Desktop
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 63549e3..c891f88 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -799,6 +799,8 @@ menushell_foreach_cb (DbusmenuMenuitem * data_mi, gpointer data_ms) {
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++;
}