[hamster-applet] knits



commit 2b3e35b07d614b973f5409f39a0ddae87bc2078c
Author: Toms Bauģis <toms baugis gmail com>
Date:   Sat May 15 11:31:26 2010 +0100

    knits

 src/hamster/storage.py |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/hamster/storage.py b/src/hamster/storage.py
index f175fbc..0e76967 100644
--- a/src/hamster/storage.py
+++ b/src/hamster/storage.py
@@ -260,10 +260,7 @@ class Storage(dbus.service.Object):
         return result
 
     @dbus.service.method("org.gnome.Hamster", in_signature='i', out_signature='aa{sv}')
-    def GetCategoryActivities(self, category_id = None):
-        if not category_id:
-            category_id = None
-
+    def GetCategoryActivities(self, category_id = -1):
         res = []
         for activity in self.__get_category_activities(category_id = category_id):
             activity = dict(activity)



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