summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-12-07 19:27:05 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-12-08 16:13:32 +0900
commitbdb4977dda7024f561abf06201219804c2fa64fb (patch)
treecaf59319c700408017afdfee443141ce88ea8b9d /data
parentbe7e8f65137e37b781eb4b6b5323360813a79559 (diff)
win: Implement stronger theme compatibility for frame_obj
The frame object requires a theme of version 119 or more. In fact I think until we are totally happy with the window API (for EO) we might want to bump that version regularly. That would indeed disallow theme customization for border.edc until it's done. This patch uses a pretty brute force way to set the theme file to the default file from EFL installation. elm_config is not reliable here. This is very custom made and there may be a more generic way to force a widget to use a minimum theme version. Yes that could mean ugly widgets if we change the theme API but at least that would make them work. Note that the border theme contains no visual elements, so the colors of the background, etc... should all depend on the user selected theme. But of course CSD (in Wayland) will have to use the default theme -- and look grey. Fixes D4976
Diffstat (limited to 'data')
-rw-r--r--data/elementary/themes/edc/elm/bg.edc2
-rw-r--r--data/elementary/themes/edc/elm/border.edc1
-rw-r--r--data/elementary/themes/edc/elm/win.edc2
3 files changed, 3 insertions, 2 deletions
diff --git a/data/elementary/themes/edc/elm/bg.edc b/data/elementary/themes/edc/elm/bg.edc
index 0254099..ed5034f 100644
--- a/data/elementary/themes/edc/elm/bg.edc
+++ b/data/elementary/themes/edc/elm/bg.edc
@@ -7,7 +7,7 @@
7*/ 7*/
8 8
9group { name: "elm/bg/base/default"; 9group { name: "elm/bg/base/default";
10 data.item: "elm_bg_version" "119"; 10 data.item: "version" "119";
11 images.image: "bevel_dark_out.png" COMP; 11 images.image: "bevel_dark_out.png" COMP;
12 parts { 12 parts {
13 part { name: "base"; type: RECT; 13 part { name: "base"; type: RECT;
diff --git a/data/elementary/themes/edc/elm/border.edc b/data/elementary/themes/edc/elm/border.edc
index 3ff013b..18cc44b 100644
--- a/data/elementary/themes/edc/elm/border.edc
+++ b/data/elementary/themes/edc/elm/border.edc
@@ -30,6 +30,7 @@ group { name: "elm/border/base/default";
30 images.image: "screen_circular_shadow.png" COMP; 30 images.image: "screen_circular_shadow.png" COMP;
31 images.image: "win_shadow.png" COMP; 31 images.image: "win_shadow.png" COMP;
32 data.item: "shadow" "1"; 32 data.item: "shadow" "1";
33 data.item: "version" "119";
33 parts { 34 parts {
34 /* opaque region of the window, to inform the compositor */ 35 /* opaque region of the window, to inform the compositor */
35 spacer { "elm.spacer.opaque"; 36 spacer { "elm.spacer.opaque";
diff --git a/data/elementary/themes/edc/elm/win.edc b/data/elementary/themes/edc/elm/win.edc
index 8c6a08d..a9c98a0 100644
--- a/data/elementary/themes/edc/elm/win.edc
+++ b/data/elementary/themes/edc/elm/win.edc
@@ -1,5 +1,5 @@
1group { name: "elm/win/base/default"; 1group { name: "elm/win/base/default";
2 data.item: "elm_win_version" "119"; 2 data.item: "version" "119";
3 parts { 3 parts {
4 rect { "client_clip"; nomouse; 4 rect { "client_clip"; nomouse;
5 desc { "default"; 5 desc { "default";