englebass pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=01cf58ab650810bbac76cbd35f0eab137e06d4d7

commit 01cf58ab650810bbac76cbd35f0eab137e06d4d7
Author: Sebastian Dransfeld <[email protected]>
Date:   Thu Mar 6 13:54:27 2014 +0100

    randr theme: add possibility to hide refresh arrow
---
 data/themes/edc/randr.edc | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/data/themes/edc/randr.edc b/data/themes/edc/randr.edc
index 0e40551..3dcb27d 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;

-- 


Reply via email to