Commit Graph

34679 Commits

Author SHA1 Message Date
befa850712 Bug 650525 - Don't install a SEGV handler
Assume the operating system ships with a system-wide crash catching
service like ABRT or Apport.
2011-06-29 18:42:17 +02:00
5146ff4c53 Coding style and whitespace cleanup. 2011-06-29 18:42:17 +02:00
ea8a59a443 Updated Spanish translation 2011-06-29 18:42:17 +02:00
4956c5a9d2 EMailReader: Remove the forward/reply style hack.
Now that we're configuring EMailReader instances from an idle callback,
we can safely store the forward and reply styles in the private struct.
2011-06-29 18:42:17 +02:00
b1e34279d9 Bug 650587 - Hide Search Folder actions when Search Folders are disabled
Add an action group for Search Folders to EMailReader.  The action
group's visibility is bound to the "mail-enable-search-folders" setting,
so that menu items related to Search Folders are hidden when Search
Folders are disabled in GConf.

Affected menu items are:

   Edit -> Search Folders
   Message -> Create Rule -> Search Folder from Subject...
   Message -> Create Rule -> Search Folder from Sender...
   Message -> Create Rule -> Search Folder from Recipients...
   Message -> Create Rule -> Search Folder from Mailing List...
   Search -> Create Search Folder From Search...
2011-06-29 18:42:17 +02:00
6fb8b27d3d EMailReader: Support multiple action groups.
Use an enum type to request different action groups.  For now we just
have E_MAIL_READER_ACTION_GROUP_STANDARD.  EMailReader implementations
should map the enum value to an appropriate GtkActionGroup.
2011-06-29 18:42:17 +02:00
f0a2397cff mail-autofilter.c: Add argument guards in public functions.
This is related to bug #650587, but is not a proper fix.  The proper fix
is in the next couple commits about EMailReader action groups.

This commit just trades a crash for a runtime warning, but can be
backported to the stable branch, whereas the changes required for the
proper fix are too extensive to backport.
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
32a9a11e70 Always initialized all structure members 2011-06-29 18:42:17 +02:00
12428e3a01 Bug 650522 - em-format-html: Fix uninitialized variable 2011-06-29 18:42:17 +02:00
e603166602 Remove mail_get_folderinfo().
Use camel_store_get_folder_info() instead.
2011-06-29 18:42:17 +02:00
c7fd791139 Updated Spanish translation 2011-06-29 18:42:17 +02:00
63c69e938a Remove mail_save_messages().
Use e_mail_folder_save_messages() instead.
2011-06-29 18:42:17 +02:00
dba093c804 Remove mail_store_prepare_offline().
Use e_mail_store_prepare_for_offline() instead.
2011-06-29 18:42:16 +02:00
d1777cbb0f Remove mail_check_service().
Use camel_service_query_auth_types() instead.
2011-06-29 18:42:16 +02:00
40a658ade3 Updated Spanish translation 2011-06-29 18:42:16 +02:00
73715315cd Bug #647785 - Pasting an 24h event in month and week view doesn't work 2011-06-29 18:42:16 +02:00
6ce10f6e28 Fix typo in gl translation. See bug 650384 2011-06-29 18:42:16 +02:00
83ce3c096c bug #648612 crash during drag & drop of recurring events 2011-06-29 18:42:16 +02:00
b5cadb77f1 Remove mail_remove_attachments().
Use e_mail_folder_remove_attachments() instead.
2011-06-29 18:42:16 +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
b08569ecb2 Add EPortEntry to the Glade catalog. 2011-06-29 18:42:16 +02:00
ae05d156fc Bug 650088 - Cannot send message from Contacts view
This starts up the EMailShellBackend whenever a new composer window is
created.  Normally this happens when switching to the Mail shell view,
but if trying to send a message from a different shell view before the
Mail shell view is ever activated, the mail accounts were not getting
loaded and sending or saving the message to a mail folder would fail.
2011-06-29 18:42:16 +02:00
76ca149448 Bug 649990 - Remove get_font_options() from e-util.c.
Not only is get_font_options() no longer needed, it's actually doing the
wrong thing by reading settings through GConfClient instead of GSettings.

But it turns out, thanks to the tighter Cairo integration in GTK3, the
widgets that call get_font_options() can be made to work correctly by
simply removing this hack.  Love it when that happens.
2011-06-29 18:42:16 +02:00
7f7a84f6ef Bug #646615 - Bad single form 2011-06-29 18:42:16 +02:00
f96a45d4bf Remove unused e_get_gnome2_user_dir(). 2011-06-29 18:42:16 +02:00
f09486d737 Bug #649392 - Improve calendar's "Goto" dialog and move it to dialogs 2011-06-29 18:42:16 +02:00
fb38e4a4ba Bug #601541 - Add 'Copy Image' Option On Inline Email Images 2011-06-29 18:42:16 +02:00
42580e1802 Correct garbled mailto: uris passed in through GApplication interface 2011-06-29 18:42:16 +02:00
e54a663364 Updated Slovenian translation 2011-06-29 18:42:15 +02:00
317ffe35e9 Updated Slovenian translation 2011-06-29 18:42:15 +02:00
4131148aa2 Remove mail_get_folder_quota().
Use camel_folder_get_quota_info() instead.
2011-06-29 18:42:15 +02:00
8c11fc5aac EMFolderProperties: Fetch quota information asynchronously. 2011-06-29 18:42:15 +02:00
426a7bdda4 Remove mail_get_message().
Use camel_folder_get_message() instead.
2011-06-29 18:42:15 +02:00
49df008d73 Reimplement the "mail-reply-sender" action.
Now uses camel_folder_get_message().
2011-06-29 18:42:15 +02:00
a4ef75f41c Reimplement the "mail-reply-all" action.
Now uses camel_folder_get_message().
2011-06-29 18:42:15 +02:00
696ccbe4f8 Reimplement part of the "templates" plugin.
Now uses camel_folder_get_message().
2011-06-29 18:42:15 +02:00
a79844ab0d Bug #243938 - Clicking on week numbers changes work week to week view 2011-06-29 18:42:15 +02:00
757c1ded56 Bug #646033 - Update progress in Send/Receive dialog 2011-06-29 18:42:15 +02:00
0c93d23fe1 GN-bug #649935 - Check folder validity before asking for its URI 2011-06-29 18:42:15 +02:00
644c294d6a Bug #619347 - Decode QP in email in Contact List Editor 2011-06-29 18:42:15 +02:00
c21ca3647c EMailShellView: Remove some unused utility functions.
I guess I meant to move these to EMailReader but forgot to delete the
original versions.
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
0477a65401 em_format_html_print_message(): Require a CamelMimeMessage.
Let EMailReader fetch the CamelMimeMessage itself, handle errors, and
then pass it off to EMFormatHTMLPrint.  This also eliminates the need
for em_format_html_print_raw_message().
2011-06-29 18:42:15 +02:00
f21da77177 em_utils_reply_to_message(): Require a CamelMimeMessage.
No more fetching a message itself.  Oh, and stop unreffing the message.
Those kinds of insane semantics are what lead to crashes.
2011-06-29 18:42:14 +02:00
61f2760572 Remove em_utils_redirect_message_by_uid().
Use em_utils_redirect_message() instead.
2011-06-29 18:42:14 +02:00
4c84d4edaa Reimplement the "mail-redirect" action.
Now fetches the message itself using camel_folder_get_message(),
then calls em_utils_redirect_message().
2011-06-29 18:42:14 +02:00
3395074cc1 Add e_mail_reader_new_activity().
Configuring and submitting an EActivity for every mail operation is
getting tedious.  This function helps reduce boilerplate code by:

  * Creating a new EActivity instance.

  * Installing an EAlertSink using e_mail_reader_get_alert_sink().

  * Installing a GCancellable (which is really a CamelOperation).

  * Submitting the activity via e_shell_backend_add_activity().

I'm considering adding a similar function (or class method) for
EShellView.  Not sure yet...
2011-06-29 18:42:14 +02:00