[Xfce4-commits] <postler:master> Don't re-use account_info variable in account_check

Christian Dywan noreply at xfce.org
Mon Dec 20 18:30:01 CET 2010


Updating branch refs/heads/master
         to dabedeb107050978d6a69aeb4bc9fec9556ac4ae (commit)
       from 1719ebc981296bd8eb3db0ac347ec70047f14491 (commit)

commit dabedeb107050978d6a69aeb4bc9fec9556ac4ae
Author: Christian Dywan <christian at twotoasts.de>
Date:   Mon Dec 20 18:28:15 2010 +0100

    Don't re-use account_info variable in account_check

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

diff --git a/postler/postler-bureau.vala b/postler/postler-bureau.vala
index ba24b9d..4bccc19 100644
--- a/postler/postler-bureau.vala
+++ b/postler/postler-bureau.vala
@@ -429,8 +429,8 @@ public class Postler.Bureau : Gtk.Window {
     void account_check (AccountInfo? account_info) {
         actions.get_action ("MailReceive").sensitive = false;
         actions.get_action ("MessageNew").sensitive = false;
-        foreach (var account_info in accounts.get_infos ())
-            if (account_info.type == AccountType.IMAP) {
+        foreach (var info in accounts.get_infos ())
+            if (info.type == AccountType.IMAP) {
                 actions.get_action ("MailReceive").sensitive = true;
                 actions.get_action ("MessageNew").sensitive = true;
                 break;



More information about the Xfce4-commits mailing list