From 7dffde361c86b6f026c25ce1ed506fc8c468119c Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Mon, 19 Jul 2010 20:42:56 +0200 Subject: [PATCH] Append new bookmarks to the end of the store, with G_MAXINT --- midori/midori-browser.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/midori/midori-browser.c b/midori/midori-browser.c index 96b969da..b304d7c3 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -922,9 +922,8 @@ midori_browser_edit_bookmark_dialog_new (MidoriBrowser* browser, midori_bookmarks_insert_item_db (db, bookmark, ""); treeview = g_object_get_data (G_OBJECT (browser->bookmarks), "treeview"); model = gtk_tree_view_get_model (GTK_TREE_VIEW (treeview)); - /* FIXME: We need to add item in the end of the list */ gtk_tree_store_insert_with_values (GTK_TREE_STORE (model), - NULL, NULL, 999, 0, bookmark, -1); + NULL, NULL, G_MAXINT, 0, bookmark, -1); } else midori_bookmarks_insert_item_db (db, bookmark, selected);