From 0b296b151e3b0069c36f96e55fbbf3e18030763d Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Tue, 18 Dec 2012 15:16:23 +0000 Subject: [PATCH] Add signal and state for disable of rotate event (in the case that a monitor does not support rotations). Signed-off-by: Christopher Michael SVN revision: 81260 --- data/themes/edc/randr.edc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/data/themes/edc/randr.edc b/data/themes/edc/randr.edc index 766491fe1..c289b017f 100644 --- a/data/themes/edc/randr.edc +++ b/data/themes/edc/randr.edc @@ -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";