summaryrefslogtreecommitdiff
path: root/data/elementary/themes
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-04-26 23:08:44 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-04-26 23:08:44 +0100
commitc3b576f26fb61ab5da0c69acf6353790cc242d56 (patch)
treed03eba985035a112042319dff389646745286398 /data/elementary/themes
parent1ac4e844b242fa0d2b143e412434bf50420a142c (diff)
TH - efm - try provide more space for multi-line filenames
Diffstat (limited to 'data/elementary/themes')
-rw-r--r--data/elementary/themes/edc/fileman.edc182
1 files changed, 72 insertions, 110 deletions
diff --git a/data/elementary/themes/edc/fileman.edc b/data/elementary/themes/edc/fileman.edc
index a9f18913bf..e4fb816b21 100644
--- a/data/elementary/themes/edc/fileman.edc
+++ b/data/elementary/themes/edc/fileman.edc
@@ -81,8 +81,7 @@ group { name: "e/fileman/default/list/variable";
81 part { name: "icon"; type: SPACER; 81 part { name: "icon"; type: SPACER;
82 description { state: "default" 0.0; 82 description { state: "default" 0.0;
83 aspect: 1.0 1.0; aspect_preference: BOTH; 83 aspect: 1.0 1.0; aspect_preference: BOTH;
84 rel1.to: "icon0"; 84 rel.to: "icon0";
85 rel2.to: "icon0";
86 } 85 }
87 description { state: "start" 0.0; 86 description { state: "start" 0.0;
88 inherit: "default" 0.0; 87 inherit: "default" 0.0;
@@ -107,8 +106,7 @@ group { name: "e/fileman/default/list/variable";
107 part { name: "icon_base"; type: RECT; mouse_events: 0; 106 part { name: "icon_base"; type: RECT; mouse_events: 0;
108 description { state: "default" 0.0; 107 description { state: "default" 0.0;
109 color: 48 48 48 255; 108 color: 48 48 48 255;
110 rel1.to: "e.swallow.icon"; 109 rel.to: "e.swallow.icon";
111 rel2.to: "e.swallow.icon";
112 visible: 0; 110 visible: 0;
113 } 111 }
114 description { state: "start" 0.0; 112 description { state: "start" 0.0;
@@ -129,8 +127,7 @@ group { name: "e/fileman/default/list/variable";
129 image.normal: "speaker_vol.png"; 127 image.normal: "speaker_vol.png";
130 FIXED_SIZE(7, 7) 128 FIXED_SIZE(7, 7)
131 rel1.relative: 1.0 1.0; 129 rel1.relative: 1.0 1.0;
132 rel1.to: "e.swallow.icon"; 130 rel.to: "e.swallow.icon";
133 rel2.to: "e.swallow.icon";
134 color: 255 255 255 128; 131 color: 255 255 255 128;
135 visible: 0; 132 visible: 0;
136 fixed: 1 1; 133 fixed: 1 1;
@@ -189,50 +186,43 @@ group { name: "e/fileman/default/list/variable";
189 } 186 }
190 part { name: "label_event"; type: RECT; 187 part { name: "label_event"; type: RECT;
191 ignore_flags: ON_HOLD; 188 ignore_flags: ON_HOLD;
189 scale: 1;
192 description { state: "default" 0.0; 190 description { state: "default" 0.0;
193 color: 0 0 0 0; 191 color: 0 0 0 0;
194 rel1.to: "e.text.label"; 192 rel1.to_x: "e.text.label";
195 rel1.relative: 0.0 0.2; 193 rel1.offset: -5 0;
196 rel1.offset: -3 0; 194 offscale;
197 rel2.to: "e.text.label";
198 rel2.relative: 1.0 0.8;
199 } 195 }
200 } 196 }
201 part { name: "e.swallow.entry"; type: SWALLOW; 197 part { name: "e.swallow.entry"; type: SWALLOW;
202 description {state: "default" 0.0; 198 description {state: "default" 0.0;
203 rel1.to: "e.text.label"; 199 rel.to: "e.text.label";
204 rel2.to: "e.text.label";
205 } 200 }
206 } 201 }
207 } 202 }
208 programs { 203 programs {
209 program { 204 program { signal: "e,state,selected"; source: "e";
210 signal: "e,state,selected"; source: "e";
211 action: STATE_SET "selected" 0.0; 205 action: STATE_SET "selected" 0.0;
212 target: "sel_base"; 206 target: "sel_base";
213 target: "e.text.label"; 207 target: "e.text.label";
214 } 208 }
215 program { 209 program { signal: "e,state,unselected"; source: "e";
216 signal: "e,state,unselected"; source: "e";
217 action: STATE_SET "default" 0.0; 210 action: STATE_SET "default" 0.0;
218 target: "sel_base"; 211 target: "sel_base";
219 target: "e.text.label"; 212 target: "e.text.label";
220 } 213 }
221 program { 214 program { signal: "mouse,down,1"; source: "label_event";
222 signal: "mouse,down,1"; source: "label_event";
223 script { 215 script {
224 set_int(longpressed, 0); 216 set_int(longpressed, 0);
225 } 217 }
226 } 218 }
227 program { name: "rename1"; 219 program { signal: "mouse,down,1"; source: "label_event";
228 signal: "mouse,down,1"; source: "label_event";
229 in: 0.4 0.0; 220 in: 0.4 0.0;
230 script { 221 script {
231 set_int(longpressed, 1); 222 set_int(longpressed, 1);
232 } 223 }
233 } 224 }
234 program { name: "rename2"; 225 program { signal: "mouse,up,1"; source: "label_event";
235 signal: "mouse,up,1"; source: "label_event";
236 script { 226 script {
237 if (get_int(longpressed)) { 227 if (get_int(longpressed)) {
238 set_int(longpressed, 0); 228 set_int(longpressed, 0);
@@ -240,16 +230,14 @@ group { name: "e/fileman/default/list/variable";
240 } 230 }
241 } 231 }
242 } 232 }
243 program { 233 program { signal: "e,action,thumb,gen"; source: "e";
244 signal: "e,action,thumb,gen"; source: "e";
245 action: STATE_SET "start" 0.0; 234 action: STATE_SET "start" 0.0;
246 target: "icon"; 235 target: "icon";
247 target: "icon_base"; 236 target: "icon_base";
248 target: "shadow"; 237 target: "shadow";
249 after: "gen"; 238 after: "gen";
250 } 239 }
251 program { 240 program { signal: "e,action,thumb,gen,alpha"; source: "e";
252 signal: "e,action,thumb,gen,alpha"; source: "e";
253 action: STATE_SET "start" 0.0; 241 action: STATE_SET "start" 0.0;
254 target: "icon"; 242 target: "icon";
255 target: "icon_base"; 243 target: "icon_base";
@@ -261,33 +249,27 @@ group { name: "e/fileman/default/list/variable";
261 transition: SPRING 0.4 1.7 5; 249 transition: SPRING 0.4 1.7 5;
262 target: "icon"; 250 target: "icon";
263 } 251 }
264 program { 252 program { signal: "e,state,ask"; source: "e";
265 signal: "e,state,ask"; source: "e";
266 action: STATE_SET "ask" 0.0; 253 action: STATE_SET "ask" 0.0;
267 target: "op"; 254 target: "op";
268 } 255 }
269 program { 256 program { signal: "e,state,move"; source: "e";
270 signal: "e,state,move"; source: "e";
271 action: STATE_SET "move" 0.0; 257 action: STATE_SET "move" 0.0;
272 target: "op"; 258 target: "op";
273 } 259 }
274 program { 260 program { signal: "e,state,copy"; source: "e";
275 signal: "e,state,copy"; source: "e";
276 action: STATE_SET "copy" 0.0; 261 action: STATE_SET "copy" 0.0;
277 target: "op"; 262 target: "op";
278 } 263 }
279 program { 264 program { signal: "e,state,volume,off"; source: "e";
280 signal: "e,state,volume,off"; source: "e";
281 action: STATE_SET "default" 0.0; 265 action: STATE_SET "default" 0.0;
282 target: "vol"; 266 target: "vol";
283 } 267 }
284 program { 268 program { signal: "e,state,volume,unmounted"; source: "e";
285 signal: "e,state,volume,unmounted"; source: "e";
286 action: STATE_SET "unmounted" 0.0; 269 action: STATE_SET "unmounted" 0.0;
287 target: "vol"; 270 target: "vol";
288 } 271 }
289 program { 272 program { signal: "e,state,volume,mounted"; source: "e";
290 signal: "e,state,volume,mounted"; source: "e";
291 action: STATE_SET "mounted" 0.0; 273 action: STATE_SET "mounted" 0.0;
292 target: "vol"; 274 target: "vol";
293 } 275 }
@@ -348,15 +330,24 @@ group { name: "e/fileman/default/icon/fixed";
348 } 330 }
349 } 331 }
350////////////////////////////// 332//////////////////////////////
351 part { name: "label0"; type: SPACER; 333 part { name: "label0"; type: TEXT;
352 scale: 1; 334 scale: 1;
353 description { state: "default" 0.0; 335 description { state: "default" 0.0;
354 align: 0.5 1.0; 336 align: 0.5 1.0;
337 rel1.relative: 0.0 1.0;
355 rel1.offset: 4 -5; 338 rel1.offset: 4 -5;
356 rel2.offset: -5 -5; 339 rel2.offset: -5 -5;
357 min: 0 10; 340 min: 20 12;
358 max: 99999 28;
359 fixed: 0 1; 341 fixed: 0 1;
342 text {
343 text_class: "fileman_icon";
344 font: FN; size: 10;
345 min: 0 1;
346 }
347// text.text: "XXXX";
348// visible: 1;
349// color: 255 0 0 255;
350 offscale;
360 } 351 }
361 } 352 }
362 part { name: "e.text.label"; type: TEXTBLOCK; mouse_events: 0; 353 part { name: "e.text.label"; type: TEXTBLOCK; mouse_events: 0;
@@ -364,8 +355,8 @@ group { name: "e/fileman/default/icon/fixed";
364 clip_to: "textmaster"; 355 clip_to: "textmaster";
365 description { state: "default" 0.0; 356 description { state: "default" 0.0;
366 align: 0.5 0.0; 357 align: 0.5 0.0;
367 rel1.to: "label0"; 358 rel.to: "label0";
368 rel2.to: "label0"; 359 rel1.relative: 0.0 -1.2;
369 text { 360 text {
370 style: "fileman_icon_name"; 361 style: "fileman_icon_name";
371 align: 0.5 0.0; 362 align: 0.5 0.0;
@@ -388,18 +379,19 @@ group { name: "e/fileman/default/icon/fixed";
388 } 379 }
389////////////////////////// 380//////////////////////////
390 part { name: "icon0"; type: SPACER; 381 part { name: "icon0"; type: SPACER;
382 scale: 1;
391 description { state: "default" 0.0; 383 description { state: "default" 0.0;
392 rel1.offset: 4 4; 384 rel1.offset: 4 4;
393 rel2.relative: 1.0 0.0; 385 rel2.relative: 1.0 -1.2;
394 rel2.offset: -5 -1; 386 rel2.offset: -5 -5;
395 rel2.to_y: "label0"; 387 rel2.to_y: "label0";
388 offscale;
396 } 389 }
397 } 390 }
398 part { name: "icon"; type: SPACER; 391 part { name: "icon"; type: SPACER;
399 description { state: "default" 0.0; 392 description { state: "default" 0.0;
400 aspect: 1.0 1.0; aspect_preference: BOTH; 393 aspect: 1.0 1.0; aspect_preference: BOTH;
401 rel1.to: "icon0"; 394 rel.to: "icon0";
402 rel2.to: "icon0";
403 } 395 }
404 description { state: "start" 0.0; 396 description { state: "start" 0.0;
405 inherit: "default" 0.0; 397 inherit: "default" 0.0;
@@ -423,8 +415,7 @@ group { name: "e/fileman/default/icon/fixed";
423 part { name: "icon_base"; type: RECT; mouse_events: 0; 415 part { name: "icon_base"; type: RECT; mouse_events: 0;
424 description { state: "default" 0.0; 416 description { state: "default" 0.0;
425 color: 48 48 48 255; 417 color: 48 48 48 255;
426 rel1.to: "e.swallow.icon"; 418 rel.to: "e.swallow.icon";
427 rel2.to: "e.swallow.icon";
428 visible: 0; 419 visible: 0;
429 } 420 }
430 description { state: "start" 0.0; 421 description { state: "start" 0.0;
@@ -434,8 +425,7 @@ group { name: "e/fileman/default/icon/fixed";
434 } 425 }
435 part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0; 426 part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0;
436 description { state: "default" 0.0; 427 description { state: "default" 0.0;
437 rel1.to: "icon"; 428 rel.to: "icon";
438 rel2.to: "icon";
439 } 429 }
440 } 430 }
441 part { name: "vol"; mouse_events: 0; 431 part { name: "vol"; mouse_events: 0;
@@ -444,8 +434,7 @@ group { name: "e/fileman/default/icon/fixed";
444 image.normal: "speaker_vol.png"; 434 image.normal: "speaker_vol.png";
445 FIXED_SIZE(7, 7) 435 FIXED_SIZE(7, 7)
446 rel1.relative: 1.0 1.0; 436 rel1.relative: 1.0 1.0;
447 rel1.to: "e.swallow.icon"; 437 rel.to: "e.swallow.icon";
448 rel2.to: "e.swallow.icon";
449 color: 255 255 255 128; 438 color: 255 255 255 128;
450 visible: 0; 439 visible: 0;
451 fixed: 1 1; 440 fixed: 1 1;
@@ -496,68 +485,57 @@ group { name: "e/fileman/default/icon/fixed";
496 ignore_flags: ON_HOLD; 485 ignore_flags: ON_HOLD;
497 description { state: "default" 0.0; 486 description { state: "default" 0.0;
498 color: 0 0 0 0; 487 color: 0 0 0 0;
499 rel1.to: "icon0"; 488 rel.to: "icon0";
500 rel2.to: "icon0";
501 rel1.relative: 0.1 0.1;
502 rel2.relative: 0.9 0.9;
503 rel2.offset: 0 5;
504 } 489 }
505 } 490 }
506 part { name: "label_event"; type: RECT; 491 part { name: "label_event"; type: RECT;
507 ignore_flags: ON_HOLD; 492 ignore_flags: ON_HOLD;
493 scale: 1;
508 description { state: "default" 0.0; 494 description { state: "default" 0.0;
509 color: 0 0 0 0; 495 color: 0 0 0 0;
510 rel1.to: "e.text.label"; 496 rel.to: "e.text.label";
511 rel2.to: "e.text.label"; 497 rel1.offset: -5 -5;
512 rel1.relative: 0.1 0.0; 498 rel2.offset: 4 4;
513 rel2.relative: 0.9 0.9; 499 offscale;
514 } 500 }
515 } 501 }
516 part { name: "e.swallow.entry"; type: SWALLOW; 502 part { name: "e.swallow.entry"; type: SWALLOW;
517 description {state: "default" 0.0; 503 description {state: "default" 0.0;
518 rel1.to: "label0"; 504 rel.to: "label_event";
519 rel2.to: "label0";
520 } 505 }
521 } 506 }
522 } 507 }
523 programs { 508 programs {
524 program { name: "rename-on"; 509 program { signal: "e,state,rename,on"; source: "e";
525 signal: "e,state,rename,on"; source: "e";
526 action: STATE_SET "hidden" 0.0; 510 action: STATE_SET "hidden" 0.0;
527 target: "textmaster"; 511 target: "textmaster";
528 } 512 }
529 program { name: "rename-off"; 513 program { signal: "e,state,rename,off"; source: "e";
530 signal: "e,state,rename,off"; source: "e";
531 action: STATE_SET "default" 0.0; 514 action: STATE_SET "default" 0.0;
532 target: "textmaster"; 515 target: "textmaster";
533 } 516 }
534 program { 517 program { signal: "e,state,selected"; source: "e";
535 signal: "e,state,selected"; source: "e";
536 action: STATE_SET "selected" 0.0; 518 action: STATE_SET "selected" 0.0;
537 target: "e.text.label"; 519 target: "e.text.label";
538 target: "base"; 520 target: "base";
539 } 521 }
540 program { 522 program { signal: "e,state,unselected"; source: "e";
541 signal: "e,state,unselected"; source: "e";
542 action: STATE_SET "default" 0.0; 523 action: STATE_SET "default" 0.0;
543 target: "e.text.label"; 524 target: "e.text.label";
544 target: "base"; 525 target: "base";
545 } 526 }
546 program { 527 program { signal: "mouse,down,1"; source: "label_event";
547 signal: "mouse,down,1"; source: "label_event";
548 script { 528 script {
549 set_int(longpressed, 0); 529 set_int(longpressed, 0);
550 } 530 }
551 } 531 }
552 program { name: "rename1"; 532 program { signal: "mouse,down,1"; source: "label_event";
553 signal: "mouse,down,1"; source: "label_event";
554 in: 0.4 0.0; 533 in: 0.4 0.0;
555 script { 534 script {
556 set_int(longpressed, 1); 535 set_int(longpressed, 1);
557 } 536 }
558 } 537 }
559 program { name: "rename2"; 538 program { signal: "mouse,up,1"; source: "label_event";
560 signal: "mouse,up,1"; source: "label_event";
561 script { 539 script {
562 if (get_int(longpressed)) { 540 if (get_int(longpressed)) {
563 set_int(longpressed, 0); 541 set_int(longpressed, 0);
@@ -565,16 +543,14 @@ group { name: "e/fileman/default/icon/fixed";
565 } 543 }
566 } 544 }
567 } 545 }
568 program { 546 program { signal: "e,action,thumb,gen"; source: "e";
569 signal: "e,action,thumb,gen"; source: "e";
570 action: STATE_SET "start" 0.0; 547 action: STATE_SET "start" 0.0;
571 target: "icon"; 548 target: "icon";
572 target: "icon_base"; 549 target: "icon_base";
573 target: "icon_shadow"; 550 target: "icon_shadow";
574 after: "gen"; 551 after: "gen";
575 } 552 }
576 program { 553 program { signal: "e,action,thumb,gen,alpha"; source: "e";
577 signal: "e,action,thumb,gen,alpha"; source: "e";
578 action: STATE_SET "start" 0.0; 554 action: STATE_SET "start" 0.0;
579 target: "icon"; 555 target: "icon";
580 target: "icon_base"; 556 target: "icon_base";
@@ -586,33 +562,27 @@ group { name: "e/fileman/default/icon/fixed";
586 transition: SPRING 0.4 1.7 5; 562 transition: SPRING 0.4 1.7 5;
587 target: "icon"; 563 target: "icon";
588 } 564 }
589 program { 565 program { signal: "e,state,ask"; source: "e";
590 signal: "e,state,ask"; source: "e";
591 action: STATE_SET "ask" 0.0; 566 action: STATE_SET "ask" 0.0;
592 target: "op"; 567 target: "op";
593 } 568 }
594 program { 569 program { signal: "e,state,move"; source: "e";
595 signal: "e,state,move"; source: "e";
596 action: STATE_SET "move" 0.0; 570 action: STATE_SET "move" 0.0;
597 target: "op"; 571 target: "op";
598 } 572 }
599 program { 573 program { signal: "e,state,copy"; source: "e";
600 signal: "e,state,copy"; source: "e";
601 action: STATE_SET "copy" 0.0; 574 action: STATE_SET "copy" 0.0;
602 target: "op"; 575 target: "op";
603 } 576 }
604 program { 577 program { signal: "e,state,volume,off"; source: "e";
605 signal: "e,state,volume,off"; source: "e";
606 action: STATE_SET "default" 0.0; 578 action: STATE_SET "default" 0.0;
607 target: "vol"; 579 target: "vol";
608 } 580 }
609 program { 581 program { signal: "e,state,volume,unmounted"; source: "e";
610 signal: "e,state,volume,unmounted"; source: "e";
611 action: STATE_SET "unmounted" 0.0; 582 action: STATE_SET "unmounted" 0.0;
612 target: "vol"; 583 target: "vol";
613 } 584 }
614 program { 585 program { signal: "e,state,volume,mounted"; source: "e";
615 signal: "e,state,volume,mounted"; source: "e";
616 action: STATE_SET "mounted" 0.0; 586 action: STATE_SET "mounted" 0.0;
617 target: "vol"; 587 target: "vol";
618 } 588 }
@@ -631,13 +601,14 @@ group { name: "e/fileman/desktop/icon/fixed";
631 part { name: "back"; type: RECT; mouse_events: 0; 601 part { name: "back"; type: RECT; mouse_events: 0;
632 insert_before: "e.text.label"; 602 insert_before: "e.text.label";
633 clip_to: "textmaster"; 603 clip_to: "textmaster";
604 scale: 1;
634 description { state: "default" 0.0; 605 description { state: "default" 0.0;
606 rel.to: "labelmin";
635 rel1.offset: -3 -3; 607 rel1.offset: -3 -3;
636 rel1.to: "labelmin";
637 rel2.offset: 2 2; 608 rel2.offset: 2 2;
638 rel2.to: "labelmin";
639 color: 0 0 0 128; 609 color: 0 0 0 128;
640 fixed: 1 1; 610 fixed: 1 1;
611 offscale;
641 } 612 }
642 description { state: "selected" 0.0; 613 description { state: "selected" 0.0;
643 inherit: "default" 0.0; 614 inherit: "default" 0.0;
@@ -649,8 +620,7 @@ group { name: "e/fileman/desktop/icon/fixed";
649 scale: 1; 620 scale: 1;
650 description { state: "default" 0.0; 621 description { state: "default" 0.0;
651 align: 0.5 0.0; 622 align: 0.5 0.0;
652 rel1.to: "label0"; 623 rel.to: "e.text.label";
653 rel2.to: "label0";
654 text { 624 text {
655 style: "fileman_icon_name"; 625 style: "fileman_icon_name";
656 align: 0.5 0.0; 626 align: 0.5 0.0;
@@ -659,26 +629,18 @@ group { name: "e/fileman/desktop/icon/fixed";
659 max: 0 1; 629 max: 0 1;
660 } 630 }
661 fixed: 1 1; 631 fixed: 1 1;
662 visible: 1; 632 visible: 0;
663 }
664 description { state: "selected" 0.0;
665 inherit: "default" 0.0;
666 text.style: "fileman_icon_name_selected";
667 } 633 }
668 } 634 }
669 } 635 }
670 programs { 636 programs {
671 program { 637 program { signal: "e,state,selected"; source: "e";
672 signal: "e,state,selected"; source: "e";
673 action: STATE_SET "selected" 0.0; 638 action: STATE_SET "selected" 0.0;
674 target: "back"; 639 target: "back";
675 target: "labelmin";
676 } 640 }
677 program { 641 program { signal: "e,state,unselected"; source: "e";
678 signal: "e,state,unselected"; source: "e";
679 action: STATE_SET "default" 0.0; 642 action: STATE_SET "default" 0.0;
680 target: "back"; 643 target: "back";
681 target: "labelmin";
682 } 644 }
683 } 645 }
684} 646}