I don't know if this bothers anyone else but on the off chance that it
does....

In the Folders view I often find that the horizontal space between the
folder name and the number of messages in the folder is so great that
I have a hard time aligning them visually.  So I patched
sqwebmail/folder.c to alternate the background color between table
rows so that they are visually distinct.  Actually, it alternates
between two stylesheet classes (folderlist-bg-1 and folderlist-bg-2)
so you can do whatever you want (color, bgcolor, font, size) to make
them distinct.  The patch is trivial but I'll include it here in case
Sam wants to make this a permanent addition to sqwebmail (I like it at
any rate :-)


--- sqwebmail/folder.c  Fri Sep 28 00:20:47 2001
+++ ../sqwebmail-3.1.0-patch/sqwebmail/folder.c Tue Oct  2 00:27:51 2001
@@ -2941,7 +2941,7 @@
                        maildir_count(folders[i], &nnew, &nother);
 
                printf("<TR %s><TD ALIGN=LEFT VALIGN=TOP>",
-                       isunsubscribed ? "BGCOLOR=\"#DDDD80\" 
class=\"folderunsubscribed\"":"");
+                       isunsubscribed ? "BGCOLOR=\"#DDDD80\" 
+class=\"folderunsubscribed\"":( i % 2 ? "class=\"folderlist-bg-1\"" : 
+"class=\"folderlist-bg-2\""));
 
                printf("%s<INPUT BORDER=0 TYPE=\"radio\" NAME=\"DELETE\" VALUE=\"", 
img);
                output_attrencoded(folders[i]);

----- End forwarded message -----

Reply via email to