From 508e26806350629342aa144e9b173f93b1a64925 Mon Sep 17 00:00:00 2001 From: Sake Blok Date: Sat, 10 Nov 2007 15:18:49 +0000 Subject: 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 --- gtk/colors.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gtk/colors.c') 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 */ -- cgit v1.2.3