aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-composer-actions.c
Commit message (Collapse)AuthorAgeFilesLines
* Bug #271262 - Allow Send/Receive of local stores in offlineMilan Crha2013-04-091-17/+1
|
* Remove more Express Mode hacks.Matthew Barnes2013-04-011-6/+2
| | | | | | This removes all traces of Express Mode from all but the contact editor and calendar appointment editor. Need to evaluate the remaining cases individually.
* Add e_msg_composer_ref_session().Matthew Barnes2013-03-171-1/+3
| | | | Replaces e_msg_composer_get_session().
* Consolidate base utility libraries into libeutil.Matthew Barnes2012-12-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evolution consists of entirely too many small utility libraries, which increases linking and loading time, places a burden on higher layers of the application (e.g. modules) which has to remember to link to all the small in-tree utility libraries, and makes it difficult to generate API documentation for these utility libraries in one Gtk-Doc module. Merge the following utility libraries under the umbrella of libeutil, and enforce a single-include policy on libeutil so we can reorganize the files as desired without disrupting its pseudo-public API. libemail-utils/libemail-utils.la libevolution-utils/libevolution-utils.la filter/libfilter.la widgets/e-timezone-dialog/libetimezonedialog.la widgets/menus/libmenus.la widgets/misc/libemiscwidgets.la widgets/table/libetable.la widgets/text/libetext.la This also merges libedataserverui from the Evolution-Data-Server module, since Evolution is its only consumer nowadays, and I'd like to make some improvements to those APIs without concern for backward-compatibility. And finally, start a Gtk-Doc module for libeutil. It's going to be a project just getting all the symbols _listed_ much less _documented_. But the skeletal structure is in place and I'm off to a good start.
* WebKit port - port addressbook, calendar and update composer to keep working ↵Dan Vrátil2012-03-291-1/+1
| | | | with GtkHtml
* Move EAlert* and e-xml-utils references from other part of the code to ↵Srinivasa Ragavan2012-03-031-1/+1
| | | | libevolution-utils.
* Let GtkFileChooser track its own last-used-folder.Matthew Barnes2011-10-061-2/+1
| | | | | | GtkFileChooser in GTK+ 3.2 now keeps track of the last-used-folder itself, even across applications, so get out of its way and let it handle it.
* Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-05-271-0/+4
|
* Composer: Add Edit -> PreferencesMatthew Barnes2011-02-041-20/+55
| | | | Opens the Preferences window to the Composer Preferences section.
* Bug #567879 - Add View >> Gallery Option In Email ComposerMilan Crha2010-12-221-0/+16
|
* Pass an EAlertSink to e_alert_sink_submit_alert().Matthew Barnes2010-11-011-2/+2
| | | | | | | Passing a random GtkWidget and then searching its ancestors for an EAlertSink turned out to be not as useful as I thought. Most of the time we know about and have access to the widget that implements EAlertSink, so just pass it directly as an EAlertSink.
* Skip writing to Outbox when sending.Matthew Barnes2010-10-311-2/+16
| | | | | | | When sending a message from a composer window, it seems pointless to write message to Outbox only to immediately read it back and mark it for deletion. Instead, bypass the Outbox folder when sending, and if an error occurs, offer to save the message to Outbox instead.
* Bug 632127 - Composer is editable while sending messageMatthew Barnes2010-10-151-1/+20
|
* Composer: Show cancellable operations and errors inline.Matthew Barnes2010-10-131-32/+44
| | | | | | | | | | | | | | | '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.
* Pass an EShell to EMsgComposer instances.Matthew Barnes2010-08-141-1/+4
| | | | Reduce the composer's dependency on e_shell_get_default().
* Bug #617557 - Quits without asking user to save unfinished messagesMilan Crha2010-06-151-43/+2
| | | | The second attempt.
* Merge branch 'express2'Matthew Barnes2010-05-271-8/+0
|\
| * Remove the 'View From' menu item from the composerFederico Mena Quintero2010-05-051-8/+0
| | | | | | | | | | | | | | Now the From header will only be shown if you have more than one mail account. Signed-off-by: Federico Mena Quintero <federico@novell.com>
* | Giant leap towards GSEAL compliance.Matthew Barnes2010-04-081-1/+3
|/
* Bug 554663 - Swap "Save" and "Save as Draft" accelerators in composerMatthew Barnes2010-02-161-2/+2
|
* Rearrange composer options.Matthew Barnes2010-01-231-2/+2
| | | | | | | | Renamed the "Security" menu to "Options" moved other options there: Request Read Receipt Prioritize Message Character Encoding
* 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.
* Rename EError to EAlert to match general use betterJonathon Jongsma2009-12-011-8/+8
| | | | | | | | | | 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 composer/ to user new EError APIJonathon Jongsma2009-12-011-4/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=602963
* Bug #599792 - Anjal composer's Send button doesn't work after pressed Save ↵Yan Li2009-11-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Drafts button This is due to an old hack that hiding a composer means we're closing it so save_draft_done() destroys the composer after saved draft. But in Anjal, the composer widget is always hidden (since the editor is reparented to the tab), and will be wrongly destroyed by save_draft_done() when you clicked "Save Draft" button. This patch improved the old hack, by adding a new API e_msg_composer_request_close() that can be used to request closing a composer (so the old hack is no longer needed). Internally, composer->priv->application_exiting is used to store this exiting status. So by this we no longer use a composer's visibility to check whether we're to close it. When you no longer need a composer after saved draft, call e_msg_composer_request_close() before sending the save-draft signal. The e_msg_composer_is_exiting() (removed by 983bea9) has to be bring back, which is needed by other programs that use the composer (Anjal here). (forward ported from 08150f6 of gnome-2-28)
* Bug #597123 - Composer's Send Options doesn't workMilan Crha2009-10-141-32/+0
|
* Remove unneeded composer autosave functions.Matthew Barnes2009-10-021-1/+0
|
* Remove some unneeded composer autosave bits.Matthew Barnes2009-10-011-2/+1
| | | | | | Closing the last main window no longer takes composer windows down with it, so we no longer need the "holy crap we're shutting down, quick save to disk!" logic.
* Kill the last GtkOptionMenu instances.Matthew Barnes2009-07-031-2/+0
| | | | | | | Wrote a new widget (ECharsetComboBox) to replace e-charset-picker.c. The widget provides a "charset" string property that allows us to bind to GConf keys (via EShellSettings). Moved e_charset_add_radio_actions() to e-util/e-charset.c. Updated Glade files, #include lines, etc.
* 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
| * Remove trailing whitespace, again.Matthew Barnes2009-05-271-1/+1
| |
| * Fix compiler warnings in composer.Matthew Barnes2009-05-261-1/+1
| |
* | Merge branch 'master' into kill-bonoboMatthew Barnes2009-05-221-126/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: addressbook/gui/component/addressbook-view.c addressbook/gui/component/component-factory.c addressbook/gui/component/eab-composer-util.h addressbook/gui/widgets/Makefile.am addressbook/gui/widgets/e-addressbook-model.c addressbook/gui/widgets/e-addressbook-view.c addressbook/gui/widgets/e-addressbook-view.h addressbook/gui/widgets/eab-gui-util.c addressbook/gui/widgets/eab-gui-util.h addressbook/gui/widgets/eab-menu.h addressbook/gui/widgets/eab-popup.h calendar/gui/calendar-component.c calendar/gui/e-cal-event.h calendar/gui/e-calendar-table.c calendar/gui/e-calendar-view.c calendar/gui/e-calendar-view.h calendar/gui/e-memo-table.c calendar/gui/memos-component.c calendar/gui/tasks-component.c composer/e-composer-header-table.c composer/e-composer-private.h composer/e-msg-composer.c composer/e-msg-composer.h composer/evolution-composer.ui configure.ac data/icons/Makefile.am em-format/em-format.c em-format/em-format.h mail/Makefile.am mail/e-mail-shell-migrate.c mail/e-searching-tokenizer.c mail/e-searching-tokenizer.h mail/em-composer-utils.c mail/em-composer-utils.h mail/em-folder-browser.c mail/em-folder-tree-model.c mail/em-folder-view.c mail/em-format-html-display.c mail/em-format-html-display.h mail/em-mailer-prefs.c mail/em-message-browser.c plugins/vcard-inline/Makefile.am plugins/vcard-inline/org-gnome-vcard-inline.eplug.xml plugins/vcard-inline/vcard-inline.c shell/e-component-registry.h shell/e-shell-window.c shell/es-menu.h widgets/misc/e-filter-bar.c widgets/misc/e-filter-bar.h widgets/misc/e-search-bar.c widgets/misc/e-search-bar.h
| * Bug 274117 – Difficult to post a new message to newsgroupsMatthew Barnes2009-05-211-127/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Completely rewrite how composer headers are managed. There's now two sets of headers (with some overlap): one set is for sending an email message, the other is for posting to a newsgroup. The correct set of headers is chosen on-the-fly based on the currently selected account type. The user's "view" preferences for these two sets are stored separately, so that switching between an email account and a news account will no longer stomp on your preferences. This also eliminates the need for the "Post New Message to Folder" and "Post a Reply" actions, so they've been removed. Usenet users can now just highlight a newsgroup in the folder tree and click New or Reply, and the composer window will show the correct set of headers with the Post-To field filled in automatically. Comment #6 in the bug discusses other standard news reader behaviors we still don't get right, particularly the missing "Followup To" header. These will be dealt with separately.
| * Use consistent variable names for GtkUIManagerMatthew Barnes2009-04-281-4/+4
| |
| * Commit the rest of the attachment UI rewriteMatthew Barnes2009-04-281-61/+5
| | | | | | | | | | Oops, last commit only included the -new- files. This also removes EExpander, which is no longer used.
| * Change "Save Draft" menu item to "Save as Draft" to be consistent withMatthew Barnes2008-12-181-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | 2008-12-18 Matthew Barnes <mbarnes@redhat.com> * e-composer-actions.c: Change "Save Draft" menu item to "Save as Draft" to be consistent with "Save as Template". I like that better. But leave the toolbar button alone. svn path=/trunk/; revision=36915
| * License ChangesSankarasivasubramanian Pasupathilingam2008-10-291-10/+8
| | | | | | | | svn path=/trunk/; revision=36693
| * ** Fix for bug #554664Milan Crha2008-10-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 2008-10-03 Milan Crha <mcrha@redhat.com> ** Fix for bug #554664 * e-composer-actions.c: (action_attach_cb): Call attach_remote_file when knows the URI points to it. svn path=/trunk/; revision=36549
| * ** Fix for bug #553273Milan Crha2008-09-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-09-23 Milan Crha <mcrha@redhat.com> ** Fix for bug #553273 * addressbook/gui/component/addressbook-view.c: (delete_addressbook_folder), (delete_addressbook_cb): * addressbook/gui/widgets/eab-gui-util.c: (save_it): * addressbook/gui/contact-list-editor/e-contact-list-model.c: (e_contact_list_model_add_email): * addressbook/gui/contact-list-editor/e-contact-list-editor.c: (contact_list_editor_contact_exists): * plugins/exchange-operations/exchange-config-listener.c: (exchange_config_listener_authenticate): * mail/em-composer-utils.c: (em_utils_handle_receipt): * mail/em-folder-view.c: (emfv_delete_msg_response): * composer/e-composer-actions.c: (action_save_cb): * calendar/gui/alarm-notify/alarm-queue.c: (edit_component): * calendar/gui/tasks-component.c: (delete_task_list_cb): * calendar/gui/calendar-component.c: (delete_calendar_cb): * calendar/gui/memos-component.c: (delete_memo_list_cb): Always end e_error_run/e_error_new calls with NULL parameter. svn path=/trunk/; revision=36434
| * ** Fixes bug #551548Matthew Barnes2008-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-09-10 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #551548 * composer/e-msg-composer.c: * composer/e-composer-action.c: Remove pointless SMIME_SUPPORTED check, which was hard-coded to 1. svn path=/trunk/; revision=36294
| * Milan Crha <mcrha@redhat.com> ** Fix for bug #545661 (Skip question for ↵Suman Manjunath2008-09-011-3/+2
| | | | | | | | | | | | not-saved only when not changed or application is exiting). svn path=/trunk/; revision=36241
* | Use -no-undefined on Linux tooMilan Crha2009-05-201-1/+3
| | | | | | | | | | There still left two things opened, search for KILL-BONOBO to find them. One is in calendar's Makefile.am, one in composer.
* | Use consistent variable names for GtkUIManagerMatthew Barnes2009-04-251-4/+4
| |
* | Saving progress on a massive attachment handling rewrite.Matthew Barnes2009-03-211-64/+8
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37465
* | Miscellaneous bug fixes.Matthew Barnes2009-02-171-2/+4
| | | | | | | | | | | | Kill e-util/e-corba-utils.[ch]. svn path=/branches/kill-bonobo/; revision=37283
* | Let the mailer handle composer printing.Matthew Barnes2009-02-011-15/+2
| | | | | | | | | | | | Start roughing in the mailer search bar. svn path=/branches/kill-bonobo/; revision=37199
* | Untangle some circular dependencies with the composer.Matthew Barnes2009-01-201-1/+1
| | | | | | | | | | | | Addressbook and calendar no longer depend on the mailer. svn path=/branches/kill-bonobo/; revision=37107
* | Merge revisions 36866:37046 from trunk.Matthew Barnes2009-01-121-3/+5
| | | | | | | | svn path=/branches/kill-bonobo/; revision=37050
* | Get the Character Encoding menu working.Matthew Barnes2009-01-011-2/+2
| | | | | | | | | | | | Kill e_charset_picker_bonobo_ui_populate(). svn path=/branches/kill-bonobo/; revision=36950
* | Merge revisions 36685:36729 from trunk.Matthew Barnes2008-11-081-10/+8
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36763
* | Merge revisions 36534:36684 from trunk.Matthew Barnes2008-10-251-1/+1
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36685
* | Merge revisions 36016:36533 from trunk.Matthew Barnes2008-10-021-2/+2
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36534
* | Merge revisions 36016:36303 from trunk.Matthew Barnes2008-09-111-4/+3
|/ | | | svn path=/branches/kill-bonobo/; revision=36307
* ** Fix for bug #206592Milan Crha2008-07-091-0/+15
| | | | | | | | | | | | | | 2008-07-09 Milan Crha <mcrha@redhat.com> ** Fix for bug #206592 * evolution-composer.ui: * e-composer-actions.h: * e-composer-actions.c: (action_new_message_cb), (entries): Action to invoke New Message window from the composer itself. svn path=/trunk/; revision=35733
* fixed copyright noticesJeffrey Stedfast2008-06-211-1/+1
| | | | svn path=/trunk/; revision=35662
* Fix a typo in the EError tag.Matthew Barnes2008-04-291-1/+1
| | | | | | | | | | 2008-04-28 Matthew Barnes <mbarnes@redhat.com> * composer/e-composer-actions.c (action_send_options_cb): Fix a typo in the EError tag. svn path=/trunk/; revision=35431
* Fix for bug #517134 : Extend the 'Insert' menu (in editors) to show a ↵Suman Manjunath2008-04-121-2/+2
| | | | | | | | | | | | | | | | | | | | "Recent Documents" submenu (to quickly add them as attachments). M configure.in M ChangeLog M composer/evolution-composer.ui M composer/ChangeLog M composer/e-composer-actions.c M composer/e-composer-private.c M widgets/misc/ChangeLog M widgets/misc/e-attachment-bar.c M widgets/misc/e-attachment-bar.h M calendar/gui/dialogs/comp-editor.c M calendar/ChangeLog M ui/ChangeLog M ui/evolution-editor.xml svn path=/trunk/; revision=35354
* ** Fixes bug #523413Matthew Barnes2008-04-091-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-04-08 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #523413 * composer/e-msg-composer.c (msg_composer_dispose): Use the 'application_exiting' private flag to determine whether to tell e_composer_autosave_unregister() to delete the autosave file. * composer/e-msg-composer.c (msg_composer_class_init), (e_msg_composer_save_draft): Remove the 'quit' parameter from the 'save-draft' signal. * composer/e-msg-composer.c (e_msg_composer_request_close_all): Take an autosave snapshot before activating the CLOSE action, and set the private 'application_exiting' flag. This should avoid prompting the user before shutting down. * composer/e-composer-actions.c (action_close_cb): When electing to save a message before closing, hide the window immediately. The callback function can then check the window's visibility after the save is complete to know whether to destroy the window. * composer/e-composer-autosave.c (e_composer_autosave_unregister): Add a 'delete_file' boolean parameter to determine whether to delete the autosave file. * composer/e-composer-private.h: Add an 'application_exiting' flag. * mail/em-composer-utils.c (save_draft_done): Check the composer window's visibility to determine whether to destroy the window. See the corresponding composer/ChangeLog entry to get the full story. * mail/em-composer-utils.c (em_utils_composer_save_draft_cb): Remove the 'quit' parameter. svn path=/trunk/; revision=35346
* ** Fixes bug #525966Matthew Barnes2008-04-081-1/+1
| | | | | | | | | | | | 2008-04-08 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #525966 * e-composer-actions.c (action_close_cb): Fix a boolean error in detecting unsaved changes. svn path=/trunk/; revision=35344
* ** Fixes bug #328146Matthew Barnes2008-04-081-2/+2
| | | | | | | | | | | | 2008-04-07 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #328146 * e-composer-actions.c: Fix missing and conflicting mnemonics. svn path=/trunk/; revision=35339
* ** Merge the mbarnes-composer branchMatthew Barnes2008-04-031-0/+692
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