[gnome-music/wip/merge: 97/343] view: correct headerbar name
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/merge: 97/343] view: correct headerbar name
- Date: Thu, 25 Jul 2013 11:21:34 +0000 (UTC)
commit e2ce375202cfd724601292e486c2451cf7bcdeef
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Mon Jul 15 16:04:03 2013 +0200
view: correct headerbar name
gnomemusic/view.py | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/gnomemusic/view.py b/gnomemusic/view.py
index c6946c9..71ed8f3 100644
--- a/gnomemusic/view.py
+++ b/gnomemusic/view.py
@@ -66,8 +66,7 @@ class ViewContainer(Gtk.Stack):
self._cursor = None
self.headerBar = headerBar
self.headerBar._selectButton.connect('toggled', self._onHeaderBarToggled)
-
- headerBar._cancelButton.connect('clicked', self._onCancelButtonClicked)
+ self.headerBar._cancelButton.connect('clicked', self._onCancelButtonClicked)
self.title = title
self.add(self._grid)
@@ -80,7 +79,7 @@ class ViewContainer(Gtk.Stack):
self._init = False
grilo.connect('ready', self._onGriloReady)
- self.headerBar.header_bar.connect('state-changed', self._onStateChanged)
+ self.headerBar.headerBar.connect('state-changed', self._onStateChanged)
self.view.connect('view-selection-changed', self._onViewSelectionChanged)
def _onHeaderBarToggled(self, button):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]