From: Alexander Butenko Date: Sun, 13 Jun 2010 03:19:55 +0000 (-0400) Subject: Order bookmarks descending. Folders should always be on top X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bff58199abb7b0a7cc6ce027fe11c5b677b1ca0;p=midori Order bookmarks descending. Folders should always be on top --- 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);