From 9c0d55a4046e35dd765d64a30a9f3b05357eaf3f Mon Sep 17 00:00:00 2001 From: Stefanos Harhalakis Date: Tue, 10 Aug 2010 10:31:33 +0000 Subject: [PATCH] Change defaults to 'no longpress' and 'rotate icons individually'. Fix drlaunch_widget.py to be able to be ran from command line. --- src/config.py | 4 ++-- src/drlaunch_widget.py | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/config.py b/src/config.py index ff8cf1a..5bc5f23 100755 --- a/src/config.py +++ b/src/config.py @@ -63,8 +63,8 @@ class Config: # self.iconspace = 42 # For 4 icons (height) self.iconspace = 36 # For 8 icons (width) self.apps=None - self.indiv=False - self.longpress=True + self.indiv=True + self.longpress=False self.animate=True self.maxsz=(8,4) diff --git a/src/drlaunch_widget.py b/src/drlaunch_widget.py index 92f325a..54ad48c 100755 --- a/src/drlaunch_widget.py +++ b/src/drlaunch_widget.py @@ -30,6 +30,9 @@ class DrlaunchPlugin(widget.DrlaunchPlugin): hd_plugin_type = DrlaunchPlugin if __name__=="__main__": + import gobject + import gtk + gobject.type_register(hd_plugin_type) obj=gobject.new(hd_plugin_type, plugin_id="plugin_id") obj.show_all() -- 1.7.9.5