changeset 5821:6d24d7ce463e

[gaim-migrate @ 6251] more correction of pref names committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 09 Jun 2003 03:35:42 +0000
parents a929723531c8
children 849bb39357a1
files src/gtkprefs.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkprefs.c	Mon Jun 09 03:30:48 2003 +0000
+++ b/src/gtkprefs.c	Mon Jun 09 03:35:42 2003 +0000
@@ -1881,15 +1881,15 @@
 	pref = g_strdup_printf("/gaim/gtk/sound/enabled/%s",
 			gaim_gtk_sound_get_event_option(sound_row_sel));
 
-	temp_value1 = gaim_prefs_get_bool("/gaim/gtk/sound/while_away");
+	temp_value1 = gaim_prefs_get_bool("/core/sound/while_away");
 	temp_value2 = gaim_prefs_get_bool(pref);
 
-	if (!temp_value1) gaim_prefs_set_bool("/gaim/gtk/sound/while_away", TRUE);
+	if (!temp_value1) gaim_prefs_set_bool("/core/sound/while_away", TRUE);
 	if (!temp_value2) gaim_prefs_set_bool(pref, TRUE);
 
 	gaim_sound_play_event(sound_row_sel);
 
-	if (!temp_value1) gaim_prefs_set_bool("/gaim/gtk/sound/while_away", FALSE);
+	if (!temp_value1) gaim_prefs_set_bool("/core/sound/while_away", FALSE);
 	if (!temp_value2) gaim_prefs_set_bool(pref, FALSE);
 
 	g_free(pref);