[dconf-editor] Bookmarks: Rename a property.



commit 0e9e11e568f050096b6b2c5984a3410e941a846a
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Mon Nov 30 18:45:18 2015 +0100

    Bookmarks: Rename a property.

 editor/bookmarks.vala  |    4 ++--
 editor/dconf-editor.ui |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/editor/bookmarks.vala b/editor/bookmarks.vala
index b59abd5..bad8a09 100644
--- a/editor/bookmarks.vala
+++ b/editor/bookmarks.vala
@@ -27,7 +27,7 @@ public class Bookmarks : MenuButton
     [GtkChild] private Switch bookmarked_switch;
     public string current_path { get; set; }
 
-    public string schema { get; construct; }
+    public string schema_id { get; construct; }
     private GLib.Settings settings;
     private GLib.ListStore bookmarks_model;
 
@@ -35,7 +35,7 @@ public class Bookmarks : MenuButton
 
     construct
     {
-        settings = new GLib.Settings (schema);
+        settings = new GLib.Settings (schema_id);
         settings.changed ["bookmarks"].connect (update_bookmarks);
         settings.changed ["bookmarks"].connect (update_icon_and_switch);    // TODO updates switch if switch 
changed settings...
         notify ["current-path"].connect (update_icon_and_switch);
diff --git a/editor/dconf-editor.ui b/editor/dconf-editor.ui
index ac5055f..d4eaabf 100644
--- a/editor/dconf-editor.ui
+++ b/editor/dconf-editor.ui
@@ -47,7 +47,7 @@
         <child>
           <object class="Bookmarks" id="bookmarks_button">
             <property name="visible">True</property>
-            <property name="schema">ca.desrt.dconf-editor.Settings</property>
+            <property name="schema-id">ca.desrt.dconf-editor.Settings</property>
             <signal name="clicked" handler="on_bookmarks_button_clicked"/>
             <signal name="bookmark_activated" handler="scroll_to_path"/>
             <style>


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