diff -r 169e1ad5d3f6 -r 4caa3012d974 gtk/gtkrequest.c --- a/gtk/gtkrequest.c Tue Jan 16 03:13:25 2007 +0000 +++ b/gtk/gtkrequest.c Tue Jan 16 05:12:48 2007 +0000 @@ -1415,9 +1415,9 @@ current_folder = gtk_file_chooser_get_current_folder(GTK_FILE_CHOOSER(data->dialog)); if (current_folder != NULL) { if (data->u.file.savedialog) { - gaim_prefs_set_string("/gaim/gtk/filelocations/last_save_folder", current_folder); + gaim_prefs_set_path("/gaim/gtk/filelocations/last_save_folder", current_folder); } else { - gaim_prefs_set_string("/gaim/gtk/filelocations/last_open_folder", current_folder); + gaim_prefs_set_path("/gaim/gtk/filelocations/last_open_folder", current_folder); } g_free(current_folder); } @@ -1455,9 +1455,9 @@ if (current_folder != NULL) { if (data->u.file.savedialog) { - gaim_prefs_set_string("/gaim/gtk/filelocations/last_save_folder", current_folder); + gaim_prefs_set_path("/gaim/gtk/filelocations/last_save_folder", current_folder); } else { - gaim_prefs_set_string("/gaim/gtk/filelocations/last_open_folder", current_folder); + gaim_prefs_set_path("/gaim/gtk/filelocations/last_open_folder", current_folder); } g_free(current_folder); } @@ -1524,9 +1524,9 @@ gtk_dialog_set_default_response(GTK_DIALOG(filesel), GTK_RESPONSE_ACCEPT); if (savedialog) { - current_folder = gaim_prefs_get_string("/gaim/gtk/filelocations/last_save_folder"); + current_folder = gaim_prefs_get_path("/gaim/gtk/filelocations/last_save_folder"); } else { - current_folder = gaim_prefs_get_string("/gaim/gtk/filelocations/last_open_folder"); + current_folder = gaim_prefs_get_path("/gaim/gtk/filelocations/last_open_folder"); } if ((filename != NULL) && (*filename != '\0')) { @@ -1559,9 +1559,9 @@ title ? title : (savedialog ? _("Save File...") : _("Open File..."))); if (savedialog) { - current_folder = gaim_prefs_get_string("/gaim/gtk/filelocations/last_save_folder"); + current_folder = gaim_prefs_get_path("/gaim/gtk/filelocations/last_save_folder"); } else { - current_folder = gaim_prefs_get_string("/gaim/gtk/filelocations/last_open_folder"); + current_folder = gaim_prefs_get_path("/gaim/gtk/filelocations/last_open_folder"); } if (current_folder != NULL) { gchar *path = g_strdup_printf("%s%s", current_folder, G_DIR_SEPARATOR_S);