[prev in list] [next in list] [prev in thread] [next in thread]
List: mutt-dev
Subject: imap rename folder
From: Okan Demirmen <okan () demirmen ! com>
Date: 2008-02-07 4:54:18
Message-ID: 20080207045418.GU30027 () clam ! khaoz ! org
[Download RAW message or body]
greetings,
the following solves a problem found while trying to rename a imap
mailbox (by default 'r') where stuff after "to:" is all garbled. to be
consistent, this additionally pre-fills newname to the current name, for
easier editing.
--- browse.c.orig Mon May 28 19:19:39 2007
+++ browse.c Wed Feb 6 23:50:32 2008
@@ -313,7 +313,9 @@ int imap_mailbox_rename(const char* mailbox)
}
snprintf(buf, sizeof (buf), _("Rename mailbox %s to: "), mx.mbox);
-
+
+ strfcpy (newname, NONULL (mx.mbox), sizeof (newname));
+
if (mutt_get_field (buf, newname, sizeof (newname), M_FILE) < 0)
goto fail;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic