aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-reader-utils.c
Commit message (Collapse)AuthorAgeFilesLines
* Miscellaneous cleanups from the account-mgmt branch.Matthew Barnes2011-09-271-4/+1
| | | | | Reducing diff noise so I can see important changes easier when comparing branches. A few API changes, but nothing that affects functionality.
* Coding style and whitespace cleanup.Matthew Barnes2011-09-041-1/+2
|
* Coding style and whitespace cleanup.Matthew Barnes2011-08-131-48/+60
|
* Cannot reply to message without preview panel enabledMilan Crha2011-08-081-0/+74
|
* Bug #530335 - Allow Reply to selected address onlyRathin2011-06-141-2/+32
|
* Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-05-271-0/+4
|
* EMFolderTree: Store an EMailBackend instead of an EMailSession.Matthew Barnes2011-05-241-3/+1
| | | | | | | | 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.
* EMailReader: Support multiple action groups.Matthew Barnes2011-05-211-17/+0
| | | | | | 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.
* Remove mail_remove_folder().Matthew Barnes2011-05-211-0/+132
| | | | Use e_mail_folder_remove() instead.
* Remove mail_save_messages().Matthew Barnes2011-05-181-0/+111
| | | | Use e_mail_folder_save_messages() instead.
* Remove mail_remove_attachments().Matthew Barnes2011-05-171-0/+63
| | | | Use e_mail_folder_remove_attachments() instead.
* Keep forgetting to add prefixes to EAlert tags.Matthew Barnes2011-05-131-3/+3
|
* Miscellaneous cleanups.Matthew Barnes2011-05-131-58/+57
|
* em_format_html_print_message(): Require a CamelMimeMessage.Matthew Barnes2011-05-131-11/+77
| | | | | | 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().
* em_utils_reply_to_message(): Require a CamelMimeMessage.Matthew Barnes2011-05-131-2/+4
| | | | | No more fetching a message itself. Oh, and stop unreffing the message. Those kinds of insane semantics are what lead to crashes.
* Add e_mail_reader_new_activity().Matthew Barnes2011-05-131-41/+15
| | | | | | | | | | | | | | | | 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...
* Reimplement e_mail_reader_create_vfolder_from_selected().Matthew Barnes2011-05-131-5/+0
| | | | Now uses camel_folder_get_message().
* Reimplement e_mail_reader_create_vfolder_from_selected().Matthew Barnes2011-05-131-24/+75
| | | | Now uses camel_folder_get_message().
* Reimplement e_mail_reader_create_filter_from_selected().Matthew Barnes2011-05-131-33/+72
| | | | Now uses camel_folder_get_message().
* Add e_activity_handle_cancellation().Matthew Barnes2011-05-121-3/+1
| | | | | | | | Convenience function for use in GAsyncReadyCallback functions. This acknowledges the cancellation, so that the activity's description changes from "(cancelling)" to "(cancelled)" and the description appears crossed out in the UI for a moment before disappearing.
* Reimplement em_utils_edit_messages().Matthew Barnes2011-05-121-7/+2
| | | | Now uses e_mail_folder_get_multiple_messages().
* EMailReader: Reimplement "mail-remove-duplicates" action.Matthew Barnes2011-05-121-0/+157
| | | | Now uses e_mail_folder_find_duplicate_messages().
* Coding style cleanups.Matthew Barnes2011-05-091-2/+2
|
* Random little coding style cleanups.Matthew Barnes2011-05-061-2/+1
|
* Build vfolder rules with CamelFolders instead of folder URIs.Matthew Barnes2011-05-041-7/+1
|
* Fix compiler warnings.Matthew Barnes2011-05-031-8/+1
| | | | Mostly dead assignments.
* Drop 'folder_uri' param from em_utils_folder_is_outbox().Matthew Barnes2011-05-031-3/+3
|
* Drop 'folder_uri' param from em_utils_folder_is_sent().Matthew Barnes2011-05-031-1/+1
|
* Drop 'folder_uri' param from em_utils_folder_is_templates().Matthew Barnes2011-05-031-1/+1
|
* Drop 'folder_uri' param from em_utils_folder_is_drafts().Matthew Barnes2011-05-031-2/+2
|
* EMailShellView: Open the selected folder ourselves.Matthew Barnes2011-05-031-1/+1
| | | | | | | | | | | | | | | | | This one's a little involved: - EMailShellView now obtains a CamelFolder itself in response to EMFolderTree::folder-selected signals. Uses EActivity to do so. - Revise EMFolderTree::folder-selected signal arguments to be more useful: emit a CamelStore object instead of a folder URI. - Also revise EMFolderTree::folder-activiated signal arguments the same way while we're at it. - Remove the "folder_uri" argument from e_mail_reader_set_folder(). If you have a CamelFolder object you can obtain the URI string by calling camel_folder_get_uri().
* Bug 547954 - Clarify delete-from-search-folder warningDan Vrátil2011-04-231-1/+1
|
* Fix alignment of extra widgets in EAlertDialogs.Matthew Barnes2011-03-251-7/+3
| | | | | | | 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.
* Reduce GConf usage in em-composer-utils.c.Matthew Barnes2010-10-201-3/+6
| | | | | | | | | | | | | | | | | | To reduce GConf usage in em-composer-utils.c: - Relevant functions in em-composer-utils.c now take arguments for reply and forward styles. - Redundant forwarding functions were removed: em_utils_forward_attached() em_utils_forward_inline() em_utils_forward_quoted() - EMailReader now has "forward-style" and "reply-style" properties, which get bound to the appropriate EShellSettings properties in modules/mail/e-mail-config-reader.c. These same EShellSettings properties are bound to the combo boxes in Composer Preferences.
* Move more account utilities to e-account-utils.c.Matthew Barnes2010-10-191-1/+0
|
* Kill mail_config_get_gconf_client().Matthew Barnes2010-10-191-4/+8
|
* Remove mail_tools_folder_to_url().Matthew Barnes2010-10-131-3/+2
| | | | Use camel_folder_get_uri() instead.
* Give MailSession a permanent home.Matthew Barnes2010-10-131-13/+47
| | | | | | | | | | | 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.
* Bug #619387 - EMailBrowser doesn't honour sorting of a mail windowMilan Crha2010-10-121-0/+23
|
* Pass GCancellable to Camel.Matthew Barnes2010-09-281-0/+2
|
* Coding style cleanups.Matthew Barnes2010-09-131-2/+2
|
* Pass an EShell to EMsgComposer instances.Matthew Barnes2010-08-141-6/+17
| | | | Reduce the composer's dependency on e_shell_get_default().
* Change em_format_redraw() to em_format_queue_redraw().Matthew Barnes2010-08-111-1/+1
| | | | | | This changes the behavior of the function: instead of redrawing immediately it schedules the redraw from an idle callback. This allows us to make multiple changes to EMFormat before redrawing.
* Drop the "quote-from-selection" property.Matthew Barnes2010-07-261-8/+6
| | | | | David's solution is simpler: check if the HTML widget is mapped. Avoids having to propagate the property to Srini's new classes.
* Fix two memory leaks when replyingDavid Woodhouse2010-07-151-1/+5
| | | | | | | | | | | | 1: em_utils_reply_to_message() can be passed a newly-created message (from a current selection. It needs to unref it. Which means that when we pass it a message which *isn't* newly-created, we have to obtain a ref of our own. It was that or add a boolean parameter to tell it whether to unref or not. 2: emf_finalize() wasn't unreferencing emf->message -- so when we clone the EMFormat in em_utils_message_to_html() and immediately unreference the clone, a refcount on the message got leaked. Fix emf_finalize() to unref emf->message as presumably it should.
* Warn on reply-to-all with too many recipientsDavid Woodhouse2010-07-151-4/+8
|
* Bug 624285 - When replying, ignore text selection if preview is hiddenMatthew Barnes2010-07-141-0/+3
|
* Bug #620815 - Memory leaks with EvolutionMilan Crha2010-06-251-0/+1
|
* Bug 616724 - Initialize message window with threaded state of main windowMatthew Barnes2010-06-191-0/+3
|
* Bug 620628 - Checkbox in vfolder deletion prompt is saved backwardsMatthew Barnes2010-06-061-2/+2
|
* Keep chipping away at direct GtkHTML usage.Matthew Barnes2010-06-011-31/+21
| | | | | | | | | | EMFormatHTML now holds a sealed EWebView instead of a public GtkHTML, accessible through em_format_html_get_web_view(). Rename e_mail_reader_get_html_display() to e_mail_reader_get_formatter() and have it return an EMFormatHTML instead of an EMFormatHTMLDisplay, since that's usually the type you want (or else an EMFormat, but never an EMFormatHTMLDisplay).
* Use EWebView functions whenever possible.Matthew Barnes2010-05-311-1/+4
|
* Merge branch 'express2'Matthew Barnes2010-05-271-3/+3
|\
| * Coding style and whitespace cleanup.Matthew Barnes2010-05-251-9/+20
| |
| * Use default headers when none stored to display in mailerMilan Crha2010-04-301-2/+5
| | | | | | | | As part of bug #603418, to fix a corner case
| * Bug #603418 - Custom headers not displayed in message previewMilan Crha2010-04-301-0/+186
| |
* | Coding style and whitespace cleanup.Matthew Barnes2010-05-021-12/+24
| |
* | Adapt to Camel API changes.Matthew Barnes2010-04-301-2/+5
| |
* | Bug #545505 - Properly free unused message infos periodicallyMilan Crha2010-04-291-0/+1
| |
* | Use default headers when none stored to display in mailerMilan Crha2010-04-271-2/+5
| | | | | | | | As part of bug #603418, to fix a corner case
* | Bug #603418 - Custom headers not displayed in message previewMilan Crha2010-04-261-0/+186
| |
* | Only #include Camel's top-level header.Matthew Barnes2010-04-031-3/+1
|/
* Remove dead assignments found by clang.Matthew Barnes2010-01-161-2/+0
|
* Port all error code to use GObject-ified EAlert / EAlertDialogJonathon Jongsma2009-12-081-2/+2
| | | | | | The changes are mainly including the e-alert-header.h header instead of just e-alert.h. This allows us to include e-alert.h in non-UI situations when necessary.
* Expand the EMailReader interface so it's easier to use.Matthew Barnes2009-12-021-37/+18
| | | | | | | | Adds the following methods: CamelFolder * (*get_folder) (EMailReader *reader); const gchar * (*get_folder_uri) (EMailReader *reader); GPtrArray * (*get_selected_uids) (EMailReader *reader);
* Kill message_list_free_uids().Matthew Barnes2009-12-021-4/+4
| | | | Use em_utils_uids_free() instead.
* Merge bits and pieces of the anjal-evo-2-30 branch.Matthew Barnes2009-12-011-32/+35
|
* Rename EError to EAlert to match general use betterJonathon Jongsma2009-12-011-2/+2
| | | | | | | | | | The EError mechanism is used both for error dialogs as well as basic alerts or user prompts, so we should give it a more general name which matches this use. This patch also cleans up a few includes of e-alert.h (formerly e-error.h) that were not actually being used. https://bugzilla.gnome.org/show_bug.cgi?id=602963
* port mail/ to use new EError APIJonathon Jongsma2009-12-011-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=602963
* Bug 563555 - Confirm before forwarding many emails inlineRitesh Khadgaray2009-11-201-16/+3
|
* Cleanup and rename filter classes.Matthew Barnes2009-10-271-4/+4
|
* Bug #593922 - Reply freezes evoMilan Crha2009-09-021-0/+2
|
* Bug 592032 - Marks message as read when preview is offMatthew Barnes2009-08-181-2/+1
|
* Radically reorganize source code.Matthew Barnes2009-06-251-7/+1
| | | | | | | | | | | | | | | | | | | - Collect all shell modules into a new top-level 'modules' directory: $(top_srcdir)/modules/addressbook $(top_srcdir)/modules/calendar $(top_srcdir)/modules/mail Nothing is allowed to link to these, not plugins nor other modules. THIS SOLVES BUG #571275 AND OPENS THE DOOR TO PORTING TO MAC OS X. - Mimic the libevolution-mail-shared library from master (except drop the "shared" suffix) and have libevolution-mail-importers and all mail-related plugins link to it. - Discard the a11y subdirectories and have the files live alongside their counterpart widgets.
* Bug 586343 – Search folder delete confirmation missing check boxMatthew Barnes2009-06-201-0/+1
|
* Merge branch 'master' into kill-bonoboMatthew Barnes2009-05-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: a11y/widgets/ea-combo-button.c a11y/widgets/ea-combo-button.h addressbook/gui/component/addressbook-component.c addressbook/gui/component/addressbook-component.h addressbook/gui/component/addressbook-view.c addressbook/gui/component/addressbook-view.h addressbook/gui/component/component-factory.c addressbook/gui/widgets/e-addressbook-view.c addressbook/gui/widgets/eab-contact-display.c addressbook/gui/widgets/eab-gui-util.h addressbook/gui/widgets/eab-menu.c addressbook/gui/widgets/eab-menu.h addressbook/gui/widgets/eab-popup-control.c addressbook/gui/widgets/eab-popup-control.h addressbook/gui/widgets/eab-popup.c addressbook/gui/widgets/eab-popup.h calendar/gui/cal-search-bar.c calendar/gui/calendar-commands.c calendar/gui/calendar-component.c calendar/gui/comp-editor-factory.c calendar/gui/comp-editor-factory.h calendar/gui/control-factory.c calendar/gui/dialogs/comp-editor.c calendar/gui/e-cal-component-memo-preview.c calendar/gui/e-cal-component-memo-preview.h calendar/gui/e-calendar-table.c calendar/gui/e-memo-table.c calendar/gui/e-memos.c calendar/gui/e-tasks.c calendar/gui/gnome-cal.c calendar/gui/gnome-cal.h calendar/gui/itip-bonobo-control.c calendar/gui/itip-bonobo-control.h calendar/gui/main.c calendar/gui/memos-component.c calendar/gui/memos-control.c calendar/gui/memos-control.h calendar/gui/migration.c calendar/gui/migration.h calendar/gui/tasks-component.c calendar/gui/tasks-control.c calendar/importers/main.c composer/Makefile.am composer/e-composer-header-table.c composer/e-composer-header.c composer/e-composer-header.h composer/e-composer-name-header.c composer/e-composer-private.c composer/e-composer-text-header.c composer/e-msg-composer.c composer/e-msg-composer.h e-util/e-corba-utils.h e-util/e-logger.c e-util/e-logger.h e-util/e-util-labels.c e-util/e-util-labels.h em-format/em-format.c mail/Makefile.am mail/e-mail-shell-migrate.c mail/em-account-editor.c mail/em-account-editor.h mail/em-composer-prefs.c mail/em-composer-utils.c mail/em-composer-utils.h mail/em-folder-browser.c mail/em-folder-tree-model.c mail/em-folder-tree.c mail/em-folder-tree.h mail/em-folder-utils.c mail/em-folder-utils.h mail/em-folder-view.c mail/em-format-html-display.c mail/em-format-html.c mail/em-mailer-prefs.c mail/em-mailer-prefs.h mail/em-message-browser.c mail/em-message-browser.h mail/em-network-prefs.h mail/em-popup.c mail/em-utils.c mail/importers/Makefile.am mail/mail-component-factory.c mail/mail-component.c mail/mail-config-factory.c mail/mail-config-factory.h mail/mail-config.c mail/mail-dialogs.glade mail/mail-types.h plugins/calendar-weather/calendar-weather.c plugins/mail-account-disable/mail-account-disable.c plugins/select-one-source/select-one-source.c po/POTFILES.in shell/e-component-registry.c shell/e-component-registry.h shell/e-component-view.c shell/e-component-view.h shell/e-corba-config-page.c shell/e-corba-config-page.h shell/e-shell-constants.h shell/e-shell-settings-dialog.c shell/e-shell-settings-dialog.h shell/e-shell-window-commands.c shell/e-shell-window.c shell/e-shell.h shell/e-sidebar.c shell/e-sidebar.h shell/e-user-creatable-items-handler.c shell/e-user-creatable-items-handler.h shell/es-menu.c shell/es-menu.h shell/evolution-component.h shell/evolution-config-control.c shell/evolution-config-control.h shell/evolution-listener.c shell/evolution-listener.h shell/evolution-shell-component-utils.c shell/evolution-shell-component-utils.h shell/importer/evolution-importer-client.c shell/importer/evolution-importer-client.h shell/importer/evolution-importer-listener.c shell/importer/evolution-importer-listener.h shell/importer/evolution-importer.c shell/importer/evolution-importer.h shell/importer/evolution-intelligent-importer.c shell/importer/evolution-intelligent-importer.h shell/importer/intelligent.c shell/main.c shell/test/evolution-test-component.c shell/test/evolution-test-component.h widgets/menus/gal-view-instance.c widgets/menus/gal-view-menus.c widgets/menus/gal-view-menus.h widgets/misc/Makefile.am widgets/misc/e-activity-handler.c widgets/misc/e-activity-handler.h widgets/misc/e-charset-picker.c widgets/misc/e-combo-button.c widgets/misc/e-combo-button.h widgets/misc/e-config-page.h widgets/misc/e-dropdown-button.c widgets/misc/e-dropdown-button.h widgets/misc/e-filter-bar.c widgets/misc/e-info-label.c widgets/misc/e-info-label.h widgets/misc/e-multi-config-dialog.c widgets/misc/e-multi-config-dialog.h widgets/misc/e-search-bar.c widgets/misc/e-search-bar.h widgets/misc/e-task-bar.c widgets/misc/e-task-bar.h widgets/misc/e-task-widget.c widgets/misc/e-task-widget.h widgets/misc/test-dropdown-button.c widgets/misc/test-error.c widgets/misc/test-info-label.c widgets/table/e-table-example-1.c
* Fix most of the compiler warnings in mail.Matthew Barnes2009-05-081-1/+4
|
* Adapt mail to EShellBackend changes.Matthew Barnes2009-05-081-6/+6
| | | | | Again, builds but not tested. Lots of compiler warnings to clean up, but I don't have the energy for it. This was pretty grueling.
* Miscellaneous stuff.Matthew Barnes2009-01-271-5/+4
| | | | svn path=/branches/kill-bonobo/; revision=37134
* Fix more runtime warnings.Matthew Barnes2009-01-261-1/+0
| | | | svn path=/branches/kill-bonobo/; revision=37132
* Fix some runtime warnings.Matthew Barnes2009-01-221-3/+0
| | | | | | | | Copy that nasty message list scrolling hack to EMailShellContent. Remember the scrollbar position for each folder. Now I just have to make it select a message automatically. svn path=/branches/kill-bonobo/; revision=37119
* Add a couple missing files.Matthew Barnes2009-01-121-0/+595
svn path=/branches/kill-bonobo/; revision=37047