From: Christian Dywan Date: Mon, 19 Jul 2010 18:42:56 +0000 (+0200) Subject: Append new bookmarks to the end of the store, with G_MAXINT X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7dffde361c86b6f026c25ce1ed506fc8c468119c;p=midori Append new bookmarks to the end of the store, with G_MAXINT --- 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);