aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
Commit message (Collapse)AuthorAgeFilesLines
* New convenience function calls gtk_show_uri() and displays an error dialogMatthew Barnes2009-01-111-10/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* ** Fix for bug #564248Milan Crha2008-12-161-2/+33
| | | | | | | | | | | | | 2008-12-16 Milan Crha <mcrha@redhat.com> ** Fix for bug #564248 * e-msg-composer.c: (msg_composer_paste_clipboard): Attach images pasted from a clipboard. Note: Requires at least gtkhtml revision 9067. svn path=/trunk/; revision=36906
* ** Fixes bug #562450Matthew Barnes2008-12-121-1/+1
| | | | | | | | | | | | 2008-12-11 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #562450 * composer/e-msg-composer.c (handle_multipart_signed): Fix a typo that broke "Edit as New Message" for signed messages. svn path=/trunk/; revision=36869
* ** Fixes bug #562886Matthew Barnes2008-12-051-2/+7
| | | | | | | | | | | | 2008-12-04 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #562886 * composer/e-msg-composer (handle_mailto): Don't double-decode attachment URIs. Also, parse &amp; correctly. svn path=/trunk/; revision=36834
* ** Fix for bug #559701Srinivasa Ragavan2008-11-121-5/+7
| | | | | | | | | | | | | 2008-11-07 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #559701 * e-msg-composer.c: (e_load_spell_languages): Don't save when its NULL. svn path=/trunk/; revision=36775
* ** Fixes part of bug #559371Matthew Barnes2008-11-061-17/+92
| | | | | | | | | | | | | | | | | | | | | | | | 2008-11-05 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #559371 * composer/e-msg-composer.c (e_load_spell_languages): New function loads a list of GtkhtmlSpellLanguage structs from GConf, taking care of details like converting language codes to structs and ensuring the returned list is non-empty. * composer/e-msg-composer.c (e_save_spell_languages): New function saves a list of GtkhtmlSpellLanguage structs to GConf, taking care of details like converting the structs to language codes. * composer/e-msg-composer.c (msg_composer_constructor): * mail/em-composer-prefs.c (spell_language_save), (spell_setup): Simplify the logic by using e_load_spell_languages() and e_save_spell_languages(). svn path=/trunk/; revision=36743
* ** Fixes bug #554450Matthew Barnes2008-11-051-0/+21
| | | | | | | | | | | | | 2008-11-04 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #554450 * composer/e-msg-composer.c (msg_composer_init): Get drag-and-drop to the attachment bar working again, but see my note in the source code. I'm still not sure why it broke. svn path=/trunk/; revision=36741
* ** Fixes bug #559028Matthew Barnes2008-11-031-2/+12
| | | | | | | | | | | | 2008-11-02 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #559028 * composer/e-msg-composer.c (msg_composer_key_press_event): Skip over the style toolbar when tabbing in reverse. svn path=/trunk/; revision=36720
* ** Fix for bug #554418Milan Crha2008-10-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-10-01 Milan Crha <mcrha@redhat.com> ** Fix for bug #554418 * e-util/e-util.h: (e_util_guess_mime_type): * e-util/e-util.c: (e_util_guess_mime_type): Guess mime_type based on the file content only when permitted by the caller, otherwise check based on the filename only, where it fallbacks if file content guess fails. * mail/em-utils.c: (em_utils_snoop_type): * mail/em-popup.c: (emp_standard_menu_factory): Guess mime_type based on the filename only. * composer/e-msg-composer.c: (handle_uri), (e_msg_composer_add_inline_image_from_file): Guess mime_type based on the file content, if failed, then on the filename. * widgets/misc/e-attachment.c: (attachment_guess_mime_type): Allow guessing mime_type based on the file content. * calendar/gui/dialogs/comp-editor.c: (set_attachment_list): * calendar/gui/e-cal-popup.c: (ecalp_standard_menu_factory): Allow/disallow guessing of the mime_type based on the file content. svn path=/trunk/; revision=36529
* License changes from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-291-17/+14
| | | | svn path=/trunk/; revision=36465
* ** Fixes bug #551548Matthew Barnes2008-09-101-6/+4
| | | | | | | | | | | | | 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-0/+8
| | | | | | not-saved only when not changed or application is exiting). svn path=/trunk/; revision=36241
* ** Fixes bug #546892Matthew Barnes2008-08-121-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-11 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #546892 * e-util/e-icon-factory.c (e_icon_factory_get_image): Kill this function. Use gtk_image_new_from_icon_name(). * e-util/e-icon-factory.c (e_icon_factory_get_icon_list): Kill this function. Use gtk_window_set_icon_name(). * widgets/misc/e-activity-handler.c: * widgets/misc/e-task-widget.c: Purge the GdkPixbuf arguments from the API. We've been ignoring them since the spinner icon was added. * addressbook/gui/contact-editor/e-contact-editor-fullname.c: * addressbook/gui/contact-editor/e-contact-editor-im.c: * addressbook/gui/contact-editor/e-contact-editor-address.c: * calendar/gui/alarm-notify/alarm-notify-dialog.c: * calendar/gui/dialogs/alarm-dialog.c: * calendar/gui/dialogs/alarm-list-dialog.c: * calendar/gui/dialogs/cal-attachment-select-file.c: * calendar/gui/dialogs/changed-comp.c: * calendar/gui/dialogs/delete-error.c: * calendar/gui/dialogs/select-source-dialog.c: * mail/mail-send-recv.c: * mail/message-tag-followup.c: * widgets/misc/e-combo-button.c: * widgets/misc/e-info-label.c: * widgets/misc/e-url-entry.c: * widgets/misc/e-task-widget.c: Prefer gtk_window_set_icon_name() over gtk_window_set_icon_list(). * addressbook/gui/contact-editor/e-contact-editor-im.c: * calendar/gui/dialogs/event-page.c: * calendar/gui/e-timezone-entry.c: * e-util/e-gui-utils.c: * e-util/e-popup.c: * plugins/import-ics-attachments/icsimporter.c: * plugins/itip-formatter/itip-view.c: * mail/em-folder-browser.c: * mail/em-format-html-display.c: * mail/mail-send-recv.c: * mail/message-tag-followup.c: Prefer gtk_image_new_from_icon_name() over e_icon_factory_get_image(). * calendar/gui/alarm-notify/alarm-queue.c: * plugins/mail-notification/mail-notification.c: Prefer gtk_status_icon_set_from_icon_name() over gtk_status_icon_set_from_pixbuf(). * addressbook/gui/component/addressbook-view.c: * calendar/gui/e-calendar-table.c: * calendar/gui/e-calendar-view.c: * calendar/gui/e-memo-table.c: * mail/mail-mt.c: e_activity_handler_operation_started() no longer takes a GdkPixbuf. It was ignoring the pixbuf anyway ever since we added a spinner icon. svn path=/trunk/; revision=35958
* ** Fixes bug #310988Matthew Barnes2008-06-211-2/+43
| | | | | | | | | | | | | 2008-06-21 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #310988 * e-msg-composer.c: Don't even show the "send-options" action unless an Exchange or GroupWise account appears in the From combo box. svn path=/trunk/; revision=35667
* fixed copyright noticesJeffrey Stedfast2008-06-211-5/+5
| | | | svn path=/trunk/; revision=35662
* ** Fixes bug #538908Matthew Barnes2008-06-211-0/+8
| | | | | | | | | | | | | | | | 2008-06-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #538908 * composer/e-composer-actions.h: Define E_COMPOSER_ACTION_SEND_OPTIONS. * composer/e-msg-composer.c (msg_composer_account_changed_cb): Desensitize the "send-options" action unless we've selected an Exchange or GroupWise account. Based on a patch by Paul Bolle. svn path=/trunk/; revision=35660
* ** Fix for bug #330597Milan Crha2008-06-131-4/+2
| | | | | | | | | | | | 2008-06-13 Milan Crha <mcrha@redhat.com> ** Fix for bug #330597 * e-msg-composer.c: (add_attachments_handle_mime_part): Add all text/* parts which has a filename set and also attach all submessages. svn path=/trunk/; revision=35634
* ** Fixes bug #525241 (EPluginUI)Matthew Barnes2008-05-091-31/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-05-08 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #525241 (EPluginUI) * e-util/Makefile.am: Add e-plugin-ui.[ch]. * e-util/e-plugin.h (EPluginClass): Add a "get_symbol" method for extracting arbitrary symbols from an EPlugin. Implementation of the method is optional. * e-util/e-plugin.c (e_plugin_get_symbol): New function invokes the new "get_symbol" EPlugin method. * e-util/e-plugin.c (epl_get_symbol): New function implements the new "get_symbol" EPlugin method. It extracts the given symbol name from the GModule. * e-util/e-plugin-ui.[ch]: New EPluginHook subclass that allows plugins to extend menus, toolbars, and popups that are managed by GtkUIManager instead of BonoboUI. Should eventually replace EMenu/EPopup. * shell/main.c (main): Register the EPluginUIHook type. * composer/e-msg-composer.c (msg_composer_destroy), (msg_composer_init): Rip out the EMenu logic. * composer/e-msg-composer.c (msg_composer_init): Register the GtkUIManager with EPluginUI. * plugins/face/Makefile.am: * plugins/face/org-gnome-face-ui.xml: Remove org-gnome-face-ui.xml (obsolete). * plugins/face/face.c (e_plugin_ui_init): Initialization callback for EPluginUI. Adds a "face" action to the EMsgComposer instance's "composer" action group. * plugins/face/org-gnome-face.eplug.xml: Replace the "bonobomenu" hook definition with a new one for EPluginUI. Include the UI definition inline. svn path=/trunk/; revision=35485
* ** Fixes part of bug #424744Matthew Barnes2008-05-071-4/+5
| | | | | | | | | | | | | | | | | | | | | | | 2008-05-06 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #424744 * configure.in: Bump eds_minimum_version to 2.23.2 for camel-iconv.h. * composer/e-composer-private.c: * composer/e-composer-private.h: * composer/e-msg-composer.c: * mail/em-composer-prefs.c: * mail/em-format-html.c: * mail/em-format-quote.c: * mail/em-mailer-prefs.c: * widgets/misc/e-attachment-bar.c: * widgets/misc/e-unicode.c: Use camel-iconv.c instead of e-iconv.h (now deprecated). svn path=/trunk/; revision=35474
* ** Fix for bug #526741 (gnome-vfs to gio/gvfs port)Milan Crha2008-04-181-32/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-04-17 Milan Crha <mcrha@redhat.com> ** Fix for bug #526741 (gnome-vfs to gio/gvfs port) * configure.in: Drop dependency on gnome-vfs, depend on gio instead. * addressbook/gui/contact-editor/e-contact-editor.c: Do not include gnome-vfs. * calendar/gui/e-meeting-store.c: (start_async_read), (freebusy_async), (async_read): Read data with gio, not with gnome-vfs. * calendar/gui/e-meeting-store.c: (async_close): Function removed. * calendar/gui/migration.c: * calendar/gui/e-memos.c: * calendar/gui/alarm-notify/notify-main.c: * calendar/gui/e-tasks.c: * calendar/gui/main.c: * calendar/gui/e-meeting-list-view.c: Do not include gnome-vfs. * calendar/gui/dialogs/comp-editor.c: (set_attachment_list): * calendar/gui/dialogs/comp-editor.c: (attachment_guess_mime_type): Function removed, use e-util function instead. * calendar/gui/e-cal-popup.c: (temp_save_part): Reflect changes in CamelStreamVFS. * calendar/gui/e-cal-popup.c: (ecalp_apps_open_in), (ecalp_apps_popup_free), (ecalp_standard_menu_factory): Use gio to fill popup and launch app. * calendar/gui/e-cal-component-preview.h: (e_cal_comp_preview_url_requested_cb): * calendar/gui/e-cal-component-preview.c: (e_cal_comp_preview_url_requested_cb): New helper function to manage file:// urls for GtkHTML component. * calendar/gui/e-cal-component-preview.c: (e_cal_component_preview_init): * calendar/gui/e-cal-component-memo-preview.c: (e_cal_comp_preview_url_requested_cb): Use above helper function. * calendar/gui/e-cal-component-memo-preview.c: (url_requested_cb): * calendar/gui/e-cal-component-preview.c: (url_requested_cb): Function removed. * composer/e-msg-composer.h: (e_msg_composer_guess_mime_type): * composer/e-msg-composer.c: (e_msg_composer_guess_mime_type), (handle_uri), (e_msg_composer_add_inline_image_from_file): Use shared e_util_guess_mime_type instead of its own. * e-util/e-gui-utils.c: Do not include gnome-vfs. * e-util/e-util.c: (e_write_file_uri), (e_file_get_save_path): * e-util/e-dialog-utils.c: (e_file_can_save), (e_file_check_local): Use gio instead of gnome-vfs. * e-util/e-util.h: * e-util/e-util.c: (e_util_guess_mime_type), (e_util_filename_to_uri), (e_util_uri_to_filename), (e_util_read_file): New helper functions. * mail/Makefile.am: * mail/em-vfs-stream.h: * mail/em-vfs-stream.c: Removed from project, not used anywhere. * mail/em-menu.c: * mail/em-config.c: Do not include gnome-vfs. * mail/mail-ops.c: (save_messages_exec), (save_part_exec): Changes related to Data Server change of CamelStreamVFS. * mail/em-format.c: (em_format_describe_part): * mail/em-format-html-display.c: (efhd_bonobo_object), (efhd_find_handler), (efhd_use_component), (efhd_bonobo_unknown), (efhd_check_server_prop), (efhd_format_attachment): Drop use of deprecated gnome-vfs functions. * mail/em-utils.c: (em_utils_snoop_type): Use gio to guess the mime_type. * mail/em-popup.c: (emp_apps_open_in), (emp_apps_popup_free), (emp_standard_menu_factory): Use gio to fill popup and launch app. * plugins/import-ics-attachments/icsimporter.c: Do not include gnome-vfs. * plugins/ipod-sync/ical-format.c: (do_save_calendar_ical): * plugins/ipod-sync/ipod-sync.c: (destination_save_addressbook): Write to gio GOutputStream instead of gnome-vfs handle. * plugins/ipod-sync/format-handler.h: (open_for_writing): * plugins/ipod-sync/ipod-sync.c: (open_for_writing): New helper function. * plugins/publish-calendar/publish-format-fb.h: (publish_calendar_as_fb): * plugins/publish-calendar/publish-format-fb.c: (write_calendar), (publish_calendar_as_fb): * plugins/publish-calendar/publish-format-ical.h: (publish_calendar_as_ical): * plugins/publish-calendar/publish-format-ical.c: (write_calendar), (publish_calendar_as_ical): Use gio GOutputStream instead of gnome-vfs handle. * plugins/publish-calendar/url-editor-dialog.c: (create_uri): Use glib function to escape URI. * plugins/publish-calendar/publish-location.c: (migrateURI): Use EUri to parse URI. * plugins/publish-calendar/publish-calendar.c: (publish_online), (unmount_done_cb), (struct mnt_struct), (mount_ready_cb), (ask_password), (ask_question), (mount_first), (publish): Use gio instead of gnome-vfs for opening (remote) files. * plugins/save-calendar/ical-format.c: (do_save_calendar_ical): * plugins/save-calendar/csv-format.c: (do_save_calendar_csv): * plugins/save-calendar/rdf-format.c: (do_save_calendar_rdf): Use gio GOutpuStream instead of gnome-vfs handle. * plugins/save-calendar/format-handler.h: (open_for_writing): * plugins/save-calendar/save-calendar.c: (open_for_writing): New helper function. * shell/e-shell-window-commands.c: (command_quick_reference): Use gio instead of gnome-vfs. * widgets/misc/e-attachment.h: (struct _EAttachment): * widgets/misc/e-attachment.c: (finalise), (init), (attachment_guess_mime_type), (e_attachment_new), (struct DownloadInfo), (download_info_free), (data_ready_cb), (download_to_local_path), (e_attachment_new_remote_file): Use gio instead of gnome-vfs to download remote files. * widgets/misc/e-image-chooser.c: (image_drag_data_received_cb): Use new util function to read file. * widgets/misc/e-attachment-bar.c: (size_to_string): Stolen from gnome-vfs. svn path=/trunk/; revision=35378
* ** Fixes bug #523413Matthew Barnes2008-04-091-5/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 part of bug #526152, plus some tangential code cleanup.Matthew Barnes2008-04-051-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-04-05 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #526152, plus some tangential code cleanup. * mail/Makefile.am: Remove all the IDL crud for GnomeSpell. * mail/em-composer-prefs.c: * mail/evolution-mail.schemas.in: * mail/mail-config.c: Define our own GConf keys for active spell checking languages and the underline color for misspelled words, instead of relying on GnomeSpell's GConf keys. The new keys are: /apps/evolution/mail/composer/spell_color (string) /apps/evolution/mail/composer/spell_languages (list of strings) * mail/em-composer-prefs.c: * mail/em-composer-prefs.h: Cleanup the logic a bit to improve readability. * mail/mail-config.c: Cleanup the GConf notification logic: - We don't need the notification IDs for GConf keys we're watching. - Minimize the repetition of GConf keys to reduce the risk of typos. - Reduce the number of notification callback functions. * mail/Spell.idl: Remove this file; we don't use GnomeSpell anymore. * composer/e-msg-composer.c: * composer/e-composer-private.h: Initialize a new composer's spell checking language menu via our new "spell_languages" GConf key. * tools/killev.c (main): No need to continue killing the GnomeSpell Bonobo server. svn path=/trunk/; revision=35322
* ** Merge the mbarnes-composer branchMatthew Barnes2008-04-031-4041/+2131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 #513951Matthew Barnes2008-03-111-15/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-03-11 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #513951 * addressbook/gui/component/addressbook-component.c (ensure_sources): * addressbook/gui/component/addressbook-migrate.c (addressbook_migrate): * calendar/gui/cal-search-bar.c (cal_search_bar_construct): * calendar/gui/migration.c (create_calendar_sources), (create_task_sources), (migrate_calendars), (migrate_tasks), (create_memo_sources): * calendar/gui/e-memos.c (e_memos_setup_view_menus): * calendar/gui/tasks-component.c (ensure_sources): * calendar/gui/gnome-cal.c (gnome_calendar_setup_view_menus): * calendar/gui/calendar-component.c (ensure_sources): * calendar/gui/memos-component.c (ensure_sources): * mail/mail-config.c (gconf_mime_types_changed): Adapt to new meaning of xxx_component_peek_base_directory(). * addressbook/gui/component/addressbook-component.c (addressbook_component_init): * addressbook/gui/component/addressbook-migrate.c (create_groups): * calendar/gui/tasks-component.c (tasks_component_init): * calendar/gui/calendar-component.c (calendar_component_init): * calendar/gui/memos-component.c (memos_component_init): * composer/e-msg-composer.c (autosave_manager_query_load_orphans), (autosave_init_file): * e-util/e-mktemp.c (get_dir): * e-util/e-util.c (get_lock_filename): * mail/mail-component.c: * plugins/face/face.c (org_gnome_composer_face): * smime/lib/e-cert-db.c (initialize_nss): Use e_get_user_data_dir() instead of constructing the full path. * calendar/gui/migration.c (add_gw_esource): * composer/e-msg-composer.c (e_msg-composer_unrealize), (e_msg_composer_set_view_from), (e_msg_composer_set_view_replyto), (e_msg_composer_set_view_to), (e_msg_composer_set_view_postto), (e_msg_composer_set_view_cc), (e_msg_composer_set_view_bcc): * e-util/e-util.c (e_file_update_save_path), (e_file_get_save_path): Emit warnings if saving to GConf fails. * e-util/e-util.c (e_get_user_data_dir): New function returns the base directory for Evolution user data. This should be the /only/ place in the application where this directory is hard-coded. svn path=/trunk/; revision=35175
* Reverting commit for #371011Johnny Jacob2008-02-251-4/+6
| | | | svn path=/trunk/; revision=35083
* ** Part of fix for bug #515744Milan Crha2008-02-201-4/+1
| | | | | | | | | | | | | 2008-02-20 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #515744 * composer/e-msg-composer.c: (drop_action): * calendar/gui/dialogs/comp-editor.c: (drop_action): Fixing previous fix - do not double free. svn path=/trunk/; revision=35063
* ** Part of fix for bug #515744Milan Crha2008-02-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-02-18 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #515744 * addressbook/gui/component/addressbook-migrate.c: (get_source_name): * plugins/groupwise-features/send-options.c: (get_source): * plugins/groupwise-features/share-folder-common.c: (get_container_id): * plugins/groupwise-features/install-shared.c: (install_folder_response): * plugins/external-editor/external-editor.c: (convert_to_camel_internet_address), (org_gnome_external_editor): * plugins/itip-formatter/itip-formatter.c: (idle_open_cb): * mail/em-folder-view.c: (emfv_setup_view_instance): * mail/mail-component.c: (impl_finalize): * mail/message-list.c: (ml_tree_value_at): * composer/e-msg-composer.c: (drop_action): * e-util/e-config.c: (ep_finalise): Use proper member to free. * widgets/misc/e-cursors.c: (e_cursors_init): * widgets/misc/e-calendar-item.c: (e_calendar_item_draw_month): * calendar/gui/dialogs/comp-editor.c: (drop_action): * calendar/gui/calendar-config.c: (calendar_config_get_hide_completed_tasks_sexp): * calendar/gui/comp-editor-factory.c: (edit_existing): * calendar/gui/e-day-view.c: (e_day_view_reshape_long_event), (e_day_view_on_top_canvas_drag_data_received): * calendar/gui/e-day-view-main-item.c: (e_day_view_main_item_draw_events_in_vbars), (e_day_view_main_item_draw_long_events_in_vbars): * calendar/gui/e-day-view-top-item.c: (e_day_view_top_item_draw_long_event): * calendar/gui/e-cal-model.c: (redo_queries): * calendar/gui/e-calendar-table.c: (e_calendar_table_open_task): * calendar/gui/e-memo-table.c: (open_memo): * calendar/gui/print.c: (print_todo_details): * calendar/gui/migration.c: (get_source_name): Memory leak fix. * calendar/gui/e-week-view.c: (e_week_view_reshape_events): Simplifies things. svn path=/trunk/; revision=35044
* Fix for 371011 : Insert a new paragraph for for signature. needed by GTKHTML ↵Johnny Jacob2008-01-251-6/+4
| | | | | | for undo/redo. svn path=/trunk/; revision=34891
* Fix for #503327 : Fixes memory leaks and a buffer overflow in attachment ↵Johnny Jacob2008-01-251-2/+2
| | | | | | reminder. svn path=/trunk/; revision=34890
* ** Fixes bug #509124Matthew Barnes2008-01-241-2/+9
| | | | | | | | | | | | | 2008-01-24 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #509124 * composer/e-msg-composer.c (e_msg_composer_get_message_print), (e_msg_composer_get_message_draft): Check result of build_message() for NULL before proceeding. svn path=/trunk/; revision=34883
* Patch from <nickspoon0@gmail.com> ** Fix for bug #502783 (Restore states of ↵Suman Manjunath2008-01-141-0/+10
| | | | | | 'Request Read Receipt' and 'Prioritize Message' when opening a draft message) svn path=/trunk/; revision=34804
* Patch from Michael Monreal <michael.monreal@gmx.net>: Fix for bug #492188 ↵Suman Manjunath2008-01-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | (Use the new Tangoized icons instead of the deprecated ones from gnome-icon-theme) M addressbook/gui/component/addressbook-view.c M addressbook/ChangeLog AM data/icons/hicolor_actions_16x16_mail-move.png AM data/icons/hicolor_actions_16x16_mail-copy.png AM data/icons/hicolor_actions_16x16_folder-move.png M data/icons/Makefile.am AM data/icons/hicolor_actions_16x16_folder-copy.png M mail/em-folder-browser.c M mail/ChangeLog M mail/em-folder-tree.c M mail/em-folder-view.c M mail/message-list.c M composer/ChangeLog M composer/e-msg-composer.c M ChangeLog M calendar/gui/dialogs/comp-editor.c M calendar/ChangeLog svn path=/trunk/; revision=34769
* ** Fix for bug #364642Milan Crha2008-01-021-0/+1
| | | | | | | | | | | | | | | | | | | 2008-01-02 Milan Crha <mcrha@redhat.com> ** Fix for bug #364642 * mail/em-composer-prefs.h: (struct _EMComposerPrefs): * mail/em-composer-prefs.c: (em_composer_prefs_construct): * mail/mail-config.glade: * mail/evolution-mail.schemas.in: (/apps/evolution/mail/composer/request_receipt): New option in Composer tab to preset Request Read Receipt in composer. * composer/e-msg-composer.c: (create_composer): Preset "Request Read Receipt" based on gconf key "/apps/evolution/mail/composer/request_receipt". svn path=/trunk/; revision=34749
* ** Fixes part of bug #495123Matthew Barnes2007-12-021-252/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-12-01 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #495123 * composer/e-msg-composer.c: * composer/e-msg-composer-hdrs.h: * composer/e-msg-composer-hdrs.c: Move signature handling to e-msg-composer-hdrs.c. Use an ESignatureComboBox. * composer/e-composer-from-header.h: * composer/e-composer-from-header.c: Clean up the GtkHBox hack. The signature combo is now packed directly into the GtkTable. * composer/e-composer-name-header.c: * composer/e-composer-text-header.c: Code cleanup. * widgets/misc/Makefile.am: Add e-signature-combo-box.[ch]. * widget/misc/e-account-combo-box.c (account_combo_box_refresh_cb): Make sure the EAccount isn't lost while swapping models. * widget/misc/e-signature-combo-box.c: * widget/misc/e-signature-combo-box.h: New widget renders an ESignatureList as a combo box. Also listens for changes to the ESignatureList and updates itself accordingly. svn path=/trunk/; revision=34620
* ** Part of fix for bug #271551Milan Crha2007-11-301-0/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-11-29 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #271551 * mail/evolution-mail.schemas.in: New key "/apps/evolution/mail/composer/current_folder". * composer/e-msg-composer.h: (e_msg_composer_set_attach_path), (e_msg_composer_get_attach_path): * composer/e-msg-composer.c: (e_msg_composer_set_attach_path), (e_msg_composer_get_attach_path): Functions to set/get attach path to both composer and editor. * composer/e-msg-composer.c: (prepare_engine): Set last used path right after creation of the engine. * composer/e-msg-composer-select-file.c: (get_selector), (select_file_response), (select_attach_response): Using new functions. * composer/listener.c: (impl_event): Store new file path when received event about its change. * composer/e-msg-composer.c: (set_signature_gui): Leak fix. Note: update your GtkHtml to revision 8636 and above. svn path=/trunk/; revision=34613
* ** Fixes bug #495123Matthew Barnes2007-11-281-25/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-11-27 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #495123 * composer/Makefile.am: Add a bunch of files for managing composer headers. * composer/e-msg-composer.c (build_message), (from_changed_cb), (set_editor_signature), (e_msg_composer_set_body), (e_msg_composer_get_preferred_account): * plugins/exchange-operations/exchange-mail-send-options.c (append_to_header): Use e_msg_composer_hdrs_get_from_account() to obtain the EAccount. * composer/e-msg-composer-hdrs.c: * composer/e-msg-composer-hdrs.h: Massive refactoring to use new EComposerHeader classes. * composer/e-composer-header.c: * composer/e-composer-header.h: * composer/e-composer-from-header.c: * composer/e-composer-from-header.h: * composer/e-composer-name-header.c: * composer/e-composer-name-header.h: * composer/e-composer-post-header.c: * composer/e-composer-post-header.h: * composer/e-composer-text-header.c: * composer/e-composer-text-header.h: New GObject classes manage different types of composer headers. See bug #495123 for a more detailed description of each class. * mail/mail-session.c (mail_session_init): Pass the CamelSession to the EAccountComboBox class (ugly hack). * widgets/misc/Makefile.am: Add e-account-combo-box.[ch]. * widgets/misc/e-account-combo-box.c: * widgets/misc/e-account-combo-box.h: New widget renders an EAccountList as a combo box. Also listens for changes to the EAccountList and updates itself accordingly. svn path=/trunk/; revision=34600
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-749/+749
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* ** Fix for bug #318592Milan Crha2007-11-011-0/+21
| | | | | | | | | | | | | | 2007-11-01 Milan Crha <mcrha@redhat.com> ** Fix for bug #318592 * e-msg-composer.h: (e_msg_composer_link_clicked): * e-msg-composer.c: (e_msg_composer_link_clicked): Helper function to response on editor's "link_clicked" event. * listener.c: (impl_event): Call helper function on that event. svn path=/trunk/; revision=34477
* ** Miscellaneous compiler warning fixes.Matthew Barnes2007-11-011-1/+2
| | | | | | | | | | | | | | | | 2007-11-01 Matthew Barnes <mbarnes@redhat.com> ** Miscellaneous compiler warning fixes. * composer/e-msg-composer.c (e_msg_composer_set_body_text): * shell/e-user-creatable-items-handler.c (ensure_menu_items): Don't compare a character pointer to a string literal. * widgets/table/e-table-click-to-add.c (etcta_add_message): Fix a const warning. svn path=/trunk/; revision=34476
* Remove one more unused header.Kjartan Maraas2007-10-311-1/+0
| | | | | | | | 2007-10-31 Kjartan Maraas <kmaraas@gnome.org> * e-msg-composer.c: Remove one more unused header. svn path=/trunk/; revision=34465
* Warning fixes. - NULL vs. 0 - ANSIfication of declarations - mixing codeKjartan Maraas2007-10-261-9/+10
| | | | | | | | | | | | | | 2007-10-25 Kjartan Maraas <kmaraas@gnome.org> * e-msg-composer.c: * e-msg-composer.h: * listener.c: Warning fixes. - NULL vs. 0 - ANSIfication of declarations - mixing code and declarations svn path=/trunk/; revision=34427
* Remove the entry_pixcache array to silence the run-time warnings whenMatthew Barnes2007-10-041-13/+0
| | | | | | | | | | | | 2007-10-03 Matthew Barnes <mbarnes@redhat.com> * composer/e-msg-cmposer.c: Remove the entry_pixcache array to silence the run-time warnings when opening a new composer window. The composer seems to work fine without them; not sure why it was needed in the first place. svn path=/trunk/; revision=34350
* ** Fixes bug #469657Matthew Barnes2007-10-021-41/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-02 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #469657 * addressbook/importers/evolution-ldif-importer.c: * calendar/gui/comp-editor-factory.c: * composer/e-msg-composer.c: * e-util/e-config-listener.c: * mail/em-composer-prefs.c: * mail/em-folder-tree-model.c: * mail/em-format.c: * mail/em-format-html.c: * mail/em-migrate.c: * mail/em-subscribe-editor.c: * mail/mail-component.c: * mail/mail-send-recv.c: * mail/message-list.c: * mail/importers/elm-importer.c: * plugins/exchange-operations/exchange-folder-size-display.c: * plugins/mono/mono-plugin.c: * shell/e-shell-settings-dialog.c: * tools/killev.c: * widgets/table/e-table-extras.c: * widgets/table/e-table-selection-model.c: Use destroy functions in GHashTables to simplify memory management. svn path=/trunk/; revision=34344
* ** Fixes bug #477045Matthew Barnes2007-09-281-8/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-09-27 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #477045 * addressbook/gui/component/addressbook-component.c: * addressbook/gui/component/addressbook-view.c: * addressbook/gui/contact-editor/e-contact-editor-address.c: * addressbook/gui/contact-editor/e-contact-editor-fullname.c: * addressbook/gui/contact-editor/e-contact-editor-im.c: * addressbook/gui/widgets/e-addressbook-view.c: * addressbook/gui/widgets/eab-contact-display.c: * calendar/gui/calendar-commands.c: * calendar/gui/calendar-component.c: * calendar/gui/dialogs/cal-attachment-select-file.c: * calendar/gui/dialogs/comp-editor.c: * calendar/gui/dialogs/event-editor.c: * calendar/gui/dialogs/task-editor.c: * calendar/gui/e-cal-popup.c: * calendar/gui/e-calendar-table.c: * calendar/gui/e-calendar-view.c: * calendar/gui/e-day-view.c: * calendar/gui/e-memo-table.c: * calendar/gui/e-week-view.c: * calendar/gui/memos-component.c: * calendar/gui/memos-control.c: * calendar/gui/tasks-component.c: * calendar/gui/tasks-control.c: * composer/e-msg-composer-select-file.c: * composer/e-msg-composer.c: * mail/em-folder-tree.c: * mail/em-folder-view.c: * mail/em-popup.c: * mail/mail-component.c: * mail/mail-mt.c: * mail/mail-send-recv.c: * mail/message-list.c: * plugins/exchange-folder-permission.c: * plugins/exchange-folder.c: * plugins/groupwise-features/share-folder-common.c: * shell/e-shell-window-commands.c: * ui/evolution-addressbook.xml: * ui/evolution-calendar.xml: * ui/evolution-composer-entries.xml: * ui/evolution-editor.xml: * ui/evolution-event-editor.xml: * ui/evolution-mail-list.xml: * ui/evolution-mail-message.xml: * ui/evolution-memos.xml: * ui/evolution-message-composer.xml: * ui/evolution-subscribe.xml: * ui/evolution-task-editor.xml: * ui/evolution-tasks.xml: * ui/evolution.xml: Use standard icon names where applicable. svn path=/trunk/; revision=34322
* ** Fixes bug #476040Matthew Barnes2007-09-131-3/+3
| | | | | | | | | | | | | | | | | | | | 2007-09-12 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #476040 * calendar/gui/e-day-view.c: * calendar/gui/e-week-view.c: * calendar/gui/dialogs/comp-editor.c: * composer/e-msg-composer.c: * composer/e-msg-composer-attachment-bar.c: * mail/em-folder-browser.c: * mail/message-list.c: * widgets/misc/e-attachment-bar.c: Use "mail-attachment" icon instead of "stock_attach". Use "mail-attachment" icon for unknown attachment types. svn path=/trunk/; revision=34240
* 2007-09-07 mcrha Fix for bug #473903Milan Crha2007-09-071-1/+1
| | | | svn path=/trunk/; revision=34192
* ** Fix for bug #471791 (Move away from asserts to g_ret*)Srinivasa Ragavan2007-09-031-7/+7
| | | | svn path=/trunk/; revision=34158
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-2/+2
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* ** Fixes bug #355766Matthew Barnes2007-08-251-0/+43
| | | | | | | | | | | | | | | | | 2007-08-24 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #355766 * plugins/print-message/print-message.c (org_gnome_print_preview): Call e_msg_composer_get_message_print(). * composer/e-msg-composer.[ch] (e_msg_composer_get_message_print): New function overrides composer flags for printing. Patch by Mayank Jain. svn path=/trunk/; revision=34099
* Committed on behalf of Raghavendran <raghavguru7@gmail.com>Sankar P2007-08-231-25/+25
| | | | | | | | | | | | | | | | 2007-08-23 Sankar P <psankar@novell.com> * Committed on behalf of Raghavendran <raghavguru7@gmail.com> ** Fix for bug #328405 * e-msg-composer.c: (e_msg_composer_show_sig_file): A signature will be attached when redirecting an email. Fixes that issue. svn path=/trunk/; revision=34071
* 2007-08-16 mcrha Part of fix for bug #350539Milan Crha2007-08-161-1/+16
| | | | svn path=/trunk/; revision=34017
* Fix for Bug 462138 – Signature on top doesn't work... Committed on behalf of PJohnny Jacob2007-08-101-0/+6
| | | | | | | Sankar <psankar@novell.com> svn path=/trunk/; revision=33977
* ** Fix for bug #462332Hiroyuki Ikezoe2007-08-021-61/+67
| | | | | | | | | | | | | 2007-08-02 Hiroyuki Ikezoe <poincare@ikezoe.net> ** Fix for bug #462332 * e-msg-composer.c: Handle _NETSCAPE_URL correctly. Suppress many warnings. Remove unused e_msg_composer_show_attachments(). svn path=/trunk/; revision=33929
* ** Fix for downstream bug from openSUSE (bnc #271045)Srinivasa Ragavan2007-08-011-0/+1
| | | | svn path=/trunk/; revision=33921
* Provide support for keeping your signature on top while replying.Sankar P2007-07-161-4/+47
| | | | | | | | | 2007-07-16 Sankar P <psankar@novell.com> Provide support for keeping your signature on top while replying. svn path=/trunk/; revision=33808
* Added prototypes for e_msg_composer_get_raw_message_text andJohnny Jacob2007-07-091-1/+1
| | | | | | | | | | | 2007-07-09 Johnny Jacob <jjohnny@novell.com> * e-msg-composer.h : Added prototypes for e_msg_composer_get_raw_message_text and e_msg_composer_get_attachment_bar svn path=/trunk/; revision=33779
* Commit for tnef attachment and attachment reminderSrinivasa Ragavan2007-07-091-0/+27
| | | | svn path=/trunk/; revision=33769
* ** Fix for bug #444107Srinivasa Ragavan2007-06-181-5/+6
| | | | svn path=/trunk/; revision=33691
* Use the proper object to send the signal on (Closes: #442631)Bastien Nocera2007-06-131-1/+1
| | | | | | | | | | 2007-06-13 Bastien Nocera <hadess@hadess.net> * e-msg-composer.c: (composer_key_pressed): Use the proper object to send the signal on (Closes: #442631) svn path=/trunk/; revision=33673
* M composer/ChangeLog M composer/e-msg-composer.c M mail/ChangeLog MSankar P2007-06-131-1/+5
| | | | | | | | | | | | | | 2007-06-13 Sankar P <psankar@novell.com> M composer/ChangeLog M composer/e-msg-composer.c M mail/ChangeLog M mail/em-folder-view.c Fixes build break by including missing headers. See #442631 svn path=/trunk/; revision=33670
* Add support for the XF86Reply and XF86MailForward multimedia keys (Closes:Bastien Nocera2007-06-121-0/+9
| | | | | | | | | | | | | | | | | | | | | | 2007-06-12 Bastien Nocera <hadess@hadess.net> * em-folder-view.c: (emfv_list_key_press): Add support for the XF86Reply and XF86MailForward multimedia keys (Closes: #442631) 2007-06-12 Bastien Nocera <hadess@hadess.net> * e-msg-composer.c: (composer_key_pressed): Add support for the XF86Send multimedia key (Closes: #442631) 2007-06-12 Bastien Nocera <hadess@hadess.net> * configure.in: Detect the X11/XF86keysym.h header, and enable multimedia keys if available (Closes: #442631) svn path=/trunk/; revision=33668
* ** Fix for bug #386503 from Matthew BarnesSrinivasa Ragavan2007-06-031-6/+5
| | | | svn path=/trunk/; revision=33647
* ** Fix for bug #315012 from Pascal TerjanSrinivasa Ragavan2007-06-021-7/+7
| | | | svn path=/trunk/; revision=33611
* Fix for bug #356523 from Martin OlssonSrinivasa Ragavan2007-04-091-6/+11
| | | | svn path=/trunk/; revision=33405
* Don't mix declarations and code (#405495).Matthew Barnes2007-03-271-15/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-03-27 Matthew Barnes <mbarnes@redhat.com> * a11y/e-table/gal-a11y-e-cell-text.c: * a11y/e-table/gal-a11y-e-cell-vbox.c: * addressbook/gui/component/addressbook-component.c: * addressbook/gui/component/addressbook-view.c: * addressbook/gui/contact-editor/e-contact-editor.c: * addressbook/gui/contact-editor/e-contact-quick-add.c: * addressbook/gui/widgets/e-addressbook-view.c: * addressbook/gui/widgets/eab-contact-display.c: * addressbook/gui/widgets/gal-view-minicard.c: * calendar/gui/alarm-notify/alarm-queue.c: * calendar/gui/dialogs/comp-editor.c: * calendar/gui/dialogs/event-page.c: * calendar/gui/dialogs/memo-page.c: * calendar/gui/dialogs/task-page.c: * calendar/gui/e-cal-popup.c: * calendar/gui/e-meeting-list-view.c: * calendar/gui/e-tasks.c: * calendar/gui/gnome-cal.c: * composer/e-msg-composer.c: * mail/em-folder-browser.c: * mail/em-format.c: * mail/em-popup.c: * plugins/exchange-operations/exchange-account-setup.c: * plugins/exchange-operations/exchange-calendar.c: * plugins/exchange-operations/exchange-config-listener.c: * plugins/exchange-operations/exchange-contacts.c: * plugins/import-ics-attachments/icsimporter.c: * widgets/misc/e-filter-bar.c: * widgets/misc/e-multi-config-dialog.c: * widgets/table/e-cell-checkbox.c: * widgets/table/e-table-header-item.c: Don't mix declarations and code (#405495). svn path=/trunk/; revision=33324
* ** Fixes bug #419524Matthew Barnes2007-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 2007-03-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #419524 * Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>. * e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list): * mail/em-migrate.c (emm_setup_initial): * shell/e-component-registry.c (query_components): * shell/e-shell-settings-dialog.c (load_pages): * shell/e-shell-window-commands.c (command_quick_reference): * tools/killev.c (main): Use g_get_language_names() instead of gnome_i18n_get_language_list(). * e-util/e-util.c: Remove e_gettext(). * e-util/Makefile.am: Remove e-i18n.h. svn path=/trunk/; revision=33319
* ** Fixes bug #360240Matthew Barnes2007-03-171-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-03-16 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #360240 * addressbook/gui/widgets/e-addressbook-view.c (e_contact_print_button): * addressbook/printing/e-contact-print.c (complete_sequence), (e_contact_build_style), (e_contact_print_response), (e_contact_print_contact_list_dialog_new): * shell/e-shell-importer.c (importer_file_page_new): * plugins/startup-wizard/startup-wizard.c (startup_wizard_timezone_page): * mail/em-vfolder-rule.c (select_source_with_changed), (get_widget): * mail/em-format-quote.c (emfq_format_source): * mail/mail-ops.c (save_messages_save): * mail/em-format.c (emf_init): * mail/em-format-html-display (em_format_html_get_search_dialog), (em_format_html_display_seearch_with), (ehhd_resize), (efhd_attachment_optional), (efhd_format_optional): * mail/em-folder-view.c (emfv_init): * mail/message-list.c (ml_tree_value_at): * composer/e-msg-composer-hdrs (header_new_recipient): * composer/e-msg-composer.c (e_msg_composer_show_help), (drop_action): * widgets/table/e-cell-text.c (ect_free_color): * widgets/misc/e-calendar-item.c (e_calendar_item_unrealize): * widgets/misc/e-icon-entry.c (e_icon_entry_pack_widget): Remove unused variables. svn path=/trunk/; revision=33315
* Use ~/.evolution as the auto-save location.Sankar P2007-02-261-4/+10
| | | | | | | | | | | | | | | | | 2007-02-26 Sankar P <psankar@novell.com> * e-msg-composer.c: (autosave_manager_query_load_orphans), (autosave_init_file): Use ~/.evolution as the auto-save location. * Patch pushed upstream from Red Hat by Matthew Barnes <mbarnes@redhat.com> * Fixes #336612 svn path=/trunk/; revision=33252
* Fix for bug #343943Srinivasa Ragavan2007-02-261-0/+2
| | | | svn path=/trunk/; revision=33249
* **Fixes bug #343943 Added code for tab sequence to go from BCC into Body.Raghavendran2007-01-261-1/+8
| | | | | | | | | | 2007-01-25 Raghavendran <raghavguru7@gmail.com> **Fixes bug #343943 * e-msg-composer.c:Added code for tab sequence to go from BCC into Body. svn path=/trunk/; revision=33149
* , (e_msg_composer_remove_header): Added code for modifying and removingRaghavendran R2007-01-231-4/+84
| | | | | | | | | | | | | | 2007-01-18 Raghavendran R<raghavguru7@gmail.com> * e-msg-composer.[c,h]: (e_msg_composer_modify_header): , (e_msg_composer_remove_header): Added code for modifying and removing camel mime message header . (menu_send_options_cb):Creates and emits the event when send options is clicked . svn path=/trunk/; revision=33136
* Fixes #351332Matthew Barnes2006-09-191-0/+1
| | | | | | | | | | 2006-09-18 Matthew Barnes <mbarnes@redhat.com> Fixes #351332 * e-msg-composer.c: Fix implicit function declarations. svn path=/trunk/; revision=32790
* close an html tag properly. Fixes bug #350154.Andre Klapper2006-08-061-1/+1
| | | | | | | | 2006-08-06 Andre Klapper <a9016009@gmx.de> * e-msg-composer.c: close an html tag properly. Fixes bug #350154. svn path=/trunk/; revision=32480
* Fix for memory leak in bug #209254Srinivasa Ragavan2006-07-181-6/+1
| | | | svn path=/trunk/; revision=32337
* Fix for bug #209254Srinivasa Ragavan2006-07-171-3/+0
| | | | svn path=/trunk/; revision=32328
* Fix for bug #209254Srinivasa Ragavan2006-07-141-2/+37
| | | | svn path=/trunk/; revision=32316
* Fixes bug #177416 on bnc initialise type to "" and not NULL.Parthasarathi Susarla2006-06-121-1/+1
| | | | | | | | | | 2006-06-12 Parthasarathi Susarla <sparthasarathi@novell.com> Fixes bug #177416 on bnc * e-msg-composer.c: (attachment_guess_mime_type): initialise type to "" and not NULL. svn path=/trunk/; revision=32113
* If 'str' is empty, continue immediately rather than trying to parse it aJeffrey Stedfast2006-05-271-3/+4
| | | | | | | | | 2006-05-26 Jeffrey Stedfast <fejj@novell.com> * e-msg-composer.c (drop_action): If 'str' is empty, continue immediately rather than trying to parse it a URL. svn path=/trunk/; revision=32040
* Instead of g_free()ing 'str' in the if and else blocks, just g_free itJeffrey Stedfast2006-05-261-28/+21
| | | | | | | | | 2006-05-25 Jeffrey Stedfast <fejj@novell.com> * e-msg-composer.c (drop_action): Instead of g_free()ing 'str' in the if and else blocks, just g_free it after the if-else block. svn path=/trunk/; revision=32033
* Added code to save/attach files/mails/events to/from remote sharesSrinivasa Ragavan2006-05-251-2/+13
| | | | svn path=/trunk/; revision=32023
* Committing fix for bug #333971Srinivasa Ragavan2006-04-261-1/+0
| | | | svn path=/trunk/; revision=31897
* ** Fixes bug #333213 According to POSIX.1 specfication, if iconv()Simon Zheng2006-04-051-1/+1
| | | | | | | | | | | | 2006-04-05 Simon Zheng <simon.zheng@sun.com> ** Fixes bug #333213 * e-msg-composer.c: (best_encoding): According to POSIX.1 specfication, if iconv() encounts non-identical characters, it'll return the number of non-identical conversation performed. i.e. returning positive value means exception as well as -1. svn path=/trunk/; revision=31766
* Committing Rohini's patch for bug #324742.Srinivasa Ragavan2006-02-241-7/+29
| | | | svn path=/trunk/; revision=31576
* Use guint for 1 bit bitfield, use g_slist_delete_link instead ofKjartan Maraas2006-01-301-10/+6
| | | | | | | | | | | | | | | | | 2006-01-24 Kjartan Maraas <kmaraas@gnome.org> * e-msg-composer-hdrs.c: (account_removed_cb), (header_new_recipient): Use guint for 1 bit bitfield, use g_slist_delete_link instead of g_slist_remove_link+g_slist_free1, Remove some unused vars. * e-msg-composer.c: (build_message), (set_editor_text), (autosave_manager_query_load_orphans), (e_msg_composer_new_with_message): Remove unused vars and rename a local variable with a name clash. * evolution-composer.c: (evolution_composer_init): Remove unused var * listener.c: Remove stray semi colon. svn path=/trunk/; revision=31358
* 2006-1-15 Srinivasa Ragavan <sragavan@novell.comSrinivasa Ragavan2006-01-161-22/+64
| | | | | | | | | | | | ** Committing the patch for Johnny Jacob ** Fixes bug #323127 * e-msg-composer.c (create_composer) : Add a Expander for attachments bar. (show_attachments): Show/Hide attachment bar. (attachment_expander_activate_cb) : Event handler for attachment bar. svn path=/trunk/; revision=31184
* Committing Rohini's patch.Srinivasa Ragavan2006-01-101-3/+3
| | | | | | | | 2006-01-10 Srinivasa Ragavan <sragavan@novell.com> * Committing Rohini's patch. svn path=/trunk/; revision=31113
* Include <gtk/gtk.h> instead of attempting to hand-pick individual GTKTor Lillqvist2005-12-171-36/+38
| | | | | | | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * e-msg-composer.c: Include <gtk/gtk.h> instead of attempting to hand-pick individual GTK headers. Use gstdio wrappers. Use GDir instead of dirent. Use g_mkstemp() instead of mkstemp(). Construct xml file names at run-time. (autosave_manager_unregister): Close file before unlinking so we don't leave stray autosave files laying around on Win32. svn path=/trunk/; revision=30819
* Add support for setting priority of a message.Parthasarathi Susarla2005-12-071-0/+65
| | | | | | | | | | | | | | 2005-12-07 Parthasarathi Susarla <sparthasarathi@novell.com> * e-msg-composer.[ch]: (build_message): (menu_insert_priority_cb): (setup_ui): (e_msg_composer_get_priority): (e_msg_composer_set_priority): Add support for setting priority of a message. svn path=/trunk/; revision=30734
* ** See bug #322863 Check if the account indeed exists beforeParthasarathi Susarla2005-12-051-2/+4
| | | | | | | | | | | | | 2005-12-05 Parthasarathi Susarla <sparthasarathi@novell.com> ** See bug #322863 * e-msg-composer.c: (e_msg_composer_new_with_message): Check if the account indeed exists before freeing/duping it. The account would typically not exist, when redirecting mails originated from other accounts which are not configured in ones machine. svn path=/trunk/; revision=30718
* use composer->priv->charset instead of p->charset. This fixes a crashParthasarathi Susarla2005-10-221-3/+2
| | | | | | | | | | 2005-10-22 Parthasarathi Susarla <sparthasarathi@novell.com> * e-msg-composer.c: (get_file_content): use composer->priv->charset instead of p->charset. This fixes a crash svn path=/trunk/; revision=30554
* Little oepsPhilip Van Hoof2005-10-191-10/+0
| | | | svn path=/trunk/; revision=30534
* Little oepsPhilip Van Hoof2005-10-191-17/+1
| | | | svn path=/trunk/; revision=30533
* composer/e-msg-composer-select-file.c, composer/e-msg-composer.c,Philip Van Hoof2005-10-191-580/+1042
| | | | | | | | | | | | 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
* ** fixes bug #316937Srinivasa Ragavan2005-10-041-0/+2
| | | | | | | | | | | 2005-10-04 Srinivasa Ragavan <sragavan@novell.com> ** fixes bug #316937 * e-msg-composer.c (handle_mailto): Shows the attachments when added via a mailto: url.a svn path=/trunk/; revision=30485
* ** See bug 317337Parthasarathi Susarla2005-09-291-0/+2
| | | | | | | | | | | | 2005-09-29 Parthasarathi Susarla <sparthasarathi@novell.com> ** See bug 317337 * e-msg-composer.c: (e_msg_composer_new_with_message): Set the proper account name in account_name, so that the from header is set properly. svn path=/trunk/; revision=30419
* Show the bar depending on the number of attachments.Srinivasa Ragavan2005-08-241-3/+4
| | | | | | | | | | | | | | 2005-08-22 Srinivasa Ragavan <sragavan@novell.com> * e-msg-composer.c (drop_action): Show the bar depending on the number of attachments. * e-msg-composer-select-file.c (select_attach_response): Show the bar depending on the number of attachments. ** Fixes the bug #313083 svn path=/trunk/; revision=30233
* only define skip_content: if it is used. (menu_file_add_attachment_cb):Not Zed2005-08-241-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | 2005-08-23 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (build_message): only define skip_content: if it is used. (menu_file_add_attachment_cb): fixed the warning. Boy, what on earth is this thing doing! (add_to_bar): fix signature to match code. (emcab_add): more warning fixes for bizarre functions. (emcab_popup_position): more casting crap * e-msg-composer-hdrs.c (addressbook_dialog_response): Remove unused. (account_can_send): make this static, and define before first use. : include missing e-name-selector-entry header. (create_headers): fix casts/style (e_msg_composer_hdrs_set_to, e_msg_composer_hdrs_set_cc) (e_msg_composer_hdrs_set_bcc, e_msg_composer_hdrs_get_to) (e_msg_composer_hdrs_get_cc, e_msg_composer_hdrs_get_bcc): remove unused str. lazy addressbook hackers! svn path=/trunk/; revision=30218
* Added Shortcut for Save Draft (Ctrl+Shift+s) and a toolbar button for theSrinivasa Ragavan2005-07-251-0/+1
| | | | | | | | | | 2005-07-25 Srinivasa Ragavan <sragavan@novell.com> * e-message-composer.c: Added Shortcut for Save Draft (Ctrl+Shift+s) and a toolbar button for the same. Fixes #219242. Commited Devasish patch. svn path=/trunk/; revision=29872
* Don't leak the file name here.Kjartan Maraas2005-07-131-1/+1
| | | | | | | | | 2005-07-13 Kjartan Maraas <kmaraas@gnome.org> * e-msg-composer-select-file.c: (select_attach_response): Don't leak the file name here. svn path=/trunk/; revision=29757
* Removed em-attachment* from the build. Remains in the CVS, just incase toSrinivasa Ragavan2005-07-111-34/+192
| | | | | | | | | | | | | | | | | 2005-07-11 Srinivasa Ragavan <sragavan@novell.com> * Makefile.am: Removed em-attachment* from the build. Remains in the CVS, just incase to revert in case of issues. Should go away after 2.3.5. * e-msg-composer.c: (add_inlined_images) (build_message) (menu_file_close_cb) (setup_ui) (attach_message) (drop_action) (e_msg_composer_unrealize) (create_composer) (handle_mailto) (e_msg_composer_add_header) Changed the code to use e_attachment_* from em_attachment* * e-msg-composer.h: Added removed old header includes svn path=/trunk/; revision=29716
* Added widgets in INCLUDES.Kaushal Kumar2005-06-231-2/+2
| | | | | | | | | | | | 2005-06-23 Kaushal Kumar <kakumar@novell.com> * e-util/Makefile.am, widgets/e-timezone-dialog/Makefile.am, addressbook/gui/search/Makefile.am, plugins/groupwise-features/Makefile.am: Added widgets in INCLUDES. Updated the include paths to use misc instead of widgets/misc. svn path=/trunk/; revision=29574
* Retired GAL from Head. The relevant files have moved inside evolution.Kaushal Kumar2005-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-17 Kaushal Kumar <kakumar@novell.com> * Retired GAL from Head. The relevant files have moved inside evolution. Thanks to JP Rosevear for performing the cvs surgery. The files have been moved in the following order. evolution/e-util <- gal/gal/util evolution/a11y <- gal/gal/a11y evolution/a11y/e-table <- gal/gal/a11y/e-table evolution/a11y/e-text <- gal/gal/a11y/e-text evolution/widgets/table <- gal/gal/e-table evolution/widgets/text <- gal/gal/e-text evolution/widgets/misc <- gal/gal/widgets evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps evolution/widgets/menus <- gal/gal/menus Following is the summary of changes done to fix the build:- - New files added to cvs repository, - a11y/e-table/Makefile.am - a11y/e-text/Makefile.am - widgets/table/Makefile.am - widgets/text/Makefile.am - widgets/misc/pixmaps/Makefile.am - iconv-detect.h - iconv-detect.c - Updated configure.in. - Updated all the relevant Makefile.am files. - Updated the include paths to replace all gal references. - Updated the marshal list to suit gal files requirements. svn path=/trunk/; revision=29522
* Fixed to show the attachment bar, when a message is forwardedSrinivasa Ragavan2005-06-031-0/+3
| | | | | | | | | 2005-06-03 Srinivasa Ragavan <sragavan@novell.com> * e-msg-composer.c (e_msg_composer_attach): Fixed to show the attachment bar, when a message is forwarded svn path=/trunk/; revision=29453
* Show attachment bar when attachments are added e-msg-composer.cSrinivasa Ragavan2005-06-031-8/+28
| | | | | | | | | | | | | | 2005-06-03 Srinivasa Ragavan <sragavan@novell.com> * e-msg-composer-select-file.c (select_attach_response): Show attachment bar when attachments are added e-msg-composer.c (attachment_bar_changed_cb), (drop_action), (drag_data_received), (create_composer): Added support to DnD targets to the composer GtkHTML window. Also show the attachment bar when there are attachments and hide when all attachments are removed. svn path=/trunk/; revision=29451
* Added attachment of remote URL. The dnd of url, downloads the files andSrininvasa Ragavan2005-05-231-4/+22
| | | | | | | | | | | 2005-05-23 Srininvasa Ragavan <sragavan@novell.com> * e-msg-composer-attachment-bar.c, e-msg-composer-attachment-bar.h, e-msg-composer-attachment.c, e-msg-composer-attachment.h, e-msg-composer.c, e-msg-composer.h, mail-composer.error.xml : Added attachment of remote URL. The dnd of url, downloads the files and attaches to the mail. svn path=/trunk/; revision=29399
* composer/e-message-composer.c calendar/gui/dialogs/comp-editor.cSrinivasa Ragavan2005-05-161-83/+9
| | | | | | | | | | | | 2005-05-16 Srinivasa Ragavan <sragavan@novell.com> * composer/e-message-composer.c * calendar/gui/dialogs/comp-editor.c * ui/evolutoin-message-composer.xml Removed the expander for the attachment bar and made visible always. svn path=/trunk/; revision=29373
* moved e-error to e-util.Not Zed2005-05-161-1/+1
| | | | | | | | 2005-05-16 Not Zed <NotZed@Ximian.com> * moved e-error to e-util. svn path=/trunk/; revision=29365
* put back e_msg_composer_set_enable_autosave which was removed by mistakeRadek Doulik2005-05-061-0/+8
| | | | svn path=/trunk/; revision=29306
* removed old unused function which was using low level gtkhtml APIsRadek Doulik2005-05-051-71/+0
| | | | | | | | | 2005-05-05 Radek Doulik <rodo@site> * e-msg-composer.c (e_msg_composer_ignore): removed old unused function which was using low level gtkhtml APIs svn path=/trunk/; revision=29273
* block gtkhtml's selection so that we don't set primary X selectionRadek Doulik2005-04-081-0/+2
| | | | | | | | | | | 2005-04-06 Radek Doulik <rodo@novell.com> * e-msg-composer.c (delete_old_signature): block gtkhtml's selection so that we don't set primary X selection Fixes #36972 svn path=/trunk/; revision=29192
* implement read-receipt functionality.ERDI Gergo2005-04-081-1/+73
| | | | | | | | 2005-04-05 ERDI Gergo <cactus@cactus.rulez.org> * e-msg-composer.c: implement read-receipt functionality. svn path=/trunk/; revision=29183
* Set up c/c/p for To: Cc: Bcc: and Post To: entries too.Hans Petter Jansson2005-03-161-0/+16
| | | | | | | | | 2005-03-15 Hans Petter Jansson <hpj@novell.com> * e-msg-composer.c (setup_cut_copy_paste): Set up c/c/p for To: Cc: Bcc: and Post To: entries too. svn path=/trunk/; revision=29027
* ** See bug #66592Not Zed2005-03-041-11/+23
| | | | | | | | | | | | | | 2005-03-03 Not Zed <NotZed@Ximian.com> ** See bug #66592 * e-msg-composer.c (e_msg_composer_get_message_draft): set the uid for the x-evolution-account, not the account name, which can change. (e_msg_composer_new_with_message): find the account by uid first, fallback to name search. svn path=/trunk/; revision=28949
* Add a11y name for attachment button and barsHarry Lu2005-02-161-0/+1
| | | | | | | | | | | | 2005-02-16 Harry Lu <harry.lu@sun.com> Add a11y name for attachment button and bars * e-msg-composer-attachment-bar.c: (e_msg_composer_attachment_bar_new): * e-msg-composer.c: (create_composer): svn path=/trunk/; revision=28802
* ** See bug #66126.Not Zed2005-02-101-39/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-10 Not Zed <NotZed@Ximian.com> ** See bug #66126. * e-msg-composer-attachment-bar.c (destroy): destroy async file requesters. (add_from_user_response, add_from_user): use async file requesters. * e-msg-composer.c (save): don't fallback to saveas if the filename is null. (saveas, saveas_response): new functions for async file requesters. (menu_file_save_cb): call saveas if we have no filename. (menu_file_save_as_cb): call saveas. (menu_file_open_cb, file_open_response): change for async file loading (which doesn't appear to be used anymore). (destroy): destroy async requesters. * e-msg-composer-select-file.c (get_selector): make it no longer modal, no longer show the window. (select_file_response, e_msg_composer_select_file): make it async. (select_attach_response, e_msg_composer_select_file_attachments): same. svn path=/trunk/; revision=28760
* initialise composer before using it. sigh.Not Zed2005-01-121-3/+1
| | | | | | | | | 2005-01-12 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (destroy): initialise composer before using it. sigh. svn path=/trunk/; revision=28362
* turn off debug, setup g private instance data structure. (setup_ui):Not Zed2005-01-051-3/+38
| | | | | | | | | | | | 2005-01-05 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (d): turn off debug, setup g private instance data structure. (setup_ui): activate the composer plugin menu. (destroy): clean up the composer plugin menu. (class_init, init): init private instance data & plugin menu. svn path=/trunk/; revision=28243
* kill warnings (map_default_cb): the to entry widget is now just a gtkJP Rosevear2004-12-241-13/+6
| | | | | | | | | | 2004-12-24 JP Rosevear <jpr@novell.com> * e-msg-composer.c (setup_signatures_menu): kill warnings (map_default_cb): the to entry widget is now just a gtk entry at its core, so check for text that way svn path=/trunk/; revision=28201
* svn path=/trunk/; revision=28178Not Zed2004-12-221-1/+1
| | | | | | | | | | 2004-12-17 Not Zed <NotZed@Ximian.com> * e-msg-composer-attachment-bar.c (emcab_popup): * e-msg-composer.c (drag_data_received): svn path=/trunk/; revision=28178
* include camel-cipher-context.h so we build if nss isn't available.Not Zed2004-12-071-0/+1
| | | | | | | | | 2004-12-07 Not Zed <NotZed@Ximian.com> * e-msg-composer.c: include camel-cipher-context.h so we build if nss isn't available. svn path=/trunk/; revision=28080
* remove the old camel_multipart_encrypted api.Not Zed2004-12-031-8/+9
| | | | | | | | | 2004-11-15 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (handle_multipart_encrypted): remove the old camel_multipart_encrypted api. svn path=/trunk/; revision=28052
* get image from icon factory directlyJP Rosevear2004-11-261-4/+1
| | | | | | | | | 2004-11-26 JP Rosevear <jpr@novell.com> * e-msg-composer.c (create_composer): get image from icon factory directly svn path=/trunk/; revision=28002
* fix the popup id.Not Zed2004-10-281-1/+1
| | | | | | | | | | 2004-10-28 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (drag_data_received): fix the popup id. * e-msg-composer-attachment-bar.c (emcab_popup): added popup doco. svn path=/trunk/; revision=27750
* Close on Esc. (create_composer): Connect to the key-press-event signal.Jeffrey Stedfast2004-10-281-0/+17
| | | | | | | | | 2004-10-27 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_key_pressed): Close on Esc. (create_composer): Connect to the key-press-event signal. svn path=/trunk/; revision=27743
* fix for bugzilla #44876mengjie yu2004-10-271-4/+6
| | | | | | | | | | | | 2004-10-26 mengjie yu <meng-jie.yu@sun.com> fix for bugzilla #44876 * e-msg-composer-hdrs.c (header_new_recipient), (create_headers): add access key for Reply_to, From,Subject,To,Cc,Bcc,Post_to; * e-msg-composer.c: (setup_signatures_menu):Add accesss key for Signature. svn path=/trunk/; revision=27735
* convert to org.gnome hook namesJP Rosevear2004-10-201-1/+1
| | | | | | | | | 2004-10-19 JP Rosevear <jpr@novell.com> * e-msg-composer.c, e-msg-composer-attachment-bar.c: convert to org.gnome hook names svn path=/trunk/; revision=27636
* g_strdup() the gpg/smime keys into the recipients list or else we end upJeffrey Stedfast2004-10-121-2/+2
| | | | | | | | | | 2004-10-08 Jeffrey Stedfast <fejj@novell.com> * e-msg-composer.c (build_message): g_strdup() the gpg/smime keys into the recipients list or else we end up free'ing them later when we shouldn't. Fixes bug #66703 svn path=/trunk/; revision=27537
* e-popup api changes.Not Zed2004-10-071-1/+1
| | | | | | | | | 2004-10-06 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (drag_data_received): * e-msg-composer-attachment-bar.c (emcab_popup): e-popup api changes. svn path=/trunk/; revision=27486
* set a GTKHTML_API_VERSION variableJP Rosevear2004-10-011-1/+1
| | | | | | | | | | | | | 2004-10-01 JP Rosevear <jpr@novell.com> * configure.in: set a GTKHTML_API_VERSION variable 2004-10-01 JP Rosevear <jpr@novell.com> * e-msg-composer.c: uses GTKHTML_API_VERSION for the bonobo server look up svn path=/trunk/; revision=27442
* enable ask drop action and hook onto drag motion. (drag_motion):Not Zed2004-10-011-10/+159
| | | | | | | | | | | | | | 2004-10-01 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (create_composer): enable ask drop action and hook onto drag motion. (drag_motion): implement. (drop_action): do the work here now. (drag_data_received): popup a menu if the action is ask. (drop_popup_copy, drop_popup_move, drop_popup_cancel): (drop_popup_free): Popup callbacks. svn path=/trunk/; revision=27441
* Use non-deprecated functions.Kjartan Maraas2004-09-301-3/+3
| | | | | | | | | | 2004-09-30 Kjartan Maraas <kmaraas@gnome.org> * e-msg-composer.c: (autosave_manager_start), (autosave_manager_stop), (create_composer): Use non-deprecated functions. svn path=/trunk/; revision=27436
* handle 'attachment' as well, as per Mozilla's mangling, and the newMichael Meeks2004-09-201-2/+3
| | | | | | | | | | | 2004-08-17 Michael Meeks <michael@ximian.com> * e-msg-composer.c (handle_mailto): handle 'attachment' as well, as per Mozilla's mangling, and the new desktop-launch spec. [ this was approved months ago, but somehow never got committed ] ** See bug #65592 svn path=/trunk/; revision=27309
* Merged notzed-eplugin-2-branch to head.Michael Zucci2004-09-201-0/+1
| | | | svn path=/trunk/; revision=27300
* set paragraph style to normal to avoid signature landing in PRE paragraphRadek Doulik2004-08-141-0/+1
| | | | | | | | | 2004-08-13 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (e_msg_composer_show_sig_file): set paragraph style to normal to avoid signature landing in PRE paragraph svn path=/trunk/; revision=26919
* Optionally use GtkFileChooser if compiled against Gtk+ >= 2.4.0.Carlos Garnacho Parro2004-08-131-2/+2
| | | | | | | | | | | | | 2004-07-29 Carlos Garnacho Parro <carlosg@gnome.org> * e-msg-composer-select-file.[ch]: Optionally use GtkFileChooser if compiled against Gtk+ >= 2.4.0. (e_msg_composer_select_file): added save_mode parameter * e-msg-composer.c: use the modified e_msg_composer_select_file() function svn path=/trunk/; revision=26892
* Fixes for api changes in mail/ for 61940.Not Zed2004-07-291-5/+5
| | | | | | | | 2004-07-28 Not Zed <NotZed@Ximian.com> * e-msg-composer.c: Fixes for api changes in mail/ for 61940. svn path=/trunk/; revision=26761
* removed unused static variable listener_vepvRadek Doulik2004-07-281-15/+42
| | | | | | | | | | | | | 2004-07-23 Radek Doulik <rodo@ximian.com> * listener.c: removed unused static variable listener_vepv * added len parameter to set_editor_text, e_msg_composer_set_body_text, e_msg_composer_set_pending_body. it allows us to send whole buffer (even if it contains \0 in the middle) to gtkhtml editor. svn path=/trunk/; revision=26746
* removed body content + signature html concatenating and callRadek Doulik2004-07-231-22/+4
| | | | | | | | | | | | 2004-07-22 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (set_editor_text): removed body content + signature html concatenating and call e_msg_composer_show_sig_file instead Fixes #59490 svn path=/trunk/; revision=26705
* ** Fix for #60387.Not Zed2004-06-181-42/+116
| | | | | | | | | | | | | | | | | 2004-06-18 Not Zed <NotZed@Ximian.com> ** Fix for #60387. * mail-composer-errors.xml: added an error for failing to retrieve to-be-attached messages. * e-msg-composer.c (message_rfc822_dnd): remove this, we only want to treat it as a real rfc822 message, not a berkeley mailbox. (drag_data_received): handle the rfc822 type here, and also the new x-uid-list type. (attach_message): helper set a description on attached messages. svn path=/trunk/; revision=26411
* clean up the code slightly.Not Zed2004-06-171-27/+28
| | | | | | | | | | | | | | | | | | | | | | 2004-06-16 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (e_msg_composer_guess_mime_type): clean up the code slightly. * evolution-composer.c (impl_Composer_set_headers): Fix all the strn?casecmp calls. * e-msg-composer.c (from_changed_cb, drag_data_received) (is_special_header, e_msg_composer_new_with_message) (handle_mailto, e_msg_composer_new_from_url): as above. * e-msg-composer-attachment.c (e_msg_composer_attachment_new): as above. * e-msg-composer.c (drag_data_received): handle comments in uri lists. svn path=/trunk/; revision=26378
* Don't connect to the key_pressed_event. (composer_key_pressed): Removed.Jeffrey Stedfast2004-06-151-16/+0
| | | | | | | | | | | 2004-06-14 Jeffrey Stedfast <fejj@novell.com> * e-msg-composer.c (create_composer): Don't connect to the key_pressed_event. (composer_key_pressed): Removed. We don't want to close the compose on Escape. To do so would violate the HIG. svn path=/trunk/; revision=26339
* fix the name of "stock_save-as" everywhereDan Winship2004-06-071-1/+1
| | | | svn path=/trunk/; revision=26237
* Use e_error_run() instead of the e_activation_error_dialog() stuff that noJeffrey Stedfast2004-06-051-18/+4
| | | | | | | | | 2004-06-04 Jeffrey Stedfast <fejj@novell.com> * e-msg-composer.c (create_composer): Use e_error_run() instead of the e_activation_error_dialog() stuff that no longer exists. svn path=/trunk/; revision=26215
* always insert new paragraph for signatureRadek Doulik2004-06-031-2/+1
| | | | | | | | | | | 2004-06-03 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (e_msg_composer_show_sig_file): always insert new paragraph for signature Fixes #37601 svn path=/trunk/; revision=26170
* use e-icon-factory sizes.Not Zed2004-05-251-6/+6
| | | | | | | | 2004-05-25 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (pixcache[]): use e-icon-factory sizes. svn path=/trunk/; revision=26071
* Use CAMEL_EXCEPTION_SYSTEM instead of '1', also don't useJeffrey Stedfast2004-05-121-3/+5
| | | | | | | | | | | | 2004-05-11 Jeffrey Stedfast <fejj@novell.com> * e-msg-composer.c (build_message): Use CAMEL_EXCEPTION_SYSTEM instead of '1', also don't use camel_exception_setv() if we aren't using the printf-style arguments. Just use camel_exception_set() - safer anyway, since then we don't have to worry about translated strings containing printf-style formatters that could break stuff. svn path=/trunk/; revision=25861
* Fixing parts of #53466.Enver ALTIN2004-05-101-2/+2
| | | | | | | | 2004-05-08 Enver ALTIN <enver.altin@frontsite.com.tr> * e-msg-composer.c: Fixing parts of #53466. svn path=/trunk/; revision=25829
* header cleanups.Not Zed2004-05-031-0/+8
| | | | | | | | 2004-05-03 Not Zed <NotZed@Ximian.com> * e-msg-composer.c: header cleanups. svn path=/trunk/; revision=25743
* ** Changed error messages to EError.Not Zed2004-04-281-101/+34
| | | | | | | | 2004-04-28 Not Zed <NotZed@Ximian.com> ** Changed error messages to EError. svn path=/trunk/; revision=25652
* Only unlink the original autosave draft file if we are successful inJeffrey Stedfast2004-04-271-9/+7
| | | | | | | | | | 2004-04-26 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (autosave_load_draft): Only unlink the original autosave draft file if we are successful in saving a new copy, otherwise don't unlink the file. Fixes bug #57540. svn path=/trunk/; revision=25619
* Use the E_ICON_SIZE enums rather than specifying an absolute pixel size.Jeffrey Stedfast2004-04-201-2/+2
| | | | | | | | | 2004-04-19 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (create_composer): Use the E_ICON_SIZE enums rather than specifying an absolute pixel size. svn path=/trunk/; revision=25526
* Update the composer to use the icon theme via the EIconFactory object inMichael Terry2004-04-191-11/+15
| | | | | | | | | | 2004-04-19 Michael Terry <mike@mterry.name> * e-msg-composer-select-file.c: * e-msg-composer.c: Update the composer to use the icon theme via the EIconFactory object in e-util svn path=/trunk/; revision=25516
* Same idea here as with build_mesage(), don't convert th gconf charsetJeffrey Stedfast2004-04-161-38/+43
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-15 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (attach_to_multipart): Same idea here as with build_mesage(), don't convert th gconf charset setting to the iconv name before setting it on the mime part. * e-msg-composer.c (best_charset): Now returns a malloc'd string bufefr containing the charset that has NOT been converted to the iconv name. This is important in order to avoid using the iconv charset name which may or may not necessarily be the IANA blessed name. (composer_get_default_charset_setting): Changed to always return the actual value in the settings (eg. don't return the iconv name). (build_message): Updated for changes to best_charset(). Set the actual charset name as the charset param and then get the iconv_charset from that. Use iconv_charset everywhere else. (get_file_content): Updated for changes to get_default_charset_setting(). (setup_ui): Same. svn path=/trunk/; revision=25487
* To be on the safe side (even though the real bug behind bug #51924 can'tJeffrey Stedfast2004-04-141-3/+4
| | | | | | | | | | | 2004-04-13 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (get_file_content): To be on the safe side (even though the real bug behind bug #51924 can't happen here), protect against adding a NULL charset filter tot he filtered stream. svn path=/trunk/; revision=25442
* add missing debug wrapper back.Larry Ewing2004-04-131-1/+1
| | | | | | --Larry svn path=/trunk/; revision=25434
* accept text/calendar drops.Larry Ewing2004-04-131-2/+12
| | | | | | | | | 2004-04-13 Larry Ewing <lewing@ximian.com> * e-msg-composer.c (drag_data_received): accept text/calendar drops. svn path=/trunk/; revision=25433
* EABDestination -> EDestination. (e_msg_composer_hdrs_to_message_internal):Chris Toshok2004-04-101-45/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-09 Chris Toshok <toshok@ximian.com> * e-msg-composer-hdrs.c (set_recipients_from_destv): EABDestination -> EDestination. (e_msg_composer_hdrs_to_message_internal): same. (e_msg_composer_hdrs_set_to): same. (e_msg_composer_hdrs_set_cc): same. (e_msg_composer_hdrs_set_bcc): same. (e_msg_composer_hdrs_get_to): same. (e_msg_composer_hdrs_get_cc): same. (e_msg_composer_hdrs_get_bcc): same. (e_msg_composer_hdrs_get_recipients): same. * e-msg-composer-hdrs.h: convert prototypes such that EABDestination -> EDestination. * e-msg-composer.h: convert prototypes such that EABDestination -> EDestination. * e-msg-composer.c (destination_list_to_vector_sized): new function, ripped from EABDestination, as this code is the only consumer. (destination_list_to_vector): same. (update_auto_recipients): EABDestination -> EDestination. (e_msg_composer_new_with_message): same. (add_recipients): same. (handle_mailto): same. (e_msg_composer_set_headers): same. (e_msg_composer_get_recipients): same. (e_msg_composer_get_to): same. (e_msg_composer_get_cc): same. (e_msg_composer_get_bcc): same. * evolution-composer.c (corba_recipientlist_to_destv): EABDestination -> EDestination. (impl_Composer_set_headers): same. svn path=/trunk/; revision=25393
* Reversed the logic for setting the signature menu to "None" (only set itJeffrey Stedfast2004-04-081-28/+26
| | | | | | | | | | | | 2004-04-07 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (sig_select_item): Reversed the logic for setting the signature menu to "None" (only set it to "None" if a signature *isn't* set, doh!) (prepare_signatures_menu): Removed. Combined with setup_signature_menu(). svn path=/trunk/; revision=25355
* ops, saved it this timeRadek Doulik2004-04-071-3/+3
| | | | svn path=/trunk/; revision=25341
* (set_editor_text): added pad_signature parameter to tell if weRadek Doulik2004-04-071-6/+7
| | | | | | | want to pad signature with <BR> (used when creating new mail, in other cases we don't want to pad the signature) svn path=/trunk/; revision=25340
* added empty hbox so that we have 12pxs between account setting andRadek Doulik2004-04-071-1/+4
| | | | | | | | | | | 2004-04-06 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (prepare_signatures_menu): added empty hbox so that we have 12pxs between account setting and signature setting Fixes #42866 svn path=/trunk/; revision=25339
* Revert Radek's last change to fix bug #56381.Jeffrey Stedfast2004-04-031-1/+2
| | | | | | | | | 2004-04-02 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (set_editor_text): Revert Radek's last change to fix bug #56381. svn path=/trunk/; revision=25303
* dumb fixJeffrey Stedfast2004-04-021-3/+2
| | | | svn path=/trunk/; revision=25292
* Fixed some breakage I introduced in the changes below.Jeffrey Stedfast2004-04-021-2/+7
| | | | | | | | | 2004-04-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (get_signature_html): Fixed some breakage I introduced in the changes below. svn path=/trunk/; revision=25291
* simplify menu_item_set_label()Jeffrey Stedfast2004-04-021-10/+5
| | | | svn path=/trunk/; revision=25289
* Updated to use the new signature APIs. (signature_added): _()ify theJeffrey Stedfast2004-04-021-4/+26
| | | | | | | | | 2004-04-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c: Updated to use the new signature APIs. (signature_added): _()ify the "Autogenerated" signature name. svn path=/trunk/; revision=25287
* Updated to use the new signature APIs.Jeffrey Stedfast2004-04-021-144/+167
| | | | | | | | 2004-04-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c: Updated to use the new signature APIs. svn path=/trunk/; revision=25284
* Fixed missing headers now mail/* doesn't include gtk/*, camel/*, andNot Zed2004-03-311-0/+8
| | | | | | | | | 2004-03-31 Not Zed <NotZed@Ximian.com> * *.[ch]: Fixed missing headers now mail/* doesn't include gtk/*, camel/*, and gnome/* for you. svn path=/trunk/; revision=25259
* do not add <br> between text and signatureRadek Doulik2004-03-301-2/+1
| | | | | | | | | 2004-03-29 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (set_editor_text): do not add <br> between text and signature svn path=/trunk/; revision=25228
* do not set editor insensitive, use editable-off command insteadRadek Doulik2004-03-231-1/+6
| | | | | | | | | | | 2004-03-22 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (disable_editor): do not set editor insensitive, use editable-off command instead Fixes #55049 svn path=/trunk/; revision=25148
* If the subject is empty, use _("Untitled Message") as the subject instead.Jeffrey Stedfast2004-03-071-1/+1
| | | | | | | | | 2004-03-07 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (do_exit): If the subject is empty, use _("Untitled Message") as the subject instead. svn path=/trunk/; revision=24981
* Fixes bug #55202Jeffrey Stedfast2004-03-061-10/+7
| | | | | | | | | | | | | 2004-03-05 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #55202 * e-msg-composer.c (add_recipients): No longer takes a decode argument (handle_mailto is the only function that calls it, and the decode value always has to be TRUE for mailto). (handle_mailto): Updated. svn path=/trunk/; revision=24975
* Add a <br> tag between the message text and the signature text (makes itJeffrey Stedfast2004-02-271-7/+9
| | | | | | | | | | 2004-02-26 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (set_editor_text): Add a <br> tag between the message text and the signature text (makes it nicer looking and also fixes bug #53747. svn path=/trunk/; revision=24897
* From www@reality.cz Tue Feb 17 11:52:51 2004REALiTY-ON-LINE2004-02-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | >From www_work@reality.cz Tue Feb 17 11: 53:15 2004 Received: from data2.centrum.cz ([62.84.131.152]:52704 "EHLO data2.centrum.cz") by mail4.centrum.cz with ESMTP id <S2624487AbUBQKwv>; Tue, 17 Feb 2004 11:52:51 +0100 Received: from reality.cz ([212.24.129.47]:8630 "EHLO reality.cz") by mail.centrum.cz with ESMTP id <S279448AbUBQKwS>; Tue, 17 Feb 2004 11:52:18 +0100 X-SpamDetected: 0 Received: by reality.cz (Postfix, from userid 502) id 073861AB2FF; Tue, 17 Feb 2004 11:52:16 +0100 (CET) From: "REALiTY-ON-LINE" <www@reality.cz> To: radek.doulik@centrum.cz Subject: ON-LINE: praha vychod MIME-Version: 1.0 Content-Type: text/html; charset=ISO-8859-1 Message-Id: <20040217105216.073861AB2FF@reality.cz> Date: Tue, 17 Feb 2004 11:52:16 +0100 (CET) Return-Path: <www_work@reality.cz> X-Orcpt: rfc822;radek.doulik@mail4.centrum.cz X-Evolution-Source: pop://radek.doulik@pop.centrum.cz/ <HTML> <HEAD> <TITLE>praha vychod</TITLE> </HEAD> <BODY BGCOLOR="CCFFFF"> <H3>Vypis novinek ON-LINE ze serveru Reality.CZ</H3> <HR> <A HREF="http://www.reality.cz/cgi/detailq?200-005280"><B>Prodej RD 2+1+puda Praha vychod - Drevcice</B></A><BR> <I>CENA:</I> <B>2.600.000 Kc (cena pro jednani)</B><BR> <I>TEL.:</I> <B>224 942 873 </B><BR> <A HREF="http://www.reality.cz/cgi/detailq?200-005280">http://www.reality.cz/cgi/detailq?200-005280</A> <HR> Zmeny v nastaveni sveho osobniho profilu muzete provadet na adrese: <A HREF="http://www.reality.cz/komunita/">http://www.reality.cz/komunita/</A> <HR> </BODY> </HTML> svn path=/trunk/; revision=24760
* removed debug printfRadek Doulik2004-02-131-1/+0
| | | | svn path=/trunk/; revision=24736
* get default composer size from gconf, hook to unrealize event and saveRadek Doulik2004-02-131-7/+21
| | | | | | | | | | 2004-02-13 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (create_composer): get default composer size from gconf, hook to unrealize event and save size to gconf (e_msg_composer_unmap): new handler, saves composer window size svn path=/trunk/; revision=24735
* use FORCE_SLOW_MIME_TYPE so gnome-vfs actually sniffs the file contentsChris Toshok2004-02-041-0/+1
| | | | | | | | | | 2004-02-03 Chris Toshok <toshok@ximian.com> * e-msg-composer.c (e_msg_composer_guess_mime_type): use FORCE_SLOW_MIME_TYPE so gnome-vfs actually sniffs the file contents before coming up with a mime type. svn path=/trunk/; revision=24594
* use g_ascii_strcasecmp rather than strcasecmp.Not Zed2004-02-021-11/+11
| | | | | | | | | | | | | | | | | | | 2004-02-02 Not Zed <NotZed@Ximian.com> * evolution-composer.c (impl_Composer_set_body): use g_ascii_strcasecmp rather than strcasecmp. ** See bug #53506, again. * e-msg-composer.c (set_editor_text): Add an argument to make adding the signature optional. Also fix a memleak with the sig content. (e_msg_composer_new_with_type, e_msg_composer_flush_pending_body) (handle_mailto, e_msg_composer_set_body_text) (e_msg_composer_set_body): Fixed callers for above change appropriately. svn path=/trunk/; revision=24562
* reverted radek's patch below, it was already fixed (#53176). Changed theNot Zed2004-01-291-1/+1
| | | | | | | | | | | | | | | | | | | | | 2004-01-29 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (e_msg_composer_new_with_type): reverted radek's patch below, it was already fixed (#53176). Changed the init order though, set_editor_signature only sets the current one, it doen'st insert it. ** See bug #53506. * e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_post_to_list): use a GString to build the result. (e_msg_composer_hdrs_set_post_to_base): same here. (e_msg_composer_hdrs_set_post_to_base): dont bother copying the post_to string. (e_msg_composer_hdrs_get_post_to): change the relative-url test to ":/" rather than "://", so that mbox url's work. svn path=/trunk/; revision=24512
* set body text after setting composer's signature, so that signature isRadek Doulik2004-01-281-1/+1
| | | | | | | | | | | 2004-01-27 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (e_msg_composer_new_with_type): set body text after setting composer's signature, so that signature is shown Fixes #53367 svn path=/trunk/; revision=24492
* ** See Bug #53176, probably fixes others too.Not Zed2004-01-281-11/+21
| | | | | | | | | | | | | 2004-01-28 Not Zed <NotZed@Ximian.com> ** See Bug #53176, probably fixes others too. * e-msg-composer.c (set_editor_text): When we set the text, always add the signature implictly. Means we don't have to set it manually and break changing the file, or hit any races. (e_msg_composer_set_body_text): dont call show_sig_file here. svn path=/trunk/; revision=24490
* ** See Bug #20017.Not Zed2004-01-141-25/+59
| | | | | | | | | | | | | | | | | | | | | | | 2004-01-14 Not Zed <NotZed@Ximian.com> ** See Bug #20017. * e-msg-composer.c (create_composer): set the composer to unchanged after all setup, some setup (from_changed_cb) will mark it changed. (create_composer): remove a warning. ** See Bug #52794. (e_msg_composer_get_message_draft): save sign/encrypt settings to X-Evolution-Format header. (e_msg_composer_new_with_message): restore sign/encrypt settings from X-Evolution-Format header. (e_msg_composer_set_pgp_sign, e_msg_composer_set_pgp_encrypt) (e_msg_composer_set_smime_sign, e_msg_composer_set_smime_encrypt): Set composer changed if it did. svn path=/trunk/; revision=24211
* added "View To", "View Post To" menu items, made it possible to see bothMeilof Veeningen2004-01-131-40/+211
| | | | | | | | | | | | | | | | 2004-01-12 Meilof Veeningen <meilof@wanadoo.nl> * e-msg-composer.[ch]: added "View To", "View Post To" menu items, made it possible to see both at the same time, new e_msg_composer_new_with_type, only visibility info of headers if in the visible mask. * e-msg-composer.[ch]: replaced folder selection button by entry with selection button next to it, enabled multiple folder selection, made it possible to see both To and PostTo fields, disabled setting the "X-Evolution-PostTo" header. svn path=/trunk/; revision=24179
* Implemented #127527: the attachment bar is packed inside an EExpanderERDI Gergo2004-01-111-29/+82
| | | | | | | | | 2003-12-02 ERDI Gergo <cactus@cactus.rulez.org> * e-msg-composer.c: Implemented #127527: the attachment bar is packed inside an EExpander svn path=/trunk/; revision=24146
* s/unsaved files/unsaved messages/ as per bug #45407.Jeffrey Stedfast2004-01-101-1/+1
| | | | | | | | | 2004-01-09 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (autosave_manager_query_load_orphans): s/unsaved files/unsaved messages/ as per bug #45407. svn path=/trunk/; revision=24140
* add an assertion for no account set. Discovered from bug #50786.Not Zed2004-01-081-0/+3
| | | | | | | | | 2004-01-08 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (set_editor_signature): add an assertion for no account set. Discovered from bug #50786. svn path=/trunk/; revision=24101
* Remove the 6-pixel border around the main window. That just looked ugly.Jeffrey Stedfast2004-01-081-1/+0
| | | | | | | | | 2004-01-07 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (create_composer): Remove the 6-pixel border around the main window. That just looked ugly. svn path=/trunk/; revision=24093
* autosave fixRadek Doulik2003-12-011-5/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-11 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (e_msg_composer_set_autosaved): new method to wrap autosaved flag setting (e_msg_composer_unset_autosaved): ditto (e_msg_composer_is_autosaved): new method, says if composer was autosaved only (autosave_save_draft): unset changed so that we don't autosave all the time when anything else than gtkhtml control changed 2003-11-06 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (autosave_save_draft): call gtkhtml's saved command to clean is-saved flag, set composer's autosaved flag (do_exit): complain if last save was just autosave (e_msg_composer_unset_changed): reset autosaved flag (save): reset autosaved flag * e-msg-composer.h: added autosaved flag, it tells whether last save was autosave or regular save, when changed flag is reset the autosaved one is reset too svn path=/trunk/; revision=23526
* switch from just checking SMIME_SUPPORTED to checking both HAVE_NSS andChris Toshok2003-11-271-2/+2
| | | | | | | | | 2003-11-26 Chris Toshok <toshok@ximian.com> * e-msg-composer.c (build_message): switch from just checking SMIME_SUPPORTED to checking both HAVE_NSS and SMIME_SUPPORTED. svn path=/trunk/; revision=23497
* changed to use ciphercontext directly to sign the message, noNot Zed2003-11-051-73/+29
| | | | | | | | | | 2003-11-03 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (build_message): changed to use ciphercontext directly to sign the message, no multipart-signed usage. (build_message): do the same for multipart/encryption for gpg encrypting. svn path=/trunk/; revision=23188
* fix for e-account smime info changes. Also enforce having a signingNot Zed2003-10-311-16/+30
| | | | | | | | | | | | | 2003-10-31 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (build_message): fix for e-account smime info changes. Also enforce having a signing certificate set in preferences before doing any signing. (from_changed_cb): handle smime sign/encrypt default for account (create_composer): force a from-changed when we start, to properly setup signing options. svn path=/trunk/; revision=23146
* Turn on SMIME_SUPPORTED. (build_message): move some of the security codeNot Zed2003-10-301-202/+182
| | | | | | | | | | 2003-10-30 Not Zed <NotZed@Ximian.com> * e-msg-composer.c: Turn on SMIME_SUPPORTED. (build_message): move some of the security code around, and fix up smime code. svn path=/trunk/; revision=23128
* Merge new-ui-branch into the trunk.Ettore Perazzoli2003-10-221-45/+45
| | | | svn path=/trunk/; revision=22966
* Don't blindly claim that the file exists and then ask the user if he/sheJeffrey Stedfast2003-10-071-24/+35
| | | | | | | | | | | | | | | 2003-09-26 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (save): Don't blindly claim that the file exists and then ask the user if he/she would like to overwrite it. First check that the file even exists, if not - then we've got a different error. Fixes bug #48759. * e-msg-composer-select-file.c (e_msg_composer_select_file): Use the proper selector title, otherwise it says "Attach files" when we are trying to save a message. svn path=/trunk/; revision=22798
* Same as below.Jeffrey Stedfast2003-09-251-1/+7
| | | | | | | | | | | | | 2003-09-24 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (get_default_charset): Same as below. * e-msg-composer.c (composer_get_default_charset_setting): Handle empty-string as the charset value gotten from gconf as this can happen. Partial fix for bug #47638. svn path=/trunk/; revision=22692
* fixed a commentJeffrey Stedfast2003-09-201-1/+1
| | | | svn path=/trunk/; revision=22630
* updated for CamelTransferEncoding namespace changesJeffrey Stedfast2003-09-191-11/+11
| | | | | | | | | | | | 2003-09-18 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c: updated for CamelTransferEncoding namespace changes * e-msg-composer.c: updated for CamelTransferEncoding namespace changes svn path=/trunk/; revision=22616
* Updated for namespace changes in Camel.Jeffrey Stedfast2003-09-191-20/+20
| | | | | | | | | | 2003-09-18 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c: * e-msg-composer-attachment.c: * e-msg-composer.c: Updated for namespace changes in Camel. svn path=/trunk/; revision=22611
* ** Merge in mail-refactor-2-branchNot Zed2003-09-181-37/+11
| | | | | | | | 2003-09-17 Not Zed <NotZed@Ximian.com> ** Merge in mail-refactor-2-branch svn path=/trunk/; revision=22601
* Added an entry_uic field for a BonoboUIComponent for the non-controlFederico Mena Quintero2003-09-121-11/+42
| | | | | | | | | | | | | | | | | | | | | 2003-09-11 Federico Mena Quintero <federico@ximian.com> * e-msg-composer.h (EMsgComposer): Added an entry_uic field for a BonoboUIComponent for the non-control entries (e.g. the Subject line). * e-msg-composer.c (create_composer): Set autoactivate to true on the HTML control's BonoboControlFrame. (setup_ui): Create the composer->entry_uic. (destroy): Free the composer->entry_uic. (entry_verbs): New array of verbs for the non-control entries. Moved the Edit* verbs to here, as they should not be part of the main set. (composer_entry_focus_in_event_cb): Load evolution-composer-entries.xml here for the non-control entries' UI. (composer_entry_focus_out_event_cb): Remove the menu items. svn path=/trunk/; revision=22531
* Connect response signal to attachment properties dialog, fix bug #47950.Antonio Xu2003-08-291-3/+3
| | | | | | | | | | | | | | 2003-08-29 Antonio Xu <antonio.xu@sun.com> * e-msg-composer-attachment.c (): Connect response signal to attachment properties dialog, fix bug #47950. * Makefile.am (INCLUDES): add EVOLUTION_IMAGESDIR define * e-msg-composer.c (create_composer): use EVOLUTION_IMAGESDIR and composer icon name to get the path of composer icon. [#47781] svn path=/trunk/; revision=22411
* temporarily reverting camel namespace changes until after other branches ↵Jeffrey Stedfast2003-08-271-18/+18
| | | | | | have been merged svn path=/trunk/; revision=22374
* s/HSCAN_/CAMEL_MIME_PARSER_STATE_/gJeffrey Stedfast2003-08-271-1/+1
| | | | | | | | | 2003-08-26 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (message_rfc822_dnd): s/HSCAN_/CAMEL_MIME_PARSER_STATE_/g svn path=/trunk/; revision=22366
* updated for namespace changed made to camel-mime-utils.[c,h]Jeffrey Stedfast2003-08-261-17/+17
| | | | | | | | | | | | | | | 2003-08-25 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c: updated for namespace changed made to camel-mime-utils.[c,h] * e-msg-composer-attachment.c: updated for namespace changed made to camel-mime-utils.[c,h] * e-msg-composer.c: updated for namespace changed made to camel-mime-utils.[c,h] svn path=/trunk/; revision=22356
* Original patch from David Woodhouse, but modified a bit by me.Jeffrey Stedfast2003-08-191-10/+19
| | | | | | | | | | | 2003-08-19 Jeffrey Stedfast <fejj@ximian.com> * Original patch from David Woodhouse, but modified a bit by me. * e-msg-composer.c (handle_mailto): Fix insertion of arbitrary headers from mailto: links. Ignore From: and Reply-To: headers. svn path=/trunk/; revision=22285
* don't set the rawtext bit anymore.Jeffrey Stedfast2003-08-121-10/+21
| | | | | | | | | | | | 2003-07-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (attach_to_multipart): don't set the rawtext bit anymore. * e-msg-composer.c (build_message): Convert the plain part's content stream from UTF-8 to whatever charset we want. svn path=/trunk/; revision=22172
* add the drop type of mozilla browser link to make composer support toAntonio Xu2003-08-041-10/+10
| | | | | | | | | | 2003-08-04 Antonio Xu <antonio.xu@sun.com> * e-msg-composer.c (drag_data_received): add the drop type of mozilla browser link to make composer support to handle mozilla DnD data. [#47131] svn path=/trunk/; revision=22077
* bump editor versionLarry Ewing2003-07-261-1/+1
| | | | svn path=/trunk/; revision=21974
* Set default answer of dialog to 'yes' to try and prevent autosavedMichel Dänzer2003-07-241-0/+1
| | | | | | | | | | 2003-07-17 Michel Dänzer <michel@daenzer.net> * e-msg-composer.c (autosave_manager_query_load_orphans): Set default answer of dialog to 'yes' to try and prevent autosaved messages from getting lost accidentally. svn path=/trunk/; revision=21922
* Revert my previous changes here too.Jeffrey Stedfast2003-07-241-14/+3
| | | | | | | | | | | 2003-07-23 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (attach_to_multipart): Revert my previous changes here too. * e-msg-composer.c (build_message): Revert my previous changes. svn path=/trunk/; revision=21918
* Init charset to NULL.Jeffrey Stedfast2003-07-221-2/+2
| | | | | | | | 2003-07-21 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Init charset to NULL. svn path=/trunk/; revision=21882
* Make this work again.Dan Winship2003-07-221-3/+3
| | | | | | * e-msg-composer.c (build_message): Make this work again. svn path=/trunk/; revision=21881
* don't set the rawtext bit anymore.Jeffrey Stedfast2003-07-171-11/+26
| | | | | | | | | | | | | | | | | 2003-07-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (attach_to_multipart): don't set the rawtext bit anymore. * e-msg-composer.c (build_message): Convert the plain part's content stream from UTF-8 to whatever charset we want. 2003-07-16 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment-bar.c (popup_menu_event): Fix warnings and other breakage introduced by Maxx. svn path=/trunk/; revision=21843
* Updated to use camel_strcase_hash/equal.Jeffrey Stedfast2003-07-081-3/+3
| | | | | | | | | 2003-07-07 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_new_with_message): Updated to use camel_strcase_hash/equal. svn path=/trunk/; revision=21755
* Change file url to absolute path. Fixes bug #44065.Antonio Xu2003-07-031-1/+11
| | | | | | | | | 2003-06-25 Antonio Xu <antonio.xu@sun.com> * e-msg-composer.c (handle_mailto): Change file url to absolute path. Fixes bug #44065. svn path=/trunk/; revision=21726
* Connect to the save-draft signal too. Fixes bug #45531.Jeffrey Stedfast2003-07-031-1/+4
| | | | | | | | | 2003-07-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (autosave_load_draft): Connect to the save-draft signal too. Fixes bug #45531. svn path=/trunk/; revision=21724
* Set the rawtext bits for the 'plain' and 'html' data wrappers to FALSE.Jeffrey Stedfast2003-06-301-0/+5
| | | | | | | | | 2003-06-27 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (build_message): Set the rawtext bits for the 'plain' and 'html' data wrappers to FALSE. svn path=/trunk/; revision=21695
* Use e_iconv_open/close so that we get charset aliasing for free. Fixes bugJeffrey Stedfast2003-06-191-3/+3
| | | | | | | | | 2003-06-17 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (best_encoding): Use e_iconv_open/close so that we get charset aliasing for free. Fixes bug #44991. svn path=/trunk/; revision=21469
* Fixes bug #44139.Jeffrey Stedfast2003-06-181-2/+4
| | | | | | | | | | | | | | | | 2003-06-16 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #44139. * e-msg-composer-hdrs.c (attach_couple): Set the vertical and horizontal padding to 3 always. (create_from_optionmenu): Change the hbox spacing to 6 pixels. * e-msg-composer.c (create_composer): Set the border width around the composer's vbox to HIG specification and make the box_spacing 6 pixels as well. svn path=/trunk/; revision=21460
* Same as the rest. (setup_ui): We didn't even seem to be using the gconfJeffrey Stedfast2003-06-101-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-21 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_get_default_charset_setting): Same as the rest. (setup_ui): We didn't even seem to be using the gconf client here. Removed. (e_msg_composer_load_config): Unref the gconf client after we're finished. (e_msg_composer_new): Same. (e_msg_composer_new_post): Here too. (e_msg_composer_set_view_from): And here. (e_msg_composer_set_view_replyto): And here. (e_msg_composer_set_view_cc): Here too. (e_msg_composer_set_view_bcc): Again here. * e-msg-composer-hdrs.c (create_from_optionmenu): Same as below. (e_msg_composer_hdrs_set_from_account): Here too. * e-msg-composer-attachment-bar.c (get_default_charset): Unref the gconf client. svn path=/trunk/; revision=21391
* i2003-05-20 Larry Ewing <lewing@ximian.com>Larry Ewing2003-05-211-1/+38
| | | | | | | | | | | * e-msg-composer.c (composer_settings_update): set the various bonobo properties that are composer preferences. (create_composer): add notification of gconf changes. (destroy): disconnect notification. * e-msg-composer.h: keep the gcond notify handler id. svn path=/trunk/; revision=21287
* Change the "would you like to recover unsaved drafts?" dialog a QUESTIONJeffrey Stedfast2003-04-301-1/+1
| | | | | | | | | | 2003-04-28 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (autosave_manager_query_load_orphans): Change the "would you like to recover unsaved drafts?" dialog a QUESTION dialog rather than an ERROR dialog. Fixes bug #42024. svn path=/trunk/; revision=21001
* removed debug printfs.Not Zed2003-04-241-3/+0
| | | | | | | | 2003-04-23 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (map_default_cb): removed debug printfs. svn path=/trunk/; revision=20952
* Don't ever attach non-inlined text or message parts. Reverts a prior fix.Jeffrey Stedfast2003-04-231-7/+3
| | | | | | | | | 2003-04-21 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (add_attachments_handle_mime_part): Don't ever attach non-inlined text or message parts. Reverts a prior fix. svn path=/trunk/; revision=20923
* added related argument, TRUE means that container of mime_part isRadek Doulik2003-04-221-4/+9
| | | | | | | | | | | | | | 2003-04-22 Radek Doulik <rodo@ximian.com> * e-msg-composer.c (add_attachments_handle_mime_part): added related argument, TRUE means that container of mime_part is multipart/related (add_attachments_handle_mime_part): add images as inline when related is TRUE (add_attachments_from_multipart): pass related to add_attachments_handle_mime_part svn path=/trunk/; revision=20913
* [ fixes #40694 ] this can't hurt - set the frame to autoactivate so if byChris Toshok2003-04-201-3/+4
| | | | | | | | | | | | | | 2003-04-19 Chris Toshok <toshok@ximian.com> [ fixes #40694 ] * e-msg-composer-hdrs.c (create_addressbook_entry): this can't hurt - set the frame to autoactivate so if by some chance the widget is focused the control will end up being activated. * e-msg-composer.c (map_default_cb): activate the To: control instead of focusing the widget. svn path=/trunk/; revision=20896
* [ fixes #21499 ]Rodney Dawes2003-04-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-18 Rodney Dawes <dobey@ximian.com> [ fixes #21499 ] * gui/component/Makefile.am: * gui/component/addressbook.c: * gui/component/select-names/e-select-names-bonobo.c: * gui/contact-editor/Makefile.am: * gui/contact-editor/e-contact-editor.c: * gui/contact-list-editor/Makefile.am: * gui/contact-list-editor/e-contact-list-editor.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * gui/Makefile.am: * gui/calendar-commands.c: * gui/tasks-control.c: * gui/dialogs/Makefile.am: * gui/dialogs/comp-editor.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * Makefile.am: * e-msg-composer.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui (). Fixes bug #21499. * Makefile.am: * folder-browser-ui.c: * mail-signature-editor.c: * message-browser.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui (). Fixes bug #21499. * Makefile.am: * e-summary-factory.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * e-shell-view.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () [#21499] svn path=/trunk/; revision=20888
* Use e_iconv_locale_charset() instead of e_iconv_locale_name(), dunno whatJeffrey Stedfast2003-04-101-2/+1
| | | | | | | | | | | 2003-04-09 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_get_default_charset_setting): Use e_iconv_locale_charset() instead of e_iconv_locale_name(), dunno what I was thinking. locale_name() doesn't even exist. (setup_ui): Don't free the default_charset, it's a const char*. svn path=/trunk/; revision=20797
* Use e_iconv_locale_charset() instead of e_iconv_locale_name(), dunno whatJeffrey Stedfast2003-04-101-1/+1
| | | | | | | | | | | | 2003-04-09 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_get_default_charset_setting): Use e_iconv_locale_charset() instead of e_iconv_locale_name(), dunno what I was thinking. locale_name() doesn't even exist. * e-msg-composer-attachment-bar.c (get_default_charset): Same. svn path=/trunk/; revision=20793
* fix build, it's composer_get_default_charset_setting.Chris Toshok2003-04-091-1/+1
| | | | | | | | | 2003-04-09 Chris Toshok <toshok@ximian.com> * e-msg-composer.c (setup_ui): fix build, it's composer_get_default_charset_setting. svn path=/trunk/; revision=20782
* Same as with attachment-bar's get_default_charset(). (setup_ui): InsteadJeffrey Stedfast2003-04-091-3/+6
| | | | | | | | | | | | | | 2003-04-09 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_get_default_charset_setting): Same as with attachment-bar's get_default_charset(). (setup_ui): Instead of pulling the default charset from gconf, call our helper function above. * e-msg-composer-attachment-bar.c (get_default_charset): If gconf returns a NULL string, default back to the locale charset. svn path=/trunk/; revision=20775
* Added some debug printfs. (create_composer): Call map_default_cb directlyJeffrey Stedfast2003-04-091-7/+8
| | | | | | | | | | | 2003-04-08 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (map_default_cb): Added some debug printfs. (create_composer): Call map_default_cb directly instead of having it in a "map" callback. Ettore says we shouldn't be doing this *shrug*. Still doesn't work tho. svn path=/trunk/; revision=20767
* [ fixes bug #39763 ] remove the control_entry_focus_{in,out}_event_cbChris Toshok2003-04-081-38/+0
| | | | | | | | | | | | | | | | 2003-04-07 Chris Toshok <toshok@ximian.com> [ fixes bug #39763 ] * e-msg-composer.c (setup_cut_copy_paste): remove the control_entry_focus_{in,out}_event_cb signal stuff. (control_entry_focus_in_event_cb): nuke (control_entry_focus_in_event_cb): same. * e-msg-composer-hdrs.c (create_addressbook_entry): pass the contain to bonobo_widget_new_control_from_objref when creating the entries. svn path=/trunk/; revision=20745
* If the composer isn't 'dirty', then don't autosave the draft (no need to).Jeffrey Stedfast2003-04-051-0/+3
| | | | | | | | | | 2003-04-04 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (autosave_save_draft): If the composer isn't 'dirty', then don't autosave the draft (no need to). Fixes bug #40764. svn path=/trunk/; revision=20671
* Add a select-all callback and verb. (composer_entry_focus_in_event_cb):Jeffrey Stedfast2003-04-041-0/+18
| | | | | | | | | | 2003-04-03 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (menu_edit_select_all_cb): Add a select-all callback and verb. (composer_entry_focus_in_event_cb): Set our bonobo-ui verbs. svn path=/trunk/; revision=20661
* Keep track of which entry widget has focus.Jeffrey Stedfast2003-04-021-7/+138
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-01 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_entry_focus_in_event_cb): Keep track of which entry widget has focus. (composer_entry_focus_out_event_cb): Same. (control_entry_focus_in_event_cb): Same idea, but since this is in another component, tell that component that its widget has focus so it can merge bonoboui cut/copy/paste (and anything else) menus. (control_entry_focus_out_event_cb): Same. (setup_cut_copy_paste): Connect to the focus-in and focus-out events for all the entry widgets and the html editor. (menu_edit_cut_cb): New callback function since the composer will now own the Cut/Copy/Paste menu items sometimes (depending on which widget is in focus... confused yet? good). * e-msg-composer-hdrs.c (from_changed): Update the Reply-To entry to be a normal GtkEntry. (create_headers): Same. (e_msg_composer_hdrs_set_reply_to): Here too. (e_msg_composer_hdrs_get_reply_to): And finally here. svn path=/trunk/; revision=20623
* ** See bug #40300 & probably others.Not Zed2003-04-021-4/+16
| | | | | | | | | | | | | | 2003-04-01 Not Zed <NotZed@Ximian.com> ** See bug #40300 & probably others. * e-msg-composer.c (autosave_manager_query_load_orphans): make the composer arg a parent arg, its only used parent the dialogue. Fix caller casts. (e_msg_composer_check_autosave): new function, checks for autosave files, and recovers them per user instructions. svn path=/trunk/; revision=20616
* Convert to libglade-2's format.Jeffrey Stedfast2003-04-011-15/+14
| | | | | | | | | | | 2003-03-31 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-attachment.glade: Convert to libglade-2's format. * e-msg-composer.c (set_editor_signature): E_MSG_COMPOSER_HDRS (composer->hdrs)->account->id can never be NULL anymore. svn path=/trunk/; revision=20604
* Update for e_notice moveDan Winship2003-03-251-9/+9
| | | | | | * e-msg-composer.c: Update for e_notice move svn path=/trunk/; revision=20501
* Fixes for bug #39813Jeffrey Stedfast2003-03-211-7/+7
| | | | | | | | | | | | 2003-03-20 Jeffrey Stedfast <fejj@ximian.com> Fixes for bug #39813 * e-msg-composer.c (composer_finalise): Don't unregister the signature event handler here. (destroy): Unregister it here instead. svn path=/trunk/; revision=20442
* Change the logic to attach text parts when appropriate. (map_default_cb):Jeffrey Stedfast2003-03-201-11/+10
| | | | | | | | | | | 2003-03-19 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (add_attachments_handle_mime_part): Change the logic to attach text parts when appropriate. (map_default_cb): Grab the focus of the To entry widget. Fixes bug #39800. Fixes another #warning too. svn path=/trunk/; revision=20371
* Change the logic to attach text parts when appropriate.Jeffrey Stedfast2003-03-201-34/+30
| | | | | | | | | 2003-03-19 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (add_attachments_handle_mime_part): Change the logic to attach text parts when appropriate. svn path=/trunk/; revision=20367
* e_msg_composer_hdrs_get_subject() now returns const so don't g_free() itJeffrey Stedfast2003-03-191-23/+22
| | | | | | | | | | | | | | | | | | | | | | | 2003-03-18 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (do_exit): e_msg_composer_hdrs_get_subject() now returns const so don't g_free() it :-) (map_default_cb): Same as above. Also, the subject entry no longer derives from GnomeCanvas so eliminate the now unneeded casting to grab the focus of the subject widget. (e_msg_composer_get_subject): Return a const char * now. * e-msg-composer-hdrs.c (create_headers): Make the subject entry into a GtkEntry so we don't have to worry about i18n and other EEntry bugs anymore. Fixes numerous bugs (including #39924). (e_msg_composer_hdrs_set_subject): Use gtk_entry_set_text(). (e_msg_composer_hdrs_to_message_internal): e_msg_composer_hdrs_get_subject() now returns const. (e_msg_composer_hdrs_get_subject): Return a const char *. (entry_changed): e_msg_composer_hdrs_get_subject() now returns const. svn path=/trunk/; revision=20350
* Default the composer's title to "Create a message". Fixes bug #39696.Jeffrey Stedfast2003-03-141-1/+2
| | | | | | | | | 2003-03-13 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (create_composer): Default the composer's title to "Create a message". Fixes bug #39696. svn path=/trunk/; revision=20283
* Don't allow the returned charset to be NULL. (get_file_content): Make sureJeffrey Stedfast2003-03-051-2/+6
| | | | | | | | | | | 2003-03-04 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_get_default_charset_setting): Don't allow the returned charset to be NULL. (get_file_content): Make sure there is buffered data before trying to convert it to UTF-8. svn path=/trunk/; revision=20139
* Same as below.Jeffrey Stedfast2003-02-261-3/+2
| | | | | | | | | | | 2003-02-25 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c: Same as below. * e-msg-composer-attachment-bar.c: Go back to using e_iconv_charset_name(). svn path=/trunk/; revision=20059
* Make sure the url is != NULL? I can't think of anything else in this codeJeffrey Stedfast2003-02-251-0/+4
| | | | | | | | | | 2003-02-24 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (drag_data_received): Make sure the url is != NULL? I can't think of anything else in this code that could possibly cause bug #38382. svn path=/trunk/; revision=20046
* Don't save the HTML format setting to gconf. This option menu is meant forJeffrey Stedfast2003-02-231-5/+0
| | | | | | | | | | | | 2003-02-22 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (e_msg_composer_set_send_html): Don't save the HTML format setting to gconf. This option menu is meant for a per-essage setting (ie. once the composer closes, the next composer will again use the default and not what the user chose last time). svn path=/trunk/; revision=20004
* Same as below.Jeffrey Stedfast2003-02-211-2/+1
| | | | | | | | | | | | | 2003-02-20 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer.c (composer_get_default_charset_setting): Same as below. * e-msg-composer-attachment-bar.c (get_default_charset): Use camel_charset_canonical_name() rather than e_iconv_charset_name() as the latter will be removed shortly. svn path=/trunk/; revision=19979
* default_account is now a string value, not an int.Jeffrey Stedfast2003-02-191-0/+2
| | | | | | | | | | | | 2003-02-18 Jeffrey Stedfast <fejj@ximian.com> * e-msg-composer-hdrs.c (e_msg_composer_hdrs_set_from_account): default_account is now a string value, not an int. (create_from_optionmenu): Same. (header_new_recipient): Use g_signal_connect_data() instead of the now deprecated gtk_signal_connect_full(). svn path=/trunk/; revision=19934