[anjuta] language-support-vala: Removed "cpp-" prefix from schema key names



commit 4342e096de72c92a45a57ec5d7ead6cb0f2ae857
Author: Arnel A. Borja <kyoushuu yahoo com>
Date:   Wed Apr 25 14:41:41 2012 +0800

    language-support-vala: Removed "cpp-" prefix from schema key names

 plugins/language-support-vala/plugin.vala   |    2 +-
 plugins/language-support-vala/provider.vala |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/plugins/language-support-vala/plugin.vala b/plugins/language-support-vala/plugin.vala
index 518cffb..757d104 100644
--- a/plugins/language-support-vala/plugin.vala
+++ b/plugins/language-support-vala/plugin.vala
@@ -20,7 +20,7 @@ using Anjuta;
 
 public class ValaPlugin : Plugin {
 	internal weak IAnjuta.Editor current_editor;
-	internal GLib.Settings settings = new GLib.Settings ("org.gnome.anjuta.cpp");
+	internal GLib.Settings settings = new GLib.Settings ("org.gnome.anjuta.plugins.cpp");
 	uint editor_watch_id;
 	ulong project_loaded_id;
 
diff --git a/plugins/language-support-vala/provider.vala b/plugins/language-support-vala/provider.vala
index b18ab4b..15f327e 100644
--- a/plugins/language-support-vala/provider.vala
+++ b/plugins/language-support-vala/provider.vala
@@ -23,10 +23,10 @@ public class ValaProvider : Object, IAnjuta.Provider {
 	static Regex member_access_split;
 	static Regex function_call;
 
-	const string PREF_AUTOCOMPLETE_ENABLE = "cpp-completion-enable";
-	const string PREF_SPACE_AFTER_FUNC = "cpp-completion-space-after-func";
-	const string PREF_BRACE_AFTER_FUNC = "cpp-completion-brace-after-func";
-	internal const string PREF_CALLTIP_ENABLE = "cpp-calltip-enable";
+	const string PREF_AUTOCOMPLETE_ENABLE = "completion-enable";
+	const string PREF_SPACE_AFTER_FUNC = "completion-space-after-func";
+	const string PREF_BRACE_AFTER_FUNC = "completion-brace-after-func";
+	internal const string PREF_CALLTIP_ENABLE = "calltip-enable";
 
 	static construct {
 		try {



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