[gnome-music] Disable Search and Select buttons in No Music view
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] Disable Search and Select buttons in No Music view
- Date: Mon, 10 Feb 2014 15:10:41 +0000 (UTC)
commit 1aa17a3c326831218962c5ceeeea2c5786ea428e
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Mon Feb 10 16:05:41 2014 +0100
Disable Search and Select buttons in No Music view
https://bugzilla.gnome.org/show_bug.cgi?id=708154
gnomemusic/window.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gnomemusic/window.py b/gnomemusic/window.py
index 03c1131..fa4f372 100644
--- a/gnomemusic/window.py
+++ b/gnomemusic/window.py
@@ -171,6 +171,8 @@ class Window(Gtk.ApplicationWindow):
else:
self.views.append(Views.Empty(self.toolbar, self.player))
self._stack.add_titled(self.views[0], _("Empty"), _("Empty"))
+ self.toolbar._search_button.set_sensitive(False)
+ self.toolbar._select_button.set_sensitive(False)
self.toolbar._search_button.connect('toggled', self._on_search_toggled)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]