Mercurial > pidgin.yaz
diff src/dialogs.c @ 1186:c00fc3adfd66
[gaim-migrate @ 1196]
mostly libfaim updates, and a fix for something i broke in the import dialog.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 02 Dec 2000 18:41:58 +0000 |
parents | 47cf56b72d4b |
children | 3fba730602be |
line wrap: on
line diff
--- a/src/dialogs.c Sat Dec 02 04:48:10 2000 +0000 +++ b/src/dialogs.c Sat Dec 02 18:41:58 2000 +0000 @@ -2934,6 +2934,7 @@ char g_screenname[64]; int i; FILE *f; + gboolean from_dialog = FALSE; if ( !gc ) { file = gtk_file_selection_get_filename(GTK_FILE_SELECTION(importdialog)); @@ -2945,6 +2946,7 @@ } /* FIXME : import buddy list file. moderately important */ gc = connections->data; + from_dialog = TRUE; } else { for (i = 0; i < strlen(gc->username); i++) @@ -3022,7 +3024,7 @@ fclose( f ); - if ( !gc ) { + if ( from_dialog ) { /* save what we just did to cache */ do_export( (GtkWidget *) NULL, 0 );