Elementary ctxpopup: Modified the disabled item style. Patch by ChunEon Park (Hermet).
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 3 Feb 2011 08:23:14 +0000 (08:23 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 3 Feb 2011 08:23:14 +0000 (08:23 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@56668 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

data/themes/default.edc

index 0296ab3..68748d2 100644 (file)
@@ -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;
@@ -8051,16 +8053,22 @@ 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";