[anjuta/gsettings-migration: 13/31] build-basic-autotools: Fixed preference names to match with GSettings rules



commit 46c8b6984b88ef7f6642f4b614b6d5c95ef1792a
Author: Johannes Schmid <jhs gnome org>
Date:   Thu Sep 30 22:09:47 2010 +0200

    build-basic-autotools: Fixed preference names to match with GSettings rules

 .../anjuta-build-basic-autotools-plugin.ui         |   18 ++++++++--------
 plugins/build-basic-autotools/plugin.c             |   22 ++++++++++----------
 2 files changed, 20 insertions(+), 20 deletions(-)
---
diff --git a/plugins/build-basic-autotools/anjuta-build-basic-autotools-plugin.ui b/plugins/build-basic-autotools/anjuta-build-basic-autotools-plugin.ui
index 64e2cb8..767a221 100644
--- a/plugins/build-basic-autotools/anjuta-build-basic-autotools-plugin.ui
+++ b/plugins/build-basic-autotools/anjuta-build-basic-autotools-plugin.ui
@@ -163,10 +163,10 @@
       <action-widget response="-5">okbutton3</action-widget>
     </action-widgets>
   </object>
-  <object class="GtkWindow" id="preferences_dialog_build">
+  <object class="GtkWindow" id="preferences-dialog-build">
     <property name="title" translatable="yes">window1</property>
     <child>
-      <object class="GtkVBox" id="preferences_build_container">
+      <object class="GtkVBox" id="preferences-build-container">
         <property name="visible">True</property>
         <property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
         <child>
@@ -190,7 +190,7 @@
                         <property name="visible">True</property>
                         <property name="spacing">6</property>
                         <child>
-                          <object class="GtkCheckButton" id="preferences_toggle:bool:0:0:build.parallel.make">
+                          <object class="GtkCheckButton" id="preferences_toggle:bool:0:0:build-parallel-make">
                             <property name="label" translatable="yes">Run several commands at a time:</property>
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
@@ -204,7 +204,7 @@
                           </packing>
                         </child>
                         <child>
-                          <object class="GtkSpinButton" id="preferences_spin:int:1:0:build.parallel.make.job">
+                          <object class="GtkSpinButton" id="preferences_spin:int:1:0:build-parallel-make-job">
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
                             <property name="xalign">1</property>
@@ -227,7 +227,7 @@
                       </packing>
                     </child>
                     <child>
-                      <object class="GtkCheckButton" id="preferences_toggle:bool:0:0:build.continue.error">
+                      <object class="GtkCheckButton" id="preferences_toggle:bool:0:0:build-continue-error">
                         <property name="label" translatable="yes">Continue on errors</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
@@ -242,7 +242,7 @@
                       </packing>
                     </child>
                     <child>
-                      <object class="GtkCheckButton" id="preferences_toggle:bool:1:0:build.translate.message">
+                      <object class="GtkCheckButton" id="preferences_toggle:bool:1:0:build-translate-message">
                         <property name="label" translatable="yes">Translate messages</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
@@ -254,7 +254,7 @@
                       </packing>
                     </child>
                     <child>
-                      <object class="GtkCheckButton" id="preferences_toggle:bool:0:0:indicators.automatic">
+                      <object class="GtkCheckButton" id="preferences_toggle:bool:0:0:build-indicators-automatic">
                         <property name="label" translatable="yes">Highlight message locations in editor</property>
                         <property name="visible">True</property>
                         <property name="can_focus">True</property>
@@ -311,7 +311,7 @@
                         <property name="visible">True</property>
                         <property name="spacing">6</property>
                         <child>
-                          <object class="GtkCheckButton" id="preferences_toggle:bool:0:0:build.install.root">
+                          <object class="GtkCheckButton" id="preferences_toggle:bool:0:0:build-install-root">
                             <property name="label" translatable="yes">Install as root:</property>
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
@@ -326,7 +326,7 @@
                           </packing>
                         </child>
                         <child>
-                          <object class="GtkEntry" id="preferences_entry:text:sudo:0:build.install.root.command">
+                          <object class="GtkEntry" id="preferences_entry:text:sudo:0:build-install-root-command">
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
                           </object>
diff --git a/plugins/build-basic-autotools/plugin.c b/plugins/build-basic-autotools/plugin.c
index af7f67b..299a0d9 100644
--- a/plugins/build-basic-autotools/plugin.c
+++ b/plugins/build-basic-autotools/plugin.c
@@ -59,20 +59,20 @@
 
 #define UI_FILE PACKAGE_DATA_DIR"/ui/anjuta-build-basic-autotools-plugin.xml"
 #define MAX_BUILD_PANES 3
-#define PREF_INDICATORS_AUTOMATIC "indicators.automatic"
-#define PREF_INSTALL_ROOT "build.install.root"
-#define PREF_INSTALL_ROOT_COMMAND "build.install.root.command"
-#define PREF_PARALLEL_MAKE "build.parallel.make"
-#define PREF_PARALLEL_MAKE_JOB "build.parallel.make.job"
-#define PREF_TRANSLATE_MESSAGE "build.translate.message"
-#define PREF_CONTINUE_ON_ERROR "build.continue.error"
+#define PREF_INDICATORS_AUTOMATIC "build-indicators-automatic"
+#define PREF_INSTALL_ROOT "build-install-root"
+#define PREF_INSTALL_ROOT_COMMAND "build-install-root-command"
+#define PREF_PARALLEL_MAKE "build-parallel-make"
+#define PREF_PARALLEL_MAKE_JOB "build-parallel-make-job"
+#define PREF_TRANSLATE_MESSAGE "build-translate-message"
+#define PREF_CONTINUE_ON_ERROR "build-continue-error"
 
 #define BUILD_PREFS_DIALOG "preferences_dialog_build"
 #define BUILD_PREFS_ROOT "preferences_build_container"
-#define INSTALL_ROOT_CHECK "preferences_toggle:bool:0:0:build.install.root"
-#define INSTALL_ROOT_ENTRY "preferences_entry:text:sudo:0:build.install.root.command"
-#define PARALLEL_MAKE_CHECK "preferences_toggle:bool:0:0:build.parallel.make"
-#define PARALLEL_MAKE_SPIN "preferences_spin:int:1:0:build.parallel.make.job"
+#define INSTALL_ROOT_CHECK "preferences_toggle:bool:0:0:build-install-root"
+#define INSTALL_ROOT_ENTRY "preferences_entry:text:sudo:0:build-install-root-command"
+#define PARALLEL_MAKE_CHECK "preferences_toggle:bool:0:0:build-parallel-make"
+#define PARALLEL_MAKE_SPIN "preferences_spin:int:1:0:build-parallel-make-job"
 
 #define DEFAULT_COMMAND_COMPILE "make"
 #define DEFAULT_COMMAND_BUILD "make"



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