diff -urN claws-mail-2.7.2.orig/src/prefs_account.c claws-mail-2.7.2/src/prefs_account.c --- claws-mail-2.7.2.orig/src/prefs_account.c 2007-01-26 07:27:03.000000000 +0100 +++ claws-mail-2.7.2/src/prefs_account.c 2007-02-07 20:50:01.000000000 +0100 @@ -2529,7 +2529,8 @@ return -1; } if (protocol == A_POP3 || protocol == A_LOCAL) { - const gchar *mailbox = gtk_entry_get_text(GTK_ENTRY(receive.inbox_entry)); + GtkWidget *inbox_entry = (protocol == A_POP3 ? receive.inbox_entry : receive.local_inbox_entry ); + const gchar *mailbox = gtk_entry_get_text(GTK_ENTRY(inbox_entry)); FolderItem *inbox = folder_find_item_from_identifier(mailbox); if (inbox == NULL) { alertpanel_error(_("The default inbox folder doesn't exist."));