From 1ebde68407c784e2b3b2bbf3188341282729701b Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Thu, 3 Feb 2011 08:23:14 +0000 Subject: [PATCH] Elementary ctxpopup: Modified the disabled item style. Patch by ChunEon Park (Hermet). SVN revision: 56668 --- legacy/elementary/data/themes/default.edc | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/legacy/elementary/data/themes/default.edc b/legacy/elementary/data/themes/default.edc index 0296ab3a34..68748d2089 100644 --- a/legacy/elementary/data/themes/default.edc +++ b/legacy/elementary/data/themes/default.edc @@ -7992,6 +7992,7 @@ collections { } part { name: "elm.swallow.icon"; type: SWALLOW; + clip_to: "disclip"; scale: 1; description { state: "default" 0.0; min: 25 25; @@ -8005,6 +8006,7 @@ collections { part { name: "elm.text"; type: TEXT; mouse_events: 0; + clip_to: "disclip"; scale: 1; description { state: "default" 0.0; min: 1 40; @@ -8050,17 +8052,23 @@ collections { } part { name: "disclip"; type: RECT; + description { state: "default" 0.0; + color: 255 255 255 255; + } + description { state: "enabled" 0.0; + color: 127 127 127 127; + } + } + part { name: "blocker"; description { state: "default" 0.0; visible: 0; } description { state: "enabled" 0.0; visible: 1; - color: 50 50 50 127; - rel1.offset: 4 4; - rel2.offset: -5 -5; + color: 0 0 0 0; } } - } + } programs { program { name: "item_unclick"; @@ -8073,12 +8081,14 @@ collections { source: "elm"; action: STATE_SET "enabled" 0.0; target: "disclip"; + target: "blocker"; } program { name: "enable"; signal: "elm,state,enabled"; source: "elm"; action: STATE_SET "default" 0.0; target: "disclip"; + target: "blocker"; } program { name: "item_click2"; signal: "mouse,down,1";