If we have no mail, clear all the text when setting no mail icon.

Center the mail count in the edc.


SVN revision: 23354
This commit is contained in:
Christopher Michael 2006-06-10 14:43:13 +00:00
parent 6a74279649
commit d62a36068e
2 changed files with 7 additions and 3 deletions

View File

@ -952,8 +952,12 @@ _mail_set_text(void *data)
if (count > 0)
edje_object_signal_emit(inst->mail->mail_obj, "new_mail", "");
else
edje_object_signal_emit(inst->mail->mail_obj, "no_mail", "");
else
{
edje_object_signal_emit(inst->mail->mail_obj, "no_mail", "");
edje_object_part_text_set(inst->mail->mail_obj, "name", "");
edje_object_part_text_set(inst->mail->mail_obj, "new_label", "");
}
}
static int

View File

@ -105,7 +105,7 @@ collections
font: "VeraBold";
size: 10;
min: 1 1;
align: 1.0 0.5;
align: 0.5 0.5;
text_class: "module_normal";
}
}