[Xfce4-commits] <midori:master> Append new bookmarks to the end of the store, with G_MAXINT

Christian Dywan noreply at xfce.org
Mon Jul 19 21:44:01 CEST 2010


Updating branch refs/heads/master
         to 7dffde361c86b6f026c25ce1ed506fc8c468119c (commit)
       from 94fbf158f6e12a970147eb247ee1b508989c52ba (commit)

commit 7dffde361c86b6f026c25ce1ed506fc8c468119c
Author: Christian Dywan <christian at twotoasts.de>
Date:   Mon Jul 19 20:42:56 2010 +0200

    Append new bookmarks to the end of the store, with G_MAXINT

 midori/midori-browser.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index 96b969d..b304d7c 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);



More information about the Xfce4-commits mailing list