[anjuta] run: Move preferences to plugins/run
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] run: Move preferences to plugins/run
- Date: Sat, 3 Dec 2011 10:40:46 +0000 (UTC)
commit 96b9a838fec324d1b1f7ea6b50fc66b9a17ab003
Author: SÃbastien Granjoux <seb sfo free fr>
Date: Fri Nov 11 19:52:12 2011 +0100
run: Move preferences to plugins/run
plugins/gdb/plugin.c | 4 ++--
plugins/run-program/Makefile.am | 2 +-
plugins/run-program/execute.c | 4 ++--
.../org.gnome.anjuta.plugins.run.gschema.xml.in | 8 ++++++++
.../org.gnome.anjuta.run.gschema.xml.in | 9 ---------
po/POTFILES.in | 3 +--
6 files changed, 14 insertions(+), 16 deletions(-)
---
diff --git a/plugins/gdb/plugin.c b/plugins/gdb/plugin.c
index ac2b175..526ec40 100644
--- a/plugins/gdb/plugin.c
+++ b/plugins/gdb/plugin.c
@@ -81,8 +81,8 @@ struct _GdbPluginClass
/* Terminal functions
*---------------------------------------------------------------------------*/
-#define PREF_SCHEMA "org.gnome.anjuta.run"
-#define PREF_TERMINAL_COMMAND "run-terminal-command"
+#define PREF_SCHEMA "org.gnome.anjuta.plugins.run"
+#define PREF_TERMINAL_COMMAND "terminal-command"
static void
gdb_plugin_stop_terminal (GdbPlugin* plugin)
diff --git a/plugins/run-program/Makefile.am b/plugins/run-program/Makefile.am
index 8d70781..ecb94eb 100644
--- a/plugins/run-program/Makefile.am
+++ b/plugins/run-program/Makefile.am
@@ -11,7 +11,7 @@ anjuta_pixmapsdir = $(anjuta_image_dir)
anjuta_pixmaps_DATA = \
anjuta-run-program-48.png
-gsettings_in_file = org.gnome.anjuta.run.gschema.xml.in
+gsettings_in_file = org.gnome.anjuta.plugins.run.gschema.xml.in
gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
@INTLTOOL_XML_NOMERGE_RULE@
@GSETTINGS_RULES@
diff --git a/plugins/run-program/execute.c b/plugins/run-program/execute.c
index 6c0d1db..1d230bf 100644
--- a/plugins/run-program/execute.c
+++ b/plugins/run-program/execute.c
@@ -38,8 +38,8 @@
#define PREF_USE_SB "build.use_scratchbox"
#define PREF_SB_PATH "build.scratchbox.path"
-#define PREF_SCHEMA "org.gnome.anjuta.run"
-#define PREF_TERMINAL_COMMAND "run-terminal-command"
+#define PREF_SCHEMA "org.gnome.anjuta.plugins.run"
+#define PREF_TERMINAL_COMMAND "terminal-command"
/*----------------------------------------------------------------------------
* Type definitions
diff --git a/plugins/run-program/org.gnome.anjuta.plugins.run.gschema.xml.in b/plugins/run-program/org.gnome.anjuta.plugins.run.gschema.xml.in
new file mode 100644
index 0000000..498afa2
--- /dev/null
+++ b/plugins/run-program/org.gnome.anjuta.plugins.run.gschema.xml.in
@@ -0,0 +1,8 @@
+<schemalist>
+ <schema path="/org/gnome/anjuta/plugins/run/" id="org.gnome.anjuta.plugins.run">
+ <key type="s" name="terminal-command">
+ <default>"gnome-terminal --disable-factory -e %s"</default>
+ <summary>Command used for starting a terminal</summary>
+ </key>
+ </schema>
+</schemalist>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index ad36719..76d29e1 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -187,11 +187,10 @@ 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/org.gnome.anjuta.plugins.run.gschema.xml.in
plugins/run-program/execute.c
plugins/run-program/parameters.c
plugins/run-program/plugin.c
-[type: gettext/xml]plugins/run-program/org.gnome.anjuta.run.gschema.xml.in
plugins/snippets-manager/plugin.c
plugins/snippets-manager/snippets-browser.c
plugins/snippets-manager/snippets-editor.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]