Commit 773249b3 authored by Johannes Schmid's avatar Johannes Schmid

debug-manager: Generate proper GSettings schema

parent 7d832cfb
......@@ -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 \
......
<gconfschemafile>
<schemalist>
<!-- Anjuta Debug Manager Plugin settings -->
<schema>
<key>/schemas/apps/anjuta/debug_manager/silent_non_debug_config</key>
<applyto>/apps/anjuta/debug_manager/silent_non_debug_config</applyto>
<owner>anjuta</owner>
<type>bool</type>
<default>false</default>
<locale name="C">
<short>Do not display warning if not using a Debug configuration</short>
</locale>
</schema>
</schemalist>
</gconfschemafile>
<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>
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment