diff --git a/data/themes/default.edc b/data/themes/default.edc index 333feaeab..77ae2cbb1 100644 --- a/data/themes/default.edc +++ b/data/themes/default.edc @@ -10412,7 +10412,6 @@ collections { group { name: "e/modules/start/main"; - alias: "e/modules/everything/gadget"; max: 128 128; images { image: "logo_white_128.png" COMP; @@ -37995,6 +37994,84 @@ collections { } } + group { + name: "e/modules/everything/gadget"; + max: 128 128; + parts { + + part { + name: "icon"; + mouse_events: 0; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + aspect_preference: BOTH; + image.normal: "logo_white_128.png"; + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + visible: 0; + color: 255 255 255 0; + } + } + + part { + name: "e.swallow.icon"; + type: SWALLOW; + mouse_events: 0; + description { + state: "default" 0.0; + aspect: 1.0 1.0; + aspect_preference: BOTH; + visible: 0; + } + description { + state: "active" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 0; + } + } + + part { + name: "event"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + color: 0 0 0 0; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + } + } + } + programs { + program { + name: "on"; + signal: "e,state,icon,plugin"; + source: "e"; + action: STATE_SET "active" 0.0; + target: "e.swallow.icon"; + target: "icon"; + } + program { + name: "off"; + signal: "e,state,icon,default"; + source: "e"; + action: STATE_SET "default" 0.0; + target: "e.swallow.icon"; + target: "icon"; + } + } + } + ///////////////////////////////////////////////////////////////////////////// /*** MOD: CONF_COLORS ***/