[dconf-editor] Hide infobars on keys without schema.



commit db066f0ab4e85c414986ffeae22c159417056b4f
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Tue Feb 20 14:02:57 2018 +0100

    Hide infobars on keys without schema.

 editor/registry-info.vala |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/editor/registry-info.vala b/editor/registry-info.vala
index ed4e543..cc1d534 100644
--- a/editor/registry-info.vala
+++ b/editor/registry-info.vala
@@ -93,6 +93,11 @@ class RegistryInfo : Grid, BrowsableView
                 hard_conflicting_key_error_revealer.set_reveal_child (false);
             }
         }
+        else
+        {
+            conflicting_key_warning_revealer.set_reveal_child (false);
+            hard_conflicting_key_error_revealer.set_reveal_child (false);
+        }
         no_schema_warning.set_reveal_child (!has_schema);
 
         properties_list_box.@foreach ((widget) => widget.destroy ());


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