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

Center the mail count in the edc.


SVN revision: 23354
master
Christopher Michael 18 years ago
parent 6a74279649
commit d62a36068e
  1. 8
      e_mod_main.c
  2. 2
      mail.edc

@ -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

@ -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";
}
}

Loading…
Cancel
Save