Add signal and state for disable of rotate event (in the case that a monitor
authorChristopher Michael <cp.michael@samsung.com>
Tue, 18 Dec 2012 15:16:23 +0000 (15:16 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Tue, 18 Dec 2012 15:16:23 +0000 (15:16 +0000)
does not support rotations).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 81260

data/themes/edc/randr.edc

index 766491f..c289b01 100644 (file)
@@ -327,6 +327,10 @@ group { name: "e/conf/randr/main/frame";
             max: 21 21;
             align: 1.0 0.0;
          }
+         description { state: "disabled" 0.0;
+            inherit: "default" 0.0;
+            visible: 0;
+         }
       }
       part { name: "e.event.indicator"; type: RECT;
          description { state: "default" 0.0;
@@ -443,6 +447,11 @@ group { name: "e/conf/randr/main/frame";
          action: STATE_SET "default" 0.0;
          target: "drop_zone";
       }
+      program { name: "off";
+         signal: "e,state,rotate_disabled"; source: "e";
+         action: STATE_SET "disabled" 0.0;
+         target: "e.event.rotate";
+      }
       program {
          signal: "mouse,in"; source: "e.event.resize";
          action: SIGNAL_EMIT "e,action,resize,in" "e";