]> spindle.queued.net Git - midori/commitdiff
Always prepend history items to the top of the history panel
authorChristian Dywan <christian@twotoasts.de>
Sat, 5 Dec 2009 19:22:51 +0000 (20:22 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sat, 5 Dec 2009 19:22:51 +0000 (20:22 +0100)
panels/midori-history.c

index fcacb62e884ec60975f9f827b9110afbb04ded10..b198e7a606b362c581c4952de9fa6feb0e5d8c9f 100644 (file)
@@ -328,7 +328,7 @@ midori_history_add_item_cb (KatzeArray*    array,
     if (array == history->array)
     {
         gtk_tree_store_insert_with_values (GTK_TREE_STORE (model),
-            &iter, NULL, G_MAXINT, 0, added_item, -1);
+            &iter, NULL, 0, 0, added_item, -1);
         return;
     }
 
@@ -344,7 +344,7 @@ midori_history_add_item_cb (KatzeArray*    array,
             GtkTreeIter child_iter;
 
             gtk_tree_store_insert_with_values (GTK_TREE_STORE (model),
-                &child_iter, &iter, G_MAXINT, 0, added_item, -1);
+                &child_iter, &iter, 0, 0, added_item, -1);
             break;
         }
         g_object_unref (item);