Better icons.
Add a "checking" state to show it's doing something. SVN revision: 23446
This commit is contained in:
parent
008ccca44d
commit
c2dd83f97c
Binary file not shown.
|
@ -490,6 +490,9 @@ _mail_cb_check(void *data)
|
||||||
|
|
||||||
ci = _mail_config_item_get(inst->gcc->id);
|
ci = _mail_config_item_get(inst->gcc->id);
|
||||||
if (!ci->boxes) return 1;
|
if (!ci->boxes) return 1;
|
||||||
|
|
||||||
|
edje_object_signal_emit(inst->mail->mail_obj, "check_mail", "");
|
||||||
|
|
||||||
for (l = ci->boxes; l; l = l->next)
|
for (l = ci->boxes; l; l = l->next)
|
||||||
{
|
{
|
||||||
Config_Box *cb;
|
Config_Box *cb;
|
||||||
|
|
20
mail.edc
20
mail.edc
|
@ -6,6 +6,7 @@ images
|
||||||
{
|
{
|
||||||
image: "module_icon.png" COMP;
|
image: "module_icon.png" COMP;
|
||||||
image: "newmail.png" COMP;
|
image: "newmail.png" COMP;
|
||||||
|
image: "checking.png" COMP;
|
||||||
}
|
}
|
||||||
|
|
||||||
collections
|
collections
|
||||||
|
@ -50,7 +51,16 @@ collections
|
||||||
{
|
{
|
||||||
normal: "newmail.png";
|
normal: "newmail.png";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
description
|
||||||
|
{
|
||||||
|
state: "checking" 0.0;
|
||||||
|
inherit: "default" 0.0;
|
||||||
|
image
|
||||||
|
{
|
||||||
|
normal: "checking.png";
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
part
|
part
|
||||||
{
|
{
|
||||||
|
@ -129,6 +139,14 @@ collections
|
||||||
transition: SINUSOIDAL 0.5;
|
transition: SINUSOIDAL 0.5;
|
||||||
target: "logo";
|
target: "logo";
|
||||||
}
|
}
|
||||||
|
program
|
||||||
|
{
|
||||||
|
name: "go_check";
|
||||||
|
signal: "check_mail";
|
||||||
|
action: STATE_SET "checking" 0.0;
|
||||||
|
transition: SINUSOIDAL 0.5;
|
||||||
|
target: "logo";
|
||||||
|
}
|
||||||
program
|
program
|
||||||
{
|
{
|
||||||
name: "go_no";
|
name: "go_no";
|
||||||
|
|
BIN
module.eap
BIN
module.eap
Binary file not shown.
BIN
module_icon.png
BIN
module_icon.png
Binary file not shown.
BIN
newmail.png
BIN
newmail.png
Binary file not shown.
Loading…
Reference in New Issue