summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-07-18 14:35:40 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-07-18 18:42:16 +0900
commit521f41f536efcd5e269dcc4279d88348173933e2 (patch)
tree4d88f06545331350a9b71a9b1f300e36189428fd /data
parent2330d4fec110cb94043547e4979308283e442350 (diff)
win: Fix main menu when not in framespace
On OSX the framespace and CSD (Client-Side Decorations) are not supported at all... I am not able to test this case. This patch restores the main menu functionality based on pre 1.19 themes, where it was located inside win.edc (app content) and not in border.edc (framespace). Note that the initial size of a window may be wrong, eg as in elementary_test -to "Main Menu" Fixes T5734 (hopefully!)
Diffstat (limited to 'data')
-rw-r--r--data/elementary/themes/edc/elm/win.edc22
1 files changed, 20 insertions, 2 deletions
diff --git a/data/elementary/themes/edc/elm/win.edc b/data/elementary/themes/edc/elm/win.edc
index a9c98a0bfa..9999cabb49 100644
--- a/data/elementary/themes/edc/elm/win.edc
+++ b/data/elementary/themes/edc/elm/win.edc
@@ -1,13 +1,31 @@
1group { name: "elm/win/base/default"; 1group { name: "elm/win/base/default";
2 data.item: "version" "119"; 2 data.item: "version" "119";
3 parts { 3 parts {
4 rect { "client_clip"; nomouse; 4 rect { "client_clip"; nomouse; }
5 swallow { "elm.swallow.menu";
6 clip_to: "client_clip";
5 desc { "default"; 7 desc { "default";
6 rel.to: "elm.swallow.contents"; 8 rel2.relative: 1 0;
9 link.base: "elm,action,hide" "elm";
10 align: 0.5 0.0;
11 hid;
12 }
13 desc { "visible";
14 inherit: "default";
15 link.base: "elm,action,show_menu" "elm";
16 fixed: 0 1;
17 vis;
7 } 18 }
8 } 19 }
9 swallow { "elm.swallow.contents"; 20 swallow { "elm.swallow.contents";
10 clip_to: "client_clip"; 21 clip_to: "client_clip";
22 desc { "default";
23 }
24 desc { "with_menu";
25 rel1.to: "elm.swallow.menu";
26 rel1.relative: 0 1;
27 link.base: "elm,action,show_menu" "elm";
28 }
11 } 29 }
12 } 30 }
13} 31}