Enlightenment CVS committal Author : devilhorns Project : e_modules Module : mail
Dir : e_modules/mail Modified Files: e_mod_main.c mail.edc Log Message: If we have no mail, clear all the text when setting no mail icon. Center the mail count in the edc. =================================================================== RCS file: /cvs/e/e_modules/mail/e_mod_main.c,v retrieving revision 1.18 retrieving revision 1.19 diff -u -3 -r1.18 -r1.19 --- e_mod_main.c 10 Jun 2006 14:12:26 -0000 1.18 +++ e_mod_main.c 10 Jun 2006 14:43:13 -0000 1.19 @@ -952,8 +952,12 @@ 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 =================================================================== RCS file: /cvs/e/e_modules/mail/mail.edc,v retrieving revision 1.8 retrieving revision 1.9 diff -u -3 -r1.8 -r1.9 --- mail.edc 10 Jun 2006 12:35:33 -0000 1.8 +++ mail.edc 10 Jun 2006 14:43:13 -0000 1.9 @@ -105,7 +105,7 @@ font: "VeraBold"; size: 10; min: 1 1; - align: 1.0 0.5; + align: 0.5 0.5; text_class: "module_normal"; } } _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs