Commit Graph

1683 Commits

Author SHA1 Message Date
ed45d23b84 Remove mail_tools_folder_to_url().
Use camel_folder_get_uri() instead.
2010-10-12 13:59:00 -04:00
4118d671d4 Composer: Show cancellable operations and errors inline.
'Send' and 'Save Draft' are now asynchronous and run outside of
Evolution's MailMsg infrastructure.

Add an EActivityBar to the composer window so these asynchronous
operations can be tracked and cancelled even in the absense of a main
window.  Also add an EAlertBar to the composer window so error messages
can be shown directly in the window.

Instead of calling e_alert_dialog_run_for_args(), call e_alert_submit()
and pass the EMsgComposer as the widget argument.  The EMsgComposer will
decide whether to show an EAlertDialog or use the EAlertBar, depending
on the GtkMessageType of the alert.
2010-10-12 13:59:00 -04:00
a06e4484b8 Give MailSession a permanent home.
Global variables in shared libraries are a bad idea.  EMailBackend now
owns the MailSession instance, which is actually now EMailSession.

Move the blocking utility functions in mail-tools.c to e-mail-session.c
and add asynchronous variants.  Same approach as Camel.

Replace EMailReader.get_shell_backend() with EMailReader.get_backend(),
which returns an EMailBackend.  Easier access to the EMailSession.
2010-10-12 13:58:59 -04:00
1c6f2d154e Bug #631320 - GtkObject is gone in GTK3 2010-10-06 19:26:08 +02:00
5bde5537b6 Bug #616250 - Restore and Backup options aren't fully descriptive 2010-10-04 16:18:01 +02:00
9675f18d91 Coding style and whitespace cleanup. 2010-10-03 13:29:20 -04:00
75b078e997 Kill em_utils_temp_save_part().
Rewrite the last usage of it in itip-formatter.c to use EAttachments
instead.  This also allowed me to kill mail_save_part() in mail-ops.c.

I may need to reevaluate the EAttachment API at some point for all these
fringe EAttachment uses we're accumulating.  Having to asynchronously
"load" an EAttachment whose content is already in memory kinda sucks.
2010-09-30 13:55:38 -04:00
e41b4083a6 camel_operation_new() now returns a GCancellable pointer. 2010-09-29 09:33:36 -04:00
c7b1343774 Bug #629799 - Crash importing a mail with an ics attachment 2010-09-29 11:32:30 +02:00
07bc66e30c Bug #630294 - Shouldn't send invitation reply when has no organizer 2010-09-29 11:20:13 +02:00
29fcf7f35f Bug #629972 - [backup-restore] Problems restoring old data 2010-09-29 09:57:36 +02:00
31b57ed038 Adapt to Camel API changes. 2010-09-28 11:35:55 -04:00
a91eeb6471 Pass GCancellable to Camel. 2010-09-28 11:35:55 -04:00
f1df51436d Bug #629737 - [publish-calendar] Could not find widget 'file_label' 2010-09-21 18:11:21 +02:00
afe6f502c3 Use new GDK keysym names if available.
In GTK+ 2.21.8, the keysym names were renamed from GDK_* to GDK_KEY_*.

I've added backward-compatibility macors to gtk-compat.h, which can be
dumped as soon as we require GTK+ >= 2.22.0.
2010-09-17 18:39:59 -04:00
797cd19606 Bug #611154 - problem in accessing folder property 2010-09-16 09:51:38 +05:30
64f53f1a53 Increase safety on Windows
Call SetDllDirectory() to reduce risk of DLL hijacking, and call SetProcessDEPPolicy() to reduce risk of rogue code execution.
2010-09-15 16:49:01 +02:00
5310e4a0b1 Adapt to CamelOperation API changes. 2010-09-14 23:48:02 -04:00
c7f5d54cb7 Kill the subject-thread plugin.
All this time I never realized the subject-thread plugin was nothing
more than a stupid checkbox.  The actual thread-by-subject code lives
in the core mail library.
2010-09-14 14:56:15 -04:00
70127d9cb8 Bug #624321 - Reply requested today does not work.
Do not check for the "reply_within" if it is not the "convenient" option.
0 can be an option too.
2010-09-14 10:04:30 +05:30
c23de2688e Convert plugin-manager to an EExtension.
How ironic.
2010-09-13 08:28:59 -04:00
cd53ba9900 Coding style cleanups. 2010-09-13 08:28:58 -04:00
d74e3a57dd Bug #627812 - GW shouldn't use global folder tree.
Groupwise shouldn't use global folder tree for UI.
2010-09-13 10:17:32 +05:30
b7abc64e9d Bug #629132 - set_attachments: assertion failed.
[mail-to-task] CRITICAL **: set_attachments: assertion `status.uris != NULL' failed
Uri was actually a path.
2010-09-13 09:48:27 +05:30
ebcce86769 Coding style and whitespace cleanups. 2010-09-11 14:14:04 -04:00
bc9ece413f Re-work my GtkDialog:has-separator workaround.
If we're using GTK+ 2.21.8 (where gtk_dialog_set_has_separator() is
deprecated but the property is still present and defaults to TRUE), we
still need to set the property to FALSE.  So instead use g_object_set()
up through GTK+ 2.90.6, after which the property itself is gone.
2010-09-11 09:03:45 -04:00
ec49cd00de No more blinking status icon.
GTK+ came to its senses and dropped support for it.  Thank goodness.
2010-09-11 00:30:54 -04:00
a6e137295f Work around deprecation of gtk_dialog_set_has_separator()
Unfortunately the default value for this property is TRUE (bzzt, WRONG!)
so we can't just remove the function outright until we require GTK+ 2.22.
It was deprecated in GTK+ 2.21.8.
2010-09-11 00:30:54 -04:00
a96676f446 Bug #626579 - [bbdb] Crash in free_gaim_body() (gaimbuddies.c) 2010-09-10 12:00:06 +02:00
101305e1c7 Various memory leaks 2010-09-07 18:39:46 +02:00
3eded6b690 Bug #628694 - Customize options for local calendar are missing 2010-09-03 15:17:00 +02:00
035fbcd841 Composer autosave cleanups.
This simplifies the async autosave logic and improves error handling.

Hoping this will solve bug #616987 but I've yet to reproduce it myself.
2010-08-30 14:26:00 -04:00
ecf3434da0 GObject boilerplate cleanup.
Prefer thread-safe G_DEFINE_TYPE and G_DEFINE_INTERFACE macros over
manual GType registration.

This is just a start... lots more to do.
2010-08-24 14:37:02 -04:00
336000a2d7 Bug 627601 - Memory leak in itip_get_comp_attendee() 2010-08-24 01:17:33 +01:00
a536d74906 Use the new e_load_book_source_async() where possible.
It's easier to use than addressbook_load() but requires starting with
an ESource rather than an EBook, and there's a couple places left where
that's not so easy.  I'll spend more time on it later.
2010-08-18 15:49:49 -04:00
6cb0cbd0be Pass an EShell to EMsgComposer instances.
Reduce the composer's dependency on e_shell_get_default().
2010-08-13 20:56:33 -04:00
49e8d834fc Coding style and whitespace cleanup. 2010-08-02 19:48:54 -04:00
2e46ae1205 dbx-importer: Fix printf format warning 2010-08-02 15:51:35 +01:00
b6b72b0c4a addressbook/gui, plugins/groupwise, widgets/misc: Update to new icon theme
Since gnome-icon-theme 2.30.x the icon name for the default avatar has changed
from stock_person to avatar-default

Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=616822
2010-08-02 10:58:43 +01:00
52ad80d601 Bug #625606 - git/master build dies with glib-2.25.12 2010-07-29 21:07:26 +02:00
a73b369b72 Bug 622181 - Backup settings uses unhelpful yes/no dialog 2010-07-28 16:35:34 -04:00
6158bcecd7 Bug #622912 - Migrate from dbus-glib to glib's GDBus 2010-07-28 16:21:40 +02:00
13cf1d104b Bug 624534 - Adapt to GTK+ GtkNotebookPage changes 2010-07-25 21:49:18 -04:00
f9ac993fda Bug 624216 - Runtime warning in Attachment Reminder plugin
Also fixes the same bug in Email Custom Header plugin.
2010-07-13 08:12:59 -04:00
78bf9d9d70 Bug 624128 - Folder -> Subscriptions is always enabled 2010-07-12 11:26:47 -04:00
eb29179da6 Coding style and whitespace cleanup. 2010-07-11 22:25:06 -04:00
2c48f517c1 Fix some compiler warnings. 2010-07-11 09:15:28 -04:00
03d626856b Bug #623204 - Be able to report detailed errors from backends 2010-07-09 14:29:51 +02:00
137b0743dd Migrate from CamelException to GError. 2010-07-08 14:37:52 -04:00
36f1f29b9a Fix transience problems with ENameSelectorDialogs ... 2010-07-08 16:10:59 +01:00