aboutsummaryrefslogtreecommitdiffstats
path: root/composer
Commit message (Collapse)AuthorAgeFilesLines
* ** Fixes Bug #200147Bharath Acharya2008-07-212-0/+7
| | | | | | | | | | | | | | | | | | | 2008-07-18 Bharath Acharya <abharath@novell.com> ** Fixes Bug #200147 Basic functionality implemented by Diego Escalante Urrelo <diegoe@gnome.org> Everyone owes him a big mug of Beer for that. ** Added Templates plugin * Makefile.am: * apps-evolution-template-placeholders.schemas.in: * org-gnome-templates.eplug.xml: * templates.c: * templates.glade: svn path=/trunk/; revision=35780
* ** Fix for bug #206592Milan Crha2008-07-094-0/+28
| | | | | | | | | | | | | | 2008-07-09 Milan Crha <mcrha@redhat.com> ** Fix for bug #206592 * evolution-composer.ui: * e-composer-actions.h: * e-composer-actions.c: (action_new_message_cb), (entries): Action to invoke New Message window from the composer itself. svn path=/trunk/; revision=35733
* Add a finalize() method to free priv->base_url, which was leaking.Matthew Barnes2008-07-012-0/+19
| | | | | | | | | | 2008-06-30 Matthew Barnes <mbarnes@redhat.com> * composer/e-composer-post-header.c (composer_post_header_finalize): Add a finalize() method to free priv->base_url, which was leaking. svn path=/trunk/; revision=35706
* ** Fixes bug #310988Matthew Barnes2008-06-212-2/+51
| | | | | | | | | | | | | 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-2121-25/+25
| | | | svn path=/trunk/; revision=35662
* ** Fixes bug #538908Matthew Barnes2008-06-213-0/+21
| | | | | | | | | | | | | | | | 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-132-4/+9
| | | | | | | | | | | | 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-092-31/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-074-6/+16
| | | | | | | | | | | | | | | | | | | | | | | 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 a typo in the EError tag.Matthew Barnes2008-04-292-1/+6
| | | | | | | | | | 2008-04-28 Matthew Barnes <mbarnes@redhat.com> * composer/e-composer-actions.c (action_send_options_cb): Fix a typo in the EError tag. svn path=/trunk/; revision=35431
* Move these files to e-util.Matthew Barnes2008-04-225-1370/+12
| | | | | | | | | | | | | | | | | | | 2008-04-22 Matthew Barnes <mbarnes@redhat.com> * composer/gconf-bridge.c: * composer/gconf-bridge.h: Move these files to e-util. * composer/Makefile.am: * composer/e-composer-private.h: * mail/em-composer-prefs.c: Adapt. * e-util/Makefile.am: Add gconf-bridge.[ch] from composer. svn path=/trunk/; revision=35399
* ** Fix for bug #526741 (gnome-vfs to gio/gvfs port)Milan Crha2008-04-183-33/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Remove some unused variables.Matthew Barnes2008-04-142-2/+5
| | | | | | | | | | | | | | 2008-04-14 Matthew Barnes <mbarnes@redhat.com> * composer/e-composer-autosave.c (e_composer_autosave_unregister): Remove some unused variables. * widgets/misc/e-attachment-bar.c (e_attachment_bar_bonobo_ui_populate_with_recent): Fix a compiler warning. svn path=/trunk/; revision=35365
* Fix for bug #517134 : Extend the 'Insert' menu (in editors) to show a ↵Suman Manjunath2008-04-124-4/+51
| | | | | | | | | | | | | | | | | | | | "Recent Documents" submenu (to quickly add them as attachments). M configure.in M ChangeLog M composer/evolution-composer.ui M composer/ChangeLog M composer/e-composer-actions.c M composer/e-composer-private.c M widgets/misc/ChangeLog M widgets/misc/e-attachment-bar.c M widgets/misc/e-attachment-bar.h M calendar/gui/dialogs/comp-editor.c M calendar/ChangeLog M ui/ChangeLog M ui/evolution-editor.xml svn path=/trunk/; revision=35354
* ** Fixes bug #523413Matthew Barnes2008-04-096-16/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-04-08 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #523413 * composer/e-msg-composer.c (msg_composer_dispose): Use the 'application_exiting' private flag to determine whether to tell e_composer_autosave_unregister() to delete the autosave file. * composer/e-msg-composer.c (msg_composer_class_init), (e_msg_composer_save_draft): Remove the 'quit' parameter from the 'save-draft' signal. * composer/e-msg-composer.c (e_msg_composer_request_close_all): Take an autosave snapshot before activating the CLOSE action, and set the private 'application_exiting' flag. This should avoid prompting the user before shutting down. * composer/e-composer-actions.c (action_close_cb): When electing to save a message before closing, hide the window immediately. The callback function can then check the window's visibility after the save is complete to know whether to destroy the window. * composer/e-composer-autosave.c (e_composer_autosave_unregister): Add a 'delete_file' boolean parameter to determine whether to delete the autosave file. * composer/e-composer-private.h: Add an 'application_exiting' flag. * mail/em-composer-utils.c (save_draft_done): Check the composer window's visibility to determine whether to destroy the window. See the corresponding composer/ChangeLog entry to get the full story. * mail/em-composer-utils.c (em_utils_composer_save_draft_cb): Remove the 'quit' parameter. svn path=/trunk/; revision=35346
* ** Fixes bug #525966Matthew Barnes2008-04-082-1/+8
| | | | | | | | | | | | 2008-04-08 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #525966 * e-composer-actions.c (action_close_cb): Fix a boolean error in detecting unsaved changes. svn path=/trunk/; revision=35344
* ** Fixes bug #328146Matthew Barnes2008-04-082-2/+9
| | | | | | | | | | | | 2008-04-07 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #328146 * e-composer-actions.c: Fix missing and conflicting mnemonics. svn path=/trunk/; revision=35339
* ** Fixes part of bug #526152, plus some tangential code cleanup.Matthew Barnes2008-04-053-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0336-6487/+6981
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-112-15/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-252-4/+11
| | | | svn path=/trunk/; revision=35083
* ** Part of fix for bug #515744Milan Crha2008-02-202-4/+8
| | | | | | | | | | | | | 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-182-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-252-6/+11
| | | | | | for undo/redo. svn path=/trunk/; revision=34891
* Fix for #503327 : Fixes memory leaks and a buffer overflow in attachment ↵Johnny Jacob2008-01-253-3/+10
| | | | | | reminder. svn path=/trunk/; revision=34890
* ** Fixes bug #509124Matthew Barnes2008-01-242-2/+17
| | | | | | | | | | | | | 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-142-0/+19
| | | | | | '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-072-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | (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-022-0/+8
| | | | | | | | | | | | | | | | | | | 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
* Fix a typo.Matthew Barnes2007-12-021-1/+1
| | | | svn path=/trunk/; revision=34621
* ** Fixes part of bug #495123Matthew Barnes2007-12-028-316/+191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-305-4/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2816-1168/+2029
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-158-1001/+1001
| | | | | | | | | 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-014-0/+34
| | | | | | | | | | | | | | 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-012-1/+7
| | | | | | | | | | | | | | | | 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-312-1/+4
| | | | | | | | 2007-10-31 Kjartan Maraas <kmaraas@gnome.org> * e-msg-composer.c: Remove one more unused header. svn path=/trunk/; revision=34465
* Remove unneeded includeKjartan Maraas2007-10-312-2/+4
| | | | | | | | 2007-10-30 Kjartan Maraas <kmaraas@gnome.org> * e-msg-composer-hdrs.c: Remove unneeded include svn path=/trunk/; revision=34456
* Warning fixes. - NULL vs. 0 - ANSIfication of declarations - mixing codeKjartan Maraas2007-10-264-14/+21
| | | | | | | | | | | | | | 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
* ** Fix for bug #412360Milan Crha2007-10-112-2/+54
| | | | | | | | | | | | | | | | 2007-10-11 Milan Crha <mcrha@redhat.com> ** Fix for bug #412360 * e-msg-composer-hdrs.c: (entry_query_tooltip): New callback to query tooltip over GtkEntry. * e-msg-composer-hdrs.c: (connect_entry_for_tooltip): New function to connect GtkEntry to previous function and let it works. * e-msg-composer-hdrs.c: (create_addressbook_entry), (create_headers): Connect entries for tooltips. svn path=/trunk/; revision=34375
* Remove the entry_pixcache array to silence the run-time warnings whenMatthew Barnes2007-10-042-13/+7
| | | | | | | | | | | | 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-022-41/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-283-9/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Removed em-attachment* from the build. Remains in the CVS, just incase toSrinivasa Ragavan2007-09-225-2092/+0
| | | | | | | | | | | 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. svn path=/trunk/; revision=34295
* Remove this. It was only used by e-icon-list, which is no longer there.Dan Winship2007-09-221-53/+0
| | | | | | | | | | 2003-07-23 Dan Winship <danw@ximian.com> * bad-icon.xpm: Remove this. It was only used by e-icon-list, which is no longer there. svn path=/trunk/; revision=34294
* Remove the --enable-file-chooser configure option.Matthew Barnes2007-09-142-47/+8
| | | | | | GtkFileChooser has been around since 2004. svn path=/trunk/; revision=34257
* ** Fixes bug #476040Matthew Barnes2007-09-133-7/+14
| | | | | | | | | | | | | | | | | | | | 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-072-1/+8
| | | | svn path=/trunk/; revision=34192
* ** Fix for bug #471791 (Move away from asserts to g_ret*)Srinivasa Ragavan2007-09-033-10/+22
| | | | svn path=/trunk/; revision=34158
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-0214-25/+25
| | | | | | | | | | 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-253-0/+53
| | | | | | | | | | | | | | | | | 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-232-25/+35
| | | | | | | | | | | | | | | | 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-164-4/+33
| | | | svn path=/trunk/; revision=34017
* Fix for Bug 462138 – Signature on top doesn't work... Committed on behalf of PJohnny Jacob2007-08-102-0/+15
| | | | | | | Sankar <psankar@novell.com> svn path=/trunk/; revision=33977
* ** Fix for bug #455799Hiroyuki Ikezoe2007-08-041-17/+0
| | | | | | | | | | | | 2007-08-04 Hiroyuki Ikezoe <poincare@ikezoe.net> ** Fix for bug #455799 Remove all .cvsignore and update svn:ignore porperty in whole directories. svn path=/trunk/; revision=33945
* ** Fix for bug #462332Hiroyuki Ikezoe2007-08-022-62/+76
| | | | | | | | | | | | | 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-012-0/+8
| | | | svn path=/trunk/; revision=33921
* Provide support for keeping your signature on top while replying.Sankar P2007-07-162-4/+53
| | | | | | | | | 2007-07-16 Sankar P <psankar@novell.com> Provide support for keeping your signature on top while replying. svn path=/trunk/; revision=33808
* Fix for build breakSrinivasa Ragavan2007-07-092-3/+7
| | | | | | | * e-msg-composer.h: Fix for build break svn path=/trunk/; revision=33789
* Added prototypes for e_msg_composer_get_raw_message_text andJohnny Jacob2007-07-093-1/+11
| | | | | | | | | | | 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-092-0/+33
| | | | svn path=/trunk/; revision=33769
* ** Fix for bug #444107Srinivasa Ragavan2007-06-182-5/+13
| | | | svn path=/trunk/; revision=33691
* Use the proper object to send the signal on (Closes: #442631)Bastien Nocera2007-06-132-1/+6
| | | | | | | | | | 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-132-1/+12
| | | | | | | | | | | | | | 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-122-0/+15
| | | | | | | | | | | | | | | | | | | | | | 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-032-6/+11
| | | | svn path=/trunk/; revision=33647
* ** Fix for bug #315012 from Pascal TerjanSrinivasa Ragavan2007-06-022-7/+16
| | | | svn path=/trunk/; revision=33611
* Massive code cleanup (bug #429422)Matthew Barnes2007-04-202-4/+9
| | | | svn path=/trunk/; revision=33432
* Fix for bug #356523 from Martin OlssonSrinivasa Ragavan2007-04-092-6/+18
| | | | svn path=/trunk/; revision=33405
* Patch committed on behalf of Paul Iadonisi <pri.gnome-bz@iadonisi.to>Sankar P2007-04-052-3/+11
| | | | | | | | | | | | | | 2007-04-05 Sankar P <psankar@novell.com> * Patch committed on behalf of Paul Iadonisi <pri.gnome-bz@iadonisi.to> * e-msg-composer-hdrs.c: (create_from_optionmenu): Show only enabled accounts on composer. Look at bug #243241 svn path=/trunk/; revision=33384
* Fix "incompatible pointer type" warnings (#360619).Matthew Barnes2007-03-302-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-03-29 Matthew Barnes <mbarnes@redhat.com> * calendar/gui/e-day-view.c: * calendar/gui/e-week-view.c: * calendar/gui/tasks-control.c: * composer/e-msg-composer-select-file.c: * mail/em-account-editor.c: * mail/em-folder-view.c: * mail/em-format-html-display.c: * mail/em-format-html.c: * mail/em-format.h: * mail/em-mailer-prefs.c: * mail/em-vfolder-rule.c: * mail/mail-ops.c: * mail/mail-send-recv.c: * mail/message-list.c: * plugins/bbdb/gaimbuddies.c: * plugins/itip-formatter/itip-formatter.c: * plugins/save-calendar/save-calendar.c: * shell/e-shell-window.c: * widgets/misc/e-icon-entry.c: * widgets/table/e-table-header-utils.c: * widgets/table/e-table-item.c: * widgets/table/e-tree-header-item.c: * widgets/table/e-tree-table-adapter.c: Fix "incompatible pointer type" warnings (#360619). svn path=/trunk/; revision=33339
* Don't mix declarations and code (#405495).Matthew Barnes2007-03-272-15/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-216-5/+11
| | | | | | | | | | | | | | | | | | | | | | | 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-173-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* ** Fixes #401546 - Commit the missing error string and remove the buttonVeerapuram Varadhan2007-02-262-0/+11
| | | | | | | from the toolbar and also dis-associate the accelarator key. svn path=/trunk/; revision=33256
* Use ~/.evolution as the auto-save location.Sankar P2007-02-262-4/+21
| | | | | | | | | | | | | | | | | 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-262-0/+9
| | | | svn path=/trunk/; revision=33249
* **Fixes bug #343943 Added code for tab sequence to go from BCC into Body.Raghavendran2007-01-262-1/+14
| | | | | | | | | | 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-233-4/+100
| | | | | | | | | | | | | | 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 bug #261062Srinivasa Ragavan2006-09-292-0/+6
| | | | svn path=/trunk/; revision=32827
* Fixes #351332Matthew Barnes2006-09-192-0/+7
| | | | | | | | | | 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-062-1/+5
| | | | | | | | 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 Bug 273921Devashish Sharma2006-07-212-3/+20
| | | | svn path=/trunk/; revision=32364
* Fix for memory leak in bug #209254Srinivasa Ragavan2006-07-182-6/+8
| | | | svn path=/trunk/; revision=32337
* Fix for bug #209254Srinivasa Ragavan2006-07-172-3/+7
| | | | svn path=/trunk/; revision=32328
* Fix for bug #209254Srinivasa Ragavan2006-07-142-2/+45
| | | | svn path=/trunk/; revision=32316
* fixedJeffrey Stedfast2006-06-261-9/+10
| | | | svn path=/trunk/; revision=32195
* Fixes bug #177416 on bnc initialise type to "" and not NULL.Parthasarathi Susarla2006-06-122-1/+7
| | | | | | | | | | 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-272-3/+9
| | | | | | | | | 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-262-28/+24
| | | | | | | | | 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
* Replace 'if (!filename)' with 'if (filename)', fixes a bug in Srini'sJeffrey Stedfast2006-05-262-3/+7
| | | | | | | | | | 2006-05-25 Jeffrey Stedfast <fejj@novell.com> * e-msg-composer-select-file.c (select_attach_response): Replace 'if (!filename)' with 'if (filename)', fixes a bug in Srini's patch. svn path=/trunk/; revision=32032
* Set the visible field to FALSE.Jeffrey Stedfast2006-05-263-16/+22
| | | | | | | | | 2006-05-25 Jeffrey Stedfast <fejj@novell.com> * e-msg-composer-hdrs.c (header_new_recipient): Set the visible field to FALSE. svn path=/trunk/; revision=32031
* fixed ChangeLog formattingJeffrey Stedfast2006-05-261-70/+86
| | | | svn path=/trunk/; revision=32030
* Added code to save/attach files/mails/events to/from remote sharesSrinivasa Ragavan2006-05-253-8/+31
| | | | svn path=/trunk/; revision=32023
* Committing fix for bug #333971Srinivasa Ragavan2006-04-262-1/+9
| | | | svn path=/trunk/; revision=31897
* Added ENameSelectorList support.Srinivasa Ragavan2006-04-242-6/+26
| | | | svn path=/trunk/; revision=31875
* ** Fixes bug #333213 According to POSIX.1 specfication, if iconv()Simon Zheng2006-04-052-1/+9
| | | | | | | | | | | | 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
* ** Fix for bug #268584Boby Wang2006-03-203-6/+36
| | | | | | | | | | | | | 2006-03-20 Boby Wang <boby.wang@sun.com> ** Fix for bug #268584 * e-msg-composer-attachment.glade: * e-msg-composer-select-file.c: (get_selector): set the accelerate key for "Suggest Suggest automatic display of attachment" svn path=/trunk/; revision=31721
* Committing Rohini's patch for bug #324742.Srinivasa Ragavan2006-02-242-7/+37
| | | | svn path=/trunk/; revision=31576
* Return a value... Why are blatant errors like this just warnings in gcc?Tor Lillqvist2006-02-162-3/+9
| | | | | | | | | | 2006-02-16 Tor Lillqvist <tml@novell.com> * e-msg-composer-hdrs.c (e_msg_composer_hdrs_get_to) (e_msg_composer_hdrs_get_cc, e_msg_composer_hdrs_get_bcc): Return a value... Why are blatant errors like this just warnings in gcc? svn path=/trunk/; revision=31533
* Factorize some code.Frédéric Crozat2006-02-102-29/+18
| | | | | | | | * e-msg-composer-hdrs.c: (e_msg_composer_hdrs_get_internal), (e_msg_composer_hdrs_get_to), (e_msg_composer_hdrs_get_cc), (e_msg_composer_hdrs_get_bcc): Factorize some code. svn path=/trunk/; revision=31465
* fixing a patch to again fix bug 325276.Andre Klapper2006-02-072-1/+4
| | | | | | | 2006-02-07 Andre Klapper <a9016009@gmx.de> * mail-composer.error.xml: fixing a patch to again fix bug 325276. svn path=/trunk/; revision=31431
* Use guint for 1 bit bitfield, use g_slist_delete_link instead ofKjartan Maraas2006-01-305-20/+22
| | | | | | | | | | | | | | | | | 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-162-22/+72
| | | | | | | | | | | | ** 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
* ** Fixes bug #326378Srinivasa Ragavan2006-01-142-2/+9
| | | | | | | | | | | 2006-01-13 Srinivasa Ragavan <sragavan@novell.com> ** Fixes bug #326378 * mail-composer.error.xml: Added mnemonics to Recover, Do not Recover buttons in composer. svn path=/trunk/; revision=31175
* Committing Rohini's patch.Srinivasa Ragavan2006-01-102-3/+12
| | | | | | | | 2006-01-10 Srinivasa Ragavan <sragavan@novell.com> * Committing Rohini's patch. svn path=/trunk/; revision=31113
* use libedataserver/e-account.h instead of e-util/e-account.h. useSimon Zheng2006-01-063-2/+9
| | | | | | | | | | | 2006-01-06 Simon Zheng <simon.zheng@sun.com> * e-msg-composer-hdrs.h: use libedataserver/e-account.h instead of e-util/e-account.h. * evolution-composer.c: use libedataserver/e-account-list.h instead of e-util/e-account-list.h. svn path=/trunk/; revision=31074
* s/don't/do not/ string changes. Fixes #325276.Harish Krishnaswamy2006-01-011-1/+1
| | | | | | | | 2006-01-01 Harish Krishnaswamy <kharish@novell.com> * s/don't/do not/ string changes. Fixes #325276. svn path=/trunk/; revision=31003
* Include <gtk/gtk.h> instead of attempting to hand-pick individual GTKTor Lillqvist2005-12-182-14/+16
| | | | | | | | | | | 2005-12-17 Tor Lillqvist <tml@novell.com> * e-msg-composer-attachment.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. svn path=/trunk/; revision=30832
* Include <gtk/gtk.h> instead of attempting to hand-pick individual GTKTor Lillqvist2005-12-172-36/+47
| | | | | | | | | | | | | 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
* Committed Johnny's patch.Srinivasa Ragavan2005-12-142-1/+7
| | | | | | | | 2005-12-14 Srinivasa Ragavan <sragavan@novell.com> * Committed Johnny's patch. svn path=/trunk/; revision=30775
* Add support for setting priority of a message.Parthasarathi Susarla2005-12-073-0/+79
| | | | | | | | | | | | | | 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-052-2/+13
| | | | | | | | | | | | | 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
* Include e-util-private.h to get redefinition of compile-time pathnames asTor Lillqvist2005-11-262-2/+16
| | | | | | | | | | | | 2005-11-26 Tor Lillqvist <tml@novell.com> * e-msg-composer-attachment.c: Include e-util-private.h to get redefinition of compile-time pathnames as calls to functions on Windows. Construct the pathnames of files and directories under the installation prefix at run-time to enable install-anywhere on Windows. No effect on functionality on Unix. svn path=/trunk/; revision=30681
* use composer->priv->charset instead of p->charset. This fixes a crashParthasarathi Susarla2005-10-223-3/+9
| | | | | | | | | | 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
* Comitted NotZed's patch given on #314701Vivek Jain2005-10-212-7/+18
| | | | | | | | | | | | 2005-10-21 Vivek Jain <jvivek@novell.com> Comitted NotZed's patch given on #314701 ** See bug #314701. * e-msg-composer-hdrs.c (get_account_store_url): don't dereference a null url or create an empty one. svn path=/trunk/; revision=30545
* 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-196-805/+1081
| | | | | | | | | | | | 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
* Reverting the last commitParthasarathi Susarla2005-10-052-2/+6
| | | | | | | | 2005-10-05 Parthasarathi Susarla <sparthasarathi@novell.com> Reverting the last commit svn path=/trunk/; revision=30493
* ** See bug #315987Parthasarathi Susarla2005-10-052-2/+10
| | | | | | | | | | | | 2005-10-05 Parthasarathi Susarla <sparthasarathi@novell.com> ** See bug #315987 * e-msg-composer-hdrs.c: (create_from_optionmenu): Load the account info in the From header only if the account is enabled svn path=/trunk/; revision=30490
* ** fixes bug #316937Srinivasa Ragavan2005-10-042-0/+9
| | | | | | | | | | | 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-292-0/+10
| | | | | | | | | | | | 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-243-5/+19
| | | | | | | | | | | | | | 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-243-41/+51
| | | | | | | | | | | | | | | | | | | | | | | | 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
* C99 keyword 'inline' could not been used as variable name.Mengjie Yu2005-07-272-1/+8
| | | | | | | | | | | 2005-07-27 Mengjie Yu <meng-jie.yu@sun.com> * e-msg-composer-select-file.h: C99 keyword 'inline' could not been used as variable name. Fixes #310198 svn path=/trunk/; revision=29900
* Fix build breakage due to extra whitespace after a backslash.Jody Goldberg2005-07-272-1/+6
| | | | | | | | | 2005-07-26 Jody Goldberg <jody@gnome.org> * Makefile.am : Fix build breakage due to extra whitespace after a backslash. svn path=/trunk/; revision=29894
* Fix make distcheck issues.Harish Krishnaswamy2005-07-272-0/+5
| | | | | | | | 2005-07-26 Harish Krishnaswamy <kharish@novell.com> * Makefile.am: Fix make distcheck issues. svn path=/trunk/; revision=29891
* Added Shortcut for Save Draft (Ctrl+Shift+s) and a toolbar button for theSrinivasa Ragavan2005-07-252-0/+6
| | | | | | | | | | 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
* Use camel_object_unref instead of g_object_unref.Shreyas Srinivasan2005-07-212-5/+10
| | | | | | | | | 2005-07-21 Shreyas Srinivasan <sshreyas@novell.com> * e-msg-composer-hdrs.c (account_can_send): Use camel_object_unref instead of g_object_unref. svn path=/trunk/; revision=29823
* unref the store which was being leaked.Shreyas Srinivasan2005-07-152-6/+11
| | | | | | | | | 2005-07-15 Shreyas Srinivasan <sshreyas@novell.com> * e-msg-composer-hdrs.c: (account_can_send) unref the store which was being leaked. svn path=/trunk/; revision=29778
* add casts in previous patch to fix warnings. (account_can_send): fix theNot Zed2005-07-142-4/+10
| | | | | | | | | | 2005-07-14 Not Zed <NotZed@Ximian.com> * e-msg-composer-hdrs.c (address_button_clicked_cb): add casts in previous patch to fix warnings. (account_can_send): fix the permission mode name. svn path=/trunk/; revision=29766
* ** See bug #309869S.Antony Vincent Pandian2005-07-142-0/+16
| | | | | | | | | | | 2005-07-13 S.Antony Vincent Pandian <santony@gmail.com> ** See bug #309869 * e-msg-composer-hdrs.c: moves the focus to the corresponding header buttons' entry fields. svn path=/trunk/; revision=29763
* Don't leak the file name here.Kjartan Maraas2005-07-133-2/+12
| | | | | | | | | 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
* There are no camel or addressbook/backend directories in evolution.Tor Lillqvist2005-07-132-4/+5
| | | | | | | | | 2005-07-13 Tor Lillqvist <tml@novell.com> * Makefile.am (INCLUDES): There are no camel or addressbook/backend directories in evolution. svn path=/trunk/; revision=29755
* Removed em-attachment* from the build. Remains in the CVS, just incase toSrinivasa Ragavan2005-07-114-43/+204
| | | | | | | | | | | | | | | | | 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
* Take into account store permissions (Read Only). These are proxy specificShreyas Srinivasan2005-07-102-36/+68
| | | | | | | | | 2005-07-10 Shreyas Srinivasan <sshreyas@novell.com> * e-msg-composer-hdrs.c: Take into account store permissions (Read Only). These are proxy specific as of now. svn path=/trunk/; revision=29699
* Added widgets in INCLUDES.Kaushal Kumar2005-06-232-3/+3
| | | | | | | | | | | | 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-173-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-032-0/+8
| | | | | | | | | 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
* hack up so we dont include mail-component.h anymore, since it now reliesNot Zed2005-06-032-1/+12
| | | | | | | | | | 2005-06-03 Not Zed <NotZed@Ximian.com> * e-msg-composer-hdrs.c: hack up so we dont include mail-component.h anymore, since it now relies on files generated in mail/ svn path=/trunk/; revision=29452
* Show attachment bar when attachments are added e-msg-composer.cSrinivasa Ragavan2005-06-033-8/+42
| | | | | | | | | | | | | | 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
* e-msg-composer-attachment.cSrinivasa Ragavan2005-05-272-0/+5
| | | | | | | | 2005-05-24 Srinivasa Ragavan <sragavan@novell.com> * e-msg-composer-attachment.c (e_msg_composer_attachment_new_from_mime_part); Fixed a bug, which considered forwarded mails as remote files. svn path=/trunk/; revision=29416
* Fixed a potential memory leak.Srinivasa Ragavan2005-05-242-3/+8
| | | | | | | | | 2005-05-24 Srinivasa Ragavan <sragavan@novell.com> * e-msg-composer-attachment.c (finalise): Fixed a potential memory leak. svn path=/trunk/; revision=29403
* Added attachment of remote URL. The dnd of url, downloads the files andSrininvasa Ragavan2005-05-238-40/+433
| | | | | | | | | | | 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-162-83/+16
| | | | | | | | | | | | 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-164-3/+7
| | | | | | | | 2005-05-16 Not Zed <NotZed@Ximian.com> * moved e-error to e-util. svn path=/trunk/; revision=29365
* Set a mnemonic for the "Attach" buttonRodney Dawes2005-05-092-1/+6
| | | | | | | | | 2005-05-09 Rodney Dawes <dobey@novell.com> * e-msg-composer-select-file.c (get_selector): Set a mnemonic for the "Attach" button svn path=/trunk/; revision=29320
* Use "Attach" as the text for the "Open" action button in the file chooserRodney Dawes2005-05-072-1/+6
| | | | | | | | | 2005-05-06 Rodney Dawes <dobey@novell.com> * e-msg-composer-select-file.c (get_selector): Use "Attach" as the text for the "Open" action button in the file chooser svn path=/trunk/; revision=29309
* renamed from mail-errors.xml, add i18n tags, fix some whitespace issues.Not Zed2005-05-065-135/+83
| | | | | | | | | 2005-05-06 Not Zed <NotZed@Ximian.com> * mail.error.xml: renamed from mail-errors.xml, add i18n tags, fix some whitespace issues. Removed some unecessary translations. svn path=/trunk/; revision=29307
* 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-052-71/+5
| | | | | | | | | 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-082-0/+9
| | | | | | | | | | | 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-083-1/+82
| | | | | | | | 2005-04-05 ERDI Gergo <cactus@cactus.rulez.org> * e-msg-composer.c: implement read-receipt functionality. svn path=/trunk/; revision=29183
* ** See bug #73347Not Zed2005-03-172-1/+7
| | | | | | | | | | 2005-03-16 Not Zed <NotZed@Ximian.com> ** See bug #73347 * mail-composer-errors.xml: set the default for auto-recover. svn path=/trunk/; revision=29047
* Set up c/c/p for To: Cc: Bcc: and Post To: entries too.Hans Petter Jansson2005-03-162-0/+21
| | | | | | | | | 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-043-19/+63
| | | | | | | | | | | | | | 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
* Fix previous patch for the !USE_GTKFILECHOOSER case.Jeffrey Stedfast2005-02-172-1/+6
| | | | | | | | | 2005-02-15 Jeffrey Stedfast <fejj@novell.com> * e-msg-composer-select-file.c (select_attach_response): Fix previous patch for the !USE_GTKFILECHOOSER case. svn path=/trunk/; revision=28805
* Add a11y name for attachment button and barsHarry Lu2005-02-163-0/+12
| | | | | | | | | | | | 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
* declare a variable in the !USE_GTKFILECHOOSER code pathJeffrey Stedfast2005-02-151-1/+2
| | | | | | ---------------------------------------------------------------------- svn path=/trunk/; revision=28791
* ** See bug #66126.Not Zed2005-02-105-127/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Set pointers to the contact editor creation functions in the entries, soHans Petter Jansson2005-01-252-0/+13
| | | | | | | | | | 2005-01-24 Hans Petter Jansson <hpj@novell.com> * e-msg-composer-hdrs.c (create_addressbook_entry): Set pointers to the contact editor creation functions in the entries, so they can pop up said editors. svn path=/trunk/; revision=28540
* initialise composer before using it. sigh.Not Zed2005-01-122-3/+6
| | | | | | | | | 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-052-3/+46
| | | | | | | | | | | | 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-242-13/+12
| | | | | | | | | | 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
* Remove select-names from here.Hans Petter Jansson2004-12-233-6/+10
| | | | | | | | | | | | 2004-12-23 Hans Petter Jansson <hpj@novell.com> * Makefile.am (selectnamesdir) (IDL_GENERATED) (INCLUDES): Remove select-names from here. * Composer.idl: Remove Evolution-Addressbook-SelectNames.idl include. svn path=/trunk/; revision=28190
* Unref the name selector. (e_contact_list_editor_save_contact): Fix aHans Petter Jansson2004-12-233-92/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-22 Hans Petter Jansson <hpj@novell.com> * addressbook/gui/contact-list-editor/e-contact-list-editor.c (e_contact_list_editor_dispose): Unref the name selector. (e_contact_list_editor_save_contact): Fix a warning. (add_to_model): Take a list instead of a vector of destinations. (select_names_ok_cb): Adapt to new name selector. (setup_corba): Renamed to setup_name_selector () and adapted. (select_cb): Adapt to new name selector. * addressbook/gui/contact-list-editor/e-contact-list-editor.h: Adapt to new name selector and remove CORBA/Bonobo. * addressbook/gui/widgets/eab-popup.c (eabp_target_free) (eabp_popup_target_new_select_names): #ifdef out code that depended on the old name selector. 2004-12-22 Hans Petter Jansson <hpj@novell.com> * calendar/gui/Makefile.am (IDLS) (SELECT_NAMES_IDL_GENERATED_H) (SELECT_NAMES_IDL_GENERATED_C) (SELECT_NAMES_IDL_GENERATED) (IDL_GENERATED): Remove the addressbook IDL. * calendar/gui/e-meeting-list-view.c (e_meeting_list_finalize) (add_section) (e_meeting_list_view_init) (process_section) (name_selector_dialog_close_cb) (get_select_name_dialog): Adapt to new ENameSelector. * calendar/gui/e-select-names-editable.c (esne_start_editing) (esne_finalize) (esne_init) (e_select_names_editable_get_type) (entry_activate) (e_select_names_editable_construct) (e_select_names_editable_get_address) (e_select_names_editable_get_name) (e_select_names_editable_set_address): Adapt to new ENameSelector. * calendar/gui/e-select-names-renderer.c (e_select_names_renderer_editing_done) (e_select_names_renderer_activated) (e_select_names_renderer_start_editing): Adapt to new ENameSelector. * calendar/gui/dialogs/alarm-dialog.c (malarm_widgets_to_alarm) (addressbook_clicked_cb) (addressbook_response_cb) (setup_select_names) (check_custom_email) (malarm_addresses_changed_cb): Adapt to new ENameSelector. * calendar/gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_finalize) (e_delegate_dialog_construct) (addressbook_clicked_cb) (addressbook_response_cb) (e_delegate_dialog_get_delegate) (e_delegate_dialog_get_delegate_name): Adapt to new ENameSelector. 2004-12-22 Hans Petter Jansson <hpj@novell.com> * composer/e-msg-composer-hdrs.c (addressbook_dialog_response) (setup_corba) (setup_name_selector) (address_button_clicked_cb) (addressbook_entry_changed) (create_addressbook_entry) (destroy) (e_msg_composer_hdrs_new) (destinations_to_name_selector_entry) (e_msg_composer_hdrs_set_to) (e_msg_composer_hdrs_set_cc) (e_msg_composer_hdrs_set_bcc) (destination_list_to_destv) (e_msg_composer_hdrs_get_to) (e_msg_composer_hdrs_get_cc) (e_msg_composer_hdrs_get_bcc): Adapt to new ENameSelector. svn path=/trunk/; revision=28186
* svn path=/trunk/; revision=28178Not Zed2004-12-223-2/+8
| | | | | | | | | | 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
* addressbook/gui/component/addressbook-migrate.cHans Petter Jansson2004-12-092-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-08 Hans Petter Jansson <hpj@novell.com> * addressbook/gui/component/addressbook-migrate.c * addressbook/gui/component/select-names/e-select-names-completion.c * addressbook/gui/component/select-names/e-select-names-manager.c * addressbook/gui/component/select-names/e-select-names-model.h * addressbook/gui/contact-list-editor/e-contact-list-editor.h * addressbook/gui/contact-list-editor/e-contact-list-model.h * addressbook/gui/widgets/e-minicard.c * addressbook/gui/widgets/eab-gui-util.c * addressbook/importers/evolution-ldif-importer.c * addressbook/importers/evolution-vcard-importer.c: Include <libebook/e-destination.h> from evolution-data-server. * addressbook/util/Makefile.am: Remove e-destination.[ch] from here. * addressbook/util/e-destination.[ch]: Removed. * plugins/shared-folder/share-folder-common.c: Include <libebook/e-destination.h> from evolution-data-server. * calendar/gui/e-meeting-list-view.c * calendar/gui/e-select-names-editable.c * calendar/gui/dialogs/alarm-dialog.c * calendar/gui/dialogs/e-delegate-dialog.c: Include <libebook/e-destination.h> from evolution-data-server. * composer/e-msg-composer-hdrs.h: Include <libebook/e-destination.h> from evolution-data-server. * mail/importers/pine-importer.c: Include <libebook/e-destination.h> from evolution-data-server. svn path=/trunk/; revision=28094
* include camel-cipher-context.h so we build if nss isn't available.Not Zed2004-12-072-0/+6
| | | | | | | | | 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-033-9/+15
| | | | | | | | | 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-262-4/+6
| | | | | | | | | 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-283-2/+15
| | | | | | | | | | 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-282-3/+27
| | | | | | | | | 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-273-14/+31
| | | | | | | | | | | | 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-203-2/+7
| | | | | | | | | 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-122-2/+8
| | | | | | | | | | 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
* updatedJeffrey Stedfast2004-10-091-0/+2
| | | | svn path=/trunk/; revision=27516
* e-popup api changes.Not Zed2004-10-073-2/+7
| | | | | | | | | 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-012-1/+6
| | | | | | | | | | | | | 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-012-10/+169
| | | | | | | | | | | | | | 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-302-3/+9
| | | | | | | | | | 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-202-2/+10
| | | | | | | | | | | 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-206-149/+113
| | | | svn path=/trunk/; revision=27300
* ** See bug #64454.Not Zed2004-09-093-4/+11
| | | | | | | | | | | 2004-09-08 Not Zed <NotZed@Ximian.com> ** See bug #64454. * mail-composer-errors.xml: add accelerators to modified message dialogue. svn path=/trunk/; revision=27190
* set paragraph style to normal to avoid signature landing in PRE paragraphRadek Doulik2004-08-142-0/+6
| | | | | | | | | 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-134-53/+139
| | | | | | | | | | | | | 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-292-5/+9
| | | | | | | | 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-285-19/+55
| | | | | | | | | | | | | 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-232-22/+12
| | | | | | | | | | | | 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
* include config.h. See #61395.Not Zed2004-07-222-0/+8
| | | | | | | | 2004-07-20 Not Zed <NotZed@Ximian.com> * e-msg-composer-attachment.c: include config.h. See #61395. svn path=/trunk/; revision=26695
* ** Fix for #60387.Not Zed2004-06-184-42/+138
| | | | | | | | | | | | | | | | | 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-174-29/+48
| | | | | | | | | | | | | | | | | | | | | | 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-152-16/+7
| | | | | | | | | | | 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-072-1/+5
| | | | svn path=/trunk/; revision=26237
* Use e_error_run() instead of the e_activation_error_dialog() stuff that noJeffrey Stedfast2004-06-054-18/+31
| | | | | | | | | 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-032-2/+8
| | | | | | | | | | | 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
* s/${0}/{0}/gJeffrey Stedfast2004-05-283-11/+15
| | | | | | | | 2004-05-27 Jeffrey Stedfast <fejj@novell.com> * mail-composer-errors.xml: s/${0}/{0}/g svn path=/trunk/; revision=26117
* Require e-error-toolRodney Dawes2004-05-282-0/+5
| | | | | | | | | | | | 2004-05-27 Rodney Dawes <dobey@novell.com> * e-util/Makefile.am (dist-hook): Require e-error-tool 2004-05-27 Rodney Dawes <dobey@novell.com> * */Makefile.am (EXTRA_DIST): Add $(error_i18n) for "make dist" svn path=/trunk/; revision=26114
* use e-icon-factory sizes.Not Zed2004-05-252-6/+8
| | | | | | | | 2004-05-25 Not Zed <NotZed@Ximian.com> * e-msg-composer.c (pixcache[]): use e-icon-factory sizes. svn path=/trunk/; revision=26071
* if we have a cached icon, use it, don't just ignore it! #58831.Not Zed2004-05-252-2/+10
| | | | | | | | | 2004-05-25 Not Zed <NotZed@Ximian.com> * e-msg-composer-attachment-bar.c (update): if we have a cached icon, use it, don't just ignore it! #58831. svn path=/trunk/; revision=26070
* don't dist the error .h fileJP Rosevear2004-05-202-1/+4
| | | | | | | | 004-05-19 JP Rosevear <jpr@novell.com> * Makefile.am: don't dist the error .h file svn path=/trunk/; revision=25980
* set the default for exit-unsaved to save, as in 1.4. #57995.Not Zed2004-05-182-1/+4
| | | | | | | | | 2004-05-18 Not Zed <NotZed@Ximian.com> * mail-composer-errors.xml: set the default for exit-unsaved to save, as in 1.4. #57995. svn path=/trunk/; revision=25957
* fix for folder selector api change.Not Zed2004-05-182-1/+6
| | | | | | | | | 2004-05-18 Not Zed <NotZed@Ximian.com> * e-msg-composer-hdrs.c (post_browser_clicked_cb): fix for folder selector api change. svn path=/trunk/; revision=25949
* add for translators.Not Zed2004-05-125-60/+112
| | | | | | | | | | | | 2004-05-12 Not Zed <NotZed@Ximian.com> * mail-composer-errors.xml.h: add for translators. * mail-composer-errors.xml: renamed from xml.in file. * Makefile.am: Fix for i18n build stuff. svn path=/trunk/; revision=25866
* Use CAMEL_EXCEPTION_SYSTEM instead of '1', also don't useJeffrey Stedfast2004-05-122-3/+13
| | | | | | | | | | | | 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-102-2/+6
| | | | | | | | 2004-05-08 Enver ALTIN <enver.altin@frontsite.com.tr> * e-msg-composer.c: Fixing parts of #53466. svn path=/trunk/; revision=25829
* updateDan Winship2004-05-031-16/+9
| | | | svn path=/trunk/; revision=25751
* header cleanups.Not Zed2004-05-032-0/+12
| | | | | | | | 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-286-119/+75
| | | | | | | | 2004-04-28 Not Zed <NotZed@Ximian.com> ** Changed error messages to EError. svn path=/trunk/; revision=25652
* duh, pass the string not the content type to the warning message. AndNot Zed2004-04-272-3/+9
| | | | | | | | | | 2004-04-27 Not Zed <NotZed@Ximian.com> * e-msg-composer-attachment-bar.c (update): duh, pass the string not the content type to the warning message. And derrr, print it for the actual error case, not the ok case. Fixes #57680. svn path=/trunk/; revision=25633
* Only unlink the original autosave draft file if we are successful inJeffrey Stedfast2004-04-272-9/+13
| | | | | | | | | | 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
* forgot to save after i added bug #.Michael Zucci2004-04-231-1/+1
| | | | svn path=/trunk/; revision=25597
* fallback to stock attach if we can't ifnd the icon.Not Zed2004-04-232-11/+21
| | | | | | | | | 2004-04-23 Not Zed <NotZed@Ximian.com> * e-msg-composer-attachment-bar.c (update): fallback to stock attach if we can't ifnd the icon. svn path=/trunk/; revision=25593
* Use the E_ICON_SIZE enums rather than specifying an absolute pixel size.Jeffrey Stedfast2004-04-202-3/+7
| | | | | | | | | 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-193-13/+31
| | | | | | | | | | 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
* Work in progress, HIG'ing and de-coupling of errors.Michael Zucci2004-04-161-0/+35
| | | | svn path=/trunk/; revision=25493
* Same idea here as with build_mesage(), don't convert th gconf charsetJeffrey Stedfast2004-04-163-52/+82
| | | | | | | | | | | | | | | | | | | | | | | | | 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-142-3/+11
| | | | | | | | | | | 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-132-2/+17
| | | | | | | | | 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-106-105/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-082-28/+34
| | | | | | | | | | | | 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-072-6/+10
| | | | | | | 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-072-1/+11
| | | | | | | | | | | 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-032-1/+7
| | | | | | | | | 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-022-2/+12
| | | | | | | | | 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-022-4/+27
| | | | | | | | | 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-023-149/+176
| | | | | | | | 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-317-1/+23
| | | | | | | | | 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-302-2/+6
| | | | | | | | | 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-232-1/+13
| | | | | | | | | | | 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
* exclude non-viable folder targets for selection, related to #55089.Not Zed2004-03-222-1/+7
| | | | | | | | | 2004-03-22 Not Zed <NotZed@Ximian.com> * e-msg-composer-hdrs.c (post_browser_clicked_cb): exclude non-viable folder targets for selection, related to #55089. svn path=/trunk/; revision=25140
* delete event: if empty paragraph has signature == 1 then set it to 0Radek Doulik2004-03-192-2/+16
| | | | | | | | | | | 2004-03-18 Radek Doulik <rodo@ximian.com> * listener.c (impl_event): delete event: if empty paragraph has signature == 1 then set it to 0 Fixes #55735 (be sure to update gtkhtml as well) svn path=/trunk/; revision=25122
* If we select multi-attachments, the "properities" menu item in popup iconBill Zhu2004-03-182-1/+17
| | | | | | | | | | | 2004-03-17 Bill Zhu <bill.zhu@sun.com> * e-msg_composer-attachment-bar.c: If we select multi-attachments, the "properities" menu item in popup icon context menu will be disabled. Fixes bug #55299 svn path=/trunk/; revision=25113
* If the subject is empty, use _("Untitled Message") as the subject instead.Jeffrey Stedfast2004-03-072-1/+6
| | | | | | | | | 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-062-10/+16
| | | | | | | | | | | | | 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 key-press event handler, with which a little modification to PaoloBruce Tao2004-03-042-1/+33
| | | | | | | | | | | 2004-02-27 Bruce Tao <bruce.tao@sun.com> * e-msg-composer-attachment-bar.c: add a key-press event handler, with which a little modification to Paolo Borelli's patch. <pborelli@katamail.com> When one attachment is deleted, the icon right after the last deleted one will be focused. svn path=/trunk/; revision=24959
* Add a <br> tag between the message text and the signature text (makes itJeffrey Stedfast2004-02-272-8/+16
| | | | | | | | | | 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-172-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | >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-132-7/+27
| | | | | | | | | | 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
* add accel and icon for the "remove" item in the popup menu. Patch fromRodney Dawes2004-02-072-4/+11
| | | | | | | | | | 2004-02-06 Rodney Dawes <dobey@ximian.com> * e-msg-composer-attachment-bar.c: add accel and icon for the "remove" item in the popup menu. Patch from Paolo Borelli <pborelli@katamail.com> svn path=/trunk/; revision=24653
* use FORCE_SLOW_MIME_TYPE so gnome-vfs actually sniffs the file contentsChris Toshok2004-02-042-0/+7
| | | | | | | | | | 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
* add widgets/miscDan Winship2004-02-042-0/+6
| | | | | | * Makefile.am (INCLUDES): add widgets/misc svn path=/trunk/; revision=24587
* use g_ascii_strcasecmp rather than strcasecmp.Not Zed2004-02-023-13/+28
| | | | | | | | | | | | | | | | | | | 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-293-32/+46
| | | | | | | | | | | | | | | | | | | | | 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