summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-04-19 23:27:01 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-04-19 23:27:01 +0100
commit7beee62d6a9b11a70c88163334ce3a126a1b1242 (patch)
treeec9dd442827d2eccfc7f056946790692cb04a20f
parentdff3bc6a5fd69032ed841ba3c99ec67dd2cc5d98 (diff)
elm theme - add support for smooth restart for e
just extra data item and extra program only used if it's a new e
-rw-r--r--data/elementary/themes/edc/comp.edc21
1 files changed, 21 insertions, 0 deletions
diff --git a/data/elementary/themes/edc/comp.edc b/data/elementary/themes/edc/comp.edc
index 80fc826996..6972d86744 100644
--- a/data/elementary/themes/edc/comp.edc
+++ b/data/elementary/themes/edc/comp.edc
@@ -38,6 +38,7 @@ group { name: "e/comp/screen/base/default";
38 38
39group { name: "e/comp/screen/overlay/default"; 39group { name: "e/comp/screen/overlay/default";
40 images.image: "screen_circular_shadow.png" COMP; 40 images.image: "screen_circular_shadow.png" COMP;
41 data.item: "restarted" "on";
41 parts { 42 parts {
42 part { name: "clip"; type: RECT; mouse_events: 0; 43 part { name: "clip"; type: RECT; mouse_events: 0;
43 description { state: "default" 0.0; 44 description { state: "default" 0.0;
@@ -173,6 +174,26 @@ group { name: "e/comp/screen/overlay/default";
173 action: SIGNAL_EMIT "e,state,sys,logout,done" "e"; 174 action: SIGNAL_EMIT "e,state,sys,logout,done" "e";
174 } 175 }
175 } 176 }
177 program { signal: "e,state,sys,restart"; source: "e";
178 action: STATE_SET "visible" 0.0;
179 transition: ACCELERATE 0.5 USE_DURATION_FACTOR 1 CURRENT;
180 target: "suspender";
181 sequence {
182 action: SIGNAL_EMIT "e,state,sys,restart,done" "e";
183 }
184 }
185 program { signal: "e,state,sys,restarted"; source: "e";
186 action: STATE_SET "visible" 0.0;
187 target: "suspender";
188 }
189 program { signal: "e,state,sys,restarted,show"; source: "e";
190 action: STATE_SET "default" 0.0;
191 transition: ACCELERATE 0.5 USE_DURATION_FACTOR 1 CURRENT;
192 target: "suspender";
193 sequence {
194 action: SIGNAL_EMIT "e,state,sys,restarted,show,done" "e";
195 }
196 }
176 } 197 }
177} 198}
178 199