[dconf-editor] Rename a function.



commit f1e6ef925657a2d5bd4c6ab82f1a1ac59c964a67
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Fri Jan 26 02:06:47 2018 +0100

    Rename a function.

 editor/browser-view.vala    |    6 +++---
 editor/dconf-window.vala    |    2 +-
 editor/registry-search.vala |    2 +-
 editor/registry-view.vala   |    2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/editor/browser-view.vala b/editor/browser-view.vala
index c539579..2b685ca 100644
--- a/editor/browser-view.vala
+++ b/editor/browser-view.vala
@@ -210,12 +210,12 @@ class BrowserView : Grid
             search_results_view.toggle_boolean_key ();
     }
 
-    public void set_to_default ()
+    public void set_selected_to_default ()
     {
         if (current_view_is_browse_view ())
-            browse_view.set_to_default ();
+            browse_view.set_selected_to_default ();
         else if (current_view_is_search_results_view ())
-            search_results_view.set_to_default ();
+            search_results_view.set_selected_to_default ();
     }
 
     public void discard_row_popover ()
diff --git a/editor/dconf-window.vala b/editor/dconf-window.vala
index d1f505a..5bfdb50 100644
--- a/editor/dconf-window.vala
+++ b/editor/dconf-window.vala
@@ -745,7 +745,7 @@ class DConfWindow : ApplicationWindow
                     if (selected_row != null && ((!) selected_row).has_suffix ("/"))
                         reset_path ((!) selected_row, true);
                     else
-                        browser_view.set_to_default ();
+                        browser_view.set_selected_to_default ();
                     return true;
 
                 default:
diff --git a/editor/registry-search.vala b/editor/registry-search.vala
index d249379..3917458 100644
--- a/editor/registry-search.vala
+++ b/editor/registry-search.vala
@@ -330,7 +330,7 @@ class RegistrySearch : Grid, BrowsableView
         ((KeyListBoxRow) ((!) selected_row).get_child ()).toggle_boolean_key ();
     }
 
-    public void set_to_default ()
+    public void set_selected_to_default ()
     {
         ListBoxRow? selected_row = (ListBoxRow?) key_list_box.get_selected_row ();
         if (selected_row == null)
diff --git a/editor/registry-view.vala b/editor/registry-view.vala
index 21763ab..68f1810 100644
--- a/editor/registry-view.vala
+++ b/editor/registry-view.vala
@@ -348,7 +348,7 @@ class RegistryView : Grid, BrowsableView
         ((KeyListBoxRow) ((!) selected_row).get_child ()).toggle_boolean_key ();
     }
 
-    public void set_to_default ()
+    public void set_selected_to_default ()
     {
         ListBoxRow? selected_row = (ListBoxRow?) key_list_box.get_selected_row ();
         if (selected_row == null)


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