[Xfce4-commits] <midori:master> Order bookmarks descending. Folders should always be on top

Christian Dywan noreply at xfce.org
Thu Jun 17 00:14:05 CEST 2010


Updating branch refs/heads/master
         to 9bff58199abb7b0a7cc6ce027fe11c5b677b1ca0 (commit)
       from 3b46d80161b69811504e5c2812f8fe61d9681c0a (commit)

commit 9bff58199abb7b0a7cc6ce027fe11c5b677b1ca0
Author: Alexander Butenko <a.butenka at gmail.com>
Date:   Sat Jun 12 23:19:55 2010 -0400

    Order bookmarks descending. Folders should always be on top

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

diff --git a/panels/midori-bookmarks.c b/panels/midori-bookmarks.c
index e5deb9c..607d398 100644
--- a/panels/midori-bookmarks.c
+++ b/panels/midori-bookmarks.c
@@ -139,7 +139,7 @@ midori_bookmarks_read_from_db (MidoriBookmarks* bookmarks,
     db = g_object_get_data (G_OBJECT (bookmarks->array), "db");
 
     sqlcmd = "SELECT uri, title, type from bookmarks where folder = ?"
-             " ORDER BY type, title ASC";
+             " ORDER BY type DESC";
     result = sqlite3_prepare_v2 (db, sqlcmd, -1, &statement, NULL);
     sqlite3_bind_text (statement, 1, g_strdup(folder), -1, g_free);
 



More information about the Xfce4-commits mailing list