Patch - Mailboxlist width changing




Discovered the following after making my first CVS checkout since december.

Depending on if the mblist window has a vertical scrollbar or not, the list
either gets lager or shrinks when balsa is restarted.


This little change seems to fix the problem:

Index: balsa/src/mblist-window.c
===================================================================
RCS file: /cvs/gnome/balsa/src/mblist-window.c,v
retrieving revision 1.103
diff -U3 -r1.103 mblist-window.c
--- balsa/src/mblist-window.c	2000/04/05 13:35:16	1.103
+++ balsa/src/mblist-window.c	2000/04/10 22:31:58
@@ -308,7 +308,7 @@
 {
 /*    printf( "size_allocate_cb()\n" ); */
   if (balsa_app.show_mblist)
-    balsa_app.mblist_width = alloc->width + 18;
+    balsa_app.mblist_width = widget->parent->allocation.width;
 }
 
 static void



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