From 4d582133a5c8d28f109ffd458d5cbb55c2b5117a Mon Sep 17 00:00:00 2001 From: "Myoungwoon Roy, Kim" Date: Wed, 17 Jan 2018 11:47:18 +0900 Subject: [PATCH] Default theme: remove wrong targets from program. Some of styles contain STATE_SET programs, that try to switch part into non existents description. For desctop application, such as Enventor and Eflete this make launch and work slow. This commit fix this situation by removing wrong targets or add missed states into target parts. Change-Id: Ia9f51afaa096cadff363d7ea28d40059b5be04a2 Signed-off-by: Mykyta Biliavskyi Original commit: c214b769d8d83bd222447f39e150fdcbed5fac11 Change-Id: I2971c3c80c51b7949f69622601a427d3a6d8d1ab --- data/elementary/themes/edc/elm/menu.edc | 10 ---------- data/elementary/themes/edc/elm/scroller.edc | 4 ---- 2 files changed, 14 deletions(-) diff --git a/data/elementary/themes/edc/elm/menu.edc b/data/elementary/themes/edc/elm/menu.edc index ec3d67b..8b0eb26 100644 --- a/data/elementary/themes/edc/elm/menu.edc +++ b/data/elementary/themes/edc/elm/menu.edc @@ -1131,16 +1131,6 @@ group { name: "elm/hover/base/main_menu_submenu/default"; signal: "mouse,up,*"; source: "base"; action: SIGNAL_EMIT "elm,action,dismiss" "elm"; } - program { name: "show"; - signal: "elm,action,show"; source: "elm"; - action: STATE_SET "visible" 0.0; - target: "base"; - } - program { name: "hide"; - signal: "elm,action,hide"; source: "elm"; - action: STATE_SET "default" 0.0; - target: "base"; - } program { name: "bottomshow"; signal: "elm,action,slot,bottom,show"; source: "elm"; action: STATE_SET "visible" 0.0; diff --git a/data/elementary/themes/edc/elm/scroller.edc b/data/elementary/themes/edc/elm/scroller.edc index 091cfb1..8238fc2 100644 --- a/data/elementary/themes/edc/elm/scroller.edc +++ b/data/elementary/themes/edc/elm/scroller.edc @@ -1143,7 +1143,6 @@ group { name: "elm/scroller/base/default"; program { signal: "mouse,down,1*"; source: "elm.dragable.vbar"; action: STATE_SET "clicked" 0.0; - target: "elm.dragable.vbar"; target: "shadow_vbar"; target: "glow_vbar"; target: "center_glow_vbar"; @@ -1155,7 +1154,6 @@ group { name: "elm/scroller/base/default"; program { signal: "mouse,up,1"; source: "elm.dragable.vbar"; action: STATE_SET "default" 0.0; - target: "elm.dragable.vbar"; target: "shadow_vbar"; target: "glow_vbar"; target: "center_glow_vbar"; @@ -1167,7 +1165,6 @@ group { name: "elm/scroller/base/default"; program { signal: "mouse,down,1*"; source: "elm.dragable.hbar"; action: STATE_SET "clicked" 0.0; - target: "elm.dragable.hbar"; target: "shadow_hbar"; target: "glow_hbar"; target: "center_glow_hbar"; @@ -1179,7 +1176,6 @@ group { name: "elm/scroller/base/default"; program { signal: "mouse,up,1"; source: "elm.dragable.hbar"; action: STATE_SET "default" 0.0; - target: "elm.dragable.hbar"; target: "shadow_hbar"; target: "glow_hbar"; target: "center_glow_hbar"; -- 2.7.4