[gnome-music/wip/merge: 87/343] widgets: pass callback correctly



commit d6efe13832eb3578b6ecf539e4a8fe6fce0543fc
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Mon Jul 15 15:10:18 2013 +0200

    widgets: pass callback correctly

 gnomemusic/widgets.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/widgets.py b/gnomemusic/widgets.py
index 2813105..d48af1f 100644
--- a/gnomemusic/widgets.py
+++ b/gnomemusic/widgets.py
@@ -28,7 +28,7 @@ class LoadMoreButton:
         self.widget = Gtk.Button(no_show_all=True,
                                  child=child)
         self.widget.get_style_context().add_class('documents-load-more')
-        self.widget.connect('clicked', self._onLoadMoreClicked())
+        self.widget.connect('clicked', self._onLoadMoreClicked)
         self._onItemCountChanged()
 
     def _onLoadMoreClicked(self):


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