seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=6e8cb900d051cc521fd928be571c436a5f9d1dd7
commit 6e8cb900d051cc521fd928be571c436a5f9d1dd7 Author: Daniel Juyung Seo <seojuyu...@gmail.com> Date: Tue Jan 27 13:11:05 2015 +0900 panes: Fix elm_panes_fixed_set. @fix --- data/themes/edc/elm/panes.edc | 69 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/data/themes/edc/elm/panes.edc b/data/themes/edc/elm/panes.edc index 56d65e0..45b6d4a 100644 --- a/data/themes/edc/elm/panes.edc +++ b/data/themes/edc/elm/panes.edc @@ -1,3 +1,16 @@ +/* panes widget style information + + [SIGNAL] + elm,panes,fixed: Used for elm_panes_fixed_set() + elm,panes,unfixed: Used for elm_panes_fixed_set() + + [SIGNAL EMIT] + elm,action,click: Used for "clicked" smart callback. + elm,action,click,double: Used for "clicked,double" smart callback. + elm,action,press: Used for "press" smart callback. + elm,action,unpress: Used for "unpress" smart callback. +*/ + #define PANEMIN 10 #define PANEMIN2 16 #define PANEWID 32 @@ -105,6 +118,10 @@ group { name: "elm/panes/vertical/default"; rel2.to_x: "elm.swallow.event"; color: 0 0 0 0; } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } } } programs { @@ -120,6 +137,16 @@ group { name: "elm/panes/vertical/default"; program { signal: "mouse,down,1,double"; source: "bar"; // for "clicked,double" smart callback action: SIGNAL_EMIT "elm,action,click,double" "elm"; } + program { // for elm_panes_fixed_set() + signal: "elm,panes,fixed"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "bar"; + } + program { // for elm_panes_fixed_set() + signal: "elm,panes,unfixed"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "bar"; + } } } @@ -226,6 +253,10 @@ group { name: "elm/panes/horizontal/default"; rel2.to_y: "elm.swallow.event"; color: 0 0 0 0; } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } } } programs { @@ -241,6 +272,16 @@ group { name: "elm/panes/horizontal/default"; program { signal: "mouse,down,1,double"; source: "bar"; // for "clicked,double" smart callback action: SIGNAL_EMIT "elm,action,click,double" "elm"; } + program { // for elm_panes_fixed_set() + signal: "elm,panes,fixed"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "bar"; + } + program { // for elm_panes_fixed_set() + signal: "elm,panes,unfixed"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "bar"; + } } } @@ -343,6 +384,10 @@ group { name: "elm/panes/vertical/flush"; rel2.relative: 1.0 0.75; color: 0 0 0 0; } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } } part { name: "glow1a"; mouse_events: 0; description { state: "default" 0.0; @@ -430,6 +475,16 @@ group { name: "elm/panes/vertical/flush"; program { signal: "mouse,down,1,double"; source: "bar"; // for "clicked,double" smart callback action: SIGNAL_EMIT "elm,action,click,double" "elm"; } + program { // for elm_panes_fixed_set() + signal: "elm,panes,fixed"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "bar"; + } + program { // for elm_panes_fixed_set() + signal: "elm,panes,unfixed"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "bar"; + } program { signal: "mouse,in"; source: "bar1"; action: STATE_SET "active" 0.0; @@ -557,6 +612,10 @@ group { name: "elm/panes/horizontal/flush"; rel2.relative: 0.75 1.0; color: 0 0 0 0; } + description { state: "disabled" 0.0; + inherit: "default" 0.0; + visible: 0; + } } part { name: "glow1a"; mouse_events: 0; description { state: "default" 0.0; @@ -672,5 +731,15 @@ group { name: "elm/panes/horizontal/flush"; program { signal: "mouse,down,1,double"; source: "bar"; // for "clicked,double" smart callback action: SIGNAL_EMIT "elm,action,click,double" "elm"; } + program { // for elm_panes_fixed_set() + signal: "elm,panes,fixed"; source: "elm"; + action: STATE_SET "disabled" 0.0; + target: "bar"; + } + program { // for elm_panes_fixed_set() + signal: "elm,panes,unfixed"; source: "elm"; + action: STATE_SET "default" 0.0; + target: "bar"; + } } } --