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 '?'.
This commit is contained in:
Michael James Gratton 2015-10-27 15:17:35 +11:00 committed by Adam Dingle
parent e30ab0a6b7
commit 6c311e5cbf
2 changed files with 2 additions and 2 deletions

View file

@ -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(">");
}
}

View file

@ -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;