[gnome-music/gnome-3-10] 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/gnome-3-10] Disable Search and Select buttons in No Music view
- Date: Wed, 19 Feb 2014 15:28:07 +0000 (UTC)
commit fd00d5edfe605606fcaa694af6ec9ae14f48450f
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 fc56021..2f1c5a7 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]