[glib/wip/menus-rebase2: 39/64] Fix obvious bug in the menu exporter
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/menus-rebase2: 39/64] Fix obvious bug in the menu exporter
- Date: Fri, 18 Nov 2011 16:28:42 +0000 (UTC)
commit 8565ef01840cf939c5df1d10e9e3ad36b86e39d9
Author: Ryan Lortie <desrt desrt ca>
Date: Sat Oct 22 15:15:52 2011 -0400
Fix obvious bug in the menu exporter
gio/gmenuexporter.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gmenuexporter.c b/gio/gmenuexporter.c
index 9d63aa4..7912ae3 100644
--- a/gio/gmenuexporter.c
+++ b/gio/gmenuexporter.c
@@ -236,7 +236,7 @@ g_menu_exporter_menu_items_changed (GMenuModel *model,
g_sequence_remove_range (g_sequence_get_iter_at_pos (menu->item_links, position), point);
for (i = position; i < position + added; i++)
- g_sequence_append (menu->item_links, g_menu_exporter_menu_create_links (menu, i));
+ g_sequence_insert_before (point, g_menu_exporter_menu_create_links (menu, i));
if (g_menu_exporter_group_is_subscribed (menu->group))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]