[gnome-music] toolbar: remove unused state-changed signal
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] toolbar: remove unused state-changed signal
- Date: Wed, 15 Jul 2015 11:20:24 +0000 (UTC)
commit 4397e86ab5ce736a4e78d2def42bbbfbba1fcb98
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Wed Jul 15 10:43:56 2015 +0200
toolbar: remove unused state-changed signal
gnomemusic/toolbar.py | 2 --
gnomemusic/view.py | 6 ------
2 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/gnomemusic/toolbar.py b/gnomemusic/toolbar.py
index 5ea465a..70edacc 100644
--- a/gnomemusic/toolbar.py
+++ b/gnomemusic/toolbar.py
@@ -47,7 +47,6 @@ class ToolbarState:
class Toolbar(GObject.GObject):
__gsignals__ = {
- 'state-changed': (GObject.SignalFlags.RUN_FIRST, None, ()),
'selection-mode-changed': (GObject.SignalFlags.RUN_FIRST, None, ()),
}
_selectionMode = False
@@ -128,7 +127,6 @@ class Toolbar(GObject.GObject):
def set_state(self, state, btn=None):
self._state = state
self._update()
- self.emit('state-changed')
@log
def _update(self):
diff --git a/gnomemusic/view.py b/gnomemusic/view.py
index 27fc182..33e3183 100644
--- a/gnomemusic/view.py
+++ b/gnomemusic/view.py
@@ -133,8 +133,6 @@ class ViewContainer(Gtk.Stack):
self._init = False
grilo.connect('ready', self._on_grilo_ready)
- self.header_bar.header_bar.connect('state-changed',
- self._on_state_changed)
self.header_bar.connect('selection-mode-changed',
self._on_selection_mode_changed)
self.view.connect('view-selection-changed',
@@ -198,10 +196,6 @@ class ViewContainer(Gtk.Stack):
self.populate()
@log
- def _on_state_changed(self, widget, data=None):
- pass
-
- @log
def _on_selection_mode_changed(self, widget, data=None):
pass
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]