[dconf-editor] Fix showing reload banner in key properties view



commit afc72933b5547f579a0719752ee6db6840d79b5f
Author: Davi da Silva Böger <dsboger gmail com>
Date:   Thu Nov 16 13:55:59 2017 -0200

    Fix showing reload banner in key properties view
    
    Since the key properties view does not depend on sorting, simply avoid
    showing the banner by checking if we are in the browse view first.

 editor/registry-view.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/editor/registry-view.vala b/editor/registry-view.vala
index 7d5906e..515f7cc 100644
--- a/editor/registry-view.vala
+++ b/editor/registry-view.vala
@@ -88,7 +88,7 @@ class RegistryView : Grid, PathElement
         path_requested (current_path, null, true);
 
         sorting_options.notify.connect (() => {
-                if (get_selected_directory ().need_sorting (sorting_options))
+                if (!is_not_browsing_view () && get_selected_directory ().need_sorting (sorting_options))
                     need_reload_warning_revealer.set_reveal_child (true);
             });
     }


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