Show that a window is shaded in type icon

SVN revision: 15333
This commit is contained in:
handyande 2005-06-15 10:57:35 +00:00 committed by handyande
parent abb7573d23
commit 5c49965c03
3 changed files with 21 additions and 1 deletions

View File

@ -6,6 +6,7 @@ images {
image: "e17_ibar_over_v.png" COMP;
image: "e17_gadman_overlay.png" COMP;
image: "e17_pager_window.png" COMP;
image: "e17_pager_window_shaded.png" COMP;
image: "e17_pager_desk.png" COMP;
}
@ -723,6 +724,14 @@ group {
border: 2 2 2 2;
}
}
description {
state: "shaded" 0.0;
inherit: "default" 0.0;
image {
normal: "e17_pager_window_shaded.png";
border: 6 13 9 0;
}
}
}
}
programs {
@ -740,6 +749,13 @@ group {
action: STATE_SET "invisible" 0.0;
target: "type";
}
program {
name: "type3";
signal: "shaded";
source: "";
action: STATE_SET "shaded" 0.0;
target: "type";
}
program {
name: "go_active_pre";
signal: "active";

Binary file not shown.

View File

@ -378,7 +378,11 @@ _e_winlist_border_add(E_Border *bd, E_Zone *zone, E_Desk *desk)
edje_object_part_swallow(ww->bg_object, "icon_swallow", o);
evas_object_show(o);
}
if (bd->iconic)
if (bd->shaded)
{
edje_object_signal_emit(ww->bg_object, "shaded", "");
}
else if (bd->iconic)
{
edje_object_signal_emit(ww->bg_object, "iconified", "");
}