summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2014-03-06 13:54:27 +0100
committerSebastian Dransfeld <sd@tango.flipp.net>2014-03-06 13:55:51 +0100
commit01cf58ab650810bbac76cbd35f0eab137e06d4d7 (patch)
treeb6af1c0f455c30d1b146723a9570b11856962c9a
parent3d1bbbf6e48bd0ae5d8f0b97755ea20590849973 (diff)
downloadelementary-01cf58ab650810bbac76cbd35f0eab137e06d4d7.tar.gz
randr theme: add possibility to hide refresh arrow
-rw-r--r--data/themes/edc/randr.edc24
1 files changed, 24 insertions, 0 deletions
diff --git a/data/themes/edc/randr.edc b/data/themes/edc/randr.edc
index 0e40551b2..3dcb27d4a 100644
--- a/data/themes/edc/randr.edc
+++ b/data/themes/edc/randr.edc
@@ -386,7 +386,19 @@ group { name: "e/conf/randr/main/frame";
align: 0.0 0.0;
}
}
+ part { name: "arrowclip"; type: RECT;
+ description { state: "default" 0.0;
+ rel1.to: "e.event.arrow.show";
+ rel2.to: "e.event.arrow.show";
+ visible: 1;
+ }
+ description { state: "disabled" 0.0;
+ inherit: "default" 0.0;
+ visible: 0;
+ }
+ }
part { name: "arrow1clip"; type: RECT;
+ clip_to: "arrowclip";
description { state: "default" 0.0;
rel1.to: "e.event.arrow.show";
rel2.to: "e.event.arrow.show";
@@ -397,6 +409,7 @@ group { name: "e/conf/randr/main/frame";
}
}
part { name: "arrow2clip"; type: RECT;
+ clip_to: "arrowclip";
description { state: "default" 0.0;
rel1.to: "e.event.arrow.show";
rel2.to: "e.event.arrow.show";
@@ -434,6 +447,7 @@ group { name: "e/conf/randr/main/frame";
}
}
part { name: "e.event.arrow.show"; type: RECT;
+ clip_to: "arrowclip";
description { state: "default" 0.0;
color: 0 0 0 0;
max: 21 21;
@@ -520,6 +534,16 @@ group { name: "e/conf/randr/main/frame";
transition: ACCELERATE 0.5;
target: "e.swallow.refresh";
}
+ program {
+ signal: "e,state,refresh,enabled"; source: "e";
+ action: STATE_SET "default" 0.0;
+ target: "arrowclip";
+ }
+ program {
+ signal: "e,state,refresh,disabled"; source: "e";
+ action: STATE_SET "disabled" 0.0;
+ target: "arrowclip";
+ }
program { name: "rrpulse1";
signal: "show"; source: "";
action: STATE_SET "pulse" 0.0;