[Xfce4-commits] <postler:master> Implicitly update path when adding IMAP accounts

Christian Dywan noreply at xfce.org
Sun Jul 18 15:40:16 CEST 2010


Updating branch refs/heads/master
         to 8eed4867ba0b87fdd0586ca31d745bd388e80045 (commit)
       from 5e46d0a9d5c2a56d47caeb500542177f0ad5a08f (commit)

commit 8eed4867ba0b87fdd0586ca31d745bd388e80045
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sat Jul 17 16:13:14 2010 +0200

    Implicitly update path when adding IMAP accounts

 postler/postler-accounts.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/postler/postler-accounts.vala b/postler/postler-accounts.vala
index 6b0a42d..bd8e7a0 100644
--- a/postler/postler-accounts.vala
+++ b/postler/postler-accounts.vala
@@ -168,6 +168,8 @@ public class Postler.Accounts : GLib.Object {
     }
 
     public void add_info (AccountInfo info) {
+        if (info.type == AccountType.IMAP)
+            info.path = data_path + info.name;
         infos.append (info);
         /* TODO: Update accountrc file */
     }



More information about the Xfce4-commits mailing list