bigboard r7425 - trunk/bigboard/stocks/twitter



Author: marinaz
Date: Mon Aug 25 18:51:04 2008
New Revision: 7425
URL: http://svn.gnome.org/viewvc/bigboard?rev=7425&view=rev

Log:
Make sure we clean out the friends' updates box when we might be loading updates for a new account.


Modified:
   trunk/bigboard/stocks/twitter/TwitterStock.py

Modified: trunk/bigboard/stocks/twitter/TwitterStock.py
==============================================================================
--- trunk/bigboard/stocks/twitter/TwitterStock.py	(original)
+++ trunk/bigboard/stocks/twitter/TwitterStock.py	Mon Aug 25 18:51:04 2008
@@ -214,6 +214,9 @@
             self.__box.append(self.__twitter_status_counter_text)
             self.__box.append(self.__twitter_status_input)  
        
+            # remove everything from the friends updates box in case there are friends updates from the 
+            # previous account that are stored there
+            self.__friends_updates_box.remove_all()
             self.__box.append(self.__friends_updates_box)
 
             loading = hippo.CanvasText(text="Loading friends' updates...",



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