[dconf-editor] Emitting reload causes problems.



commit ef79f490f85b329f552e3768ee7291333440df83
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Wed Jul 20 03:37:07 2016 +0200

    Emitting reload causes problems.

 editor/modifications-revealer.vala |    3 ++-
 editor/registry-view.vala          |    1 +
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/editor/modifications-revealer.vala b/editor/modifications-revealer.vala
index 6cc0aa8..6d6aba3 100644
--- a/editor/modifications-revealer.vala
+++ b/editor/modifications-revealer.vala
@@ -38,6 +38,7 @@ class ModificationsRevealer : Revealer
     private HashTable<string, GSettingsKey> gsettings_keys_awaiting_hashtable = new HashTable<string, 
GSettingsKey> (str_hash, str_equal);
 
     public signal void reload ();
+    public signal void reload_menu ();
 
     public Behaviour behaviour { get; set; }
 
@@ -198,7 +199,7 @@ class ModificationsRevealer : Revealer
 
         /* reload notably the hamburger menu */
 
-        reload ();
+        reload_menu ();
     }
 
     [GtkCallback]
diff --git a/editor/registry-view.vala b/editor/registry-view.vala
index 818a848..38f79d6 100644
--- a/editor/registry-view.vala
+++ b/editor/registry-view.vala
@@ -45,6 +45,7 @@ class RegistryView : Grid
     construct
     {
         revealer.reload.connect (invalidate_popovers);
+        revealer.reload_menu.connect (invalidate_popovers);
 
         search_entry.get_buffer ().deleted_text.connect (() => { search_next_button.set_sensitive (true); });
         search_bar.connect_entry (search_entry);


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