diff src/gtkprefs.c @ 10605:56d4460bb6bd

[gaim-migrate @ 12037] This makes us remember the last used folders for saving files, opening files, and buddy icons (separately). Also fixes a file transfer crash when you decide not to overwrite an existing file but then choose a different file to save to. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Wed, 16 Feb 2005 21:07:10 +0000
parents 0f7452b1f777
children 4f54e273affd
line wrap: on
line diff
--- a/src/gtkprefs.c	Wed Feb 16 20:31:46 2005 +0000
+++ b/src/gtkprefs.c	Wed Feb 16 21:07:10 2005 +0000
@@ -2293,6 +2293,12 @@
 	gaim_prefs_add_none("/gaim/gtk/plugins");
 	gaim_prefs_add_string_list("/gaim/gtk/plugins/loaded", NULL);
 
+	/* File locations */
+	gaim_prefs_add_none("/gaim/gtk/filelocations");
+	gaim_prefs_add_string("/gaim/gtk/filelocations/last_save_folder", "");
+	gaim_prefs_add_string("/gaim/gtk/filelocations/last_open_folder", "");
+	gaim_prefs_add_string("/gaim/gtk/filelocations/last_icon_folder", "");
+
 	/* Smiley Themes */
 	gaim_prefs_add_none("/gaim/gtk/smileys");
 	gaim_prefs_add_string("/gaim/gtk/smileys/theme", "default");