[anjuta/gsettings-migration: 25/31] project-wizard: Fixed preference names to match with GSettings rules



commit f1cfc1a75a66b3cdea98417b0708378ad3888d72
Author: Johannes Schmid <jhs gnome org>
Date:   Thu Sep 30 22:13:58 2010 +0200

    project-wizard: Fixed preference names to match with GSettings rules

 plugins/project-wizard/druid.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/project-wizard/druid.c b/plugins/project-wizard/druid.c
index 9d71323..95380a3 100644
--- a/plugins/project-wizard/druid.c
+++ b/plugins/project-wizard/druid.c
@@ -1112,13 +1112,13 @@ npw_druid_add_default_property (NPWDruid* druid)
 
 	/* Add default base project directory */
 	value = npw_value_heap_find_value (druid->values, ANJUTA_PROJECT_DIRECTORY_PROPERTY);
-	s = anjuta_preferences_get (pref, "anjuta.project.directory");
+	s = anjuta_preferences_get (pref, "project_directory");
 	npw_value_set_value (value, s == NULL ? "~" : s, NPW_VALID_VALUE);
 	g_free (s);
 	
 	/* Add user name */
 	value = npw_value_heap_find_value (druid->values, USER_NAME_PROPERTY);
-	s = anjuta_preferences_get (pref, "anjuta.user.name");
+	s = anjuta_preferences_get (pref, "user_name");
 	if (!s || strlen(s) == 0)
 	{
 		s = (gchar *)g_get_real_name();
@@ -1131,7 +1131,7 @@ npw_druid_add_default_property (NPWDruid* druid)
 	}
 	/* Add Email address */
 	value = npw_value_heap_find_value (druid->values, EMAIL_ADDRESS_PROPERTY);
-	s = anjuta_preferences_get (pref, "anjuta.user.email");
+	s = anjuta_preferences_get (pref, "user_email");
 	/* If Email address not defined in Preferences */
 	if (!s || strlen(s) == 0)
 	{



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