[banshee/stable-2.6] ThickClient: prevent Select All/None menu options disappearing (bgo#726929)



commit 7527e73383b6a4a258775c7eda03d94fbe3c5f30
Author: Dmitriy Petukhov <dimart sp gmail com>
Date:   Mon Mar 31 12:34:06 2014 +0200

    ThickClient: prevent Select All/None menu options disappearing (bgo#726929)
    
    These options were disappearing from the "Edit" menu when the user
    clicked into a content-filtered area (i.e.: album grid) and not
    appearing back properly when going back focusing the tracks listview.
    
    In the case FilterFocused is false, we should call UpdateActions() too
    but with true params for visible & sensitive.
    
    Signed-off-by: Andrés G. Aragoneses <knocte gmail com>

 .../Banshee.Gui/TrackActions.cs                    |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs 
b/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs
index bd4b97e..a3f3913 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs
@@ -324,6 +324,8 @@ namespace Banshee.Gui
 
                 if (FilterFocused) {
                     UpdateActions (false, false, disable_for_filter_actions);
+                } else {
+                    UpdateActions (true, true, disable_for_filter_actions);
                 }
             } else {
                 Sensitive = Visible = false;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]