[anjuta/gsettings-migration: 28/31] symbol-db: Fixed preference names to match with GSettings rules



commit a5c5b493ad556b50f89eed34b1ae14e6a657b76d
Author: Johannes Schmid <jhs gnome org>
Date:   Thu Sep 30 22:15:10 2010 +0200

    symbol-db: Fixed preference names to match with GSettings rules

 plugins/symbol-db/Makefile.am         |    4 ++--
 plugins/symbol-db/anjuta-symbol-db.ui |    6 +++---
 plugins/symbol-db/symbol-db-prefs.h   |   10 +++++-----
 3 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/plugins/symbol-db/Makefile.am b/plugins/symbol-db/Makefile.am
index 13d429b..2ee0e31 100644
--- a/plugins/symbol-db/Makefile.am
+++ b/plugins/symbol-db/Makefile.am
@@ -105,8 +105,8 @@ symbol-db-marshal.c: symbol-db-marshal.h symbol-db-marshal.list
 	&& cp xgenc-gmc $(@F) \
 	&& rm -f xgenc-gmc
 
-prefs_ui_files = anjuta-symbol-db.ui
-include $(top_srcdir)/scripts/build-schemas.mk
+
+
 
 EXTRA_DIST = \
 	$(plugin_in_files) \
diff --git a/plugins/symbol-db/anjuta-symbol-db.ui b/plugins/symbol-db/anjuta-symbol-db.ui
index a63ee22..c9c6163 100644
--- a/plugins/symbol-db/anjuta-symbol-db.ui
+++ b/plugins/symbol-db/anjuta-symbol-db.ui
@@ -30,7 +30,7 @@
                       <object class="GtkHBox" id="hbox2">
                         <property name="visible">True</property>
                         <child>
-                          <object class="GtkCheckButton" id="preferences_toggle:bool:1:1:symboldb.scan_prj_pkgs">
+                          <object class="GtkCheckButton" id="preferences_toggle:bool:1:1:symboldb-scan-prj-pkgs">
                             <property name="label" translatable="yes">Automatically scan project's packages</property>
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
@@ -52,7 +52,7 @@
                       <object class="GtkHBox" id="hbox4">
                         <property name="visible">True</property>
                         <child>
-                          <object class="GtkCheckButton" id="preferences_toggle:bool:1:1:symboldb.parallel_scan">
+                          <object class="GtkCheckButton" id="preferences_toggle:bool:1:1:symboldb-parallel-scan">
                             <property name="label" translatable="yes">Parallel scan of project and global symbols</property>
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
@@ -74,7 +74,7 @@
                       <object class="GtkHBox" id="hbox5">
                         <property name="visible">True</property>
                         <child>
-                          <object class="GtkCheckButton" id="preferences_toggle:bool:1:1:symboldb.buffer_update">
+                          <object class="GtkCheckButton" id="preferences_toggle:bool:1:1:symboldb-buffer-update">
                             <property name="label" translatable="yes">Automatically update symbols without saving file</property>
                             <property name="visible">True</property>
                             <property name="can_focus">True</property>
diff --git a/plugins/symbol-db/symbol-db-prefs.h b/plugins/symbol-db/symbol-db-prefs.h
index 5188e4f..1fddd69 100644
--- a/plugins/symbol-db/symbol-db-prefs.h
+++ b/plugins/symbol-db/symbol-db-prefs.h
@@ -41,12 +41,12 @@ typedef struct _SymbolDBPrefsPriv SymbolDBPrefsPriv;
 
 
 /*
-#define CTAGS_PREFS			 "preferences_entry:text:/usr/bin/ctags:0:symboldb.ctags"
-#define CTAGS_PREFS_KEY		 "symboldb.ctags"
+#define CTAGS_PREFS		 "preferences_entry:text:/usr/bin/ctags:0:symboldb-ctags"
+#define CTAGS_PREFS_KEY		 "symboldb-ctags"
  */
-#define PROJECT_AUTOSCAN	 "symboldb.scan_prj_pkgs"
-#define PARALLEL_SCAN		 "symboldb.parallel_scan"
-#define BUFFER_AUTOSCAN		 "symboldb.buffer_update"
+#define PROJECT_AUTOSCAN	 "symboldb-scan-prj-pkgs"
+#define PARALLEL_SCAN		 "symboldb-parallel-scan"
+#define BUFFER_AUTOSCAN		 "symboldb-buffer-update"
 
 struct _SymbolDBPrefsClass
 {



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