Re: Wish list - more sentboxes



On 2001.10.25 20:29 Philip Rhoades wrote:
> Peter,
> 
> Thanks for that but some stuff also needs to be a bit of work done on 
> the list items themselves - they are still showing the "From" name.
> 
> Thanks for the quick response!
> 
> Regards,
> 
> Phil.

Oh, you want to *see* the "To" address, as well as labeling the 
column!  Replacement (not incremental) patch attached.

Since there has been some dissension about the whole idea, you may 
never see this in cvs, but it should work for you.

Peter
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 10:40:49 2001
@@ -639,6 +639,7 @@
      * rename "from" column to "to" for outgoing mail
      */
     if (mailbox == balsa_app.sentbox ||
+        (mailbox->name && !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"));
@@ -705,6 +706,7 @@
 
     append_dots = FALSE;
     if (mailbox == balsa_app.sentbox ||
+        (mailbox->name && !g_strncasecmp(mailbox->name, "sentbox", 7)) ||
 	mailbox == balsa_app.draftbox ||
 	mailbox == balsa_app.outbox) {
 	if (message->to_list) {


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