From 26c81269713920e95846a951abd9ab542db3066a Mon Sep 17 00:00:00 2001 From: "bugzilla%arlen.demon.co.uk" Date: Tue, 8 Feb 2005 14:32:09 +0000 Subject: [PATCH] Bug 98595 Ability to disable lists/trees/outliners completely Toolkit verison of patch v0.3a p=me/neil.parkwaycc.co.uk r=mkaply --- toolkit/content/widgets/listbox.xml | 17 ++++++++++++++--- toolkit/themes/qute/global/listbox.css | 6 +++++- toolkit/themes/winstripe/global/listbox.css | 6 +++++- 3 files changed, 24 insertions(+), 5 deletions(-) diff --git a/toolkit/content/widgets/listbox.xml b/toolkit/content/widgets/listbox.xml index 77ab5133396..436486e4d53 100644 --- a/toolkit/content/widgets/listbox.xml +++ b/toolkit/content/widgets/listbox.xml @@ -59,6 +59,11 @@ + + @@ -804,6 +809,7 @@ click, so that drags work correctly. --> - + - + + + diff --git a/toolkit/themes/qute/global/listbox.css b/toolkit/themes/qute/global/listbox.css index a0d87d47753..02845a95d2c 100644 --- a/toolkit/themes/qute/global/listbox.css +++ b/toolkit/themes/qute/global/listbox.css @@ -56,6 +56,10 @@ listbox { color: -moz-FieldText; } +listbox[disabled="true"] { + color: GrayText; +} + /* ::::: listitem ::::: */ listitem { @@ -164,4 +168,4 @@ listheader[sortable="true"]:hover:active { .listcell-check[disabled="true"][checked="true"] { background-image: url("chrome://global/skin/checkbox/cbox-check-dis.gif"); -} \ No newline at end of file +} diff --git a/toolkit/themes/winstripe/global/listbox.css b/toolkit/themes/winstripe/global/listbox.css index a0d87d47753..02845a95d2c 100644 --- a/toolkit/themes/winstripe/global/listbox.css +++ b/toolkit/themes/winstripe/global/listbox.css @@ -56,6 +56,10 @@ listbox { color: -moz-FieldText; } +listbox[disabled="true"] { + color: GrayText; +} + /* ::::: listitem ::::: */ listitem { @@ -164,4 +168,4 @@ listheader[sortable="true"]:hover:active { .listcell-check[disabled="true"][checked="true"] { background-image: url("chrome://global/skin/checkbox/cbox-check-dis.gif"); -} \ No newline at end of file +}