[anjuta] Add .gschema file as sources instead of generating them from .ui file
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] Add .gschema file as sources instead of generating them from .ui file
- Date: Fri, 11 Nov 2011 17:58:12 +0000 (UTC)
commit 1dcf9bbf1876400ed463672ab668ce29de58c657
Author: SÃbastien Granjoux <seb sfo free fr>
Date: Fri Nov 11 17:42:40 2011 +0100
Add .gschema file as sources instead of generating them from .ui file
It is not possible to add a description of the keys generated from gtk builder file.
plugins/build-basic-autotools/Makefile.am | 13 ++-
.../org.gnome.anjuta.build.gschema.xml.in | 29 +++++++
plugins/code-analyzer/Makefile.am | 13 ++-
.../org.gnome.anjuta.code-analyzer.gschema.xml.in | 13 +++
plugins/cvs-plugin/Makefile.am | 13 ++-
.../cvs-plugin/org.gnome.anjuta.cvs.gschema.xml.in | 13 +++
plugins/debug-manager/Makefile.am | 9 +--
.../org.gnome.anjuta.debug-manager.gschema.xml.in | 9 +-
plugins/document-manager/Makefile.am | 13 ++-
.../document-manager.gschema-part.xml | 24 ------
...rg.gnome.anjuta.document-manager.gschema.xml.in | 55 ++++++++++++
plugins/file-manager/Makefile.am | 12 ++-
.../org.gnome.anjuta.file-manager.gschema.xml.in | 19 ++++
plugins/language-support-cpp-java/Makefile.am | 14 ++-
.../language-support-cpp-java.gschema-part.xml | 3 -
.../org.gnome.anjuta.cpp.gschema.xml.in | 55 ++++++++++++
plugins/language-support-js/Makefile.am | 13 ++-
.../org.gnome.anjuta.js.gschema.xml.in | 22 +++++
plugins/language-support-python/Makefile.am | 15 ++-
.../org.gnome.anjuta.python.gschema.xml.in | 34 ++++++++
.../python.gschema-part.xml | 3 -
plugins/message-view/Makefile.am | 13 ++-
...org.gnome.anjuta.message-manager.gschema.xml.in | 40 +++++++++
plugins/run-program/Makefile.am | 13 +--
.../org.gnome.anjuta.run.gschema.xml.in | 9 +-
plugins/snippets-manager/Makefile.am | 13 ++-
.../org.gnome.anjuta.snippets.gschema.xml.in | 4 +
plugins/sourceview/Makefile.am | 13 ++--
.../org.gnome.anjuta.sourceview.gschema.xml.in | 60 ++++++++++++++
plugins/sourceview/sourceview.gschema-part.xml | 18 ----
plugins/symbol-db/Makefile.am | 13 ++-
.../org.gnome.anjuta.symbol-db.gschema.xml.in | 10 ++
plugins/terminal/Makefile.am | 13 ++-
.../org.gnome.anjuta.terminal.gschema.xml.in | 7 ++
plugins/tools/Makefile.am | 13 ++-
.../tools/org.gnome.anjuta.tools.gschema.xml.in | 4 +
po/POTFILES.in | 18 ++++-
scripts/Makefile.am | 4 -
scripts/build-schemas.mk | 17 ----
scripts/builder2schema.pl | 87 --------------------
src/Makefile.am | 13 ++-
src/anjuta.gschema-part.xml | 6 --
src/org.gnome.anjuta.gschema.xml.in | 36 ++++++++
43 files changed, 567 insertions(+), 251 deletions(-)
---
diff --git a/plugins/build-basic-autotools/Makefile.am b/plugins/build-basic-autotools/Makefile.am
index c55204a..ce86e94 100644
--- a/plugins/build-basic-autotools/Makefile.am
+++ b/plugins/build-basic-autotools/Makefile.am
@@ -60,9 +60,10 @@ libanjuta_build_basic_autotools_la_LIBADD = \
libanjuta_build_basic_autotools_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
-prefs_name = org.gnome.anjuta.build
-prefs_ui_files = anjuta-build-basic-autotools-plugin.ui
-include $(top_srcdir)/scripts/build-schemas.mk
+gsettings_in_file = org.gnome.anjuta.build.gschema.xml.in
+gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
+ INTLTOOL_XML_NOMERGE_RULE@
+ GSETTINGS_RULES@
EXTRA_DIST = \
$(plugin_in_files) \
@@ -70,6 +71,10 @@ EXTRA_DIST = \
$(build_ui_DATA) \
$(build_pixmaps_DATA) \
$(build_glade_DATA) \
- $(build_data_DATA)
+ $(build_data_DATA) \
+ $(gsettings_in_file)
+
+CLEANFILES = \
+ $(gsettings_SCHEMAS)
-include $(top_srcdir)/git.mk
diff --git a/plugins/build-basic-autotools/org.gnome.anjuta.build.gschema.xml.in b/plugins/build-basic-autotools/org.gnome.anjuta.build.gschema.xml.in
new file mode 100644
index 0000000..bf07828
--- /dev/null
+++ b/plugins/build-basic-autotools/org.gnome.anjuta.build.gschema.xml.in
@@ -0,0 +1,29 @@
+<schemalist>
+ <schema id="org.gnome.anjuta.build" path="/org/gnome/anjuta/">
+ <key name="build-parallel-make" type="b">
+ <default>false</default>
+ </key>
+ <key name="build-parallel-make-job" type="i">
+ <default>1</default>
+ </key>
+ <key name="build-continue-error" type="b">
+ <default>false</default>
+ </key>
+ <key name="build-translate-message" type="b">
+ <default>true</default>
+ </key>
+ <key name="build-indicators-automatic" type="b">
+ <default>true</default>
+ </key>
+ <key name="build-install-root" type="b">
+ <default>false</default>
+ </key>
+ <key name="build-install-root-command" type="s">
+ <choices>
+ <choice value="sudo %s" />
+ <choice value=" su -c %q" />
+ </choices>
+ <default>"sudo %s"</default>
+ </key>
+ </schema>
+</schemalist>
\ No newline at end of file
diff --git a/plugins/code-analyzer/Makefile.am b/plugins/code-analyzer/Makefile.am
index 6e4eb22..814b400 100644
--- a/plugins/code-analyzer/Makefile.am
+++ b/plugins/code-analyzer/Makefile.am
@@ -36,14 +36,19 @@ libanjuta_code_analyzer_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
libanjuta_code_analyzer_la_LIBADD = \
$(LIBANJUTA_LIBS)
-prefs_name = org.gnome.anjuta.code-analyzer
-prefs_ui_files = code-analyzer.ui
-include $(top_srcdir)/scripts/build-schemas.mk
+gsettings_in_file = org.gnome.anjuta.code-analyzer.gschema.xml.in
+gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
+ INTLTOOL_XML_NOMERGE_RULE@
+ GSETTINGS_RULES@
EXTRA_DIST = \
$(plugin_in_files) \
$(code_analyzer_plugin_DATA) \
$(code_analyzer_pixmaps_DATA) \
- $(code_analyzer_ui_DATA)
+ $(code_analyzer_ui_DATA) \
+ $(gsettings_in_file)
+
+CLEANFILES = \
+ $(gsettings_SCHEMAS)
-include $(top_srcdir)/git.mk
diff --git a/plugins/code-analyzer/org.gnome.anjuta.code-analyzer.gschema.xml.in b/plugins/code-analyzer/org.gnome.anjuta.code-analyzer.gschema.xml.in
new file mode 100644
index 0000000..6e6a44b
--- /dev/null
+++ b/plugins/code-analyzer/org.gnome.anjuta.code-analyzer.gschema.xml.in
@@ -0,0 +1,13 @@
+<schemalist>
+ <schema id="org.gnome.anjuta.code-analyzer" path="/org/gnome/anjuta/">
+ <key name="clang-enable" type="b">
+ <default>false</default>
+ </key>
+ <key name="clang-cc-path" type="s">
+ <default>"/usr/lib/clang-analyzer/scan-build/ccc-analyzer"</default>
+ </key>
+ <key name="clang-cxx-path" type="s">
+ <default>"/usr/lib/clang-analyzer/scan-build/cxx-analyzer"</default>
+ </key>
+ </schema>
+</schemalist>
\ No newline at end of file
diff --git a/plugins/cvs-plugin/Makefile.am b/plugins/cvs-plugin/Makefile.am
index 75d90a0..db201dd 100644
--- a/plugins/cvs-plugin/Makefile.am
+++ b/plugins/cvs-plugin/Makefile.am
@@ -42,15 +42,20 @@ libanjuta_cvs_plugin_la_SOURCES = \
cvs-interface.c \
cvs-interface.h
-prefs_name = org.gnome.anjuta.cvs
-prefs_ui_files = anjuta-cvs-plugin.ui
-include $(top_srcdir)/scripts/build-schemas.mk
+gsettings_in_file = org.gnome.anjuta.cvs.gschema.xml.in
+gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
+ INTLTOOL_XML_NOMERGE_RULE@
+ GSETTINGS_RULES@
EXTRA_DIST = \
$(plugin_in_files) \
$(cvs_plugin_pixmaps_DATA) \
$(cvs_plugin_plugin_DATA) \
$(cvs_plugin_ui_DATA) \
- $(cvs_plugin_glade_DATA)
+ $(cvs_plugin_glade_DATA) \
+ $(gsettings_in_file)
+
+CLEANFILES = \
+ $(gsettings_SCHEMAS)
-include $(top_srcdir)/git.mk
diff --git a/plugins/cvs-plugin/org.gnome.anjuta.cvs.gschema.xml.in b/plugins/cvs-plugin/org.gnome.anjuta.cvs.gschema.xml.in
new file mode 100644
index 0000000..28d4720
--- /dev/null
+++ b/plugins/cvs-plugin/org.gnome.anjuta.cvs.gschema.xml.in
@@ -0,0 +1,13 @@
+<schemalist>
+ <schema id="org.gnome.anjuta.cvs" path="/org/gnome/anjuta/">
+ <key name="cvs-path" type="s">
+ <default>"/usr/bin/cvs"</default>
+ </key>
+ <key name="cvs-ignorerc" type="b">
+ <default>true</default>
+ </key>
+ <key name="cvs-compression" type="i">
+ <default>3</default>
+ </key>
+ </schema>
+</schemalist>
\ No newline at end of file
diff --git a/plugins/debug-manager/Makefile.am b/plugins/debug-manager/Makefile.am
index cd7ba5c..6437cc9 100644
--- a/plugins/debug-manager/Makefile.am
+++ b/plugins/debug-manager/Makefile.am
@@ -5,11 +5,8 @@ anjuta_glade_DATA = anjuta-debug-manager.ui
anjuta_uidir = $(anjuta_ui_dir)
anjuta_ui_DATA = anjuta-debug-manager.xml
-schema_in_files = org.gnome.anjuta.debug-manager.gschema.xml.in
-gsettings_SCHEMAS = $(schema_in_files:.gschema.xml.in=.gschema.xml)
-
-.PRECIOUS: $(gsettings_SCHEMAS)
-
+gsettings_in_files = org.gnome.anjuta.debug-manager.gschema.xml.in
+gsettings_SCHEMAS = $(gsettings_in_files:.xml.in=.xml)
@INTLTOOL_XML_NOMERGE_RULE@
@GSETTINGS_RULES@
@@ -98,7 +95,7 @@ EXTRA_DIST = \
$(schema_in_files) \
$(anjuta_ui_DATA) \
$(anjuta_glade_DATA) \
- $(schema_in_files) \
+ $(gsettings_in_files) \
anjuta-marshal.list
DISTCLEANFILES = \
diff --git a/plugins/debug-manager/org.gnome.anjuta.debug-manager.gschema.xml.in b/plugins/debug-manager/org.gnome.anjuta.debug-manager.gschema.xml.in
index 29a7bdc..0c62395 100644
--- a/plugins/debug-manager/org.gnome.anjuta.debug-manager.gschema.xml.in
+++ b/plugins/debug-manager/org.gnome.anjuta.debug-manager.gschema.xml.in
@@ -1,8 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
<schemalist>
- <schema id="org.gnome.anjuta.debug-manager" path="/org/gnome/anjuta/debug-manager/">
- <key name="debug-silent-non-debug-config" type="b">
+ <schema path="/org/gnome/anjuta/debug-manager/" id="org.gnome.anjuta.debug-manager">
+ <key type="b" name="debug-silent-non-debug-config">
<default>false</default>
- <_summary>Do not display warning if not using a Debug configuration</_summary>
+ <summary>Do not display warning if not using a Debug configuration</summary>
</key>
</schema>
-</schemalist>
+</schemalist>
\ No newline at end of file
diff --git a/plugins/document-manager/Makefile.am b/plugins/document-manager/Makefile.am
index db703b6..1e102e8 100644
--- a/plugins/document-manager/Makefile.am
+++ b/plugins/document-manager/Makefile.am
@@ -48,10 +48,10 @@ libanjuta_document_manager_la_SOURCES= \
anjuta-bookmarks.h \
anjuta-bookmarks.c
-prefs_name = org.gnome.anjuta.document-manager
-prefs_keyfile = document-manager.gschema-part.xml
-prefs_ui_files = anjuta-document-manager.ui
-include $(top_srcdir)/scripts/build-schemas.mk
+gsettings_in_file = org.gnome.anjuta.document-manager.gschema.xml.in
+gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
+ INTLTOOL_XML_NOMERGE_RULE@
+ GSETTINGS_RULES@
EXTRA_DIST = \
$(document_manager_pixmaps_DATA) \
@@ -59,6 +59,9 @@ EXTRA_DIST = \
$(document_manager_plugin_DATA) \
$(document_manager_ui_DATA) \
$(document_manager_glade_DATA) \
- $(prefs_keyfile)
+ $(gsettings_in_file)
+
+CLEANFILES = \
+ $(gsettings_SCHEMAS)
-include $(top_srcdir)/git.mk
diff --git a/plugins/document-manager/org.gnome.anjuta.document-manager.gschema.xml.in b/plugins/document-manager/org.gnome.anjuta.document-manager.gschema.xml.in
new file mode 100644
index 0000000..029fa18
--- /dev/null
+++ b/plugins/document-manager/org.gnome.anjuta.document-manager.gschema.xml.in
@@ -0,0 +1,55 @@
+<schemalist>
+ <schema id="org.gnome.anjuta.document-manager" path="/org/gnome/anjuta/">
+ <key name="docman-linenumber-visible" type="b">
+ <default>true</default>
+ </key>
+ <key name="docman-marker-visible" type="b">
+ <default>true</default>
+ </key>
+ <key name="docman-fold-visible" type="b">
+ <default>true</default>
+ </key>
+ <key name="docman-indentation-guides" type="b">
+ <default>true</default>
+ </key>
+ <key name="docman-whitespace" type="b">
+ <default>false</default>
+ </key>
+ <key name="docman-eol" type="b">
+ <default>false</default>
+ </key>
+ <key name="docman-line-wrap" type="b">
+ <default>false</default>
+ </key>
+ <key name="text-zoom-factor" type="i">
+ <default>0</default>
+ </key>
+ <key name="docman-automatic-save" type="b">
+ <default>true</default>
+ </key>
+ <key name="docman-autosave-timer" type="i">
+ <default>10</default>
+ </key>
+ <key name="docman-save-session-timer" type="i">
+ <default>10</default>
+ </key>
+ <key name="docman-tabs-recent-first" type="b">
+ <default>false</default>
+ </key>
+ <key name="docman-tabs-ordering" type="b">
+ <default>false</default>
+ </key>
+ <key name="docman-tabs-hide" type="b">
+ <default>false</default>
+ </key>
+ <key name="docman-tabs-pos" type="s">
+ <choices>
+ <choice value="Top" />
+ <choice value="Bottom" />
+ <choice value="Left" />
+ <choice value="Right" />
+ </choices>
+ <default>"Top"</default>
+ </key>
+ </schema>
+</schemalist>
\ No newline at end of file
diff --git a/plugins/file-manager/Makefile.am b/plugins/file-manager/Makefile.am
index cf1b406..4e7ba5a 100644
--- a/plugins/file-manager/Makefile.am
+++ b/plugins/file-manager/Makefile.am
@@ -73,9 +73,10 @@ file-view-marshal.c: $(srcdir)/file-view-marshal.list
then mv -f .genmarshal-$@ $@; \
else rm -f .genmarshal-$@; fi
-prefs_ui_files = file-manager.ui
-prefs_name = org.gnome.anjuta.file-manager
-include $(top_srcdir)/scripts/build-schemas.mk
+gsettings_in_file = org.gnome.anjuta.file-manager.gschema.xml.in
+gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
+ INTLTOOL_XML_NOMERGE_RULE@
+ GSETTINGS_RULES@
EXTRA_DIST = \
$(plugin_in_files) \
@@ -83,7 +84,10 @@ EXTRA_DIST = \
$(file_manager_ui_DATA) \
$(file_manager_pixmaps_DATA) \
$(file_manager_glade_DATA) \
- file-view-marshal.list
+ file-view-marshal.list \
+ $(gsettings_in_file)
+CLEANFILES = \
+ $(gsettings_SCHEMAS)
-include $(top_srcdir)/git.mk
diff --git a/plugins/file-manager/org.gnome.anjuta.file-manager.gschema.xml.in b/plugins/file-manager/org.gnome.anjuta.file-manager.gschema.xml.in
new file mode 100644
index 0000000..54cb68d
--- /dev/null
+++ b/plugins/file-manager/org.gnome.anjuta.file-manager.gschema.xml.in
@@ -0,0 +1,19 @@
+<schemalist>
+ <schema id="org.gnome.anjuta.file-manager" path="/org/gnome/anjuta/">
+ <key name="filemanager-root" type="s">
+ <default>"/"</default>
+ </key>
+ <key name="filemanager-filter-binary" type="b">
+ <default>true</default>
+ </key>
+ <key name="filemanager-filter-hidden" type="b">
+ <default>true</default>
+ </key>
+ <key name="filemanager-filter-backup" type="b">
+ <default>true</default>
+ </key>
+ <key name="filemanager-filter-unversioned" type="b">
+ <default>false</default>
+ </key>
+ </schema>
+</schemalist>
\ No newline at end of file
diff --git a/plugins/language-support-cpp-java/Makefile.am b/plugins/language-support-cpp-java/Makefile.am
index 3eda1f1..d8a7133 100644
--- a/plugins/language-support-cpp-java/Makefile.am
+++ b/plugins/language-support-cpp-java/Makefile.am
@@ -67,10 +67,11 @@ libanjuta_language_cpp_java_la_LIBADD = \
$(LIBANJUTA_LIBS) \
cxxparser/libcxxparser.la
-prefs_ui_files = anjuta-language-cpp-java.ui
-prefs_keyfile = language-support-cpp-java.gschema-part.xml
-prefs_name = org.gnome.anjuta.cpp
-include $(top_srcdir)/scripts/build-schemas.mk
+gsettings_in_file = org.gnome.anjuta.cpp.gschema.xml.in
+gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
+ INTLTOOL_XML_NOMERGE_RULE@
+ GSETTINGS_RULES@
+
EXTRA_DIST = \
$(plugin_in_files) \
@@ -78,6 +79,9 @@ EXTRA_DIST = \
$(cpp_java_ui_DATA) \
$(cpp_java_pixmaps_DATA) \
$(cpp_java_glade_DATA) \
- $(prefs_keyfile)
+ $(gsettings_in_file)
+
+CLEANFILES = \
+ $(gsettings_SCHEMAS)
-include $(top_srcdir)/git.mk
diff --git a/plugins/language-support-cpp-java/org.gnome.anjuta.cpp.gschema.xml.in b/plugins/language-support-cpp-java/org.gnome.anjuta.cpp.gschema.xml.in
new file mode 100644
index 0000000..77671ff
--- /dev/null
+++ b/plugins/language-support-cpp-java/org.gnome.anjuta.cpp.gschema.xml.in
@@ -0,0 +1,55 @@
+<schemalist>
+ <schema id="org.gnome.anjuta.cpp" path="/org/gnome/anjuta/">
+ <key name="cpp-user-packages" type="s">
+ <default>""</default>
+ </key>
+ <key name="cpp-indent-automatic" type="b">
+ <default>true</default>
+ </key>
+ <key name="cpp-multiline-leading-asterisk" type="b">
+ <default>true</default>
+ </key>
+ <key name="cpp-indent-modeline" type="b">
+ <default>true</default>
+ </key>
+ <key name="cpp-indent-brace-size" type="i">
+ <default>0</default>
+ </key>
+ <key name="cpp-indent-statement-size" type="i">
+ <default>4</default>
+ </key>
+ <key name="cpp-indent-paranthese-lineup" type="b">
+ <default>true</default>
+ </key>
+ <key name="cpp-indent-paranthese-indent" type="b">
+ <default>false</default>
+ </key>
+ <key name="cpp-indent-paranthese-size" type="i">
+ <default>4</default>
+ </key>
+ <key name="cpp-completion-enable" type="b">
+ <default>true</default>
+ </key>
+ <key name="cpp-completion-space-after-func" type="b">
+ <default>true</default>
+ </key>
+ <key name="cpp-completion-brace-after-func" type="b">
+ <default>true</default>
+ </key>
+ <key name="cpp-brace-autocompletion" type="b">
+ <default>false</default>
+ </key>
+ <key name="cpp-calltip-enable" type="b">
+ <default>true</default>
+ </key>
+ <key name="cpp-load-project-packages" type="b">
+ <default>true</default>
+ </key>
+ <key name="cpp-load-libc" type="b">
+ <default>true</default>
+ </key>
+ <key name="cpp-load-stdcpp" type="b">
+ <default>true</default>
+ </key>
+ </schema>
+</schemalist>
\ No newline at end of file
diff --git a/plugins/language-support-js/Makefile.am b/plugins/language-support-js/Makefile.am
index ebbaff9..b78fd0e 100644
--- a/plugins/language-support-js/Makefile.am
+++ b/plugins/language-support-js/Makefile.am
@@ -65,16 +65,21 @@ libjs_support_plugin_la_LIBADD = \
$(LIBANJUTA_LIBS) \
$(XML_LIBS)
-prefs_ui_files = anjuta-language-javascript.ui
-prefs_name = org.gnome.anjuta.js
-include $(top_srcdir)/scripts/build-schemas.mk
+gsettings_in_file = org.gnome.anjuta.js.gschema.xml.in
+gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
+ INTLTOOL_XML_NOMERGE_RULE@
+ GSETTINGS_RULES@
EXTRA_DIST = \
$(plugin_in_files)\
$(js_support_plugin_plugin_DATA)\
$(js_support_plugin_glade_DATA)\
$(js_support_plugin_ui_DATA)\
- $(js_support_plugin_pixmaps_DATA)
+ $(js_support_plugin_pixmaps_DATA) \
+ $(gsettings_in_file)
+
+CLEANFILES = \
+ $(gsettings_SCHEMAS)
-include $(top_srcdir)/git.mk
diff --git a/plugins/language-support-js/org.gnome.anjuta.js.gschema.xml.in b/plugins/language-support-js/org.gnome.anjuta.js.gschema.xml.in
new file mode 100644
index 0000000..2eaefc2
--- /dev/null
+++ b/plugins/language-support-js/org.gnome.anjuta.js.gschema.xml.in
@@ -0,0 +1,22 @@
+<schemalist>
+ <schema id="org.gnome.anjuta.js" path="/org/gnome/anjuta/">
+ <key name="javascript-girdir" type="s">
+ <default>""</default>
+ </key>
+ <key name="javascript-gjsdir" type="s">
+ <default>""</default>
+ </key>
+ <key name="javascript-min-codecomplete" type="i">
+ <default>3</default>
+ </key>
+ <key name="javascript-missed" type="b">
+ <default>true</default>
+ </key>
+ <key name="javascript-add-brace-after-func" type="b">
+ <default>true</default>
+ </key>
+ <key name="javascript-show-calltips" type="b">
+ <default>true</default>
+ </key>
+ </schema>
+</schemalist>
\ No newline at end of file
diff --git a/plugins/language-support-python/Makefile.am b/plugins/language-support-python/Makefile.am
index b5824bd..4887813 100644
--- a/plugins/language-support-python/Makefile.am
+++ b/plugins/language-support-python/Makefile.am
@@ -42,10 +42,10 @@ libpython_plugin_la_LDFLAGS = $(ANJUTA_PLUGIN_LDFLAGS)
libpython_plugin_la_LIBADD = \
$(LIBANJUTA_LIBS)
-prefs_name = org.gnome.anjuta.python
-prefs_ui_files = python-plugin-properties.ui
-prefs_keyfile = python.gschema-part.xml
-include $(top_srcdir)/scripts/build-schemas.mk
+gsettings_in_file = org.gnome.anjuta.python.gschema.xml.in
+gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
+ INTLTOOL_XML_NOMERGE_RULE@
+ GSETTINGS_RULES@
EXTRA_DIST = \
$(plugin_in_files) \
@@ -54,4 +54,9 @@ EXTRA_DIST = \
$(python_plugin_glade_DATA) \
$(python_plugin_pixmaps_DATA) \
$(scripts_SCRIPTS) \
- $(prefs_keyfile)
+ $(gsettings_in_file)
+
+CLEANFILES = \
+ $(gsettings_SCHEMAS)
+
+-include $(top_srcdir)/git.mk
diff --git a/plugins/language-support-python/org.gnome.anjuta.python.gschema.xml.in b/plugins/language-support-python/org.gnome.anjuta.python.gschema.xml.in
new file mode 100644
index 0000000..fbc06b9
--- /dev/null
+++ b/plugins/language-support-python/org.gnome.anjuta.python.gschema.xml.in
@@ -0,0 +1,34 @@
+<schemalist>
+ <schema id="org.gnome.anjuta.python" path="/org/gnome/anjuta/">
+ <key name="python-no-rope-warning" type="b">
+ <default>false</default>
+ </key>
+ <key name="python-indent-automatic" type="b">
+ <default>true</default>
+ </key>
+ <key name="python-indent-adaptive" type="b">
+ <default>true</default>
+ </key>
+ <key name="python-indent-brace-size" type="i">
+ <default>0</default>
+ </key>
+ <key name="python-indent-statement-size" type="i">
+ <default>4</default>
+ </key>
+ <key name="python-completion-enable" type="b">
+ <default>true</default>
+ </key>
+ <key name="python-completion-func-space" type="b">
+ <default>true</default>
+ </key>
+ <key name="python-completion-func-brace" type="b">
+ <default>true</default>
+ </key>
+ <key name="python-calltip-enable" type="b">
+ <default>true</default>
+ </key>
+ <key name="python-interpreter-path" type="s">
+ <default>"/usr/bin/python"</default>
+ </key>
+ </schema>
+</schemalist>
\ No newline at end of file
diff --git a/plugins/message-view/Makefile.am b/plugins/message-view/Makefile.am
index 186799c..2988356 100644
--- a/plugins/message-view/Makefile.am
+++ b/plugins/message-view/Makefile.am
@@ -42,15 +42,20 @@ libanjuta_message_view_la_SOURCES = \
message-view.c\
message-view.h
-prefs_name = org.gnome.anjuta.message-manager
-prefs_ui_files = anjuta-message-manager-plugin.ui
-include $(top_srcdir)/scripts/build-schemas.mk
+gsettings_in_file = org.gnome.anjuta.message-manager.gschema.xml.in
+gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
+ INTLTOOL_XML_NOMERGE_RULE@
+ GSETTINGS_RULES@
EXTRA_DIST = \
$(plugin_in_files) \
$(message_view_pixmaps_DATA) \
$(message_view_plugin_DATA) \
$(message_view_ui_DATA) \
- $(message_view_glade_DATA)
+ $(message_view_glade_DATA) \
+ $(gsettings_in_file)
+
+CLEANFILES = \
+ $(gsettings_SCHEMAS)
-include $(top_srcdir)/git.mk
diff --git a/plugins/message-view/org.gnome.anjuta.message-manager.gschema.xml.in b/plugins/message-view/org.gnome.anjuta.message-manager.gschema.xml.in
new file mode 100644
index 0000000..578cd41
--- /dev/null
+++ b/plugins/message-view/org.gnome.anjuta.message-manager.gschema.xml.in
@@ -0,0 +1,40 @@
+<schemalist>
+ <schema id="org.gnome.anjuta.message-manager" path="/org/gnome/anjuta/">
+ <key name="msgman-style-normal" type="s">
+ <choices>
+ <choice value="Underline-Plain" />
+ <choice value="Underline-Squiggle" />
+ <choice value="Underline-TT" />
+ <choice value="Diagonal" />
+ <choice value="Strike-Out" />
+ </choices>
+ <default>"Underline-Plain"</default>
+ </key>
+ <key name="msgman-style-warning" type="s">
+ <choices>
+ <choice value="Underline-Plain" />
+ <choice value="Underline-Squiggle" />
+ <choice value="Underline-TT" />
+ <choice value="Diagonal" />
+ <choice value="Strike-Out" />
+ </choices>
+ <default>"Underline-Plain"</default>
+ </key>
+ <key name="msgman-style-error" type="s">
+ <choices>
+ <choice value="Underline-Plain" />
+ <choice value="Underline-Squiggle" />
+ <choice value="Underline-TT" />
+ <choice value="Diagonal" />
+ <choice value="Strike-Out" />
+ </choices>
+ <default>"Underline-Plain"</default>
+ </key>
+ <key name="msgman-color-error" type="s">
+ <default>"#FF0000"</default>
+ </key>
+ <key name="msgman-color-warning" type="s">
+ <default>"#00FF00"</default>
+ </key>
+ </schema>
+</schemalist>
diff --git a/plugins/run-program/Makefile.am b/plugins/run-program/Makefile.am
index a437e9e..8d70781 100644
--- a/plugins/run-program/Makefile.am
+++ b/plugins/run-program/Makefile.am
@@ -11,11 +11,8 @@ anjuta_pixmapsdir = $(anjuta_image_dir)
anjuta_pixmaps_DATA = \
anjuta-run-program-48.png
-schema_in_files = org.gnome.anjuta.run.gschema.xml.in
-gsettings_SCHEMAS = $(schema_in_files:.gschema.xml.in=.gschema.xml)
-
-.PRECIOUS: $(gsettings_SCHEMAS)
-
+gsettings_in_file = org.gnome.anjuta.run.gschema.xml.in
+gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
@INTLTOOL_XML_NOMERGE_RULE@
@GSETTINGS_RULES@
@@ -55,9 +52,9 @@ EXTRA_DIST = \
$(anjuta_plugin_DATA) \
$(anjuta_ui_DATA) \
$(anjuta_glade_DATA) \
- $(schema_in_files)
+ $(gsettings_in_file)
-DISTCLEANFILES = \
- $(gsettings_SCHEMAS)
+CLEANFILES = \
+ $(gsettings_SCHEMAS)
-include $(top_srcdir)/git.mk
diff --git a/plugins/run-program/org.gnome.anjuta.run.gschema.xml.in b/plugins/run-program/org.gnome.anjuta.run.gschema.xml.in
index 76fe280..96fa07d 100644
--- a/plugins/run-program/org.gnome.anjuta.run.gschema.xml.in
+++ b/plugins/run-program/org.gnome.anjuta.run.gschema.xml.in
@@ -1,8 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
<schemalist>
- <schema id="org.gnome.anjuta.run" path="/org/gnome/anjuta/run/">
- <key name="run-terminal-command" type="s">
+ <schema path="/org/gnome/anjuta/run/" id="org.gnome.anjuta.run">
+ <key type="s" name="run-terminal-command">
<default>"gnome-terminal --disable-factory -e %s"</default>
- <_summary>Command used for starting a terminal</_summary>
+ <summary>Command used for starting a terminal</summary>
</key>
</schema>
-</schemalist>
+</schemalist>
\ No newline at end of file
diff --git a/plugins/snippets-manager/Makefile.am b/plugins/snippets-manager/Makefile.am
index a85b579..8e10406 100644
--- a/plugins/snippets-manager/Makefile.am
+++ b/plugins/snippets-manager/Makefile.am
@@ -72,9 +72,10 @@ libanjuta_snippets_manager_la_SOURCES = \
snippets-import-export.c\
snippets-import-export.h
-prefs_name = org.gnome.anjuta.snippets
-prefs_ui_files = snippets-manager-preferences.ui
-include $(top_srcdir)/scripts/build-schemas.mk
+gsettings_in_file = org.gnome.anjuta.snippets.gschema.xml.in
+gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
+ INTLTOOL_XML_NOMERGE_RULE@
+ GSETTINGS_RULES@
EXTRA_DIST = \
$(plugin_in_files) \
@@ -82,6 +83,10 @@ EXTRA_DIST = \
$(snippets_manager_plugin_DATA) \
$(snippets_manager_glade_DATA) \
$(default_snippets_DATA) \
- $(snippets_manager_ui_DATA)
+ $(snippets_manager_ui_DATA) \
+ $(gsettings_in_file)
+
+CLEANFILES = \
+ $(gsettings_SCHEMAS)
-include $(top_srcdir)/git.mk
diff --git a/plugins/snippets-manager/org.gnome.anjuta.snippets.gschema.xml.in b/plugins/snippets-manager/org.gnome.anjuta.snippets.gschema.xml.in
new file mode 100644
index 0000000..318060d
--- /dev/null
+++ b/plugins/snippets-manager/org.gnome.anjuta.snippets.gschema.xml.in
@@ -0,0 +1,4 @@
+<schemalist>
+ <schema id="org.gnome.anjuta.snippets" path="/org/gnome/anjuta/">
+ </schema>
+</schemalist>
\ No newline at end of file
diff --git a/plugins/sourceview/Makefile.am b/plugins/sourceview/Makefile.am
index acc4631..2e34820 100644
--- a/plugins/sourceview/Makefile.am
+++ b/plugins/sourceview/Makefile.am
@@ -77,10 +77,10 @@ libanjuta_sourceview_la_LIBADD = \
$(SOURCEVIEW_LIBS) \
$(LIBANJUTA_LIBS)
-prefs_name = org.gnome.anjuta.sourceview
-prefs_keyfile = sourceview.gschema-part.xml
-prefs_ui_files = anjuta-editor-sourceview.ui
-include $(top_srcdir)/scripts/build-schemas.mk
+gsettings_in_file = org.gnome.anjuta.sourceview.gschema.xml.in
+gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
+ INTLTOOL_XML_NOMERGE_RULE@
+ GSETTINGS_RULES@
EXTRA_DIST = \
anjuta-marshal.list \
@@ -88,8 +88,9 @@ EXTRA_DIST = \
$(sourceview_plugin_DATA) \
$(sourceview_pixmaps_DATA) \
$(sourceview_xml_DATA) \
- $(prefs_keyfile)
-
+ $(gsettings_in_file)
+CLEANFILES = \
+ $(gsettings_SCHEMAS)
-include $(top_srcdir)/git.mk
diff --git a/plugins/sourceview/org.gnome.anjuta.sourceview.gschema.xml.in b/plugins/sourceview/org.gnome.anjuta.sourceview.gschema.xml.in
new file mode 100644
index 0000000..22054a4
--- /dev/null
+++ b/plugins/sourceview/org.gnome.anjuta.sourceview.gschema.xml.in
@@ -0,0 +1,60 @@
+<schemalist>
+ <schema id="org.gnome.anjuta.sourceview" path="/org/gnome/anjuta/">
+ <key name="sourceview-style" type="s">
+ <default>"tango"</default>
+ </key>
+ <key name="sourceview-print-linewrap" type="b">
+ <default>true</default>
+ </key>
+ <key name="sourceview-print-header" type="b">
+ <default>false</default>
+ </key>
+ <key name="sourceview-print-footer" type="b">
+ <default>false</default>
+ </key>
+ <key name="sourceview-print-highlight" type="b">
+ <default>true</default>
+ </key>
+ <key name="sourceview-print-linenumbers" type="b">
+ <default>false</default>
+ </key> <key name="tabsize" type="i">
+ <default>4</default>
+ </key>
+ <key name="use-tabs" type="b">
+ <default>true</default>
+ </key>
+ <key name="sourceview-syntax-highlight" type="b">
+ <default>true</default>
+ </key>
+ <key name="sourceview-brackets-highlight" type="b">
+ <default>false</default>
+ </key>
+ <key name="sourceview-backup" type="b">
+ <default>true</default>
+ </key>
+ <key name="sourceview-autocomplete" type="b">
+ <default>false</default>
+ </key>
+ <key name="sourceview-currentline-highlight" type="b">
+ <default>false</default>
+ </key>
+ <key name="margin-linenumber-visible" type="b">
+ <default>true</default>
+ </key>
+ <key name="margin-marker-visible" type="b">
+ <default>true</default>
+ </key>
+ <key name="sourceview-rightmargin-visible" type="b">
+ <default>true</default>
+ </key>
+ <key name="sourceview-rightmargin-position" type="i">
+ <default>80</default>
+ </key>
+ <key name="sourceview-font" type="s">
+ <default>"Monospace 12"</default>
+ </key>
+ <key name="sourceview-font-use-theme" type="b">
+ <default>true</default>
+ </key>
+ </schema>
+</schemalist>
\ No newline at end of file
diff --git a/plugins/symbol-db/Makefile.am b/plugins/symbol-db/Makefile.am
index 5ce99c9..377dd47 100644
--- a/plugins/symbol-db/Makefile.am
+++ b/plugins/symbol-db/Makefile.am
@@ -104,9 +104,10 @@ symbol-db-marshal.c: symbol-db-marshal.h symbol-db-marshal.list
&& rm -f xgenc-gmc
-prefs_ui_files = anjuta-symbol-db.ui
-prefs_name = org.gnome.anjuta.symbol-db
-include $(top_srcdir)/scripts/build-schemas.mk
+gsettings_in_file = org.gnome.anjuta.symbol-db.gschema.xml.in
+gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
+ INTLTOOL_XML_NOMERGE_RULE@
+ GSETTINGS_RULES@
EXTRA_DIST = \
$(plugin_in_files) \
@@ -115,6 +116,10 @@ EXTRA_DIST = \
$(symbol_db_pixmaps_DATA) \
$(symbol_db_data_DATA) \
$(symbol_db_ui_DATA) \
- symbol-db-marshal.list
+ symbol-db-marshal.list \
+ $(gsettings_in_file)
+
+CLEANFILES = \
+ $(gsettings_SCHEMAS)
-include $(top_srcdir)/git.mk
diff --git a/plugins/symbol-db/org.gnome.anjuta.symbol-db.gschema.xml.in b/plugins/symbol-db/org.gnome.anjuta.symbol-db.gschema.xml.in
new file mode 100644
index 0000000..69a736b
--- /dev/null
+++ b/plugins/symbol-db/org.gnome.anjuta.symbol-db.gschema.xml.in
@@ -0,0 +1,10 @@
+<schemalist>
+ <schema id="org.gnome.anjuta.symbol-db" path="/org/gnome/anjuta/">
+ <key name="symboldb-parallel-scan" type="b">
+ <default>true</default>
+ </key>
+ <key name="symboldb-buffer-update" type="b">
+ <default>true</default>
+ </key>
+ </schema>
+</schemalist>
\ No newline at end of file
diff --git a/plugins/terminal/Makefile.am b/plugins/terminal/Makefile.am
index 27a16b5..7439e62 100644
--- a/plugins/terminal/Makefile.am
+++ b/plugins/terminal/Makefile.am
@@ -42,15 +42,20 @@ libanjuta_terminal_la_LIBADD = \
$(VTE_LIBS) \
$(LIBANJUTA_LIBS)
-prefs_ui_files = anjuta-terminal-plugin.ui
-prefs_name = org.gnome.anjuta.terminal
-include $(top_srcdir)/scripts/build-schemas.mk
+gsettings_in_file = org.gnome.anjuta.terminal.gschema.xml.in
+gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
+ INTLTOOL_XML_NOMERGE_RULE@
+ GSETTINGS_RULES@
EXTRA_DIST = \
$(plugin_in_files) \
$(terminal_plugin_DATA) \
$(terminal_pixmaps_DATA) \
$(terminal_ui_DATA) \
- $(terminal_glade_DATA)
+ $(terminal_glade_DATA) \
+ $(gsettings_in_file)
+
+CLEANFILES = \
+ $(gsettings_SCHEMAS)
-include $(top_srcdir)/git.mk
diff --git a/plugins/terminal/org.gnome.anjuta.terminal.gschema.xml.in b/plugins/terminal/org.gnome.anjuta.terminal.gschema.xml.in
new file mode 100644
index 0000000..4c38b3a
--- /dev/null
+++ b/plugins/terminal/org.gnome.anjuta.terminal.gschema.xml.in
@@ -0,0 +1,7 @@
+<schemalist>
+ <schema id="org.gnome.anjuta.terminal" path="/org/gnome/anjuta/">
+ <key name="terminal-default-profile" type="b">
+ <default>true</default>
+ </key>
+ </schema>
+</schemalist>
\ No newline at end of file
diff --git a/plugins/tools/Makefile.am b/plugins/tools/Makefile.am
index c5aa143..6f4c963 100644
--- a/plugins/tools/Makefile.am
+++ b/plugins/tools/Makefile.am
@@ -49,16 +49,21 @@ libanjuta_tools_la_SOURCES= \
variable.c \
variable.h
-prefs_ui_files = anjuta-tools.ui
-prefs_name = org.gnome.anjuta.tools
-include $(top_srcdir)/scripts/build-schemas.mk
+gsettings_in_file = org.gnome.anjuta.tools.gschema.xml.in
+gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
+ INTLTOOL_XML_NOMERGE_RULE@
+ GSETTINGS_RULES@
EXTRA_DIST = \
$(plugin_in_files) \
$(tools_pixmaps_DATA) \
$(tools_plugin_DATA) \
$(tools_glade_DATA) \
- $(tools_ui_DATA)
+ $(tools_ui_DATA) \
+ $(gsettings_in_file)
+
+CLEANFILES = \
+ $(gsettings_SCHEMAS)
SUBDIRS = \
scripts
diff --git a/plugins/tools/org.gnome.anjuta.tools.gschema.xml.in b/plugins/tools/org.gnome.anjuta.tools.gschema.xml.in
new file mode 100644
index 0000000..fc2b263
--- /dev/null
+++ b/plugins/tools/org.gnome.anjuta.tools.gschema.xml.in
@@ -0,0 +1,4 @@
+<schemalist>
+ <schema id="org.gnome.anjuta.tools" path="/org/gnome/anjuta/">
+ </schema>
+</schemalist>
\ No newline at end of file
diff --git a/po/POTFILES.in b/po/POTFILES.in
index daeecc2..e803858 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -33,6 +33,7 @@ libanjuta/resources.c
plugins/am-project/amp-group.c
plugins/am-project/amp-target.c
[type: gettext/glade]plugins/build-basic-autotools/anjuta-build-basic-autotools-plugin.ui
+plugins/build-basic-autotools/org.gnome.anjuta.build.gschema.xml.in
plugins/build-basic-autotools/build.c
plugins/build-basic-autotools/build-options.c
plugins/build-basic-autotools/configuration-list.c
@@ -49,13 +50,16 @@ plugins/class-gen/transform.c
plugins/class-gen/validator.c
plugins/class-gen/window.c
[type: gettext/glade]plugins/cvs-plugin/anjuta-cvs-plugin.ui
+plugins/cvs-plugin/org.gnome.anjuta.cvs.gschema.xml.in
plugins/cvs-plugin/cvs-actions.c
plugins/cvs-plugin/cvs-callbacks.c
plugins/cvs-plugin/cvs-execute.c
plugins/cvs-plugin/plugin.c
[type: gettext/glade]plugins/code-analyzer/code-analyzer.ui
+plugins/code-analyzer/org.gnome.anjuta.code-analyzer.gschema.xml.in
plugins/code-analyzer/plugin.c
[type: gettext/glade]plugins/debug-manager/anjuta-debug-manager.ui
+plugins/debug-manager/org.gnome.anjuta.debug-manager.gschema.xml.in
plugins/debug-manager/breakpoints.c
plugins/debug-manager/chunk_view.c
plugins/debug-manager/data_buffer.c
@@ -81,11 +85,13 @@ plugins/document-manager/action-callbacks.c
plugins/document-manager/anjuta-bookmarks.c
plugins/document-manager/anjuta-docman.c
[type: gettext/glade]plugins/document-manager/anjuta-document-manager.ui
+plugins/document-manager/org.gnome.anjuta.document-manager.gschema.xml.in
plugins/document-manager/plugin.c
plugins/document-manager/search-box.c
plugins/file-loader/anjuta-recent-chooser-menu.c
plugins/file-loader/plugin.c
[type: gettext/glade]plugins/file-manager/file-manager.ui
+plugins/file-manager/org.gnome.anjuta.file-manager.gschema.xml.in
plugins/file-manager/file-model.c
plugins/file-manager/file-view.c
plugins/file-manager/plugin.c
@@ -134,6 +140,7 @@ plugins/git/plugin.c
plugins/glade/plugin.c
plugins/glade/anjuta-design-document.c
[type: gettext/glade]plugins/message-view/anjuta-message-manager-plugin.ui
+plugins/message-view/org.gnome.anjuta.message-manager.gschema.xml.in
plugins/message-view/anjuta-msgman.c
plugins/message-view/message-view.c
plugins/message-view/plugin.c
@@ -180,6 +187,7 @@ plugins/project-wizard/property.c
[type: gettext/xml]plugins/project-wizard/templates/xlib-dock.wiz.in
[type: gettext/xml]plugins/project-wizard/templates/xlib.wiz.in
[type: gettext/glade]plugins/run-program/anjuta-run-program.ui
+plugins/run-program/org.gnome.anjuta.run.gschema.xml.in
plugins/run-program/execute.c
plugins/run-program/parameters.c
plugins/run-program/plugin.c
@@ -189,6 +197,7 @@ plugins/snippets-manager/snippets-browser.c
plugins/snippets-manager/snippets-editor.c
[type: gettext/glade]plugins/snippets-manager/snippets-editor.ui
[type: gettext/glade]plugins/snippets-manager/snippets-export-dialog.ui
+plugins/snippets-manager/add org.gnome.anjuta.snippets.gschema.xml.in
plugins/snippets-manager/snippets-import-export.c
[type: gettext/glade]plugins/snippets-manager/snippets-manager-preferences.ui
plugins/snippets-manager/snippets-provider.c
@@ -196,6 +205,7 @@ plugins/sourceview/sourceview.c
plugins/sourceview/sourceview-io.c
plugins/sourceview/sourceview-print.c
[type: gettext/glade]plugins/sourceview/anjuta-editor-sourceview.ui
+plugins/sourceview/org.gnome.anjuta.sourceview.gschema.xml.in
plugins/starter/plugin.c
[type: gettext/glade]plugins/starter/starter.ui
[type: gettext/glade]plugins/subversion/anjuta-subversion.ui
@@ -216,9 +226,12 @@ plugins/subversion/svn-command.c
plugins/symbol-db/plugin.c
plugins/symbol-db/symbol-db-system.c
[type: gettext/glade]plugins/symbol-db/anjuta-symbol-db.ui
+plugins/symbol-db/org.gnome.anjuta.symbol-db.gschema.xml.in
[type: gettext/glade]plugins/terminal/anjuta-terminal-plugin.ui
+plugins/terminal/org.gnome.anjuta.terminal.gschema.xml.in
plugins/terminal/terminal.c
[type: gettext/glade]plugins/tools/anjuta-tools.ui
+plugins/tools/org.gnome.anjuta.tools.gschema.xml.in
plugins/tools/dialog.c
plugins/tools/editor.c
plugins/tools/execute.c
@@ -233,6 +246,7 @@ src/anjuta-actions.h
src/anjuta-app.c
src/main.c
[type: gettext/glade]src/preferences.ui
+src/org.gnome.anjuta.gschema.xml.in
libanjuta/anjuta-save-prompt.c
plugins/debug-manager/breakpoints.c
plugins/debug-manager/debug_tree.c
@@ -245,13 +259,14 @@ plugins/debug-manager/signals.c
plugins/debug-manager/stack_trace.c
plugins/debug-manager/start.c
plugins/debug-manager/watch.c
-[type: gettext/xml]plugins/debug-manager/org.gnome.anjuta.debug-manager.gschema.xml.in
[type: gettext/glade]plugins/language-support-cpp-java/anjuta-language-cpp-java.ui
+plugins/language-support-cpp-java/org.gnome.anjuta.cpp.gschema.xml.in
plugins/language-support-cpp-java/plugin.c
plugins/language-support-cpp-java/cpp-java-assist.c
plugins/language-support-python/plugin.c
plugins/language-support-python/python-assist.c
[type: gettext/glade]plugins/language-support-python/python-plugin-properties.ui
+plugins/language-support-python/org.gnome.anjuta.python.gschema.xml.in
plugins/sourceview/plugin.c
[type: gettext/ini]plugins/gdb/anjuta-gdb.plugin.in
[type: gettext/ini]plugins/git/git.plugin.in
@@ -287,6 +302,7 @@ plugins/js-debugger/debugger-js.c
plugins/language-support-js/plugin.c
[type: gettext/ini]plugins/language-support-js/js-support-plugin.plugin.in
[type: gettext/glade]plugins/language-support-js/anjuta-language-javascript.ui
+plugins/language-support-js/org.gnome.anjuta.js.gschema.xml.in
plugins/symbol-db/anjuta-tags/js-parser/Grammar.y
plugins/language-support-js/js-parser-y-tab.c
plugins/symbol-db/anjuta-tags/js-parser/js-parser-y-tab.c
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 944da1f..00ae7db 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -4,8 +4,4 @@ anjuta_data_DATA = anjuta_project.template
EXTRA_DIST = $(anjuta_data_DATA)
-# Distribute but don't install builder2schema.pl
-dist-hook:
- cp $(srcdir)/builder2schema.pl $(distdir)
- chmod +x $(distdir)/builder2schema.pl
-include $(top_srcdir)/git.mk
diff --git a/src/Makefile.am b/src/Makefile.am
index ec88df6..fc61dd2 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -53,10 +53,10 @@ anjuta_LDADD = \
anjuta_LDFLAGS = $(ANJUTA_LDFLAGS)
-prefs_ui_files = preferences.ui
-prefs_name = org.gnome.anjuta
-prefs_keyfile = anjuta.gschema-part.xml
-include $(top_srcdir)/scripts/build-schemas.mk
+gsettings_in_file = org.gnome.anjuta.gschema.xml.in
+gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
+ INTLTOOL_XML_NOMERGE_RULE@
+ GSETTINGS_RULES@
noinst_PROGRAMS = anjuta-shell
@@ -71,6 +71,9 @@ EXTRA_DIST = \
$(anjuta_layout_DATA) \
$(anjuta_glade_DATA) \
$(anjuta_pixmaps_DATA) \
- $(prefs_keyfile)
+ $(gsettings_in_file)
+
+CLEANFILES = \
+ $(gsettings_SCHEMAS)
-include $(top_srcdir)/git.mk
diff --git a/src/org.gnome.anjuta.gschema.xml.in b/src/org.gnome.anjuta.gschema.xml.in
new file mode 100644
index 0000000..96e8611
--- /dev/null
+++ b/src/org.gnome.anjuta.gschema.xml.in
@@ -0,0 +1,36 @@
+<schemalist>
+ <schema id="org.gnome.anjuta" path="/org/gnome/anjuta/">
+ <key name="toolbar-visible" type="b">
+ <default>true</default>
+ </key>
+ <key name="remembered-plugins" type="s">
+ <default>""</default>
+ </key>
+ <key name="session-skip-last" type="b">
+ <default>false</default>
+ </key>
+ <key name="session-skip-last-files" type="b">
+ <default>false</default>
+ </key>
+ <key name="gdl-style" type="s">
+ <choices>
+ <choice value="Text" />
+ <choice value="Icon" />
+ <choice value="Both" />
+ <choice value="Toolbar" />
+ <choice value="Tabs" />
+ </choices>
+ <default>"Both"</default>
+ </key>
+ <key name="toolbar-style" type="s">
+ <choices>
+ <choice value="Default" />
+ <choice value="Both" />
+ <choice value="Horiz" />
+ <choice value="Icons" />
+ <choice value="Text" />
+ </choices>
+ <default>"Default"</default>
+ </key>
+ </schema>
+</schemalist>
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]