[hamster-applet/gnome-2-28] don't import applet when standalone windows are asked



commit a139d3648bff6d76c0d2a4809444f5e489ba9e00
Author: Toms Bauģis <toms baugis gmail com>
Date:   Thu Nov 19 12:08:25 2009 +0000

    don't import applet when standalone windows are asked

 hamster/hamster-applet.py |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/hamster/hamster-applet.py b/hamster/hamster-applet.py
index bbe7c5a..86ebc85 100755
--- a/hamster/hamster-applet.py
+++ b/hamster/hamster-applet.py
@@ -46,13 +46,11 @@ for module in (gettext, locale):
     if hasattr(module, 'bind_textdomain_codeset'):
         module.bind_textdomain_codeset('hamster-applet','UTF-8')
 
-
-from hamster.applet import HamsterApplet
-
 def applet_factory(applet, iid):
     applet.connect("destroy", on_destroy)
     applet.set_applet_flags(gnomeapplet.EXPAND_MINOR)
 
+    from hamster.applet import HamsterApplet    
     hamster_applet = HamsterApplet(applet)
 
     applet.show_all()



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