[Top][All Lists]

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

[Pan-devel] More GtkCList/GtkNotebook woes

From: Sam Solon
Subject: [Pan-devel] More GtkCList/GtkNotebook woes
Date: 17 Jun 2002 20:29:17 -0400

I've noticed a problem when using the notebook (zoomed) view. If reading
causes nodes to be expanded, when you return to the article list the
size won't reflect and the extra lines that are now visible and the
scrollbars won't show all the entries (or there won't be any scrollbars
if they weren't there before).

I've tracked this down to a bug in GtkCList, which doesn't refresh
itself after being mapped.

It's in bugzilla as bug 85729 with the patch shown below.

Of course the last time I submitted a GtkCList patch it took a year and
a half to be applied -- but hope springs eternal. ;-)

I don't see any reasonable work around other setting up a handler for
map and executing some operation to force a refresh.

I haven't looked into why this worked in the past.

Sam Solon

Index: gtkclist.c
RCS file: /cvs/gnome/gtk+/gtk/gtkclist.c,v
retrieving revision 1.217
diff -u -u -r1.217 gtkclist.c
--- gtkclist.c  14 May 2002 21:36:32 -0000      1.217
+++ gtkclist.c  18 Jun 2002 00:11:44 -0000
@@ -4721,6 +4721,7 @@
       /* unfreeze the list */
       clist->freeze_count = 0;
+      CLIST_REFRESH(clist);

reply via email to

[Prev in Thread] Current Thread [Next in Thread]