aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/colors.c
diff options
context:
space:
mode:
authorSake Blok <sake@euronet.nl>2007-11-10 15:18:49 +0000
committerSake Blok <sake@euronet.nl>2007-11-10 15:18:49 +0000
commit508e26806350629342aa144e9b173f93b1a64925 (patch)
treea166bf5aaa491f166493b890103a8480777728ff /gtk/colors.c
parent5057a3a763274b8b2299e65ce02557c682d9ce4c (diff)
This patch makes it possible to disable individual coloring rules
without having to delete them. The patch has been tested on Fedora-7 with GTK+ 1.2.10 and GTK+ 2.10.11. Since I don't know how to use "strikethrough" in clists in GTK1 there is a little difference in how the disabled coloring rules are displayed. In GTK2 they are striked through and in GTK1 they are shown in lightgrey on a white background. Any info on how to use strikthrough in clists within GTK1 is more than welcome :-) svn path=/trunk/; revision=23421
Diffstat (limited to 'gtk/colors.c')
-rw-r--r--gtk/colors.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/colors.c b/gtk/colors.c
index 48cfdbb19d..872a16aae0 100644
--- a/gtk/colors.c
+++ b/gtk/colors.c
@@ -39,6 +39,7 @@ static GdkColormap* sys_cmap;
static GdkColormap* our_cmap = NULL;
GdkColor WHITE = { 0, 65535, 65535, 65535 };
+GdkColor LTGREY = { 0, 57343, 57343, 57343 };
GdkColor BLACK = { 0, 0, 0, 0 };
/* Initialize the colors */