diff options
author | George Lebl <jirka@5z.com> | 1998-08-03 05:58:49 +0000 |
---|---|---|
committer | George Lebl <jirka@src.gnome.org> | 1998-08-03 05:58:49 +0000 |
commit | fba2b02b10c62fbd75fcd70af2f5bb3cfe4fc5c6 (patch) | |
tree | 9c170e5f93fa015802dcb26738e5e488efd17ea6 /gtk | |
parent | c3c5e7215115ece0577fbf07357dc6b93e02c55e (diff) | |
download | gtk+-fba2b02b10c62fbd75fcd70af2f5bb3cfe4fc5c6.tar.gz |
draw the buttons during a "draw" as well, this fixes a bug when the whole
Sun Aug 02 22:58:00 1998 George Lebl <jirka@5z.com>
* gtk/gtkclist.c: draw the buttons during a "draw" as well,
this fixes a bug when the whole widget is made non-sesitive
the buttons weren't redrawn
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtkclist.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkclist.c b/gtk/gtkclist.c index 8018e547ad..ac25959755 100644 --- a/gtk/gtkclist.c +++ b/gtk/gtkclist.c @@ -2521,6 +2521,7 @@ gtk_clist_draw (GtkWidget * widget, { GtkCList *clist; gint border_width; + int i; g_return_if_fail (widget != NULL); g_return_if_fail (GTK_IS_CLIST (widget)); @@ -2548,6 +2549,11 @@ gtk_clist_draw (GtkWidget * widget, 0, 0, -1, -1); draw_rows (clist, NULL); + + for (i = 0; i < clist->columns; i++) + { + gtk_widget_queue_draw (clist->column[i].button); + } } } |