From 9bff58199abb7b0a7cc6ce027fe11c5b677b1ca0 Mon Sep 17 00:00:00 2001 From: Alexander Butenko Date: Sat, 12 Jun 2010 23:19:55 -0400 Subject: [PATCH] Order bookmarks descending. Folders should always be on top --- panels/midori-bookmarks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panels/midori-bookmarks.c b/panels/midori-bookmarks.c index e5deb9cb..607d3987 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); -- 2.39.5