]> spindle.queued.net Git - midori/commitdiff
Order bookmarks descending. Folders should always be on top
authorAlexander Butenko <a.butenka@gmail.com>
Sun, 13 Jun 2010 03:19:55 +0000 (23:19 -0400)
committerChristian Dywan <christian@twotoasts.de>
Wed, 16 Jun 2010 18:57:52 +0000 (20:57 +0200)
panels/midori-bookmarks.c

index e5deb9cb19cba7114f10ce69f877ae9dad78e460..607d39873f4ae856a8c6f54fae68d42002826d16 100644 (file)
@@ -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);