Updating branch refs/heads/master
to 9c50266e83c2c46536a69d0f825df67d99a76b09 (commit)
from a102a9d6e3eaab50970e044fafbc2d61559c95a3 (commit)
commit 9c50266e83c2c46536a69d0f825df67d99a76b09
Author: Christian Dywan <[email protected]>
Date: Fri May 27 20:29:08 2011 +0200
Return message URIs in ascending order
postler/postler-index.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/postler/postler-index.vala b/postler/postler-index.vala
index 34fb5ff..7c02567 100644
--- a/postler/postler-index.vala
+++ b/postler/postler-index.vala
@@ -151,7 +151,7 @@ namespace Postler {
public GLib.List<Message> get_messages (string folder) throws
GLib.Error {
if (statement_list == null) {
if (database.prepare_v2 ("""
- SELECT uri FROM messages WHERE uri LIKE ?1 ORDER BY date
DESC
+ SELECT uri FROM messages WHERE uri LIKE ?1 ORDER BY date
ASC
""",
-1, out statement_list) != Sqlite.OK)
throw new GLib.FileError.FAILED (_("Failed to list
messages: %s"), database.errmsg ());
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits