diff options
author | Ted Gould <ted@gould.cx> | 2013-08-20 21:03:18 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2013-08-20 21:03:18 -0500 |
commit | 046f655a8859e2e3eaa6015fc2ecd226c8b46b1f (patch) | |
tree | be808298ec80ca3dc6d73309ac9e1e7024ee7950 /src/im-desktop-menu.c | |
parent | b526ee7d9de53067a295f9cdb9bc23fa1054492f (diff) | |
download | ayatana-indicator-messages-046f655a8859e2e3eaa6015fc2ecd226c8b46b1f.tar.gz ayatana-indicator-messages-046f655a8859e2e3eaa6015fc2ecd226c8b46b1f.tar.bz2 ayatana-indicator-messages-046f655a8859e2e3eaa6015fc2ecd226c8b46b1f.zip |
Make it so that we sort based on application name to make the menu more sane
Diffstat (limited to 'src/im-desktop-menu.c')
-rw-r--r-- | src/im-desktop-menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/im-desktop-menu.c b/src/im-desktop-menu.c index 3309dad..834a8c9 100644 --- a/src/im-desktop-menu.c +++ b/src/im-desktop-menu.c @@ -97,7 +97,7 @@ im_desktop_menu_app_added (ImApplicationList *applist, g_menu_append_section (section, NULL, G_MENU_MODEL (source_section)); namespace = g_strconcat ("indicator.", app_id, NULL); - im_menu_insert_section (IM_MENU (menu), -1, namespace, G_MENU_MODEL (section)); + im_menu_insert_section (IM_MENU (menu), g_app_info_get_name(G_APP_INFO(app_info)), namespace, G_MENU_MODEL (section)); g_hash_table_insert (menu->source_sections, g_strdup (app_id), source_section); g_free (namespace); |