[anjuta/gsettings-migration: 22/31] language-support-js: Fixed preference names to match with GSettings rules



commit e38e6423cbb7fa5a8f117a759f811c52e60a3d1d
Author: Johannes Schmid <jhs gnome org>
Date:   Thu Sep 30 22:12:23 2010 +0200

    language-support-js: Fixed preference names to match with GSettings rules

 .../anjuta-language-javascript.ui                  |   16 ++++++++--------
 plugins/language-support-js/util.c                 |    6 +++---
 2 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/plugins/language-support-js/anjuta-language-javascript.ui b/plugins/language-support-js/anjuta-language-javascript.ui
index 9b4f58e..6ba69a0 100644
--- a/plugins/language-support-js/anjuta-language-javascript.ui
+++ b/plugins/language-support-js/anjuta-language-javascript.ui
@@ -118,7 +118,7 @@
                 <property name="visible">True</property>
                 <property name="label" translatable="yes">Gir repository's directory:   </property>
                 <property name="use_underline">True</property>
-                <property name="mnemonic_widget">preferences_entry:text::0:javascript.girdir</property>
+                <property name="mnemonic_widget">preferences_entry:text::0:javascript-girdir</property>
               </object>
               <packing>
                 <property name="expand">False</property>
@@ -126,7 +126,7 @@
               </packing>
             </child>
             <child>
-              <object class="GtkEntry" id="preferences_entry:text::0:javascript.girdir">
+              <object class="GtkEntry" id="preferences_entry:text::0:javascript-girdir">
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="invisible_char">&#x25CF;</property>
@@ -149,7 +149,7 @@
                 <property name="visible">True</property>
                 <property name="label" translatable="yes">Gjs repository's directory:   </property>
                 <property name="use_underline">True</property>
-                <property name="mnemonic_widget">preferences_entry:text::0:javascript.girdir</property>
+                <property name="mnemonic_widget">preferences_entry:text::0:javascript-gjsdir</property>
               </object>
               <packing>
                 <property name="expand">False</property>
@@ -157,7 +157,7 @@
               </packing>
             </child>
             <child>
-              <object class="GtkEntry" id="preferences_entry:text::0:javascript.gjsdir">
+              <object class="GtkEntry" id="preferences_entry:text::0:javascript-gjsdir">
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="invisible_char">&#x25CF;</property>
@@ -185,7 +185,7 @@
               </packing>
             </child>
             <child>
-              <object class="GtkSpinButton" id="preferences_spin:int:3:1:javascript.min">
+              <object class="GtkSpinButton" id="preferences_spin:int:3:1:javascript-min">
                   <property name="visible">True</property>
                   <property name="can_focus">True</property>
                   <property name="invisible_char">&#x2022;</property>
@@ -203,7 +203,7 @@
           </packing>
         </child>
         <child>
-          <object class="GtkCheckButton" id="preferences_toggle:bool:1:1:javascript.missed">
+          <object class="GtkCheckButton" id="preferences_toggle:bool:1:1:javascript-missed">
             <property name="label" translatable="yes">Highlight missed semicolon</property>
             <property name="visible">True</property>
             <property name="can_focus">True</property>
@@ -215,7 +215,7 @@
           </packing>
         </child>
         <child>
-          <object class="GtkCheckButton" id="preferences_toggle:bool:1:1:javascript.add_brace_after_func">
+          <object class="GtkCheckButton" id="preferences_toggle:bool:1:1:javascript-add-brace-after-func">
             <property name="label" translatable="yes">Add brace after function call autocompletion</property>
             <property name="visible">True</property>
             <property name="can_focus">True</property>
@@ -227,7 +227,7 @@
           </packing>
         </child>
         <child>
-          <object class="GtkCheckButton" id="preferences_toggle:bool:1:1:javascript.show_calltips">
+          <object class="GtkCheckButton" id="preferences_toggle:bool:1:1:javascript-show-calltips">
             <property name="label" translatable="yes">Show calltips</property>
             <property name="visible">True</property>
             <property name="can_focus">True</property>
diff --git a/plugins/language-support-js/util.c b/plugins/language-support-js/util.c
index 2dc611b..61336b6 100644
--- a/plugins/language-support-js/util.c
+++ b/plugins/language-support-js/util.c
@@ -25,9 +25,9 @@
 #include "plugin.h"
 #include "util.h"
 
-#define HIGHLIGHT_MISSEDSEMICOLON "javascript.missed"
-#define GIR_DIR_KEY "javascript.girdir"
-#define GJS_DIR_KEY "javascript.gjsdir"
+#define HIGHLIGHT_MISSEDSEMICOLON "javascript_missed"
+#define GIR_DIR_KEY "javascript_girdir"
+#define GJS_DIR_KEY "javascript_gjsdir"
 
 static gchar*
 get_gjs_path ()



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