r6837 - in bigboard/trunk: . bigboard/stocks/search



Author: walters
Date: 2007-10-26 14:43:30 -0500 (Fri, 26 Oct 2007)
New Revision: 6837

Modified:
   bigboard/trunk/bigboard/stocks/search/SearchStock.py
   bigboard/trunk/main.py
Log:
Fix windows key to focus search.



Modified: bigboard/trunk/bigboard/stocks/search/SearchStock.py
===================================================================
--- bigboard/trunk/bigboard/stocks/search/SearchStock.py	2007-10-26 19:06:22 UTC (rev 6836)
+++ bigboard/trunk/bigboard/stocks/search/SearchStock.py	2007-10-26 19:43:30 UTC (rev 6837)
@@ -386,7 +386,7 @@
 
     def focus(self):
         _logger.debug("doing focus")
-        self.__entry.focus()
+        self.__entry.grab_focus()
             
 if __name__ == '__main__':
 

Modified: bigboard/trunk/main.py
===================================================================
--- bigboard/trunk/main.py	2007-10-26 19:06:22 UTC (rev 6836)
+++ bigboard/trunk/main.py	2007-10-26 19:43:30 UTC (rev 6837)
@@ -586,6 +586,7 @@
         if not self._shown:
             _logger.debug("handling popout activation")
             self.__handle_activation()
+            self._dw.present_with_time(gtk.get_current_event_time())
             self.__search_stock.focus()
         else:
             _logger.debug("handling popout deactivation")            



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