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



commit c188614e39e244ba1c077c2c2e2b174181516c76
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 9c9d96d..ba67b08 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Gui/TrackActions.cs
@@ -325,6 +325,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]