gtk-engines r1111 - in trunk: . themes/Clearlooks/gtk-2.0
- From: bberg svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk-engines r1111 - in trunk: . themes/Clearlooks/gtk-2.0
- Date: Sun, 2 Mar 2008 16:37:25 +0000 (GMT)
Author: bberg
Date: Sun Mar 2 16:37:25 2008
New Revision: 1111
URL: http://svn.gnome.org/viewvc/gtk-engines?rev=1111&view=rev
Log:
2008-03-02 Benjamin Berg <benjamin sipsolutions net>
* themes/Clearlooks/gtk-2.0/gtkrc:
Added a workaround for GtkCList/GtkCTree and GtkList text colors.
Fixes bug #505334 for clearlooks.
Modified:
trunk/ChangeLog
trunk/themes/Clearlooks/gtk-2.0/gtkrc
Modified: trunk/themes/Clearlooks/gtk-2.0/gtkrc
==============================================================================
--- trunk/themes/Clearlooks/gtk-2.0/gtkrc (original)
+++ trunk/themes/Clearlooks/gtk-2.0/gtkrc Sun Mar 2 16:37:25 2008
@@ -388,6 +388,22 @@
}
widget_class "*.<GtkComboBox>.<GtkCellView>" style "clearlooks-combobox-text-color-workaround"
+# Work around the usage of GtkLabel inside GtkListItems to display text.
+# This breaks because the label is shown on a background that is based on the
+# base color set.
+style "clearlooks-fg-is-text-color-workaround"
+{
+ fg[NORMAL] = @text_color
+ fg[PRELIGHT] = @text_color
+ fg[ACTIVE] = @selected_fg_color
+ fg[SELECTED] = @selected_fg_color
+ fg[INSENSITIVE] = darker (@bg_color)
+}
+widget_class "*<GtkListItem>*" style "clearlooks-fg-is-text-color-workaround"
+# The same problem also exists for GtkCList and GtkCTree
+# Only match GtkCList and not the parent widgets, because that would also change the headers.
+widget_class "*<GtkCList>" style "clearlooks-fg-is-text-color-workaround"
+
# Work around the evolution "New" button bug by making the toolbar flat.
# http://bugzilla.gnome.org/show_bug.cgi?id=446953
# Maybe remove this workaround in unstable releases.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]