Commit Graph

1780 Commits

Author SHA1 Message Date
f043e3c748 Including <glib-object.h> directly is rarely needed. 2011-06-29 18:42:21 +02:00
7132d0f0c2 Including <glib.h> directly is rarely needed. 2011-06-29 18:42:21 +02:00
c24038c4f6 Bug #646109 - Fix use of include <config.h> to make sure translations work 2011-06-29 18:42:20 +02:00
6e6da8a408 Use em_folder_tree_get_selected() in places to simplify code.
There were a few places where we were accessing the folder tree model
directly to get the selected store + folder name, or were asking for the
selected URI only to parse back into its store + folder name components.
2011-06-29 18:42:20 +02:00
7050475f84 EMFolderTree: Store an EMailBackend instead of an EMailSession.
All this so EMFolderTree can submit EActivity instances for async ops.
You can obtain an EMailSession from an EMailBackend, but not vice versa.

Creates lots of pretty ripples in the mail code, but ultimately reduces
complexity.  So it's a code cleanup of sorts.
2011-06-29 18:42:19 +02:00
5146ff4c53 Coding style and whitespace cleanup. 2011-06-29 18:42:17 +02:00
53feeabf5d Remove mail_remove_folder().
Use e_mail_folder_remove() instead.
2011-06-29 18:42:17 +02:00
9640844be2 Bug 650223 - evolution-backup does not terminate without --gui
Use g_io_scheduler_push_job() instead of g_thread_create().  When the
operation is finished, call gtk_main_quit() from the main thread using
g_io_scheduler_job_send_to_mainloop().

Also, check for cancellation with a GCancellable instead of a boolean.

Note: We really should be using GLib's process spawning API
      instead of system(), but that's a job for another day.
2011-06-29 18:42:16 +02:00
696ccbe4f8 Reimplement part of the "templates" plugin.
Now uses camel_folder_get_message().
2011-06-29 18:42:15 +02:00
cacd0e92de Keep forgetting to add prefixes to EAlert tags. 2011-06-29 18:42:15 +02:00
47bc7d7143 Reimplement "mailing-list-actions" plugin.
Now uses camel_folder_get_message().
2011-06-29 18:42:15 +02:00
1a75a7d808 Miscellaneous cleanups. 2011-06-29 18:42:15 +02:00
399be9dba4 mark-all-read: Reimplement to not block.
I'm mainly trying to get rid of mail_get_folder(), but I'm also tired of
this plugin blocking the UI.  If there's a lot of messages the lockup is
really noticable.
2011-06-29 18:42:12 +02:00
6693730cc1 Add a 'message_uid' param to em_utils_edit_message().
So we can remove the internal edit_message() function and do the work
directly in em_utils_edit_message().
2011-06-29 18:42:12 +02:00
54da4fc09c Coding style cleanups. 2011-06-29 18:42:11 +02:00
578214584c Whitespace and coding style cleanups. 2011-06-29 18:42:10 +02:00
30fe010cff Adapt to CamelFolder:name -> display-name. 2011-06-29 18:42:10 +02:00
708ce51377 Adapt to CamelFolderInfo.name -> display_name. 2011-06-29 18:42:10 +02:00
49cd4f549b Bug 649365 - Creation of new repository evolution-groupwise
Removing groupwise plugin code from evolution.
2011-06-29 18:42:06 +02:00
77415c1d4f groupwise-features: Avoid e_get_account_by_source_url().
Use e_get_account_by_uid() instead.
2011-06-29 18:42:06 +02:00
839b17d1fd Remove 'from_uri' params from e-msg-composer-utils.c.
Pass CamelFolder objects instead, which are already available at almost
every call site.
2011-06-29 18:42:06 +02:00
c7398b967e Fix compiler warnings.
Mostly dead assignments.
2011-06-29 18:42:06 +02:00
fc1034551e Drop 'folder_uri' param from em_utils_folder_is_outbox(). 2011-06-29 18:42:06 +02:00
bbf5ce3869 Drop 'folder_uri' param from em_utils_folder_is_sent(). 2011-06-29 18:42:06 +02:00
9cf4104e04 Drop 'folder_uri' param from em_utils_folder_is_drafts(). 2011-06-29 18:42:05 +02:00
9a149f3ab6 EMConfigTargetAccount: Add original_account member.
Rename the existing 'account' member to 'modified_account' and add an
'original_account' member so plugins have direct access to both.

Mostly of benefit to the imap-features plugin.
2011-06-29 18:42:05 +02:00
2c2c462895 EMEventTargetFolder: Add an EAccount member.
The mail-notification plugin can use the EAccount member directly
instead of searching for it by URI.
2011-06-29 18:42:05 +02:00
0cce1ab7a2 groupwise-features: Fix a compiler warning. 2011-06-29 18:42:04 +02:00
f2247d9031 Adapt to extra arg in camel_session_get_service_by_url(). 2011-06-29 18:42:04 +02:00
2abbff4651 Bug #641845 - Add default expansion variables to templates plugin
Users can read values from original message in the template
by $ORIG[header] and with a special value $ORIG[body].
2011-06-29 18:41:57 +02:00
eb53bcf059 Add itip_address_is_user().
Convenience function that checks whether the given email address matches
a registered mail identity.
2011-06-29 18:41:57 +02:00
801450b0f3 Remove redundant EAccountList utilities.
Kill itip_addresses_get() and itip_addresses_get_default(), and use
e_get_account_list() and e_get_default_account() instead.
2011-06-29 18:41:57 +02:00
0be9b1f878 Adapt to CamelService changes. 2011-06-29 18:41:55 +02:00
eecdf6fc08 Bug #646197 - Crash with VALARM without ACTION property 2011-06-29 18:41:55 +02:00
f31b492945 Adapt to sealed up CamelService. 2011-06-29 18:41:55 +02:00
1448ecee67 Fix translations being boken by removing calls to bindtextdomain() from plugins.
It shouldn't be needed for plugins that live in the evolution source tree anyway
since they should just use the translation domain they inherit from main().
2011-06-29 18:41:52 +02:00
57ea14220e Remove the profiler plugin.
This plugin was for developers, but no one uses it anymore.  Plus the
only profiling hooks left in Evolution were in the MessageList widget,
which performs fine.  There's better ways to collect profiling data
these days anyway (sysprof, systemtap, etc.).
2011-06-29 18:41:50 +02:00
eccfd921ed Fix alignment of extra widgets in EAlertDialogs.
Add e_alert_dialog_get_content_area(), which returns the GtkVBox
containing the primary and secondary labels.  Use this instead of
gtk_dialog_get_content_area() to maintain the dialog's left margin
beneath the image.
2011-06-29 18:41:47 +02:00
9539cc3ff3 Bug 645545 - Attachment reminder dialog uses wrong expand 2011-06-29 18:41:47 +02:00
6b71268cb9 Workaround for bug #644792 - [mail-notify] Crash when sending D-Bus message 2011-06-29 18:41:45 +02:00
25f7db861c Fix build break after recent eds changes 2011-06-29 18:41:45 +02:00
cdd89ef290 Bug #641939 - [publish-calendar] Doesn't read online state on start 2011-06-29 18:41:43 +02:00
7aacf983b3 Coding style and whitespace cleanup. 2011-06-29 18:41:41 +02:00
10dd02bce0 Bug #643693 - Crash opening attached text/html mail 2011-06-29 18:41:41 +02:00
498337e852 Do not leak attachments in a mail view 2011-06-29 18:41:40 +02:00
ab870b27cd Fix Gtk-Doc comment notation.
Seeing lots of what I assume to be doxygen syntax in comment blocks.
2011-06-29 18:41:40 +02:00
a244743d9e Bug #642447 - Invalid reads while disabling groupwise account 2011-06-29 18:41:40 +02:00
3aaca9136d Bug #641456 - Crash in pst_process_appointment at pst-importer.c 2011-06-29 18:41:40 +02:00
3b6c8972a5 Coding style and whitespace cleanup. 2011-06-29 18:41:36 +02:00
a4e2599f95 Fix few memory leaks 2011-06-29 18:41:35 +02:00