From: Colin Leroy Date: Thu, 8 Feb 2007 07:22:52 +0000 (+0000) Subject: 2007-02-08 [colin] 2.7.2cvs31 X-Git-Tag: rel_2_8_0~46 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=296c72363e677bd1db6a1bc75d710f24e895f249 2007-02-08 [colin] 2.7.2cvs31 * src/prefs_account.c Fix Gentoo bug 165819, 'can't create a "local mbox file" account'. Patch by Olivier --- diff --git a/ChangeLog b/ChangeLog index f6ad176f5..3a41bb0d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-02-08 [colin] 2.7.2cvs31 + + * src/prefs_account.c + Fix Gentoo bug 165819, 'can't create + a "local mbox file" account'. Patch + by Olivier + 2007-02-07 [colin] 2.7.2cvs30 * src/ldapquery.c diff --git a/PATCHSETS b/PATCHSETS index 6f1d1c9de..2c65bb89e 100644 --- a/PATCHSETS +++ b/PATCHSETS @@ -2348,3 +2348,4 @@ ( cvs diff -u -r 1.13.2.29 -r 1.13.2.30 src/plugins/clamav/clamav_plugin.c; cvs diff -u -r 1.3.2.7 -r 1.3.2.8 src/plugins/clamav/clamav_plugin.h; cvs diff -u -r 1.9.2.23 -r 1.9.2.24 src/plugins/clamav/clamav_plugin_gtk.c; ) > 2.7.2cvs28.patchset ( cvs diff -u -r 1.213.2.134 -r 1.213.2.135 src/folder.c; cvs diff -u -r 1.1.2.42 -r 1.1.2.43 src/imap_gtk.c; ) > 2.7.2cvs29.patchset ( cvs diff -u -r 1.3.2.15 -r 1.3.2.16 src/ldapquery.c; ) > 2.7.2cvs30.patchset +( cvs diff -u -r 1.105.2.84 -r 1.105.2.85 src/prefs_account.c; ) > 2.7.2cvs31.patchset diff --git a/configure.ac b/configure.ac index 8f1a9de08..e20e79c30 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=7 MICRO_VERSION=2 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=30 +EXTRA_VERSION=31 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/prefs_account.c b/src/prefs_account.c index cf25d73a6..97d92f501 100644 --- a/src/prefs_account.c +++ b/src/prefs_account.c @@ -2597,7 +2597,8 @@ static gint prefs_account_apply(void) 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."));