[Xfce4-commits] <midori:master> Sort bookmarks in the panel by title rather than URI

Christian Dywan noreply at xfce.org
Wed Aug 17 23:06:01 CEST 2011


Updating branch refs/heads/master
         to 1e8ca187c3c232f28f57f1798dd65a3164f9dca7 (commit)
       from fedd36ac9132d20a3fe40c9f9d5886f34df00393 (commit)

commit 1e8ca187c3c232f28f57f1798dd65a3164f9dca7
Author: Paweł Forysiuk <tuxator at o2.pl>
Date:   Wed Aug 17 23:04:54 2011 +0200

    Sort bookmarks in the panel by title rather than URI

 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 90cf124..b253860 100644
--- a/panels/midori-bookmarks.c
+++ b/panels/midori-bookmarks.c
@@ -205,7 +205,7 @@ midori_bookmarks_read_from_db (MidoriBookmarks* bookmarks,
         if (!folder)
             folder = "";
         sqlcmd = "SELECT uri, title, desc, app, toolbar, folder from bookmarks where "
-                 " folder = ? ORDER BY uri DESC";
+                 " folder = ? ORDER BY title 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