[Xfce4-commits] <postler:master> Always synchronise fully, testing period is over

Christian Dywan noreply at xfce.org
Tue Jan 4 05:52:07 CET 2011


Updating branch refs/heads/master
         to 48945971495874bdb02370c7802f0b2a489ae74f (commit)
       from 2ce5d76c62e48b4e0a6b0ec00d427c329ddbf5c6 (commit)

commit 48945971495874bdb02370c7802f0b2a489ae74f
Author: Christian Dywan <christian at twotoasts.de>
Date:   Mon Jan 3 17:01:08 2011 +0100

    Always synchronise fully, testing period is over

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

diff --git a/postler/postler-accounts.vala b/postler/postler-accounts.vala
index 0e2cdaf..5c1872b 100644
--- a/postler/postler-accounts.vala
+++ b/postler/postler-accounts.vala
@@ -85,7 +85,6 @@ namespace Postler {
         public string prefix;
         public string path;
         public string certificate;
-        public string sync;
         public string reply;
         public string organization;
         public string hide = hide_folder_default;
@@ -212,8 +211,6 @@ public class Postler.Accounts : GLib.Object {
                     if (account_info.certificate != null)
                         keyfile.set_string (group, "certificate",
                                             account_info.certificate);
-                    if (account_info.sync != null)
-                        keyfile.set_string (group, "sync", account_info.sync);
                     if (account_info.reply != null)
                         keyfile.set_string (group, "reply", account_info.reply);
                     if (account_info.organization != null)
@@ -298,8 +295,6 @@ public class Postler.Accounts : GLib.Object {
                         info.send = keyfile.get_string (group, "send");
                     if (keyfile.has_key (group, "certificate"))
                         info.certificate = keyfile.get_string (group, "certificate");
-                    if (keyfile.has_key (group, "sync"))
-                        info.sync = keyfile.get_string (group, "sync");
                     if (keyfile.has_key (group, "reply"))
                         info.reply = keyfile.get_string (group, "reply");
                     if (keyfile.has_key (group, "organization"))
@@ -505,7 +500,7 @@ public class Postler.Accounts : GLib.Object {
                 mbsync = "postler-mbsync";
             string filename = get_tool_configuration (null, info);
             command = "%s -c %s --pull%s mirror".printf (
-                mbsync, filename, info.sync == "full" ? " --push --expunge" : "");
+                mbsync, filename, " --push --expunge");
         }
         else
             throw new GLib.FileError.FAILED (



More information about the Xfce4-commits mailing list