[hamster-applet] details are not passed over in activity change signal anymore (were not used)



commit 0e86d2534392bd21310066cc6ab79594b55ab0d5
Author: Toms Bauģis <toms baugis gmail com>
Date:   Sun Apr 18 09:49:56 2010 +0100

    details are not passed over in activity change signal anymore (were not used)

 src/hamster-standalone               |    2 +-
 src/hamster/applet.py                |    2 +-
 src/hamster/overview.py              |    2 +-
 src/hamster/widgets/activityentry.py |    2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/hamster-standalone b/src/hamster-standalone
index 1a1f1c6..13b10de 100755
--- a/src/hamster-standalone
+++ b/src/hamster-standalone
@@ -330,7 +330,7 @@ class ProjectHamster(object):
         gtk.show_uri(gtk.gdk.Screen(), "ghelp:hamster-applet", 0L)
 
     """signals"""
-    def after_activity_update(self, widget, renames):
+    def after_activity_update(self, widget):
         self.new_name.refresh_activities()
         self.load_day()
 
diff --git a/src/hamster/applet.py b/src/hamster/applet.py
index b02288e..f0e97d9 100755
--- a/src/hamster/applet.py
+++ b/src/hamster/applet.py
@@ -557,7 +557,7 @@ class HamsterApplet(object):
 
 
     """signals"""
-    def after_activity_update(self, widget, renames):
+    def after_activity_update(self, widget):
         self.new_name.refresh_activities()
         self.load_day()
         self.update_label()
diff --git a/src/hamster/overview.py b/src/hamster/overview.py
index cd9d9bc..9383a04 100644
--- a/src/hamster/overview.py
+++ b/src/hamster/overview.py
@@ -197,7 +197,7 @@ class Overview(object):
 
         return True
 
-    def after_activity_update(self, widget, renames):
+    def after_activity_update(self, widget):
         self.search()
 
     def on_search_activate(self, widget):
diff --git a/src/hamster/widgets/activityentry.py b/src/hamster/widgets/activityentry.py
index aefc638..7491cec 100644
--- a/src/hamster/widgets/activityentry.py
+++ b/src/hamster/widgets/activityentry.py
@@ -219,7 +219,7 @@ class ActivityEntry(gtk.Entry):
 
                 store.append([fillable, activity['name'].lower(), activity['category'], time])
 
-    def after_activity_update(self, widget, event):
+    def after_activity_update(self, widget):
         self.refresh_activities()
 
     def _on_focus_out_event(self, widget, event):



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