From 0e126bb708f9381819e01debdcbdfd508aa47d2d Mon Sep 17 00:00:00 2001 From: Lars Uebernickel Date: Tue, 4 Dec 2012 10:35:04 +0000 Subject: Reverse order of messages Newest messages should show up on top. The menu is still sorted by the time messages were added, not by the time property of MessagingMenuMessage. --- src/im-phone-menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/im-phone-menu.c') diff --git a/src/im-phone-menu.c b/src/im-phone-menu.c index 6e511ac..ed28023 100644 --- a/src/im-phone-menu.c +++ b/src/im-phone-menu.c @@ -183,7 +183,7 @@ im_phone_menu_add_message (ImPhoneMenu *menu, if (app_icon) g_menu_item_set_attribute (item, "x-canonical-app-icon", "s", app_icon); - g_menu_append_item (menu->message_section, item); + g_menu_prepend_item (menu->message_section, item); g_free (action_name); g_object_unref (item); @@ -228,7 +228,7 @@ im_phone_menu_add_source (ImPhoneMenu *menu, if (iconstr) g_menu_item_set_attribute (item, "x-canonical-icon", "s", iconstr); - g_menu_append_item (menu->source_section, item); + g_menu_prepend_item (menu->source_section, item); g_free (action_name); g_object_unref (item); -- cgit v1.2.3