Enlightenment CVS committal Author : devilhorns Project : e_modules Module : mail
Dir : e_modules/mail Modified Files: e_mod_main.c Log Message: Can only check mail via click if it's pop or imap. =================================================================== RCS file: /cvs/e/e_modules/mail/e_mod_main.c,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- e_mod_main.c 7 Jun 2006 19:43:59 -0000 1.1 +++ e_mod_main.c 7 Jun 2006 21:15:06 -0000 1.2 @@ -131,7 +131,7 @@ gcc->data = inst; inst->gcc = gcc; inst->mail_obj = o; - + if (ci->type == MAIL_TYPE_MDIR) inst->monitor = ecore_file_monitor_add(ci->path, _mail_mdir_check, inst); else if (ci->type == MAIL_TYPE_MBOX) @@ -247,7 +247,8 @@ ev->timestamp); evas_event_feed_mouse_up(inst->gcc->gadcon->evas, ev->button, EVAS_BUTTON_NONE, ev->timestamp, NULL); } - else if ((ev->button == 1) && (inst)) + else if ((ev->button == 1) && (inst) && + ((ci->type == 0) || (ci->type == 1))) _mail_cb_check(inst); } @@ -796,8 +797,6 @@ inst = data; if (!inst) return; - printf("New: %d\n", n); - ci = _mail_config_item_get(inst->gcc->id); edje_object_part_text_set(inst->mail->mail_obj, "name", ci->user); _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs