[gnome-music/wip/merge: 248/343] artists: removed duplicated function
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/merge: 248/343] artists: removed duplicated function
- Date: Thu, 25 Jul 2013 11:33:29 +0000 (UTC)
commit 6ff9a8fada0c3d7063499a3d4c51b8165f2b83ee
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Thu Jul 18 11:27:02 2013 +0200
artists: removed duplicated function
gnomemusic/widgets.py | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gnomemusic/widgets.py b/gnomemusic/widgets.py
index 5d1ce61..2a9c337 100644
--- a/gnomemusic/widgets.py
+++ b/gnomemusic/widgets.py
@@ -405,20 +405,20 @@ class AllArtistsAlbums(ArtistAlbums):
def _connect_view(self):
self._adjustmentValueId =\
self._scrolledWindow.get_vadjustment()\
- .connect('value-changed', self._on_scrolled_win_change)
+ .connect('value-changed', self._on_scrollbar_visible)
self._adjustmentChangedId =\
self._scrolledWindow.get_vadjustment().connect(
- 'changed', self._on_scrolled_win_change)
+ 'changed', self._on_scrollbar_visible)
self._scrollbarVisibleId =\
self._scrolledWindow.get_vscrollbar().connect(
'notify::visible',
self._on_scrollbar_visible)
- self._on_scrolled_win_change()
+ self._on_scrollbar_visible()
- def _on_scrollbar_visible(self, scrollbar, pspec, data=None):
+ def _on_scrollbar_visible(self, scrollbar=None, pspec=None, data=None):
self._on_scrolled_win_change()
- def _on_scrolled_win_change(self, data=None):
+ def _on_scrolled_win_change(self, scrollbar=None, pspec=None, data=None):
vScrollbar = self._scrolledWindow.get_vscrollbar()
adjustment = self._scrolledWindow.get_vadjustment()
revealAreaHeight = 32
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]