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:
@ -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>
|
Mon Aug 3 00:04:09 1998 Lars Hamann <lars@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
|
* gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
|
||||||
|
@ -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>
|
Mon Aug 3 00:04:09 1998 Lars Hamann <lars@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
|
* gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
|
||||||
|
@ -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>
|
Mon Aug 3 00:04:09 1998 Lars Hamann <lars@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
|
* gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
|
||||||
|
@ -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>
|
Mon Aug 3 00:04:09 1998 Lars Hamann <lars@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
|
* gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
|
||||||
|
@ -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>
|
Mon Aug 3 00:04:09 1998 Lars Hamann <lars@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
|
* gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
|
||||||
|
@ -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>
|
Mon Aug 3 00:04:09 1998 Lars Hamann <lars@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
|
* gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
|
||||||
|
@ -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>
|
Mon Aug 3 00:04:09 1998 Lars Hamann <lars@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
|
* gtk/gtkclist.c (abort_column_resize): reset drag_pos after abort
|
||||||
|
@ -2521,6 +2521,7 @@ gtk_clist_draw (GtkWidget * widget,
|
|||||||
{
|
{
|
||||||
GtkCList *clist;
|
GtkCList *clist;
|
||||||
gint border_width;
|
gint border_width;
|
||||||
|
int i;
|
||||||
|
|
||||||
g_return_if_fail (widget != NULL);
|
g_return_if_fail (widget != NULL);
|
||||||
g_return_if_fail (GTK_IS_CLIST (widget));
|
g_return_if_fail (GTK_IS_CLIST (widget));
|
||||||
@ -2548,6 +2549,11 @@ gtk_clist_draw (GtkWidget * widget,
|
|||||||
0, 0, -1, -1);
|
0, 0, -1, -1);
|
||||||
|
|
||||||
draw_rows (clist, NULL);
|
draw_rows (clist, NULL);
|
||||||
|
|
||||||
|
for (i = 0; i < clist->columns; i++)
|
||||||
|
{
|
||||||
|
gtk_widget_queue_draw (clist->column[i].button);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user