diff --git a/data/elementary/themes/edc/ibar-ibox.edc b/data/elementary/themes/edc/ibar-ibox.edc index 3d34f3c5e4..d9076004a8 100644 --- a/data/elementary/themes/edc/ibar-ibox.edc +++ b/data/elementary/themes/edc/ibar-ibox.edc @@ -61,6 +61,28 @@ group { name: "e/modules/ibox/icon"; rel2.relative: 1.0 0.85; } } + + part { name: "e.swallow.preview"; type: SWALLOW; + clip_to: "item_clip"; + description { state: "default" 0.0; + rel1.offset: 1 1; + rel2.offset: -2 -2; + rel1.relative: 0.1 0.1; + rel2.relative: 0.9 0.9; + align: 0.5 0.5; + } + description { state: "bounce1" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 0.15; + rel2.relative: 1.0 1.15; + } + description { state: "bounce2" 0.0; + inherit: "default" 0.0; + rel1.relative: 0.0 -0.15; + rel2.relative: 1.0 0.85; + } + } + part { name: "indicator"; description { state: "default"; min: 10 10; @@ -142,24 +164,28 @@ group { name: "e/modules/ibox/icon"; signal: "e,state,urgent"; source: "e"; action: STATE_SET "bounce1" 0.0; target: "e.swallow.content"; + target: "e.swallow.preview"; after: "urg1"; } program { name: "urg1"; action: STATE_SET "bounce2" 0.0; transition: DECELERATE 0.2; target: "e.swallow.content"; + target: "e.swallow.preview"; after: "urg2"; } program { name: "urg2"; action: STATE_SET "bounce1" 0.0; transition: ACCELERATE 0.2; target: "e.swallow.content"; + target: "e.swallow.preview"; after: "urg1"; } program { signal: "e,state,not_urgent"; source: "e"; action: STATE_SET "default" 0.0; target: "e.swallow.content"; + target: "e.swallow.preview"; } } } @@ -496,6 +522,14 @@ group { name: "e/modules/ibox/icon_overlay"; rel2.to: "background"; } } + part { name: "e.swallow.preview"; type: SWALLOW; + clip_to: "background"; + description { + state: "default" 0.0; + rel1.to: "background"; + rel2.to: "background"; + } + } part { name: "bevel"; mouse_events: 0; description { state: "default" 0.0; rel1.offset: -9 -5;