aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mailing-list-actions/mailing-list-actions.c
Commit message (Collapse)AuthorAgeFilesLines
* Move EAlert* and e-xml-utils references from other part of the code to ↵Srinivasa Ragavan2012-03-031-1/+1
| | | | libevolution-utils.
* Introduce libemail-engine and libemail-utils.Matthew Barnes2012-01-191-17/+22
| | | | | | | These libraries are bound for E-D-S so they live at the lowest layer of Evolution for now -- even libeutil can link to them (but please don't). This is the first step toward moving mail handing to a D-Bus service.
* Remove some unnecessary #includes.Matthew Barnes2011-11-181-1/+0
|
* Coding style and whitespace cleanup.Matthew Barnes2011-09-041-1/+2
|
* Reimplement "mailing-list-actions" plugin.Matthew Barnes2011-05-131-25/+72
| | | | Now uses camel_folder_get_message().
* Miscellaneous cleanups.Matthew Barnes2011-05-131-3/+6
|
* Remove 'from_uri' params from e-msg-composer-utils.c.Matthew Barnes2011-05-041-8/+9
| | | | | Pass CamelFolder objects instead, which are already available at almost every call site.
* Bug #633788 - Mail plugin's update-actions handler is never calledMilan Crha2011-01-191-1/+2
|
* Move more account utilities to e-account-utils.c.Matthew Barnes2010-10-191-2/+2
|
* Give MailSession a permanent home.Matthew Barnes2010-10-131-2/+5
| | | | | | | | | | | 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.
* Coding style cleanups.Matthew Barnes2010-09-131-1/+1
|
* Pass an EShell to EMsgComposer instances.Matthew Barnes2010-08-141-2/+7
| | | | Reduce the composer's dependency on e_shell_get_default().
* Bug 624128 - Folder -> Subscriptions is always enabledMatthew Barnes2010-07-121-2/+1
|
* Bug #610495 - Plugins should define e_plugin_lib_enableRoy Marples2010-04-271-0/+7
|
* Only #include Camel's top-level header.Matthew Barnes2010-04-031-4/+0
|
* Coding style and whitespace cleanup.Matthew Barnes2010-01-051-5/+13
|
* Port all error code to use GObject-ified EAlert / EAlertDialogJonathon Jongsma2009-12-081-1/+1
| | | | | | 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-13/+11
| | | | | | | | Adds the following methods: CamelFolder * (*get_folder) (EMailReader *reader); const gchar * (*get_folder_uri) (EMailReader *reader); GPtrArray * (*get_selected_uids) (EMailReader *reader);
* Merge bits and pieces of the anjal-evo-2-30 branch.Matthew Barnes2009-12-011-4/+5
|
* Rename EError to EAlert to match general use betterJonathon Jongsma2009-12-011-7/+7
| | | | | | | | | | 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 plugins to use new EError APIJonathon Jongsma2009-12-011-5/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=602963
* Get the mailing-list-actions plugin working.Matthew Barnes2009-09-051-52/+210
| | | | | | | Also get mail-to-task working for the message browser window. Came up with a new technique for managing actions and action groups in the process. Also gave the EMailReader interface an "update-actions" signal for plugins to connect to.
* Prefer GLib basic types over C types.Matthew Barnes2009-05-291-10/+10
|
* Remove trailing whitespace, again.Matthew Barnes2009-05-291-1/+1
|
* New convenience function calls gtk_show_uri() and displays an error dialogMatthew Barnes2009-01-111-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-01-11 Matthew Barnes <mbarnes@redhat.com> * e-util/e-util.c (e_show_uri): New convenience function calls gtk_show_uri() and displays an error dialog if the URI cannot be shown. * addressbook/gui/widgets/eab-contact-display.c (eab_uri_popup_link_open), (on_link_clicked): * calendar/gui/e-cal-component-preview (on_link_clicked): * calendar/gui/e-cal-component-memo-preview (on_link_clicked): * calendar/gui/e-memo-table.c (open_url_cb): * calendar/gui/dialogs/comp-editor.c (open_attachment): * composer/e-msg-composer.c (msg_composer_link_clicked): * mail/em-folder-view.c (emfv_format_link_clicked): * mail/em-popup.c (emp_uri_popup_link_open): * plugins/mailing-list-actions/mailing-list-actions.c (emla_list_action_do): * shell/e-shell-window-commands.c (command_open_faq): * widgets/misc/e-attachment-bar.c (eab_icon_clicked_cb): * widgets/misc/e-url-entry.c (button_clicked_cb): Call e_show_uri() instead of gnome_url_show(). * e-util/e-error.c (ee_response): Call e_display_help() instead of gnome_url_show(). * mail/em-config.c: * mail/em-menu.c: Remove unneeded #include <libgnome/gnome-url.h> svn path=/trunk/; revision=37037
* License changes. Changed license from GPL to LGPL.Sankarasivasubramanian Pasupathilingam2008-09-041-1/+17
| | | | | | More to come. svn path=/trunk/; revision=36255
* ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-061-8/+1
| | | | | | | | | | 2008-06-06 Matthew Barnes <mbarnes@redhat.com> ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES defined. (#536637) svn path=/trunk/; revision=35606
* ** Merge the mbarnes-composer branchMatthew Barnes2008-04-031-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-04-02 Matthew Barnes <mbarnes@redhat.com> ** Merge the mbarnes-composer branch * configure.in: Bump libgtkhtml requirement to 3.19.1. Add gtkhtml-editor dependency for addressbook, calendar and mail. Remove print-message plugin; new composer implements this natively. * tools/Makefile.am: Remove CORBA rules for the old composer. * addressbook/gui/widgets/Makefile.am: Remove CORBA rules for the old composer. * addressbook/gui/widgets/eab-gui-util.c (eab_send_to_contact_and_email_num_list), (eab_send_contact_list_as_attachment): Adapt to new Bonobo-less composer widget. * calendar/gui/Makefile.am: Remove CORBA rules for the old composer. * calendar/gui/itip-utils.c (comp_from), (comp_to_list), (comp_subject), (comp_content_type), (comp_filename), (comp_description), (append_cal_attachments), (itip_send_comp), (reply_to_calendar_comp): Adapt to new Bonobo-less composer widget. * composer/Makefile.am: Remove CORBA rules for the old composer. * composer/e-msg-composer.c: * composer/e-msg-composer.h: EMsgComposer is now a subclass of GtkhtmlEditor. Extensive refactoring and cleanup, too much to list in detail. * composer/e-composer-header.c: * composer/e-composer-header.h: Add "sensitive" property along with get/set functions. * composer/e-composer-from-header.c: * composer/e-composer-from-header.h: Propagate "refreshed" signal from EAccountComboBox. Add function e_composer_from_header_get_account_list(). * composer/e-composer-private.c: * composer/e-composer-private.h: New files manage composer's private data. Allows other composer files to manipulate private data. * composer/e-msg-composer-hdrs.c: * composer/e-msg-composer-hdrs.h: Remove these files; replaced by EComposerHeaderTable widget. * composer/evolution-composer.c: * composer/evolution-composer.h: Remove these files; composer is now a subclass of GtkhtmlEditor. * composer/e-msg-composer-select-file.c: * composer/e-msg-composer-select-file.h: Remove these files; logic moved to e-msg-composer.c. * composer/listener.c: * composer/listener.h: Remove these files; event handlers moved to e-msg-composer.c. * composer/Composer.idl: * composer/Evolution-Composer.idl: Remove these files; composer is no longer a Bonobo object. * mail/em-composer-prefs (sig_edit_cb), (em_composer_prefs_new_signature): Adapt to new Bonobo-less signature editor. * mail/mail-signature-editor.c: * mail/mail-signature-editor.h: Rewrite the signature editor as a subclass of GtkhtmlEditor. Eliminates Bonobo from the equation. * mail/em-composer-utils.c (composer_get_message), (em_utils_composer_send_cb), (save_draft_done), (em_utils_composer_save_draft_cb), (create_new_composer), (em_utils_compose_new_message), (em_utils_compose_new_message_with_mailto), (em_utils_post_to_folder), (em_utils_post_to_url), (edit_message), (forward_attached), (forward_non_attached), (reply_get_composer), (composer_set_body), (em_utils_reply_to_message), (post_reply_to_message): Adapt to new Bonobo-less composer. * mail/mail-component-factory.c: Composer is no longer needs a Bonobo factory. * mail/mail-config.c: Fix style pattern for EMsgComposer widgets. * plugins/groupwise/mail-send-options.c (org_gnome_composer_send_options): Adapt to streamlined EMsgComposer API. * plugins/exchange-operations/Makefile.am: Add EVOLUTION_MAIL_CFLAGS and EVOLUTION_MAIL_LIBS. * plugins/exchange-operations/exchange-mail-send-options.c (append_to_header), (org_gnome_exchange_send_options): Adapt to streamlined EMsgComposer API. * plugins/mailing-list-actions/mailing-list-actions.c (emla_list_action_do): Adapt to streamlined EMsgComposer API. * po/POTFILES.in: Update file list for new composer. * ui/evolution-composer-entries.xml: Remove this file; obsoleted by new composer. * widgets/misc/Makefile.am: Add EVOLUTION_MAIL_LIBS. * widgets/misc/e-account-combo-box.c: * widgets/misc/e-account-combo-box.h: New function e_account_combo_box_get_account_list(). Emit a "refreshed" signal when the EAccountList changes. Add an internal reverse-lookup index. * widgets/misc/e-charset-picker.c (e_charser_add_radio_actions): New function adds radio actions to an action group. Will eventually replace e_charset_picker_bonobo_ui_populate(). * widgets/misc/e-signature-combo-box.c: * widgets/misc/e-signature-combo-box.h: New function e_signature_combo_box_get_signature_list(). ... separate issue ... * configure.in: Bump eds_minimum_version to 2.23.1 for CAMEL_FOLDER_JUNKED_NOT_DELETED symbol. svn path=/trunk/; revision=35313
* ** Fixes bug #362638Matthew Barnes2007-12-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-12-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #362638 * calendar/gui/alarm-notify/alarm-notify.c: * calendar/gui/alarm-notify/alarm-notify.h: * calendar/gui/alarm-notify/alarm-queue.c: Rewrite message passing to use GThreadPool instead of EThread. * mail/mail-mt.h: Overhaul the message passing API: - Define a MailMsg type as the base message struct. - Define types for the various callback functions. - Add a priority value to each message (not yet used). - Add a reference count to each message. - Define a MailMsgInfo type for the virtual function table. - Record the size of message sub-types in MailMsgInfo. - New/changed functions: mail_msg_new() - Easier to use. mail_msg_ref() - Increase reference count. mail_msg_unref() - Decrease reference count. mail_msg_main_loop_push() } mail_msg_unordered_push() } Submit MailMsgs to various mail_msg_fast_ordered_push() } message-processing threads. mail_msg_slow_ordered_push() } * mail/mail-mt.c (mail_msg_new): Use GSlice for memory allocation. * mail/mail-mt.c (mail_msg_ref), (mail_msg_unref): New functions increment/decrement a MailMsg's reference count. * mail/mail-mt.c (mail_cancel_hood_add), (mail_cancel_hook_remove): Convert the 'cancel_hook_list' from an EDList to a GHookList and modify the API accordingly. * mail/mail-mt.c: Use GThreadPools instead of EThreads. Use GAsyncQueues instead of EMsgPorts. * mail/em-composer-utils.c: * mail/em-folder-browser.c: * mail/em-folder-properties.c: * mail/em-folder-tree.c: * mail/em-folder-utils.c: * mail/em-folder-view.c: * mail/em-format-html-print.c: * mail/em-format-html.c: * mail/em-subscribe-editor.c: * mail/em-sync-stream.c: * mail/importers/elm-importer.c: * mail/importers/mail-importer.c: * mail/importers/pine-importer.c: * mail/mail-component.c: * mail/mail-folder-cache.c: * mail/mail-mt.c: * mail/mail-ops.c: * mail/mail-ops.h: * mail/mail-send-recv.c: * mail/mail-session.c: * mail/mail-vfolder.c: * mail/message-list.c: * plugins/folder-unsubscribe/folder-unsubscribe.c: * plugins/groupwise-features/share-folder-common.c: * plugins/exchange-operations/exchange-folder.c: * plugins/mark-all-read/mark-all-read.c: * plugins/mailing-list-actions/mailing-list-actions.c: * plugins/itip-formatter/itip-formatter.c: * plugins/save-attachments/save-attachments.c: Use the new MailMsg API for messages. svn path=/trunk/; revision=34730
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-7/+7
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* improve GError initialization code - fixes bug 352423. committed by AndreMatthew Barnes2006-08-231-2/+1
| | | | | | | | | | | 2006-08-23 Matthew Barnes <mbarnes@redhat.com> * plugins/mailing-list-actions/mailing-list-actions.c: * widgets/misc/e-multi-config-dialog.c: improve GError initialization code - fixes bug 352423. committed by Andre Klapper svn path=/trunk/; revision=32638
* composer/e-msg-composer-select-file.c, composer/e-msg-composer.c,Philip Van Hoof2005-10-191-1/+1
| | | | | | | | | | | | 2005-10-19 Philip Van Hoof <pvanhoof@gnome.org> composer/e-msg-composer-select-file.c, composer/e-msg-composer.c, composer/e-msg-composer.h, composer/evolution-composer.c, composer/listener.c, mail/em-composer-utils.c, plugins/mailing-list-actions/mailing-list-actions.c: data hiding svn path=/trunk/; revision=30532
* ** See bug #312621.Not Zed2005-08-091-0/+3
| | | | | | | | | | | 2005-08-08 Not Zed <NotZed@Ximian.com> ** See bug #312621. * mailing-list-actions.c (emla_list_action_do): noop if msg = NULL. svn path=/trunk/; revision=30046
* allocate enough space for the url. May be related to #304461.Not Zed2005-08-031-6/+3
| | | | | | | | | 2005-08-02 Not Zed <NotZed@Ximian.com> * mailing-list-actions.c (emla_list_action_do): allocate enough space for the url. May be related to #304461. svn path=/trunk/; revision=29964
* error file moves/e-error.h movesMichael Zucci2005-05-161-1/+1
| | | | svn path=/trunk/; revision=29370
* make sure GETTEXT_PACKAGE is definedJP Rosevear2004-11-241-0/+4
| | | | | | | | 2004-11-24 JP Rosevear <jpr@novell.com> * mailing-list-actions.c: make sure GETTEXT_PACKAGE is defined svn path=/trunk/; revision=27982
* no changelog providedMichael Zucci2004-11-171-19/+7
| | | | svn path=/trunk/; revision=27934
* Added author tag, fixed description, removed "plugin" from name, changedMeilof Veeningen2004-11-121-7/+16
| | | | | | | | | | | | | | | | | | | | 2004-11-04 Meilof Veeningen <meilof@wanadoo.nl> * org-gnome-mailing-list-actions.eplug.in: Added author tag, fixed description, removed "plugin" from name, changed position of item in popup menu, using "enable" rather than "visible" for bonobo menus * org-gnome-mailing-list-actions.xml: Now place menus in MailMessageActions placeholder; moved label to <commands> section * org-gnome-mailing-list-actions-errors.xml: fixed button order: "Cancel" now leftmost button; added e-mail address to send confirm dialog * mailing-list-actions.c: account guessing now first based on message; added e-mail address to send confirm dialog svn path=/trunk/; revision=27897
* include <config.h> for GETTEXT_PACKAGEJP Rosevear2004-11-051-0/+3
| | | | | | | | 2004-11-05 JP Rosevear <jpr@novell.com> * mailing-list-actions.c: include <config.h> for GETTEXT_PACKAGE svn path=/trunk/; revision=27849
* Added mailing list actions plugin from Meilof Veeningen ↵Michael Zucci2004-11-041-0/+213
<meilof@wanadoo.nl> svn path=/trunk/; revision=27835