Commit Graph

32 Commits

Author SHA1 Message Date
Christopher Michael 0e4e640217 Indent
SVN revision: 24016
2006-07-18 00:03:04 +00:00
sebastid 961e23fb01 Cleanup
SVN revision: 24010
2006-07-17 23:12:52 +00:00
Christopher Michael 5a390e6402 Avoid dangling pointers after call to free.
SVN revision: 23816
2006-07-10 17:56:27 +00:00
Christopher Michael 8e9c0020aa Make all active e_modules work with the new e_module_dialog_show function
change(s). If you get errors building these, update e17/apps/e .

SVN revision: 23661
2006-07-02 19:06:16 +00:00
Christopher Michael 10c68a45e5 Perform an initial mail check on startup for imap and pop instead of waiting
for the timer to fire.

SVN revision: 23514
2006-06-20 21:56:38 +00:00
Christopher Michael c2dd83f97c Better icons.
Add a "checking" state to show it's doing something.

SVN revision: 23446
2006-06-15 13:05:53 +00:00
Christopher Michael 8360caeef9 Remove a printf.
SVN revision: 23418
2006-06-13 13:19:11 +00:00
Christopher Michael a1c10b64ef Icon and label should now properly reflect new mail count from all mailboxes.
HandyAndE, let me know if your imap works with this or not.

SVN revision: 23417
2006-06-13 12:24:07 +00:00
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