changeset 7785:d5ee9c6da122

[gaim-migrate @ 8430] this fixes all sorts of stuff committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 07 Dec 2003 16:15:21 +0000
parents 136c65e68fb1
children 203a18e56dc6
files src/prefs.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/prefs.c	Sun Dec 07 15:23:17 2003 +0000
+++ b/src/prefs.c	Sun Dec 07 16:15:21 2003 +0000
@@ -339,7 +339,7 @@
 
 	name = pref_full_name(pref);
 
-	gaim_debug(GAIM_DEBUG_INFO, "prefs", "removing pref %s\n", name);
+	gaim_debug(GAIM_DEBUG_INFO, "prefs", "removing pref /%s\n", name);
 
 	g_hash_table_remove(prefs_hash, name);
 	g_free(name);
@@ -581,6 +581,8 @@
 void gaim_prefs_rename(const char *oldname, const char *newname) {
 	struct gaim_pref *oldpref, *newpref;
 
+	gaim_debug_info("prefs", "Attempting to rename %s to %s\n", oldname, newname);
+
 	oldpref = find_pref(oldname);
 	newpref = find_pref(newname);
 
@@ -839,6 +841,7 @@
 
 		switch(pref_type) {
 			case GAIM_PREF_NONE:
+				gaim_prefs_add_none(pref_name_full->str);
 				break;
 			case GAIM_PREF_BOOLEAN:
 				gaim_prefs_set_bool(pref_name_full->str, atoi(pref_value));