summaryrefslogtreecommitdiff
path: root/data/themes/edc
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-12-19 02:24:36 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-12-19 02:24:36 +0000
commited479f04ab66e5290e1a1ddecc6334fbd5641be2 (patch)
tree653f1319efee9f762a54688c3ef98487d29f8e65 /data/themes/edc
parent911e610febe502ae28c754c1fd9774a847f55ba2 (diff)
polish up icon only and text only options in tasks - mentioned by
zmike. needed code changes. SVN revision: 81320
Diffstat (limited to 'data/themes/edc')
-rw-r--r--data/themes/edc/tasks.edc39
1 files changed, 38 insertions, 1 deletions
diff --git a/data/themes/edc/tasks.edc b/data/themes/edc/tasks.edc
index fe4fa2f47..1a31cfb0a 100644
--- a/data/themes/edc/tasks.edc
+++ b/data/themes/edc/tasks.edc
@@ -115,7 +115,7 @@ group { name:"e/modules/tasks/item";
115 description { state: "default" 0.0; 115 description { state: "default" 0.0;
116 rel1.relative: 1.0 0.0; 116 rel1.relative: 1.0 0.0;
117 rel1.offset: 2 3; 117 rel1.offset: 2 3;
118 rel1.to_x: "icon"; 118 rel1.to_x: "icon2";
119 rel1.to_y: "sel_base"; 119 rel1.to_y: "sel_base";
120 rel2.offset: -5 -5; 120 rel2.offset: -5 -5;
121 rel2.to: "sel_base"; 121 rel2.to: "sel_base";
@@ -144,6 +144,31 @@ group { name:"e/modules/tasks/item";
144 rel2.offset: 3 -4; 144 rel2.offset: 3 -4;
145 rel2.to: "sel_base"; 145 rel2.to: "sel_base";
146 } 146 }
147 description { state: "icon_only" 0.0;
148 inherit: "default" 0.0;
149 align: 0.5 0.5;
150 rel1.offset: 2 2;
151 rel2.relative: 1.0 1.0;
152 rel2.offset: -3 -3;
153 }
154 description { state: "text_only" 0.0;
155 inherit: "default" 0.0;
156 fixed: 1 1;
157 }
158 }
159 part { name: "icon2"; type: SPACER;
160 description { state: "default" 0.0;
161 rel1.to: "icon";
162 rel2.to: "icon";
163 }
164 description { state: "icon_only" 0.0;
165 inherit: "default" 0.0;
166 }
167 description { state: "text_only" 0.0;
168 inherit: "default" 0.0;
169 fixed: 1 1;
170 rel2.relative: 0.0 1.0;
171 }
147 } 172 }
148 part { name: "icon_clip"; type: RECT; 173 part { name: "icon_clip"; type: RECT;
149 description { state: "default" 0.0; 174 description { state: "default" 0.0;
@@ -317,6 +342,18 @@ group { name:"e/modules/tasks/item";
317 target: "e.text.label"; 342 target: "e.text.label";
318 target: "icon_clip"; 343 target: "icon_clip";
319 } 344 }
345 program {
346 signal: "e,state,icon_only"; source: "e";
347 action: STATE_SET "icon_only" 0.0;
348 target: "icon";
349 target: "icon2";
350 }
351 program {
352 signal: "e,state,text_only"; source: "e";
353 action: STATE_SET "text_only" 0.0;
354 target: "icon";
355 target: "icon2";
356 }
320 } 357 }
321} 358}
322 359