PATCH: hide lines in flat index mode



Hi, I hope I'm not irritating you guys with these one-liner patches (like
do something more useful! wil ya!) but here's another one to hide the lines
in flat index threading mode to make it clear that there's no threading
going on, and reduces clutter as well..

wil.

Index: src/balsa-index.c
===================================================================
RCS file: /cvs/gnome/balsa/src/balsa-index.c,v
retrieving revision 1.195
diff -u -r1.195 balsa-index.c
--- src/balsa-index.c	2001/09/22 16:44:17	1.195
+++ src/balsa-index.c	2001/09/24 10:55:03
@@ -2329,6 +2329,11 @@
     clist = GTK_CLIST(bindex->ctree);
     bindex->threading_type = thtype;
     
+    gtk_ctree_set_line_style (
+            bindex->ctree,
+            (thtype == BALSA_INDEX_THREADING_FLAT)?
+                GTK_CTREE_LINES_NONE: GTK_CTREE_LINES_SOLID);
+    
     mailbox = bindex->mailbox_node->mailbox;
 
     gtk_clist_freeze(clist);


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