[gnome-applets/wip/network-manager-deprecation: 2/2] Remove data parameters from callbacks



commit 9f0dde5b1a2bd024ec999dccb045a4fd5a482abc
Author: Sebastian Geiger <sbastig gmx net>
Date:   Mon Sep 8 00:37:24 2014 +0200

    Remove data parameters from callbacks

 invest-applet/invest/applet.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/invest-applet/invest/applet.py b/invest-applet/invest/applet.py
index ac013c2..83588c4 100644
--- a/invest-applet/invest/applet.py
+++ b/invest-applet/invest/applet.py
@@ -70,17 +70,17 @@ class InvestApplet(PanelApplet.Applet):
                                # c) Everything is normal: pop-up the window
                                self.ilw.toggle_show()
        
-       def on_about(self, action, data):
+       def on_about(self, action):
                invest.about.show_about()
        
-       def on_help(self, action, data):
+       def on_help(self, action):
                invest.help.show_help()
 
-       def on_preferences(self, action, data):
+       def on_preferences(self, action):
                invest.preferences.show_preferences(self)
                self.reload_ilw()
        
-       def on_refresh(self, action, data):
+       def on_refresh(self, action):
                self.quotes_updater.refresh()
 
        def set_applet_icon(self, change):


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