[gnome-music/wip/merge: 112/343] view: user correct callback arguments



commit ff123f10d0c7c733f4061dda80d61c7fa7549ad5
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Mon Jul 15 16:27:04 2013 +0200

    view: user correct callback arguments

 gnomemusic/view.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gnomemusic/view.py b/gnomemusic/view.py
index 4748b7a..a514083 100644
--- a/gnomemusic/view.py
+++ b/gnomemusic/view.py
@@ -97,7 +97,7 @@ class ViewContainer(Gtk.Stack):
         self.view.set_selection_mode(False)
         self.headerBar.setSelectionMode(False)
 
-    def _onGriloReady(self):
+    def _onGriloReady(self, data=None):
         if (self.headerBar.get_stack().get_visible_child() == self and self._init is False):
             self._populate()
         self.headerBar.get_stack().connect('notify::visible-child', self._onHeaderBarVisible)
@@ -114,7 +114,7 @@ class ViewContainer(Gtk.Stack):
         self._init = True
         self.populate()
 
-    def _onStateChanged(self):
+    def _onStateChanged(self, data=None):
         pass
 
     def _connectView(self):
@@ -133,7 +133,7 @@ class ViewContainer(Gtk.Stack):
 
         self._onScrolledWinChange()
 
-    def _onScrolledWinChange(self):
+    def _onScrolledWinChange(self, data=None):
         vScrollbar = self.view.get_vscrollbar()
         adjustment = self.view.get_vadjustment()
         revealAreaHeight = 32


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