devilhorns pushed a commit to branch master.

commit c32f155fb063b384ddf63054629d7f227ce1311d
Author: Chris Michael <[email protected]>
Date:   Fri Aug 2 11:06:02 2013 +0100

    Add a disabled state to the indicator event rectangle
    
    NB: This is so that the indicator mouse events can be disabled, thus
    not allowing Silly people to turn off their Only single monitor.
    
    Signed-off-by: Chris Michael <[email protected]>
---
 data/themes/edc/randr.edc | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/data/themes/edc/randr.edc b/data/themes/edc/randr.edc
index 0232daa..5e2a2f5 100644
--- a/data/themes/edc/randr.edc
+++ b/data/themes/edc/randr.edc
@@ -426,9 +426,12 @@ group { name: "e/conf/randr/main/frame";
          description { state: "default" 0.0;
             color: 0 0 0 0;
             max: 15 15;
-//            max: 21 21;
             align: 0.0 1.0;
          }
+         description { state: "disabled" 0.0;
+            inherit: "default" 0.0;
+            visible: 0;
+         }
       }
       part { name: "e.event.resize"; type: RECT;
          description { state: "default" 0.0;
@@ -556,6 +559,16 @@ group { name: "e/conf/randr/main/frame";
          target: "primary";
       }
       program {
+         signal: "e,state,indicator,enabled"; source: "e";
+         action: STATE_SET "default" 0.0;
+         target: "e.event.indicator";
+      }
+      program {
+         signal: "e,state,indicator,disabled"; source: "e";
+         action: STATE_SET "disabled" 0.0;
+         target: "e.event.indicator";
+      }
+      program {
          signal: "mouse,in"; source: "e.event.resize";
          action: SIGNAL_EMIT "e,action,resize,in" "e";
       }

-- 

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk

Reply via email to