The clock widget doesn't work anymore due to some signal updates, these patches updates it (syncing it to upstream).
Bye.
From 50f320f00f06d4da0d51d8144576ec389ddcc30d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20(Trevi=C3=B1o)?= <[email protected]> Date: Mon, 9 Aug 2010 16:11:21 +0200 Subject: [PATCH 1/2] gry-theme: Make clock set mode consistent with spinners Clock spinners now changes the clock value --- elementary/elementary-theme-gry/gry.edc | 28 ++++++++++++++++++++++++---- 1 files changed, 24 insertions(+), 4 deletions(-) diff --git a/elementary/elementary-theme-gry/gry.edc b/elementary/elementary-theme-gry/gry.edc index b110cc5..2caef7a 100644 --- a/elementary/elementary-theme-gry/gry.edc +++ b/elementary/elementary-theme-gry/gry.edc @@ -2482,12 +2482,22 @@ collections { program { name: "up"; signal: "mouse,down,1"; source: "t"; - action: SIGNAL_EMIT "elm,action,up" ""; + action: SIGNAL_EMIT "elm,action,up,start" ""; + } + program { name: "up,stop"; + signal: "mouse,up,1"; + source: "t"; + action: SIGNAL_EMIT "elm,action,up,stop" ""; } program { name: "down"; signal: "mouse,down,1"; source: "b"; - action: SIGNAL_EMIT "elm,action,down" ""; + action: SIGNAL_EMIT "elm,action,down,start" ""; + } + program { name: "down,stop"; + signal: "mouse,up,1"; + source: "b"; + action: SIGNAL_EMIT "elm,action,down,stop" ""; } } } @@ -2758,12 +2768,22 @@ collections { program { name: "up"; signal: "mouse,down,1"; source: "t"; - action: SIGNAL_EMIT "elm,action,up" ""; + action: SIGNAL_EMIT "elm,action,up,start" ""; + } + program { name: "up,stop"; + signal: "mouse,up,1"; + source: "t"; + action: SIGNAL_EMIT "elm,action,up,stop" ""; } program { name: "down"; signal: "mouse,down,1"; source: "b"; - action: SIGNAL_EMIT "elm,action,down" ""; + action: SIGNAL_EMIT "elm,action,down,start" ""; + } + program { name: "down,stop"; + signal: "mouse,up,1"; + source: "b"; + action: SIGNAL_EMIT "elm,action,down,stop" ""; } } } -- 1.7.0.4
From 024afd1f560703859152f9c09dd0f85a2cb6e385 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20(Trevi=C3=B1o)?= <[email protected]> Date: Mon, 9 Aug 2010 16:15:45 +0200 Subject: [PATCH 2/2] gry theme: Let the user choose what digits of the clock are editable. signed of: Rafael "15 years of experience" Fonseca. --- elementary/elementary-theme-gry/gry.edc | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/elementary/elementary-theme-gry/gry.edc b/elementary/elementary-theme-gry/gry.edc index 2caef7a..cba3adf 100644 --- a/elementary/elementary-theme-gry/gry.edc +++ b/elementary/elementary-theme-gry/gry.edc @@ -2030,21 +2030,31 @@ collections { type: RECT; mouse_events: 1; description { state: "default" 0.0; + visible: 0; rel1.to: "base"; rel1.relative: 0.0 0.5; rel2.to: "base"; color: 0 0 0 0; } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } } part { name: "t"; type: RECT; mouse_events: 1; description { state: "default" 0.0; + visible: 0; rel1.to: "base"; rel2.to: "base"; rel2.relative: 1.0 0.5; color: 0 0 0 0; } + description { state: "visible" 0.0; + inherit: "default" 0.0; + visible: 1; + } } part { name: "bot0"; mouse_events: 0; @@ -2471,6 +2481,8 @@ collections { action: STATE_SET "visible" 0.0; target: "atop"; target: "abot"; + target: "t"; + target: "b"; } program { name: "edit_off"; signal: "elm,state,edit,off"; @@ -2478,6 +2490,8 @@ collections { action: STATE_SET "default" 0.0; target: "atop"; target: "abot"; + target: "t"; + target: "b"; } program { name: "up"; signal: "mouse,down,1"; -- 1.7.0.4
_______________________________________________ Shr-devel mailing list [email protected] http://lists.shr-project.org/mailman/listinfo/shr-devel
