[gnome-music/wip/playlist-ux-fixes: 13/13] view: Replace player bar with selection bar in selection mode
- From: Arnel A. Borja <arnelborja src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/playlist-ux-fixes: 13/13] view: Replace player bar with selection bar in selection mode
- Date: Fri, 21 Mar 2014 16:49:27 +0000 (UTC)
commit a255baa01dc028eb9c39ff01f1f0ab5c9f390c34
Author: Arnel A. Borja <kyoushuu yahoo com>
Date: Wed Mar 19 20:01:43 2014 +0800
view: Replace player bar with selection bar in selection mode
https://bugzilla.gnome.org/show_bug.cgi?id=724627
gnomemusic/view.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gnomemusic/view.py b/gnomemusic/view.py
index 591b5d1..94b57e0 100644
--- a/gnomemusic/view.py
+++ b/gnomemusic/view.py
@@ -163,12 +163,14 @@ class ViewContainer(Stack):
if button.get_active():
self.view.set_selection_mode(True)
self.header_bar.set_selection_mode(True)
+ self.player.eventBox.set_visible(False)
self.selection_toolbar.eventbox.set_visible(True)
self.selection_toolbar._add_to_playlist_button.set_sensitive(False)
self.selection_toolbar._remove_from_playlist_button.set_sensitive(False)
else:
self.view.set_selection_mode(False)
self.header_bar.set_selection_mode(False)
+ self.player.eventBox.set_visible(self.player.currentTrack != None)
self.selection_toolbar.eventbox.set_visible(False)
def _on_cancel_button_clicked(self, button):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]