deskbar-applet r1871 - branches/button-ui/deskbar/ui
- From: sebp svn gnome org
- To: svn-commits-list gnome org
- Subject: deskbar-applet r1871 - branches/button-ui/deskbar/ui
- Date: Fri, 25 Jan 2008 19:09:26 +0000 (GMT)
Author: sebp
Date: Fri Jan 25 19:09:26 2008
New Revision: 1871
URL: http://svn.gnome.org/viewvc/deskbar-applet?rev=1871&view=rev
Log:
Change state of applet to STATE_SELECTED when the UI is visible and back to STATE_NORMAL when not
Modified:
branches/button-ui/deskbar/ui/CuemiacAlignedView.py
Modified: branches/button-ui/deskbar/ui/CuemiacAlignedView.py
==============================================================================
--- branches/button-ui/deskbar/ui/CuemiacAlignedView.py (original)
+++ branches/button-ui/deskbar/ui/CuemiacAlignedView.py Fri Jan 25 19:09:26 2008
@@ -173,6 +173,7 @@
#
# if self.__small_window_height != None:
# self.resize( width, self.__small_window_height )
+ self.applet.set_state(gtk.STATE_NORMAL)
self.results_box.hide()
self.resize( *self.size_request() )
@@ -200,6 +201,7 @@
self._do_clear = True
def receive_focus(self, time):
+ self.applet.set_state(gtk.STATE_SELECTED)
self.update_position()
self.entry.grab_focus()
self.present_with_time (time)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]