[geary] Switch FolderPath and ImapDB.Folder's placeholder hierarchy delimiter.



commit 6c311e5cbfda28e363d793f7a8add4fc49b0c839
Author: Michael James Gratton <mike vee net>
Date:   Tue Oct 27 15:17:35 2015 +1100

    Switch FolderPath and ImapDB.Folder's placeholder hierarchy delimiter.
    
    Since FolderPath's gets displayed to the end user, use something a bit
    less crap than a '?'.

 src/engine/api/geary-folder-path.vala  |    2 +-
 src/engine/imap-db/imap-db-folder.vala |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/engine/api/geary-folder-path.vala b/src/engine/api/geary-folder-path.vala
index f831f78..36a5b32 100644
--- a/src/engine/api/geary-folder-path.vala
+++ b/src/engine/api/geary-folder-path.vala
@@ -310,7 +310,7 @@ public class Geary.FolderPath : BaseObject, Gee.Hashable<Geary.FolderPath>,
      * Use only for debugging and logging.
      */
     public string to_string() {
-        return get_fullpath("?");
+        return get_fullpath(">");
     }
 }
 
diff --git a/src/engine/imap-db/imap-db-folder.vala b/src/engine/imap-db/imap-db-folder.vala
index 5682c53..4a00264 100644
--- a/src/engine/imap-db/imap-db-folder.vala
+++ b/src/engine/imap-db/imap-db-folder.vala
@@ -190,7 +190,7 @@ private class Geary.ImapDB.Folder : BaseObject, Geary.ReferenceSemantics {
                 : null;
             
             // Note that recent is not stored
-            status_data = new Imap.StatusData(new Imap.MailboxSpecifier.from_folder_path(path, ">"),
+            status_data = new Imap.StatusData(new Imap.MailboxSpecifier.from_folder_path(path, "?"),
                 messages, 0, uid_next, uid_validity, result.int_for("unread_count"));
             
             return Db.TransactionOutcome.DONE;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]