All pastes #38793 Raw Edit

Diff

public text v1 · immutable
#38793 ·published 2006-01-27 15:19 UTC
rendered paste body
Index: deskbar/ui/cuemiac/Cuemiac.py===================================================================RCS file: /cvs/gnome/deskbar-applet/deskbar/ui/cuemiac/Cuemiac.py,vretrieving revision 1.29diff -u -p -r1.29 Cuemiac.py--- deskbar/ui/cuemiac/Cuemiac.py	27 Jan 2006 14:27:16 -0000	1.29+++ deskbar/ui/cuemiac/Cuemiac.py	27 Jan 2006 15:19:52 -0000@@ -1,6 +1,9 @@ # # Release dependant: #+# - Make the pref dialog non modal+# - When clicking the history then cuemiac button, the two window overlap, should close one, open the other+# - Clear cuemiac when hitting Esc. # - (EASY [Hard part solved]) Store expandedness state of categories (DONE) #   Missing: Store states in Gconf. Hint: Just store CuemiacTreeView.__collapsed_rows #@@ -629,6 +632,16 @@ class CuemiacUI (DeskbarUI): 			self.adjust_popup_size () 			self.popup.update_position () 			self.popup.show ()+			self.entry.grab_focus ()+			+			fevent = gtk.gdk.Event(gtk.gdk.FOCUS_CHANGE)++			self.entry.set_flags(gtk.HAS_FOCUS)+			fevent.window = self.entry.window+			fevent.in_ = True++			self.entry.event(fevent)+			self.entry.notify("has-focus") 			self.entry.grab_focus () 			self.update_entry_icon () 		else: