From 877804e3eee3bb288a6716e1cc7891a504728edb Mon Sep 17 00:00:00 2001 From: Andreas Volz Date: Fri, 10 Apr 2009 21:03:20 +0000 Subject: [PATCH] enabled and disabled state for checkboxes SVN revision: 39947 --- data/themes/default.edc | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/data/themes/default.edc b/data/themes/default.edc index 03613a2..a567fdf 100644 --- a/data/themes/default.edc +++ b/data/themes/default.edc @@ -17317,6 +17317,10 @@ group { name: "e/toolbar/default/base"; inherit: "default" 0.0; image.normal: "check_sel.png"; } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + } } part { name: "mark_hold"; type: RECT; @@ -17404,6 +17408,22 @@ group { name: "e/toolbar/default/base"; source: "event"; action: SIGNAL_EMIT "e,action,toggle" ""; } + program { name: "disable"; + signal: "e,state,disabled"; + source: "e"; + action: STATE_SET "disabled" 0.0; + target: "mark"; + target: "event"; + target: "e.text.label"; + } + program { name: "enable"; + signal: "e,state,enabled"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "mark"; + target: "event"; + target: "e.text.label"; + } } } group { name: "e/widgets/check_icon"; @@ -17444,6 +17464,10 @@ group { name: "e/toolbar/default/base"; inherit: "default" 0.0; image.normal: "check_sel.png"; } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + color: 255 255 255 128; + } } part { name: "mark_hold"; type: RECT; @@ -17581,6 +17605,22 @@ group { name: "e/toolbar/default/base"; target: "e.swallow.icon"; target: "label_clip"; } + program { name: "disable"; + signal: "e,state,disabled"; + source: "e"; + action: STATE_SET "disabled" 0.0; + target: "mark"; + target: "event"; + target: "e.text.label"; + } + program { name: "enable"; + signal: "e,state,enabled"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "mark"; + target: "event"; + target: "e.text.label"; + } } } -- 2.7.4