+2009-01-05 12:19 -0800 Brendan Cully <brendan@kublai.com> (1cdc8d64b55c)
+
+ * doc/mutt.man: Add pointer to the full manual to the front of mutt.1
+
+2009-01-05 09:16 -0800 Petr Písař <petr.pisar@atlas.cz> (990f1e841dd4)
+
+ * po/cs.po: Updated Czech translation
+
2009-01-04 22:36 -0800 Vincent Lefevre <vincent@vinc17.org> (9af288ee9e91)
* po/fr.po: Updated French translation
mutt_error (_("Create is only supported for IMAP mailboxes"));
else
{
- imap_mailbox_create (LastDir);
- /* TODO: find a way to detect if the new folder would appear in
- * this window, and insert it without starting over. */
- destroy_state (&state);
- init_state (&state, NULL);
- state.imap_browse = 1;
- imap_browse (LastDir, &state);
- browser_sort (&state);
- menu->data = state.entry;
- menu->current = 0;
- menu->top = 0;
- init_menu (&state, menu, title, sizeof (title), buffy);
- MAYBE_REDRAW (menu->redraw);
+ if (!imap_mailbox_create (LastDir))
+ {
+ /* TODO: find a way to detect if the new folder would appear in
+ * this window, and insert it without starting over. */
+ destroy_state (&state);
+ init_state (&state, NULL);
+ state.imap_browse = 1;
+ imap_browse (LastDir, &state);
+ browser_sort (&state);
+ menu->data = state.entry;
+ menu->current = 0;
+ menu->top = 0;
+ init_menu (&state, menu, title, sizeof (title), buffy);
+ MAYBE_REDRAW (menu->redraw);
+ }
+ /* else leave error on screen */
}
break;