Re: Wish list - more sentboxes



On 2001.10.25 18:11 Philip Rhoades wrote:
> Hi all,
> 
> Another wish list item:
> 
> - Any mail file that starts with the string "sentbox" to be treated 
> the same as "sentbox" ie the display show "To" instead of "From" in 
> the table eg sentbox1999, sentbox2000 etc
> 
> (I have just moved all my Eudora files over - back to 1996!).
> 
> Thanks,
> 
> Phil.

Seems reasonable to me--patch attached.
diff -Nur --exclude=CVS --exclude=gtkhtml balsa-cvs/src/balsa-index.c balsa-temp/src/balsa-index.c
--- balsa-cvs/src/balsa-index.c	Wed Oct 24 07:56:05 2001
+++ balsa-temp/src/balsa-index.c	Thu Oct 25 08:34:03 2001
@@ -639,6 +639,7 @@
      * rename "from" column to "to" for outgoing mail
      */
     if (mailbox == balsa_app.sentbox ||
+        !g_strncasecmp(mailbox->name, "sentbox", 7) ||
 	mailbox == balsa_app.draftbox || mailbox == balsa_app.outbox) {
 
 	gtk_clist_set_column_title(GTK_CLIST(bindex->ctree), 3, _("To"));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]