deskbar-applet r1909 - in trunk: . deskbar/ui



Author: sebp
Date: Sat Feb  2 19:13:55 2008
New Revision: 1909
URL: http://svn.gnome.org/viewvc/deskbar-applet?rev=1909&view=rev

Log:
Fixed bug #513076: Entry doesn't get focus in sticky mode

Modified:
   trunk/ChangeLog
   trunk/deskbar/ui/CuemiacAlignedView.py

Modified: trunk/deskbar/ui/CuemiacAlignedView.py
==============================================================================
--- trunk/deskbar/ui/CuemiacAlignedView.py	(original)
+++ trunk/deskbar/ui/CuemiacAlignedView.py	Sat Feb  2 19:13:55 2008
@@ -194,8 +194,9 @@
     def receive_focus(self, time):
         self.applet.set_state(gtk.STATE_SELECTED)
         self.update_position()
-        self.entry.grab_focus()
-        self.present_with_time (time)
+        self.realize()
+        self.window.set_user_time(time)
+        self.present()
     
     def __show_matches(self):
         self.scrolled_results.show()



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