[anjuta/gsettings-migration: 34/65] debug-manager: Generate proper GSettings schema
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta/gsettings-migration: 34/65] debug-manager: Generate proper GSettings schema
- Date: Sun, 17 Oct 2010 09:35:37 +0000 (UTC)
commit 773249b37811031607ef94600292b70e3456721c
Author: Johannes Schmid <jhs gnome org>
Date: Fri Oct 8 16:59:52 2010 +0200
debug-manager: Generate proper GSettings schema
plugins/debug-manager/Makefile.am | 20 ++++----------------
.../debug-manager/anjuta-debug-manager.schemas.in | 18 ------------------
.../org.gnome.anjuta.debug-manager.gschema.xml.in | 8 ++++++++
plugins/debug-manager/start.c | 2 +-
4 files changed, 13 insertions(+), 35 deletions(-)
---
diff --git a/plugins/debug-manager/Makefile.am b/plugins/debug-manager/Makefile.am
index 660a161..96d1755 100644
--- a/plugins/debug-manager/Makefile.am
+++ b/plugins/debug-manager/Makefile.am
@@ -5,10 +5,10 @@ anjuta_glade_DATA = anjuta-debug-manager.ui
anjuta_uidir = $(anjuta_ui_dir)
anjuta_ui_DATA = anjuta-debug-manager.xml
-schemadir = @GCONF_SCHEMA_FILE_DIR@
-schema_in_files = anjuta-debug-manager.schemas.in
-schema_DATA = $(schema_in_files:.schemas.in=.schemas)
- INTLTOOL_SCHEMAS_RULE@
+schema_in_files = org.gnome.anjuta.debug-manager.gschema.xml.in
+gsettings_SCHEMAS = $(schema_in_files:.gschema.xml.in=.gschema.xml)
+ INTLTOOL_XML_NOMERGE_RULE@
+ GSETTINGS_RULES@
plugin_in_files = anjuta-debug-manager.plugin.in
%.plugin: %.plugin.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
@@ -42,18 +42,6 @@ anjuta-marshal.c: anjuta-marshal.list
$(AM_V_GEN)echo "#include \"anjuta-marshal.h\"" > $@ && \
glib-genmarshal $< --body --prefix=anjuta_marshal >> $@
-if GCONF_SCHEMAS_INSTALL
-install-data-local: $(schema_DATA)
- GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $<
-
-uninstall-local: $(schema_DATA)
- GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-uninstall-rule $<
-else
-install-data-local:
-
-uninstall-local:
-endif
-
libanjuta_debug_manager_la_SOURCES = \
$(BUILT_SOURCES) \
plugin.c \
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
new file mode 100644
index 0000000..a11188d
--- /dev/null
+++ b/plugins/debug-manager/org.gnome.anjuta.debug-manager.gschema.xml.in
@@ -0,0 +1,8 @@
+<schemalist>
+ <schema id="org.gnome.anjuta.debug-manager" path="/apps/anjuta/debug-manager/">
+ <key name="silent-non-debug-config" type="b">
+ <default>false</default>
+ <_summary>Do not display warning if not using a Debug configuration</_summary>
+ </key>
+ </schema>
+</schemalist>
diff --git a/plugins/debug-manager/start.c b/plugins/debug-manager/start.c
index da77373..171c59e 100644
--- a/plugins/debug-manager/start.c
+++ b/plugins/debug-manager/start.c
@@ -166,7 +166,7 @@ struct _DmaStart
#define RUN_PROGRAM_ACTION_GROUP "ActionGroupRun"
#define RUN_PROGRAM_PARAMETER_ACTION "ActionProgramParameters"
-#define PREFS_NOT_CHECK_DEBUG "debug_silent_non_debug_config"
+#define PREFS_NOT_CHECK_DEBUG "debug-silent-non-debug-config"
static void attach_process_clear (AttachProcess * ap, gint ClearRequest);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]