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.
This commit is contained in:
Havoc Pennington 2001-02-08 23:54:02 +00:00 committed by Havoc Pennington
parent 4a3c8a367a
commit a87d840595
9 changed files with 36 additions and 3 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

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

View File

@ -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,