[dconf-editor] Fix previous commit.



commit fbd03737a68b9f1d8764b0c6715bcfcd6811e1f4
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Fri Feb 16 16:34:50 2018 +0100

    Fix previous commit.

 editor/modifications-revealer.vala |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/editor/modifications-revealer.vala b/editor/modifications-revealer.vala
index c071c73..46ed345 100644
--- a/editor/modifications-revealer.vala
+++ b/editor/modifications-revealer.vala
@@ -175,9 +175,11 @@ class ModificationsRevealer : Revealer
 
         ListBoxRow wrapper = new ListBoxRow ();
         wrapper.add (view);
-        Variant variant = new Variant ("(ss)", full_name, has_schema ? ((GSettingsKey) key).schema_id : 
".dconf");
         if (modifications_handler.get_current_delay_mode ())
+        {
+            Variant variant = new Variant ("(ss)", full_name, has_schema ? ((GSettingsKey) key).schema_id : 
".dconf");
             wrapper.set_detailed_action_name ("ui.open-object(" + variant.print (false) + ")");
+        }
         return wrapper;
     }
 


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