[banshee/1.5.1-fixes: 14/56] [NextButton] Hide shuffle menu when shuffling is disabled (bgo#599465)
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee/1.5.1-fixes: 14/56] [NextButton] Hide shuffle menu when shuffling is disabled (bgo#599465)
- Date: Mon, 22 Mar 2010 18:05:15 +0000 (UTC)
commit e7188eeb88ae0d6b61b90e12c06ba037e50ceaee
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date: Sun Oct 25 10:42:20 2009 +1100
[NextButton] Hide shuffle menu when shuffling is disabled (bgo#599465)
.../Banshee.Gui.Widgets/NextButton.cs | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/NextButton.cs b/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/NextButton.cs
index e85d641..d9aee46 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/NextButton.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Gui.Widgets/NextButton.cs
@@ -55,7 +55,9 @@ namespace Banshee.Gui.Widgets
private void OnActionsChanged (object o, EventArgs args)
{
- menu.Sensitive = shuffle_actions.Sensitive;
+ if (!shuffle_actions.Sensitive) {
+ menu.Deactivate ();
+ }
ToggleButton.Sensitive = shuffle_actions.Sensitive;
if (Arrow != null) {
Arrow.Sensitive = shuffle_actions.Sensitive;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]