summaryrefslogtreecommitdiff
path: root/gtk/gtkctree.c
diff options
context:
space:
mode:
authorAlex Larsson <alexl@redhat.com>2001-09-19 00:49:52 +0000
committerAlexander Larsson <alexl@src.gnome.org>2001-09-19 00:49:52 +0000
commit1a46d3d534698081b67e56e5510f521e45bfcbd1 (patch)
treef673445d694db4b1c804815f99df96f05eec1afc /gtk/gtkctree.c
parent07fd24542186c9d2e30a8b08381cab6285d94725 (diff)
downloadgdk-pixbuf-1a46d3d534698081b67e56e5510f521e45bfcbd1.tar.gz
Don't draw with GTK_STATE_ACTIVE.
2001-09-18 Alex Larsson <alexl@redhat.com> * gtk/gtkcheckbutton.c: * gtk/gtkradiobutton.c: Don't draw with GTK_STATE_ACTIVE. * gtk/gtkclist.c: * gtk/gtkctree.c: Draw lines between rows with base_gc[GTK_STATE_NORMAL]. * gtk/gtktextdisplay.c: Focused selection is drawn with base_gc [GTK_STATE_SELECTED] and unfocused with base_gc [GTK_STATE_ACTIVE]. * gtk/gtkentry.c: Add select all menu-item. Default cursor color is red. Focused selection is drawn with base_gc [GTK_STATE_SELECTED] and unfocused with base_gc [GTK_STATE_ACTIVE]. * gtk/gtklabel.[ch]: Add keynav + menu to selectable lables. Focused selection is drawn with base_gc [GTK_STATE_SELECTED] and unfocused with base_gc [GTK_STATE_ACTIVE]. * gtk/gtkfilesel.c: Add drag and drop support. * gtk/gtkstyle.c: (This was checked in earlier) New default values for text/base SELECTED and ACTIVE
Diffstat (limited to 'gtk/gtkctree.c')
-rw-r--r--gtk/gtkctree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkctree.c b/gtk/gtkctree.c
index fc637bbf9..c250eeaba 100644
--- a/gtk/gtkctree.c
+++ b/gtk/gtkctree.c
@@ -1705,7 +1705,7 @@ draw_row (GtkCList *clist,
if (gdk_rectangle_intersect (area, &cell_rectangle, crect))
gdk_draw_rectangle (clist->clist_window,
- widget->style->base_gc[GTK_STATE_ACTIVE], TRUE,
+ widget->style->base_gc[GTK_STATE_NORMAL], TRUE,
crect->x, crect->y, crect->width, crect->height);
}
else
@@ -1714,7 +1714,7 @@ draw_row (GtkCList *clist,
crect = &cell_rectangle;
gdk_draw_rectangle (clist->clist_window,
- widget->style->base_gc[GTK_STATE_ACTIVE], TRUE,
+ widget->style->base_gc[GTK_STATE_NORMAL], TRUE,
crect->x, crect->y, crect->width, crect->height);
}
@@ -1761,7 +1761,7 @@ draw_row (GtkCList *clist,
if (!area || gdk_rectangle_intersect (area, &cell_rectangle, crect))
{
gdk_draw_rectangle (clist->clist_window,
- widget->style->base_gc[GTK_STATE_ACTIVE], TRUE,
+ widget->style->base_gc[GTK_STATE_NORMAL], TRUE,
crect->x, crect->y, crect->width, crect->height);
/* horizontal black lines */