Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : mail

Dir     : e_modules/mail


Modified Files:
        e_mod_main.c 


Log Message:
Only need to set "checking" state if we have pop or imap.

===================================================================
RCS file: /cvs/e/e_modules/mail/e_mod_main.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -3 -r1.33 -r1.34
--- e_mod_main.c        19 Jul 2006 17:07:02 -0000      1.33
+++ e_mod_main.c        19 Jul 2006 17:29:32 -0000      1.34
@@ -545,8 +545,6 @@
   if (!ci->boxes)
     return 1;
 
-  edje_object_signal_emit (inst->mail->mail_obj, "check_mail", "");
-
   for (l = ci->boxes; l; l = l->next)
     {
       Config_Box *cb;
@@ -568,11 +566,15 @@
          break;
        }
     }
-  if (have_imap)
-    _mail_imap_check_mail (inst);
-  if (have_pop)
-    _mail_pop_check_mail (inst);
-  return 1;
+
+   if ((have_imap) || (have_pop))
+     edje_object_signal_emit (inst->mail->mail_obj, "check_mail", "");
+     
+   if (have_imap)
+     _mail_imap_check_mail (inst);
+   if (have_pop)
+     _mail_pop_check_mail (inst);
+   return 1;
 }
 
 void



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to