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
This commit is contained in:
George Lebl 1998-08-03 05:58:49 +00:00 committed by George Lebl
parent c3c5e72151
commit fba2b02b10
8 changed files with 48 additions and 0 deletions

View File

@ -1,3 +1,9 @@
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
Mon Aug 3 00:04:09 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort

View File

@ -1,3 +1,9 @@
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
Mon Aug 3 00:04:09 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort

View File

@ -1,3 +1,9 @@
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
Mon Aug 3 00:04:09 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort

View File

@ -1,3 +1,9 @@
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
Mon Aug 3 00:04:09 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort

View File

@ -1,3 +1,9 @@
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
Mon Aug 3 00:04:09 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort

View File

@ -1,3 +1,9 @@
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
Mon Aug 3 00:04:09 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort

View File

@ -1,3 +1,9 @@
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
Mon Aug 3 00:04:09 1998 Lars Hamann <lars@gtk.org>
* gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort

View File

@ -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);
}
}
}