[hamster-applet] un button toggle call the function straight instead of using dispatcher. so if there are several ham



commit 72f5e84b81ae58937c1dc062202d3e82bc9ab860
Author: Toms Bauģis <toms baugis gmail com>
Date:   Sat Aug 8 10:50:54 2009 +0300

    un button toggle call the function straight instead of using dispatcher. so if there are several hamster applets around, show only one dropdown

 hamster/applet.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/hamster/applet.py b/hamster/applet.py
index 71c48cc..9938ea4 100755
--- a/hamster/applet.py
+++ b/hamster/applet.py
@@ -661,7 +661,7 @@ class HamsterApplet(object):
         return False
         
     def on_toggle(self, widget):
-        runtime.dispatcher.dispatch('panel_visible', self.button.get_active())
+        self.__show_toggle(None, self.button.get_active())
 
     def on_activity_list_key_pressed(self, entry, event):
         #tab will trigger going through autocomplete values when there are any



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