[tracker] tracker-preferences: Change "Save" button to "Apply".



commit 6326f742e77aa2c2b5aced21c5118ef713b6a80e
Author: Martyn Russell <martyn lanedo com>
Date:   Wed Sep 16 12:17:30 2009 +0200

    tracker-preferences: Change "Save" button to "Apply".

 src/tracker-preferences/tracker-preferences.ui   |   10 +++++-----
 src/tracker-preferences/tracker-preferences.vala |    2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/tracker-preferences/tracker-preferences.ui b/src/tracker-preferences/tracker-preferences.ui
index ff7c147..a5a4db3 100644
--- a/src/tracker-preferences/tracker-preferences.ui
+++ b/src/tracker-preferences/tracker-preferences.ui
@@ -1128,13 +1128,13 @@ Most commonly this is used to ignore directories like *~, *.o, *.la, etc</proper
             <property name="visible">True</property>
             <property name="layout_style">end</property>
             <child>
-              <object class="GtkButton" id="button_save">
-                <property name="label">gtk-save</property>
+              <object class="GtkButton" id="button_apply">
+                <property name="label">gtk-apply</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="receives_default">True</property>
                 <property name="use_stock">True</property>
-                <signal name="clicked" handler="button_save_clicked_cb"/>
+                <signal name="clicked" handler="button_apply_clicked_cb"/>
               </object>
               <packing>
                 <property name="expand">False</property>
@@ -1167,7 +1167,7 @@ Most commonly this is used to ignore directories like *~, *.o, *.la, etc</proper
       </object>
     </child>
     <action-widgets>
-      <action-widget response="0">button_save</action-widget>
+      <action-widget response="0">button_apply</action-widget>
       <action-widget response="0">button_close</action-widget>
     </action-widgets>
   </object>
@@ -1195,8 +1195,8 @@ Most commonly this is used to ignore directories like *~, *.o, *.la, etc</proper
   </object>
   <object class="GtkSizeGroup" id="sizegroup_indexing">
     <widgets>
-      <widget name="label_throttle"/>
       <widget name="label_disk_space_limit"/>
+      <widget name="label_throttle"/>
     </widgets>
   </object>
 </interface>
diff --git a/src/tracker-preferences/tracker-preferences.vala b/src/tracker-preferences/tracker-preferences.vala
index 7a1dfd6..180d4da 100644
--- a/src/tracker-preferences/tracker-preferences.vala
+++ b/src/tracker-preferences/tracker-preferences.vala
@@ -240,7 +240,7 @@ public bool model_contains (TreeModel model, string needle) {
 	return false;
 }
 
-public static void button_save_clicked_cb (Button source) {
+public static void button_apply_clicked_cb (Button source) {
 
 	config.index_single_directories = model_to_slist (liststore_index_single);
 	config.ignored_directories = model_to_slist (liststore_ignored_directories);



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