# HG changeset patch # User Sean Egan # Date 1089412633 0 # Node ID 27a595d413ff55d3601004dcc9162541f493e2f1 # Parent 960e3fd1da946c233861b75fccff04166a755910 [gaim-migrate @ 10322] That was dumb of me. compile fix. committer: Tailor Script diff -r 960e3fd1da94 -r 27a595d413ff src/gtkaccount.c --- a/src/gtkaccount.c Fri Jul 09 22:33:06 2004 +0000 +++ b/src/gtkaccount.c Fri Jul 09 22:37:13 2004 +0000 @@ -382,9 +382,18 @@ GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, NULL); gtk_dialog_set_default_response(GTK_DIALOG(dialog->icon_filesel), GTK_RESPONSE_ACCEPT); + + + /* I removed code to set the current path to the current icon in the old file selector so I figure + * it shouldn't be here either. The reason is because the icon will potentially converted and won't + * be anything near what the user selected last time (which is the advantage to doing it this way. + * The solution is to create a new pref to specify the last chosen buddy icon. This would also have the + * advantage (?) of not being account-specific. if (dialog->icon_path != NULL) gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(dialog->icon_filesel), dialog->icon_path); + */ + dialog->icon_preview = gtk_image_new(); dialog->icon_text = gtk_label_new(NULL); gtk_widget_set_size_request(GTK_WIDGET(dialog->icon_preview), -1, 50);