Commit a87d8405 authored by Havoc Pennington's avatar Havoc Pennington Committed by Havoc Pennington

let's darken colors, not lighten them.

2001-02-08  Havoc Pennington  <hp@redhat.com>

	* gtk/gtkstyle.c (get_darkened_gc): let's darken colors, not
	lighten them.
parent 4a3c8a36
2001-02-08 Havoc Pennington <hp@redhat.com>
* gtk/gtkstyle.c (get_darkened_gc): let's darken colors, not
lighten them.
2001-02-08 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_destroy_layout): remove
......
2001-02-08 Havoc Pennington <hp@redhat.com>
* gtk/gtkstyle.c (get_darkened_gc): let's darken colors, not
lighten them.
2001-02-08 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_destroy_layout): remove
......
2001-02-08 Havoc Pennington <hp@redhat.com>
* gtk/gtkstyle.c (get_darkened_gc): let's darken colors, not
lighten them.
2001-02-08 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_destroy_layout): remove
......
2001-02-08 Havoc Pennington <hp@redhat.com>
* gtk/gtkstyle.c (get_darkened_gc): let's darken colors, not
lighten them.
2001-02-08 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_destroy_layout): remove
......
2001-02-08 Havoc Pennington <hp@redhat.com>
* gtk/gtkstyle.c (get_darkened_gc): let's darken colors, not
lighten them.
2001-02-08 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_destroy_layout): remove
......
2001-02-08 Havoc Pennington <hp@redhat.com>
* gtk/gtkstyle.c (get_darkened_gc): let's darken colors, not
lighten them.
2001-02-08 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_destroy_layout): remove
......
2001-02-08 Havoc Pennington <hp@redhat.com>
* gtk/gtkstyle.c (get_darkened_gc): let's darken colors, not
lighten them.
2001-02-08 Havoc Pennington <hp@redhat.com>
* gtk/gtktextview.c (gtk_text_view_destroy_layout): remove
......
......@@ -2429,7 +2429,7 @@ get_darkened_gc (GdkWindow *window,
while (darken_count)
{
gtk_style_shade (&src, &shaded, 1.3);
gtk_style_shade (&src, &shaded, 0.93);
src = shaded;
--darken_count;
}
......
......@@ -1109,7 +1109,6 @@ gtk_tree_view_bin_expose (GtkWidget *widget,
/* FIXME when we have style properties, clean this up.
*/
#if 1
if (tree_view->priv->has_rules)
{
if (flags & GTK_CELL_RENDERER_SORTED)
......@@ -1146,7 +1145,6 @@ gtk_tree_view_bin_expose (GtkWidget *widget,
}
g_assert (detail);
#endif
/* Draw background */
gtk_paint_flat_box (widget->style,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment