Commit Graph

24 Commits

Author SHA1 Message Date
Christopher Michael 4c01d010bf Fix centering label in the module.
Reset mail count to zero on call to check mail so that we only get total of
new mail. During checks, add new mail count to the total.

SVN revision: 23399
2006-06-12 20:45:10 +00:00
Christopher Michael 7389749571 Ok, pop mail now works again :)
General bug fixes when setting mail count on the module.
Minor edc changes.
Better cleanup when closing the module.

SVN revision: 23396
2006-06-12 10:03:52 +00:00
Christopher Michael 5f92b6ff6c Split mail checking code into seperate files for easier fixes.
When checking imap servers, if accounts use the same server, then only
connect once and check all the boxes for this server. Englebass, I think
this is what you meant :)

Some edc changes.

SVN revision: 23381
2006-06-11 17:41:42 +00:00
Christopher Michael 0ae1226e2a Also make sure we delete the exe event handler is a mailbox is removed.
SVN revision: 23361
2006-06-10 18:05:08 +00:00
Christopher Michael 599f5c20f8 Some code cleanup:
- When creating new mailboxes in config, create the server handlers if

SVN revision: 23360
2006-06-10 17:59:31 +00:00
Christopher Michael d62a36068e If we have no mail, clear all the text when setting no mail icon.
Center the mail count in the edc.

SVN revision: 23354
2006-06-10 14:43:13 +00:00
Christopher Michael 6a74279649 Make event handlers be per instance. This fixes a problem on shutdown when
trying to delete the event handlers.

SVN revision: 23353
2006-06-10 14:12:26 +00:00
Christopher Michael 217abbac3e Multiple Fixes:
- Stop changing icons when we check the mail and only set to new
mail icon if we actually have mail. Thanks HandAndE :)
     - Only create one ecore_con_server to handle all accounts. Thanks
englebass :)

SVN revision: 23352
2006-06-10 12:35:33 +00:00
Christopher Michael 9c52327d4d Changed label to now read #new/#total instead of New: #.
SVN revision: 23325
2006-06-09 08:38:11 +00:00
Christopher Michael 48d14d39f2 Many fixes:
-Fix config dialog to allow changing current path for maildir.
     -When add/del accounts, setup those accounts to get new mail.
     -Mailbox list in menu now reflects accounts that have been add/del.

SVN revision: 23317
2006-06-08 22:32:35 +00:00
Christopher Michael da2df4346b May help to actually return the mail counts instead of always 0, doh :)
SVN revision: 23313
2006-06-08 21:05:33 +00:00
Christopher Michael 464274dae7 Fix merge errors. Should build now.
SVN revision: 23312
2006-06-08 20:37:03 +00:00
Christopher Michael 1eb4de6377 Ok, mail module can now do multiple accounts per instance.
Remove old module.mail.cfg before running or bad things will happen.

SVN revision: 23310
2006-06-08 20:20:07 +00:00
Christopher Michael 1ea125de22 Too many conflicts during merge. Will readd the updated files.
SVN revision: 23309
2006-06-08 20:18:57 +00:00
Christopher Michael 81fde6e7a3 Dont set mail count to 0 nor icon to no mail on every poll, just set them if
there is no mail.

SVN revision: 23284
2006-06-08 11:01:00 +00:00
Christopher Michael 61dfd566de Better labels for HandyAndE.. label will now show new/total, not seperate
labels for each.

SVN revision: 23283
2006-06-08 10:35:17 +00:00
Christopher Michael 8ed394eec8 Now state management should work as expected.
SVN revision: 23279
2006-06-08 09:25:51 +00:00
Christopher Michael e7675b48b5 Use explicit state management rather than incrementing for both pop and imap.
SVN revision: 23278
2006-06-08 09:14:06 +00:00
Christopher Michael e8013c0717 Fix potential imap issue. Wrong state was getting set.
SVN revision: 23277
2006-06-08 09:02:34 +00:00
Christopher Michael 96848c5213 Make sure we disconnect on pop completion, or thunderbird causes "Mailbox
Locked" messages.

SVN revision: 23264
2006-06-07 22:34:08 +00:00
Christopher Michael ed15317206 Don't launch exec unless there is new mail.
SVN revision: 23261
2006-06-07 22:20:21 +00:00
Christopher Michael 141519ee74 Added port and ssl as a config option.
Removed some frees in e_mod_config that may have been causing segfaults.

Users will need to remove old module config.

SVN revision: 23256
2006-06-07 21:47:57 +00:00
Christopher Michael 586168de77 Can only check mail via click if it's pop or imap.
SVN revision: 23248
2006-06-07 21:15:06 +00:00
Christopher Michael aefa27599a Added mail module based on embrace code (Thanks Tilman :) )
Can check pop3, imap, mailbox, and mdir.
Needs testing with imap, mailbox and mdir.

Edc needs some work, I'm not entirely happy with it, but the module is in
for testing and feedback.

SVN revision: 23247
2006-06-07 19:43:59 +00:00