[gnome-music/wip/merge: 93/343] view: vadjustment -> get_vadjustment()
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/merge: 93/343] view: vadjustment -> get_vadjustment()
- Date: Thu, 25 Jul 2013 11:21:14 +0000 (UTC)
commit 358a48ca270493bbf2105fd6774861d2038b68d0
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Mon Jul 15 15:54:06 2013 +0200
view: vadjustment -> get_vadjustment()
gnomemusic/view.py | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/gnomemusic/view.py b/gnomemusic/view.py
index 07930bf..cb4d029 100644
--- a/gnomemusic/view.py
+++ b/gnomemusic/view.py
@@ -119,15 +119,16 @@ class ViewContainer(Gtk.Stack):
pass
def _connectView(self):
- self._adjustmentValueId = self.view.vadjustment.connect(
+ vadjustment = self.view.get_vadjustment()
+ self._adjustmentValueId = vadjustment.connect(
'value-changed',
self._onScrolledWinChange)
- self._adjustmentChangedId = self.view.vadjustment.connect(
+ self._adjustmentChangedId = vadjustment.connect(
'changed',
self._onScrolledWinChange)
- self._scrollbarVisibleId = self.view.get_vscrollbar().connect(
+ self._scrollbarVisibleId = vadjustment.connect(
'notify::visible',
self._onScrolledWinChange)
@@ -135,7 +136,7 @@ class ViewContainer(Gtk.Stack):
def _onScrolledWinChange(self):
vScrollbar = self.view.get_vscrollbar()
- adjustment = self.view.vadjustment
+ adjustment = self.view.get_vadjustment()
revealAreaHeight = 32
#if there's no vscrollbar, or if it's not visible, hide the button
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]