hamster-applet r632 - branches/gnome-2-24/hamster



Author: tbaugis
Date: Fri Nov 21 01:03:36 2008
New Revision: 632
URL: http://svn.gnome.org/viewvc/hamster-applet?rev=632&view=rev

Log:
fixes of main drop-down window positioning: display always on top, 
and show on all workspaces

Modified:
   branches/gnome-2-24/hamster/applet.py

Modified: branches/gnome-2-24/hamster/applet.py
==============================================================================
--- branches/gnome-2-24/hamster/applet.py	(original)
+++ branches/gnome-2-24/hamster/applet.py	Fri Nov 21 01:03:36 2008
@@ -67,6 +67,7 @@
         # load window of activity switcher and todays view
         self.glade = gtk.glade.XML(os.path.join(SHARED_DATA_DIR, "menu.glade"))
         self.window = self.glade.get_widget('hamster-window')
+        self.window.set_keep_above(True)
         
         # set up drop down menu
         self.activity_list = self.glade.get_widget('activity-list')
@@ -294,6 +295,11 @@
         else:
             self.activity_list.child.set_text('')
 
+        # doing unstick / stick here, because sometimes while switching
+        # between workplaces window still manages to dissappear
+        self.window.unstick()
+        self.window.stick() #show on all desktops
+
         gobject.idle_add(self._delayed_display)  
         
     def _delayed_display(self):



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