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:
parent
6a74279649
commit
d62a36068e
|
@ -952,8 +952,12 @@ _mail_set_text(void *data)
|
||||||
|
|
||||||
if (count > 0)
|
if (count > 0)
|
||||||
edje_object_signal_emit(inst->mail->mail_obj, "new_mail", "");
|
edje_object_signal_emit(inst->mail->mail_obj, "new_mail", "");
|
||||||
else
|
else
|
||||||
edje_object_signal_emit(inst->mail->mail_obj, "no_mail", "");
|
{
|
||||||
|
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
|
static int
|
||||||
|
|
Loading…
Reference in New Issue