r6871 - bigboard/trunk/bigboard



Author: walters
Date: 2007-11-05 12:37:25 -0600 (Mon, 05 Nov 2007)
New Revision: 6871

Modified:
   bigboard/trunk/bigboard/accounts_dialog.py
Log:
Fix signal handler argument processing.



Modified: bigboard/trunk/bigboard/accounts_dialog.py
===================================================================
--- bigboard/trunk/bigboard/accounts_dialog.py	2007-11-02 22:53:32 UTC (rev 6870)
+++ bigboard/trunk/bigboard/accounts_dialog.py	2007-11-05 18:37:25 UTC (rev 6871)
@@ -97,16 +97,16 @@
             accounts.get_accounts().create_account(accounts.KIND_GOOGLE)
         else:
             for a in google_accounts:
-                self.__on_account_added(a)
+                self.__on_account_added(accts, a)
 
     ## should be a destroy() that disconnects connections, but we never destroy anyway
 
-    def __on_account_added(self, a):
+    def __on_account_added(self, accts, a):
         if a.get_kind() == accounts.KIND_GOOGLE and a not in self.__editors_by_account:
             self.__editors_by_account[a] = AccountEditor(account=a)
             self.vbox.pack_end(self.__editors_by_account[a])            
 
-    def __on_account_removed(self, a):
+    def __on_account_removed(self, accts, a):
         if a in self.__editors_by_account:
             editor = self.__editors_by_account[a]
             del self.__editors_by_account[a]



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