aboutsummaryrefslogtreecommitdiffstats
path: root/mail
Commit message (Collapse)AuthorAgeFilesLines
* Add an "evolution:button_icon" attribute.Ettore Perazzoli2003-10-232-0/+6
| | | | | | | Add an "evolution:button_icon" attribute. svn path=/trunk/; revision=23024
* removed mail-local.[c,h]Jeffrey Stedfast2003-10-234-1603/+0
| | | | svn path=/trunk/; revision=23022
* ding dong the witch is deadJeffrey Stedfast2003-10-232-465/+0
| | | | svn path=/trunk/; revision=23020
* buh-bye mail-search.[c,h]Jeffrey Stedfast2003-10-232-478/+0
| | | | | | was nice knowin' ya! svn path=/trunk/; revision=23019
* Add an "evolution:button_sort_order" attribute.Ettore Perazzoli2003-10-232-0/+6
| | | | | | | Add an "evolution:button_sort_order" attribute. svn path=/trunk/; revision=23014
* removed old upgrade-mailer.c scriptJeffrey Stedfast2003-10-231-1169/+0
| | | | svn path=/trunk/; revision=23013
* removed unused etspec filesJeffrey Stedfast2003-10-233-22/+1
| | | | svn path=/trunk/; revision=23011
* removed more unused source filesJeffrey Stedfast2003-10-232-852/+0
| | | | svn path=/trunk/; revision=23009
* removed #include "folder-browser.h"Jeffrey Stedfast2003-10-231-1/+0
| | | | svn path=/trunk/; revision=23007
* removed unused source filesJeffrey Stedfast2003-10-232-1731/+0
| | | | svn path=/trunk/; revision=23006
* remove unused filesJeffrey Stedfast2003-10-234-4466/+0
| | | | svn path=/trunk/; revision=23005
* Removed, use em_utils_selection_get_uidlist() instead. (drop_uid_list):Jeffrey Stedfast2003-10-234-45/+37
| | | | | | | | | | | | | | | | | | | 2003-10-22 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (parse_uid_list): Removed, use em_utils_selection_get_uidlist() instead. (drop_uid_list): Use em_utils_selection_get_uidlist() to parse the x-uid-list selection data and use mail_tool_uri_to_folder() directly since we have the uri (originally we expected the first component of the selection data to be the e-storage-set-view folder path rather than the uri). (folder_receive_drop_cb): Call gtk_drag_finish() here. * message-list.c: s/x-evolution-message/x-uid-list/ * em-utils.c: Same. svn path=/trunk/; revision=23004
* Use e_storage_browser_peek_widget_scrolled() to retrieve the scrolledEttore Perazzoli2003-10-232-2/+10
| | | | | | | | | | | | | | | * mail-component.c (impl_createControls): Use e_storage_browser_peek_widget_scrolled() to retrieve the scrolled window that the EStorageSetView is contained in. * e-storage-browser.c (struct _EStorageBrowserPrivate): New member "storage_set_view_scrolled". (e_storage_browser_new): Put the storage_set_view in a scrolled window. Set priv->storage_set_view_scrolled to this scrolled window. (e_storage_browser_peek_tree_widget_scrolled): New. svn path=/trunk/; revision=22993
* Add an "evolution:button_label" property on the component for use in theEttore Perazzoli2003-10-232-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/GNOME_Evolution_Addressbook.server.in.in: Add an "evolution:button_label" property on the component for use in the shell. * gui/GNOME_Evolution_Calendar.server.in.in: Add an "evolution:button_label" property on the component for use in the shell. * GNOME_Evolution_Mail.server.in.in: Add an "evolution:button_label" attribute to the Component for use in the shell. * e-shell-window.c (struct _ComponentView): New member button_id. (struct _EShellWindowPrivate): New member sidebar. (component_new_new): Get a button_id arg. (component_button_clicked_callback): Removed. (sidebar_button_selected_callback): New. (create_component_button): Removed. (setup_widget): Set up the sidebar using ESidebar and hook up its "button_selected" signal. Also get the component name from a property on the server info. (e_shell_window_new): Use BASE_VERSION for the version in the app name instead of hardcoding "1.5". * e-sidebar.c: New. * e-sidebar.h: New. svn path=/trunk/; revision=22988
* handle destination of "" properly. (emc_popup_copy_folder_selected):Not Zed2003-10-222-15/+58
| | | | | | | | | | | | | | 2003-10-22 Not Zed <NotZed@Ximian.com> * mail-component.c (em_copy_folders): handle destination of "" properly. (emc_popup_copy_folder_selected): handle url->path properly, strip leading /. (em_copy_folders): if we just created a new folder on a subscribable store, subscribe to it. (em_copy_folders): handle nonselectable folders specially. svn path=/trunk/; revision=22973
* New functions to handle drag & drop to/from the folder tree.Jeffrey Stedfast2003-10-222-0/+495
| | | | | | | | | | | | 2003-10-21 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (drag_text_uri_list, folder_dragged_cb) (drop_uid_list, drop_folder, import_message_rfc822) (drop_message_rfc822, drop_text_uri_list, folder_receive_drop_cb): New functions to handle drag & drop to/from the folder tree. (impl_createControls): Setup drag & drop support. svn path=/trunk/; revision=22970
* Put an <hr> between parts of a multipart.Jeffrey Stedfast2003-10-222-3/+7
| | | | | | | | | 2003-10-21 Jeffrey Stedfast <fejj@ximian.com> * em-format.c (emf_multipart_mixed): Put an <hr> between parts of a multipart. svn path=/trunk/; revision=22969
* fixed changelogJeffrey Stedfast2003-10-221-3/+3
| | | | svn path=/trunk/; revision=22968
* compiler fixesJeffrey Stedfast2003-10-221-17/+15
| | | | svn path=/trunk/; revision=22967
* Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-2271-616/+20395
| | | | svn path=/trunk/; revision=22964
* removed unused headerJeffrey Stedfast2003-10-171-1/+0
| | | | svn path=/trunk/; revision=22916
* Check for gnome-thumbnail.h existence.Frédéric Crozat2003-10-092-0/+13
| | | | | | | | | | * configure.in: Check for gnome-thumbnail.h existence. * mail/em-icon-stream.c: (emis_sync_close): Use gnome-thumbnail_scale_down_pixbuf if available, for better performance. svn path=/trunk/; revision=22829
* Add a hide_mask to the create-rule-from-message bars so that we don'tJeffrey Stedfast2003-10-092-3/+9
| | | | | | | | | | 2003-10-08 Jeffrey Stedfast <fejj@ximian.com> * em-folder-view.c: Add a hide_mask to the create-rule-from-message bars so that we don't segfault when we right click with a multi-selection. svn path=/trunk/; revision=22822
* removed unused etspec fileJeffrey Stedfast2003-10-072-13/+1
| | | | svn path=/trunk/; revision=22809
* fixed ChangeLogJeffrey Stedfast2003-10-071-1/+1
| | | | svn path=/trunk/; revision=22804
* Fixed.Jeffrey Stedfast2003-10-073-7/+11
| | | | | | | | | | | 2003-10-06 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (identity_prepare): Fixed. * mail-ops.c (fetch_mail_fetch): Always save the uid cache no matter what. svn path=/trunk/; revision=22803
* Convert real name to UTF-8 if needed.Frédéric Crozat2003-10-032-8/+13
| | | | | | | * mail-config-druid.c: (identity_prepare), (config_wizard_new): Convert real name to UTF-8 if needed. svn path=/trunk/; revision=22796
* Disable the selection of the first unread message for now. This isJeffrey Stedfast2003-10-032-1/+9
| | | | | | | | | | 2003-10-03 Jeffrey Stedfast <fejj@ximian.com> * em-folder-browser.c (emfb_set_folder): Disable the selection of the first unread message for now. This is actually annoying the fuck out of me, Radek, and a few other people. svn path=/trunk/; revision=22794
* fixed suresh's broken changelog entryJeffrey Stedfast2003-10-031-13/+10
| | | | svn path=/trunk/; revision=22793
* Fix for 40917 "Backspace shouldn't highlight the whole remaining string inSuresh Chandrasekharan2003-10-032-13/+15
| | | | | | | | | | | | | | | | | | | 2003-10-02 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> * mail-config-druid.c: Fix for 40917 "Backspace shouldn't highlight the whole remaining string in Setup Assistant". Removed repeated focussing per keystroke for the following functions (identity_changed) (source_changed) (transport_changed) (management_changed) (identity_prepare): Removed the initial highlighting for Full Name, also the unneeded intial grab_focus. svn path=/trunk/; revision=22790
* zero out last_part if we're clearing. Uh, this fixes, but shouldn't, partNot Zed2003-10-024-43/+44
| | | | | | | | | | | | | | | | | | 2003-10-02 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_format_timeout): zero out last_part if we're clearing. Uh, this fixes, but shouldn't, part of #49034. The problem is the 'last part' logic is based on the address, which can quite easily be repeated for different messages. * em-folder-view.c (emfv_list_message_selected): reverted jeff's patch for #48618, use a much simpler method. * em-message-browser.c (emmb_destroy): hook onto destroy handler, we need to destroy the messagelist ourselves, since we dont attach it to any parent window. svn path=/trunk/; revision=22785
* turn off blocking writes. (efh_format_timeout): don't do a htmlbegin onNot Zed2003-10-023-16/+28
| | | | | | | | | | | | | | | | | 2003-10-01 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_init): turn off blocking writes. (efh_format_timeout): don't do a htmlbegin on the page yet, it'll be handled by em-html-stream when it has data, to reduce flicker. (efh_format_do): close the main gtkhtml stream as soon as we're done writing the body. any sub-jobs should be using frames etc. (efh_text_plain): dont write a table around the text, try to reduce flickering. layout may be out now though. * em-html-stream.c (emhs_sync_write): if we have no html_stream yet, begin a new one. svn path=/trunk/; revision=22784
* Use "Sans Regular" instead of "Helvetica" Fixes bug #47878Rodney Dawes2003-10-012-1/+6
| | | | | | | | | 2003-09-30 Rodney Dawes <dobey@ximian.com> * em-format-html-print.c: Use "Sans Regular" instead of "Helvetica" Fixes bug #47878 svn path=/trunk/; revision=22771
* remove gconf stuff. (em_format_html_set_xmailer_mask): new method to setNot Zed2003-09-308-61/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-09-30 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_init): remove gconf stuff. (em_format_html_set_xmailer_mask): new method to set the xmailer mask. * em-folder-view.c (emfv_display_keys[]): Added charset key to monitor/retrieve, and xmailer_mask. (emfv_setting_notify): Monitor charset setting, pass onto the formatter, as well as xmailer_mask. * mail-preferences.c (mail_preferences_construct): use the new charset key. (mail_preferences_apply): use the new charset key. * evolution-mail.schemas: Moved the mail/format/charset to mail/display/charset. 1. it makes more sense, and 2. it makes notification update easier in em-folder-view.c * em-format.c (emf_init): remove the gconf charset stuff, for bug #48791, and also actually fixes the fixme that jeff thought he fixed. (em_format_format_text): use default charset as fallback. (em_format_set_default_charset): New method to set the default charset. (gconf_charset_changed): removed. svn path=/trunk/; revision=22768
* Oops, put the arguments in the right order.Jeffrey Stedfast2003-09-302-1/+5
| | | | | | | | 2003-09-29 Jeffrey Stedfast <fejj@ximian.com> * em-format.c (emf_init): Oops, put the arguments in the right order. svn path=/trunk/; revision=22757
* removed subscribe-dialog.etspec and added another FIXME to em-folder-browser.cJeffrey Stedfast2003-09-303-10/+2
| | | | svn path=/trunk/; revision=22756
* added a FIXME commentJeffrey Stedfast2003-09-301-1/+2
| | | | svn path=/trunk/; revision=22749
* Allow any file: uri to point to a sent or drafts folder.Jeffrey Stedfast2003-09-262-2/+9
| | | | | | | | | 2003-09-25 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_save): Allow any file: uri to point to a sent or drafts folder. svn path=/trunk/; revision=22706
* Make the dialog more HIG-compliant by fixing widget alignment/spacingRodney Dawes2003-09-262-8/+7
| | | | | | | | | 2003-09-25 Rodney Dawes <dobey@ximian.com> * mail-send-recv.c: Make the dialog more HIG-compliant by fixing widget alignment/spacing issues, and removing separators svn path=/trunk/; revision=22702
* fixed ChangeLogJeffrey Stedfast2003-09-251-1/+6
| | | | svn path=/trunk/; revision=22691
* Same as below.Jeffrey Stedfast2003-09-253-2/+6
| | | | | | | | | | | | | 2003-09-24 Jeffrey Stedfast <fejj@ximian.com> * mail-preferences.c (mail_preferences_construct): Same as below. * mail-composer-prefs.c (mail_composer_prefs_construct): gconf can return empty string if the charset has not been set, so if the charset string is empty, default the charset to the user's locale charset. Partial fix for bug #47638. svn path=/trunk/; revision=22690
* Don't xmlFree (name) until after we've g_strdup'd it. (em_migrate_dir): IfJeffrey Stedfast2003-09-242-8/+23
| | | | | | | | | | | | 2003-09-23 Jeffrey Stedfast <fejj@ximian.com> * evolution-mbox-upgrade.c (get_local_store): Don't xmlFree (name) until after we've g_strdup'd it. (em_migrate_dir): If the metadata file doesn't exist, don't even bother trying subfolers (the shell just ignores them so we should too). svn path=/trunk/; revision=22679
* Don't xmlFree (name) until after we've g_strdup'd it.Jeffrey Stedfast2003-09-242-2/+5
| | | | | | | | | 2003-09-23 Jeffrey Stedfast <fejj@ximian.com> * evolution-mbox-upgrade.c (get_local_store): Don't xmlFree (name) until after we've g_strdup'd it. svn path=/trunk/; revision=22676
* Fix for bug #48791 (and also fixes a FIXME)Jeffrey Stedfast2003-09-243-16/+55
| | | | | | | | | | | | | | | | 2003-09-23 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #48791 (and also fixes a FIXME) * em-format.c (emf_init): Setup a gconf listener for changes to the charset setting. (gconf_charset_changed): Update the cached gconf charset value. (emf_finalise): Free the EMFormatPrivate data, unref the gconf client, disconnect the charset notify id, and free the cached gconf charset value. (em_format_format_text): Use the cached gconf charset value. svn path=/trunk/; revision=22675
* ** See bug #32996Not Zed2003-09-233-2/+15
| | | | | | | | | | | | | | | | 2003-09-22 Not Zed <NotZed@Ximian.com> ** See bug #32996 * mail-folder-cache.c (real_flush_updates): don't just pass TRUE to the 'can work offline' parameter of new shell folder. ** See bug #39410 * mail-ops.c (prep_offline_do): sync all messages, not just unread or flagged ones. svn path=/trunk/; revision=22655
* removed, moved to em-folder-view, for now, it has access to an invisible.Not Zed2003-09-233-15/+71
| | | | | | | | | | | | | | 2003-09-22 Not Zed <NotZed@Ximian.com> * em-popup.c (emp_uri_popup_link_copy): removed, moved to em-folder-view, for now, it has access to an invisible. * em-folder-view.c (emfv_setting_notify): honour the load_http setting, at least the all setting. (emfv_format_popup_event): setup the popup menu item for copy link location here. svn path=/trunk/; revision=22652
* Connect to "value-changed" rather than "changed" for spin buttons.Jeffrey Stedfast2003-09-232-1/+6
| | | | | | | | | 2003-09-22 Jeffrey Stedfast <fejj@ximian.com> * mail-preferences.c (mail_preferences_construct): Connect to "value-changed" rather than "changed" for spin buttons. svn path=/trunk/; revision=22650
* implement, we hook into the mail progress reporting stuff by overridingNot Zed2003-09-233-1/+59
| | | | | | | | | | | | | | 2003-09-21 Not Zed <NotZed@Ximian.com> * mail-session.c (ms_thread_msg_new): implement, we hook into the mail progress reporting stuff by overriding the CamelOperation member with one from a dummy mail_msg. (ms_thread_msg_free): handle freeing. * mail-mt.c (mail_msg_free): mute the camel-operaiton when we free it so we no longer get updates. svn path=/trunk/; revision=22649
* Set the window title to be that of the message subject. Fixes bug #48617.Jeffrey Stedfast2003-09-202-1/+13
| | | | | | | | | 2003-09-19 Jeffrey Stedfast <fejj@ximian.com> * em-message-browser.c (emmb_set_message): Set the window title to be that of the message subject. Fixes bug #48617. svn path=/trunk/; revision=22629
* Fix for bug #48618.Jeffrey Stedfast2003-09-204-9/+55
| | | | | | | | | | | | | | 2003-09-19 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #48618. * em-folder-view.c (emfv_list_message_selected): See if we have already loaded the message uid that has just been selected, if so - don't bother re-loading it. (emfv_list_done_message_selected): Update loaded_uid and loading_uid. svn path=/trunk/; revision=22628
* use gtkhtml's blockingRadek Doulik2003-09-192-0/+5
| | | | | | | | 2003-09-18 Radek Doulik <rodo@ximian.com> * em-format-html.c (efh_init): use gtkhtml's blocking svn path=/trunk/; revision=22622
* updated cvsignore fileJeffrey Stedfast2003-09-191-0/+3
| | | | svn path=/trunk/; revision=22619
* updated for CamelTransferEncoding namespace changesJeffrey Stedfast2003-09-194-11/+21
| | | | | | | | | | | | | | 2003-09-18 Jeffrey Stedfast <fejj@ximian.com> * em-inline-filter.c: updated for CamelTransferEncoding namespace changes * em-inline-filter.h: updated for CamelTransferEncoding namespace changes * mail-ops.c: updated for CamelTransferEncoding namespace changes svn path=/trunk/; revision=22618
* updated for camel namespace changesJeffrey Stedfast2003-09-1916-50/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-09-18 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c: updated for camel namespace changes * em-folder-view.c: updated for camel namespace changes * em-format-html-display.c: updated for camel namespace changes * em-format-html-quote.c: updated for camel namespace changes * em-format.c: updated for camel namespace changes * em-popup.c: updated for camel namespace changes * em-utils.c: updated for camel namespace changes * mail-autofilter.c: updated for camel namespace changes * mail-ops.c: updated for camel namespace changes * mail-session.c: updated for camel namespace changes * message-list.c: updated for camel namespace changes * message-tag-followup.c: updated for camel namespace changes * importers/evolution-mbox-importer.c: updated for camel namespace changes 2003-09-18 Jeffrey Stedfast <fejj@ximian.com> * em-popup.c (emp_standard_menu_factory): Don't forget to initialise/increment 'i' when using it as an object id in the for-loop. * em-format.c (em_format_format_text): Initialise charset to NULL or it may be used uninitialised. Also include gnome-vfs-mime-handlers.h for gnome_vfs_mime_type_get_description(). svn path=/trunk/; revision=22610
* Initialise charset to NULL or it may be used uninitialised. Also includeJeffrey Stedfast2003-09-193-11/+21
| | | | | | | | | | | | | 2003-09-18 Jeffrey Stedfast <fejj@ximian.com> * em-format.c (em_format_format_text): Initialise charset to NULL or it may be used uninitialised. Also include gnome-vfs-mime-handlers.h for gnome_vfs_mime_type_get_description(). * Makefile.am: Added $(MARSHALL_GENERATED) to $(BUILT_SOURCES) so that em-marshal.[c,h] were autogenerated. svn path=/trunk/; revision=22609
* cvs removed.Not Zed2003-09-1877-15950/+16729
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-09-17 Not Zed <NotZed@Ximian.com> * folder-browser.c, folder-browser.h, folder-browser-ui.c folder-browser-ui.h, mail-callbacks.c, mail-callbacks.h mail-display.c, mail-display.h, mail-display-stream.c mail-display-stream.h, mail-format.c, mail-format.h mail-identify.c, mail-search.c, mail-search.h message-browser.c, message-browser.h, subscribe-dialog.c subscribe-dialog.h, mail-font-prefs.c, mail-font-prefs.h: cvs removed. * Makefile.am: Removed mail-font-prefs.[ch], hasn't been built for ages. * em-*.c: killed a bunch of printfs. * em-format-html-display.c (efhd_html_button_press_event): update for html object api chagnes. ** Merge in mail-refactor-2 branch. svn path=/trunk/; revision=22602
* New source file to migrate from the old mbox structure to the new mboxJeffrey Stedfast2003-09-183-2/+423
| | | | | | | | | 2003-09-17 Jeffrey Stedfast <fejj@ximian.com> * evolution-mbox-upgrade.c: New source file to migrate from the old mbox structure to the new mbox structure. svn path=/trunk/; revision=22596
* update for newer gtkhtmlRadek Doulik2003-09-172-2/+2
| | | | svn path=/trunk/; revision=22592
* temporarily reverting camel namespace changes until after other branches ↵Jeffrey Stedfast2003-08-2711-80/+51
| | | | | | have been merged svn path=/trunk/; revision=22374
* Updated for camel namespace changes.Jeffrey Stedfast2003-08-276-5/+17
| | | | | | | | | | | | | | | | 2003-08-26 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c: Updated for camel namespace changes. * folder-browser.c: Same. * mail-autofilter.c: Here too. * mail-callbacks.c: And here. * importers/evolution-mbox-importer.c: And finally here. svn path=/trunk/; revision=22367
* updated for namespace changed made to camel-mime-utils.[c,h]Jeffrey Stedfast2003-08-266-46/+63
| | | | | | | | | | | | | | | | | | | | | 2003-08-25 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c: updated for namespace changed made to camel-mime-utils.[c,h] * mail-format.c: updated for namespace changed made to camel-mime-utils.[c,h] * mail-ops.c: updated for namespace changed made to camel-mime-utils.[c,h] * message-list.c: updated for namespace changed made to camel-mime-utils.[c,h] * message-tag-followup.c: updated for namespace changed made to camel-mime-utils.[c,h] svn path=/trunk/; revision=22357
* translate the local time format.Not Zed2003-08-237-33/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-08-22 Not Zed <NotZed@Ximian.com> * mail-format.c (write_date): translate the local time format. 2003-08-20 David Woodhouse <dwmw2@infradead.org> * mail-format.c (write_date): Use e_utf8_strftime() to generate localised time; avoid gratuitous extra translation and array of day names, and the autoconf magic which made Not Zed dislike the inclusion of the timezone name. 2003-08-05 Not Zed <NotZed@Ximian.com> ** See bug #32732 * message-list.c (mail_regen_list): use thread_new. * mail-local.c (reconfigure_response): use thread_new. * mail-display.c (stream_write_or_redisplay_when_loaded): use thread_new. * mail-config.c (mail_config_check_service): use thread_new rather than queue. * mail-callbacks.c (view_msg): change to use mail_get_messages(), fixes FIXME. (do_view_messages): handle get_messages callback. (do_view_message): removed. * mail-ops.c (mail_get_folderinfo): Use a new thread thread semantic. (mail_save_part): " (mail_store_set_offline): " (mail_sync_folder): use queued_slow thread queue. (mail_expunge_folder): " (mail_empty_trash): " svn path=/trunk/; revision=22340
* Don't abort at the first failure after sending (filtering, appending toJeffrey Stedfast2003-08-232-30/+63
| | | | | | | | | | | | | 2003-08-14 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (mail_send_message): Don't abort at the first failure after sending (filtering, appending to Sent, syncing). Instead, keep a running tab of exceptions and then set a culmulative exception at the end to report to our caller. Also, if we fail to append to the account Sent folder, try again with the local Sent folder. Fixes bug #46512. svn path=/trunk/; revision=22336
* removed upgrade-mailer.c - no longer used/neededJeffrey Stedfast2003-08-202-1176/+0
| | | | svn path=/trunk/; revision=22291
* Removed the new-mail-notification mess.Jeffrey Stedfast2003-08-203-47/+115
| | | | | | | | | | | | | | | | | | | | 2003-08-18 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (main_get_filter_driver): Removed the new-mail-notification mess. * mail-folder-cache.c (notify_idle_cb): New idle callback to alert the user about new mail. (notify_type_changed): New function to intercept user changes to his/her notification settings changes. (real_flush_updates): Initialise new mail notification if not yet initialised and setup an idle callback if none is already set. (update_1folder): Now takes an additional argument `new' which states whether or not the fodler got any new mail so that we may handle notify the user (if needed). (folder_changed): Pass in the number of new messages received. svn path=/trunk/; revision=22290
* Added a comment for translators.Not Zed2003-08-192-3/+19
| | | | | | | | | | | | | | 2003-08-19 Not Zed <NotZed@Ximian.com> * mail-callbacks.c (mail_generate_reply): Added a comment for translators. 2003-08-19 David Woodhouse <dwmw2@infradead.org> * mail-callbacks.c (mail_generate_reply): Add a timezone offset to the attribution string. svn path=/trunk/; revision=22284
* Added translation for day and localtime strings. Also removed the tz_zoneNot Zed2003-08-192-2/+46
| | | | | | | | | | | | | | 2003-08-19 Not Zed <NotZed@Ximian.com> * mail-format.c (write_date): Added translation for day and localtime strings. Also removed the tz_zone stuff, and just use 'localtime' always. 2003-08-15 David Woodhouse <dwmw2@infradead.org> * mail-format.c (write_date): Show date in localtime too. svn path=/trunk/; revision=22283
* ** For #45348Harry Lu2003-08-192-1/+8
| | | | | | | | | | | 2003-08-19 Harry Lu <harry.lu@sun.com> ** For #45348 * mail-display.c (mail_display_render): Change "%P" to "%p" so that strftime() can work under solaris. svn path=/trunk/; revision=22278
* fixed shitJeffrey Stedfast2003-08-151-5/+6
| | | | svn path=/trunk/; revision=22239
* Fix for 45818 ( i18n mail messages search only produces '[?]'). NowSuresh Chandrasekharan2003-08-152-4/+12
| | | | | | | | | | | 2003-08-13 Suresh Chandrasekharan <suresh.chandrasekharan@sun.com> * e-searching-tokenizer.c (searcher_next_token): Fix for 45818 ( i18n mail messages search only produces '[?]'). Now multibyte character selection works correctly. But due to associated gtkhtml bug, the find button functionallity for multibyte characters is broken. svn path=/trunk/; revision=22236
* Removed unused function prototype.Jeffrey Stedfast2003-08-132-4/+4
| | | | | | | | 2003-08-12 Jeffrey Stedfast <fejj@ximian.com> * mail-tools.h: Removed unused function prototype. svn path=/trunk/; revision=22195
* removed all the timeout shite that we don't even use anymoreJeffrey Stedfast2003-08-122-235/+5
| | | | svn path=/trunk/; revision=22180
* Updated for CamelMimePart::content_type changes.Jeffrey Stedfast2003-08-125-68/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-08-05 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_multipart_encrypted): Updated for CamelMimePart::content_type changes. * mail-ops.c (save_part_save): Use camel_data_wrapper_decode_to_stream() here. * mail-display.c (drag_data_get_cb): Updated for CamelMimePart::content_type changes. (do_attachment_header): Same. 2003-07-31 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_format_raw_message): Updated to pass FALSE as the 'decode' param to mail_format_data_wrapper_write_to_stream(). (mail_format_data_wrapper_write_to_stream): Now takes a boolean arg telling whether to decode or not. Also reworked the charset logic now that camel doesn't handle this for us any longer. (mail_format_get_data_wrapper_text): Updated. (handle_text_plain): Same. (handle_text_enriched): Here too. * mail-display.c (do_attachment_header): Call decode_to_stream here instead of write_to_stream. (do_external_viewer): Same. (on_url_requested): Same. Also updated for mail_format_data_wrapper_write_to_stream(). (try_part_urls): Call decode_to_stream. (drag_data_get_cb): Same. svn path=/trunk/; revision=22173
* ** See bug #47224. Hook onto clicked rather than button_pressed, so thatNot Zed2003-08-062-18/+36
| | | | | | | | | | | | | | | | | | | 2003-08-05 Not Zed <NotZed@Ximian.com> ** See bug #47224. Hook onto clicked rather than button_pressed, so that dnd works. * mail-display.c (inline_toggle): toggle a part inline. (button_press): change back to only handle button clicked events, renamed to inline_button_clicked. (do_attachment_header): hook onto clicked rather than button_press_event, and move key_press_event to inline_button_pressed. (do_signature): Same. (inline_button_pressed): handle inline button key press event explicitly. svn path=/trunk/; revision=22095
* add a CamelOperation for overriding status handler.Not Zed2003-08-0211-20/+41
| | | | | | | | | | | | | | | | | 2003-07-29 Not Zed <NotZed@Ximian.com> * mail-folder-cache.c (mail_note_store): add a CamelOperation for overriding status handler. * mail-send-recv.c (receive_update_got_store): Pass our own cancel handle to get_folderinfo and mail_note_store. (mail_send_receive, mail_receive_uri): Same for get_store. * mail-ops.c (mail_get_store, mail_get_folderinfo): Add a CamelOperation argument, for overriding the status handler. Fixed most calles to pass NULL to use the default. svn path=/trunk/; revision=22056
* *Fix for bug #6951Harry Lu2003-08-012-17/+164
| | | | | | | | | | | | | | | | | | | 2003-07-28 Harry Lu <harry.lu@sun.com> *Fix for bug #6951 * mail-display.c (launch_cb): Bypass the new added menu item. (save_all_parts_cb): New function. Do the real save-all work. (save_all_parts): New function. Get the directory to save to. (save_all_cb): New function. The call-back function for the new added menu item. (pixmap_press): Add the new menu item "Save All Attachment...". (ptr_array_free_notify): A simple wrapper function to free the pointer array. (do_attachment_header): Save attachment pointer in an array for "Save All Attachment" use. svn path=/trunk/; revision=22045
* close mail message window using 'ESC' key, fix bug #47087Yuedong Du2003-08-012-0/+8
| | | | | | | | | 2003-08-01 Yuedong Du <yuedong.du@sun.com> * message-browser.c: (on_key_press): close mail message window using 'ESC' key, fix bug #47087 svn path=/trunk/; revision=22043
* Removed smime functions as they were stale.Jeffrey Stedfast2003-07-293-180/+4
| | | | | | | | 2003-07-28 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c: Removed smime functions as they were stale. svn path=/trunk/; revision=21995
* Handle our own Delete key presses. Fixes bug #45597.Jeffrey Stedfast2003-07-262-0/+26
| | | | | | | | | 2003-07-25 Jeffrey Stedfast <fejj@ximian.com> * message-browser.c (message_browser_new): Handle our own Delete key presses. Fixes bug #45597. svn path=/trunk/; revision=21971
* Revert prior changes.Jeffrey Stedfast2003-07-242-21/+52
| | | | | | | | | 2003-07-23 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_format_data_wrapper_write_to_stream): Revert prior changes. svn path=/trunk/; revision=21921
* Fix type warnings (folder_browser_toggle_caret_mode): Remove unusedDan Winship2003-07-2310-28/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * folder-browser.c (message_list_drag_data_get): Fix type warnings (folder_browser_toggle_caret_mode): Remove unused variable. * folder-browser-ui.c (basename): remove unused function * mail-account-gui.c (mail_account_gui_build_extra_conf): Fix warnings * mail-callbacks.c (empty_trash): Remove unused variable. * mail-display.c: #include gal/widgets/e-gui-utils.h for e_auto_kill_popup_menu_on_selection_done * mail-importer.c: #include e-util/e-path.h for e_path_to_physical * mail-session.c (main_play_sound): don't declare filename to be const and then free it. * mail-vfolder.c (vfolder_edit_rule, vfolder_gui_add_rule): Fix casts * message-list.c (build_flat_diff): Fix a typo in the non-BROKEN_ETREE code svn path=/trunk/; revision=21903
* We don't have camel_pgp_mime_is_rfc2015_encrypted() anymore so just lookJeffrey Stedfast2003-07-172-48/+24
| | | | | | | | | | | | 2003-07-16 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_multipart_encrypted): We don't have camel_pgp_mime_is_rfc2015_encrypted() anymore so just look at the protocol for now. (mail_format_data_wrapper_write_to_stream): Updated for the new way camel handles content objects. svn path=/trunk/; revision=21844
* We don't have camel_pgp_mime_is_rfc2015_encrypted() anymore so just lookJeffrey Stedfast2003-07-172-1/+9
| | | | | | | | | | 2003-07-16 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_multipart_encrypted): We don't have camel_pgp_mime_is_rfc2015_encrypted() anymore so just look at the protocol for now. svn path=/trunk/; revision=21841
* Handle invalid URIs, or more likely, the last empty element in a URI listFederico Mena Quintero2003-07-163-0/+16
| | | | | | | | | | | | 2003-07-15 Federico Mena Quintero <federico@ximian.com> * folder-browser.c (message_list_drag_data_received): Handle invalid URIs, or more likely, the last empty element in a URI list --- g_strsplit() will yield { "uri1", "", NULL }. Fixes #46398. * component-factory.c (destination_folder_handle_drop): Likewise. svn path=/trunk/; revision=21818
* remove the use of caret mode widget style. use new gtkhtml api to setYuedong Du2003-07-153-6/+10
| | | | | | | | | | | 2003-07-15 Yuedong Du <yuedong.du@sun.com> * mail-config.c: (config_write_style), (mail_config_init): remove the use of caret mode widget style. * mail-display.c: (display_notify), (mail_display_new): use new gtkhtml api to set caret mode. svn path=/trunk/; revision=21816
* Change the EditPaste mask to IS_0MESSAGE so that it is always activatable.Antonio Xu2003-07-122-1/+6
| | | | | | | | | 2003-07-11 Antonio Xu <antonio.xu@sun.com> * folder-browser-ui.c: Change the EditPaste mask to IS_0MESSAGE so that it is always activatable. Fixes bug #46018. svn path=/trunk/; revision=21801
* camel-smime-utils.h doesn't exist anymoreJeffrey Stedfast2003-07-111-1/+0
| | | | svn path=/trunk/; revision=21795
* ** For bug #41839Maxx Cao2003-07-102-26/+76
| | | | | | | | | | | | | | | | | | 2003-07-04 Maxx Cao <maxx.cao@sun.com> ** For bug #41839 * mail-display.c (do_attachment_header): Attachment buttons made accessable with keyboard (focusable). "Inline" button is disabled when attachment can't be viewed inline. (do_signature): Signature button made accessable with keyboard (focusable). (button_press): Function changed to an event callback (originally gtkbutton signal callback). (popup_menu_placement_callback): Function added to place popup menu (of attachment) beside button when activated by keyboard. svn path=/trunk/; revision=21788
* add a gconf key corresponding to newly introduced caret mode of gtkhtmlYuedong Du2003-07-106-0/+83
| | | | | | | | | | | | | | | | | | | | | | 2003-07-10 Yuedong Du <yuedong.du@sun.com> * evolution-mail.schemas: add a gconf key corresponding to newly introduced caret mode of gtkhtml widget. * folder-browser-ui.c: new verb handling, corresponding the new menu entry for the caret mode flag. * folder-browser.h: declaration of new verb handler to the menu entry that turn caret mode on/off. The function just set the new introduced gconf key. * folder-browser.c: ditto * mail-config.c: lstione to the new gconf key, and when caret mode flag is set/unset,change the style of gtkhtml widget. see bug #44607. svn path=/trunk/; revision=21776
* Removed camel-pgp-mime.h, it no longer exists.Jeffrey Stedfast2003-07-103-2/+6
| | | | | | | | | | 2003-07-09 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.h: Removed camel-pgp-mime.h, it no longer exists. * mail-format.c: Remove camel-pgp-mime.h svn path=/trunk/; revision=21775
* Use camel_strcase_hash/equal.Jeffrey Stedfast2003-07-082-3/+6
| | | | | | | | | 2003-07-07 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): Use camel_strcase_hash/equal. svn path=/trunk/; revision=21756
* Updated to use the camel-file-utils version of mkdir.Jeffrey Stedfast2003-07-082-4/+8
| | | | | | | | | 2003-07-07 Jeffrey Stedfast <fejj@ximian.com> * upgrade-mailer.c: Updated to use the camel-file-utils version of mkdir. svn path=/trunk/; revision=21754
* fixed the changelogJeffrey Stedfast2003-07-081-0/+8
| | | | svn path=/trunk/; revision=21750
* Apply a From-filter when dragging as a test/uri-list and message/rfc822.Jeffrey Stedfast2003-07-082-9/+5
| | | | | | | | | | | 2003-07-02 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (message_list_drag_data_get): Apply a From-filter when dragging as a test/uri-list and message/rfc822. Fixes bug #45617. Also free the uids ptrarray for the text/uri-list case. svn path=/trunk/; revision=21749
* Strip the signature from the body text. Fixes bug #45523. While we'reJeffrey Stedfast2003-07-043-25/+86
| | | | | | | | | | | | | | | | | | | 2003-07-02 Jeffrey Stedfast <fejj@ximian.com> * mail-tools.c (mail_tool_forward_message): Strip the signature from the body text. Fixes bug #45523. While we're here, also fix the code to quote exactly the same way as the mail_tool_quote_message() function. (mail_tool_quote_message): The last arg should not be 'want_plain', because that arg is for whether or not the body should be quoted. * folder-browser.c (message_list_drag_data_get): Apply a From-filter when dragging as a test/uri-list and message/rfc822. Fixes bug #45617. Also free the uids ptrarray for the text/uri-list case. svn path=/trunk/; revision=21739
* Gone (pixbuf_gen_idle): Use e_icon_for_mime_type instead.Dan Winship2003-07-032-58/+7
| | | | | | | * mail-display.c (pixbuf_for_mime_type): Gone (pixbuf_gen_idle): Use e_icon_for_mime_type instead. svn path=/trunk/; revision=21736
* Use the newer utf8 versions of the e_strftime*() functions since ourJeffrey Stedfast2003-07-024-7/+19
| | | | | | | | | | | | | | | | 2003-06-27 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (filter_date): Use the newer utf8 versions of the e_strftime*() functions since our format strings are all now in UTF-8. * mail-display.c (mail_display_render): Use the newer e_utf8_strftime_fix_am_pm(). * mail-callbacks.c (mail_generate_reply): Use e_utf8_strftime(), otherwise we can end up with invalid utf-8. svn path=/trunk/; revision=21712
* applied simpler spell error color fixRadek Doulik2003-06-262-5/+15
| | | | svn path=/trunk/; revision=21545
* reverted spell error color fixRadek Doulik2003-06-264-110/+30
| | | | svn path=/trunk/; revision=21542
* Might fix bug #45368 but I wouldn't bet on it.Jeffrey Stedfast2003-06-254-10/+38
| | | | | | | | | | | | | | | | | 2003-06-24 Jeffrey Stedfast <fejj@ximian.com> Might fix bug #45368 but I wouldn't bet on it. * message-browser.c (message_browser_new): Record the signal id for folder_loaded. (message_browser_folder_loaded): disconnect by id rather than searching for the handler. Save the id of the message_list_built signal handler. (message_browser_message_list_built): Disconnect the handler by id. (message_browser_destroy): Disconnect the signal handlers by id. svn path=/trunk/; revision=21536
* ** See bug #43887Not Zed2003-06-252-5/+17
| | | | | | | | | | | 2003-06-20 Not Zed <NotZed@Ximian.com> ** See bug #43887 * mail-format.c (mail_get_message_body): handle text/enriched and text/richtext explictly, and dont treat them as text/plain. svn path=/trunk/; revision=21528
* add EvolutionMailPrintHTMLWidget style assignmentRadek Doulik2003-06-253-2/+10
| | | | | | | | | | | 2003-06-23 Radek Doulik <rodo@ximian.com> * mail-config.c (config_write_style): add EvolutionMailPrintHTMLWidget style assignment * mail-callbacks.c (do_mail_print): set printing widget name svn path=/trunk/; revision=21527
* use spell preferences at new locationRadek Doulik2003-06-254-29/+110
| | | | | | | | | | | | | 2003-06-24 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c: use spell preferences at new location * mail-config.c: copy old spell settings from /GNOME/Spell * evolution-mail.schemas: added spell color default + migration flag svn path=/trunk/; revision=21526
* Save the idle_idDan Winship2003-06-242-1/+5
| | | | | | * message-list.c (on_selection_changed_cmd): Save the idle_id svn path=/trunk/; revision=21517
* make sure not to strcmp a possibly NULL string.Larry Ewing2003-06-242-1/+9
| | | | | | | | | 2003-06-23 Larry Ewing <lewing@ximian.com> * folder-browser.c (do_message_selected): make sure not to strcmp a possibly NULL string. svn path=/trunk/; revision=21513
* ** See bug #45063Not Zed2003-06-202-4/+16
| | | | | | | | | | | | 2003-06-19 Not Zed <NotZed@Ximian.com> ** See bug #45063 * folder-browser.c (do_message_selected): dont re-load if the same message gets selected again as one we've already shown. Etree sends out selection changed events even when when it hasn't. svn path=/trunk/; revision=21490
* Only save state if we have a folder reference. Fixes some warnings aboutJeffrey Stedfast2003-06-192-1/+10
| | | | | | | | | | 2003-06-18 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (hide_save_state): Only save state if we have a folder reference. Fixes some warnings about casting a NULL object to a CamelFolder. svn path=/trunk/; revision=21470
* Don't display an unread icon for a parent message status if it has unreadJeffrey Stedfast2003-06-182-13/+9
| | | | | | | | | | | | 2003-06-16 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (ml_tree_value_at): Don't display an unread icon for a parent message status if it has unread children but has been read itself. Instead, show that we have unread children by just making the message test bold (which it was already doing, so yay... this was easy). Fixes bug #42630. svn path=/trunk/; revision=21457
* ** See bug #44609Not Zed2003-06-175-8/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-16 Not Zed <NotZed@Ximian.com> ** See bug #44609 * mail-vfolder.c (vfolder_edit_rule): put the ok/cancel buttons in the stupid gnome 2 order. ** See bug #33593 * message-list.c (on_selection_changed_cmd): also listedn to selection changed events, since the etable api has changed. (get_selected_cb): helper for above. (message_list_construct): hook to selection change signal. * mail-callbacks.c (composer_send_queued_cb): Unref the composer to match the ref composer_send_cb(); ** See bug #44519 * message-browser.c (message_browser_message_list_built): We want to disconnect from the messagelist, not folderbrowser signal. svn path=/trunk/; revision=21452
* Put the ChangeLog.pre-1-4 in the Makefiles.Ettore Perazzoli2003-06-131-0/+1
| | | | svn path=/trunk/; revision=21426
* We only really want to use mail_identify_mime_part() if the content-typeJeffrey Stedfast2003-06-122-5/+21
| | | | | | | | | | | | | | | | 2003-06-11 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (format_mime_part): We only really want to use mail_identify_mime_part() if the content-type is application/octet-stream - any other type (if it doesn't have a handler) should just force the user to save to disk. (handle_text_plain): Only pay attention to format=flowed if the mime-type is text/plain (handle_text_plain is the generic text handler, so we might be processing parts that are not really text/plain, thus the format param may have different meaning for those other textual types). svn path=/trunk/; revision=21419
* free the info structure as well.Larry Ewing2003-06-122-0/+6
| | | | | | | | | 2003-06-11 Larry Ewing <lewing@ximian.com> * mail-send-recv.c (free_folder_info): free the info structure as well. svn path=/trunk/; revision=21418
* Use mail-config's gconf client. (target_date_new): Same.Jeffrey Stedfast2003-06-1216-84/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-06 Jeffrey Stedfast <fejj@ximian.com> * message-tag-followup.c (get_week_start_day): Use mail-config's gconf client. (target_date_new): Same. * message-list.c (message_list_set_folder): Use mail-config's gconf client. (mail_regen_list): Same. * mail-tools.c (mail_tool_quote_message): Use mail-config's gconf client. (mail_tool_forward_message): Same. * mail-session.c (main_get_filter_driver): Use mail-config's gconf client. * mail-preferences.c (mail_preferences_init): Use mail-config's gconf client. (mail_preferences_finalise): Don't unref the gconf client. * mail-format.c (write_headers): Use mail-config's gconf client. (mail_format_data_wrapper_write_to_stream): Same. (handle_text_plain): And here. * mail-display.c (save_data_cb): Use mail-config's gconf client. (save_part): Same. (on_url_requested): Here too. (mail_text_write): And here. (mail_display_init): And here. (mail_display_destroy): Here too. (mail_display_new): Again here. * mail-composer-prefs.c (sig_add_cb): Use mail-config's gconf client. (mail_composer_prefs_construct): Same. * mail-callbacks.c (ask_confirm_for_unwanted_html_mail): Use mail-config's gconf client. (ask_confirm_for_empty_subject): Same. (ask_confirm_for_only_bcc): Here too. (composer_get_message): And here. (create_msg_composer): Again here. (mail_generate_reply): Same. (forward): And here. (transfer_msg_done): " (delete_msg): " (confirm_expunge): " * component-factory.c (owner_unset_cb): Use mail-config's gconf client. * folder-browser-ui.c (folder_browser_ui_add_message): Use the mailer's gconf client. (folder_browser_ui_add_list): Same. (folder_browser_ui_add_global): Here too. * folder-browser.c (save_cursor_pos): Use the mailer's gconf client. (folder_browser_set_message_preview): Same. (folder_browser_toggle_preview): Here too. (folder_browser_toggle_threads): And here. (folder_browser_toggle_hide_deleted): Here as well. (folder_browser_set_message_display_style): And here. (fb_resize_cb): Here. (paned_realised): And here. (done_message_selected): And everywhere... * mail-account-gui.c (sig_add_new_signature): Use the mailer gconf client. * mail-config.c (mail_config_get_gconf_client): New function to return the global GConfClient used by the mailer. (mail_config_write_on_exit): On exit, free our objects and such. (mail_config_signature_run_script): Use config->gconf. 2003-06-04 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (invert_selection): Get rid of the if-focused code, that will always prevent the etree from getting the selection inverted because the menu item will always have focus at this time. Fix for bug #43972. it takes more than good relations to some of the major spirits in this branch of the multiverse to write apps that don't leak gconf-client refs, good coding is important, too. that... or a 100-megaton-kill-o-zap bomb svn path=/trunk/; revision=21410
* ** See bug #22542Not Zed2003-06-116-37/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-11 Not Zed <NotZed@Ximian.com> ** See bug #22542 * component-factory.c (storage_create_folder): If we're creating a folder on a vstore, popup a vFolder editor rather than failing. 2003-06-05 Not Zed <NotZed@Ximian.com> ** Part of #42691. * importers/Makefile.am (BUILT_SOURCES): added server_DATA. * Makefile.am (%.server.in): create a proper implicit rule for temporary .in file. 2003-06-04 Not Zed <NotZed@Ximian.com> ** See bug #43974 * mail-tools.c (mail_tool_do_movemail): use a proper CamelURL to decode the uri, not hacky strcmp stuff. * mail-account-gui.c (extract_values): if we have an conf_entry, ignore username, hostname, and path ones, as these are handled implicitly in the url itself. Came about because of the fix for #42838. svn path=/trunk/; revision=21407
* Roll over ChangeLogs.Ettore Perazzoli2003-06-102-24750/+24750
| | | | svn path=/trunk/; revision=21387
* Put the buttons in HIG order; don't replace the label of the stock FindFederico Mena Quintero2003-06-042-5/+16
| | | | | | | | | | | 2003-06-03 Federico Mena Quintero <federico@ximian.com> * mail-search.c (mail_search_construct): Put the buttons in HIG order; don't replace the label of the stock Find button. Also, add Escape as a keybinding for the Close button (see why GTK+ is on crack on b.g.o #74221 and #101293). svn path=/trunk/; revision=21379
* install gconf schemas even if purify is disabled (oops) :-)Jeffrey Stedfast2003-06-031-6/+6
| | | | svn path=/trunk/; revision=21371
* ** This and jeffs patch for #43862.Not Zed2003-06-034-12/+64
| | | | | | | | | | | | | | | | | | | | | 2003-06-02 Not Zed <NotZed@Ximian.com> ** This and jeffs patch for #43862. * mail-folder-cache.c (store_online_cb): If the store is still around, then flow on to a get folderinfo update, otherwise just clear up. * mail-ops.c (mail_store_set_offline): return the msgid of this so it can be cancelled. 2003-05-30 Jeffrey Stedfast <fejj@ximian.com> * mail-folder-cache.c (mail_note_store): If the session is 'online' and we are noting a CamelDiscoStore, make sure that it is changed to online status and call mail_get_folderinfo(). svn path=/trunk/; revision=21369
* Stat the XML file before trying to parse it to make sure it exists.Jeffrey Stedfast2003-06-032-3/+12
| | | | | | | | | 2003-05-30 Jeffrey Stedfast <fejj@ximian.com> * mail-local.c (load_metainfo): Stat the XML file before trying to parse it to make sure it exists. svn path=/trunk/; revision=21368
* added server_DATA (*.server) so make clean works. For #42691.Not Zed2003-06-022-1/+6
| | | | | | | | | 2003-05-29 Not Zed <NotZed@Ximian.com> * Makefile.am (BUILT_SOURCES): added server_DATA (*.server) so make clean works. For #42691. svn path=/trunk/; revision=21361
* use %02x instead of %2x when formatting color for rc fileRadek Doulik2003-05-312-1/+6
| | | | | | | | | 2003-05-30 Radek Doulik <rodo@ximian.com> * mail-config.c (config_write_style): use %02x instead of %2x when formatting color for rc file svn path=/trunk/; revision=21356
* Fixes bug #43805.Jeffrey Stedfast2003-05-302-5/+40
| | | | | | | | | | | | | 2003-05-29 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #43805. * mail-session.c (session_system_beep): Proxy the gdk_beep() call to the main thread. (session_play_sound): Proxy the gnome_sound_play() call to the main thread. svn path=/trunk/; revision=21348
* removed the help button since it didn't do anything anywayJeffrey Stedfast2003-05-301-11/+0
| | | | svn path=/trunk/; revision=21346
* set the default open size to something reasonable. For #43410.Not Zed2003-05-284-2/+13
| | | | | | | | | | | | | | 2003-05-27 Not Zed <NotZed@Ximian.com> * message-tag-editor.c (message_tag_editor_init): set the default open size to something reasonable. For #43410. * mail-signature-editor.c (d): turn off debugging. * mail-config.c (mail_config_signature_add): save new signature in signature list. For #43688. svn path=/trunk/; revision=21340
* set signature html flag even if it's newly signature, we don't set it inRadek Doulik2003-05-232-3/+9
| | | | | | | | | | 2003-05-21 Radek Doulik <rodo@ximian.com> * mail-signature-editor.c (menu_file_save_cb): set signature html flag even if it's newly signature, we don't set it in format_html_cb as sig could be "live" (when it's not new one) svn path=/trunk/; revision=21321
* Updated copyright years.Jeffrey Stedfast2003-05-215-7/+19
| | | | | | | | | | | | | | | 2003-05-20 Jeffrey Stedfast <fejj@ximian.com> * mail-importer.c: Updated copyright years. * mail-callbacks.c (ask_confirm_for_empty_subject): Fixed the logic a bit - if the gconf key *isn't* set, we want to return TRUE. * mail-search.c (mail_search_finalise): We need to weak_unref() the mail-display here. Fixes bug #43392. svn path=/trunk/; revision=21299
* remove link hilighting option that isn't attached to anything.Larry Ewing2003-05-212-18/+5
| | | | | | | | | 2003-05-21 Larry Ewing <lewing@ximian.com> * mail-config.glade: remove link hilighting option that isn't attached to anything. svn path=/trunk/; revision=21298
* filter notification events to keep the redisplay count down.Larry Ewing2003-05-212-3/+18
| | | | | | | | | 2003-05-20 Larry Ewing <lewing@ximian.com> * mail-display.c: filter notification events to keep the redisplay count down. svn path=/trunk/; revision=21290
* remove references to gtkhtml property manager. Connect to missingLarry Ewing2003-05-218-123/+129
| | | | | | | | | | | | | | | | | | | | 2003-05-20 Larry Ewing <lewing@ximian.com> * mail-composer-prefs.c: remove references to gtkhtml property manager. Connect to missing settings. * mail-preferences.c: remove references to gtkhtml property manager. Connect to missing settings. * mail-config.glade: remove keybinding setting. * mail-display.c (mail_display_destroy): remove notification. (display_notify): set animate and redisplay. We have to redisplay because the citation color may have changed. * evolution-mail.schemas: add composer and display gconf entries. svn path=/trunk/; revision=21288
* Only re-add the store to the folder-tree if the account is enabled. Oops.Jeffrey Stedfast2003-05-202-1/+7
| | | | | | | | | | 2003-05-19 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_save): Only re-add the store to the folder-tree if the account is enabled. Oops. Fixes bug #43214. svn path=/trunk/; revision=21283
* remove references to font prefs.Larry Ewing2003-05-204-35/+39
| | | | | | | | | | | | | | | | 2003-05-20 Larry Ewing <lewing@ximian.com> * mail-config-factory.c: remove references to font prefs. * component-factory.c: Remove stale refernces the the font prefs. (make_factory): remove unused variables. * mail-config.c (mail_config_init): add a notify callback to the spelling color. (config_write_style): rename and write out the spell color as well. svn path=/trunk/; revision=21279
* ** See bug #43234Not Zed2003-05-192-1/+11
| | | | | | | | | | | 2003-05-20 Not Zed <notzed@lostzed.mmc.com.au> ** See bug #43234 * mail-display.c (mail_display_set_message): if we've been destroyed, noop. svn path=/trunk/; revision=21247
* New async "empty trash" op.Dan Winship2003-05-194-16/+89
| | | | | | | | | * mail-ops.c (mail_empty_trash): New async "empty trash" op. * mail-callbacks.c (empty_trash): Use it rather than requiring that mail_tool_get_vtrash() work without blocking. #43091 svn path=/trunk/; revision=21243
* gnome_font_get_descender returns negative valueRadek Doulik2003-05-192-1/+6
| | | | | | | | | 2003-05-16 Radek Doulik <rodo@ximian.com> * mail-callbacks.c (footer_info_new): gnome_font_get_descender returns negative value svn path=/trunk/; revision=21238
* remove font prefs server from the listLarry Ewing2003-05-192-25/+5
| | | | | | | | | 2003-05-17 Larry Ewing <lewing@ximian.com> * GNOME_Evolution_Mail.server.in.in: remove font prefs server from the list svn path=/trunk/; revision=21236
* Add #include to fix warning.Jeremy Katz2003-05-178-17/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-17 Jeremy Katz <katzj@redhat.com> * mail-offline-handler.c: Add #include to fix warning. * mail-mt.c (mail_msg_new): Use glib macros for pointer/int conversions. (mail_msg_free): Likewise. (mail_msg_cancel): Likewise. (mail_msg_wait): Likewise. (mail_msg_active): Likewise. * mail-session.c (main_register_timeout): Likewise. (register_timeout): Likewise. (main_remove_timeout): Likewise. (remove_timeout): Likewise. * message-list.c (ml_value_to_string): Likewise. * mail-identify.c: Add #include to fix warning. * mail-config.c (config_write_fonts): Don't pass extra arguments to g_warning. * mail-callbacks.c: Add #include to fix warning. svn path=/trunk/; revision=21222
* ** See bug #42838.Not Zed2003-05-162-3/+11
| | | | | | | | | | | 2003-05-15 Not Zed <NotZed@Ximian.com> ** See bug #42838. * mail-account-gui.c (mail_account_gui_build_extra_conf): always add the extra entry to the hash table, most paths wouldn't. svn path=/trunk/; revision=21203
* Disabled some debugging messages.Jeffrey Stedfast2003-05-162-2/+6
| | | | | | | | 2003-05-14 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c: Disabled some debugging messages. svn path=/trunk/; revision=21192
* add protoJP Rosevear2003-05-157-57/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-14 JP Rosevear <jpr@ximian.com> * mail-local.h: add proto * mail-local.c (storage_listener_startup): don't listen for destruction, because we have a ref and it'll never happen (mail_local_storage_shutdown): release and unref the local storage * mail-display.c (retrieve_shell_view_interface_from_control): return a new copy every time (set_status_message): release and unref the shell view * folder-browser.c (folder_browser_destroy): guard for multiple destroys * folder-browser-factory.c (control_activate): release and unref the shell view (control_destroy_cb): just remove the control from the list (folder_browser_factory_new_control): don't weak ref the folder browser * component-factory.c (owner_unset_cb): shutdown local storage svn path=/trunk/; revision=21181
* Removed. (make_factory): No need to set up the SIGSEGV redirect handlerEttore Perazzoli2003-05-143-44/+16
| | | | | | | | | | | | * component-factory.c (segv_redirect): Removed. (make_factory): No need to set up the SIGSEGV redirect handler here, since it's already done in the shell now, and it's in-proc. * folder-browser-ui.c (folder_browser_ui_rm_all): Only do the bonobo_ui_component() stuff if the component does have a container. svn path=/trunk/; revision=21156
* Fix ChangeLog for yesterday's commit.Ettore Perazzoli2003-05-101-4/+3
| | | | svn path=/trunk/; revision=21141
* (request_password): Make sure password_dialog isEttore Perazzoli2003-05-092-2/+10
| | | | | | | | NULLified when the dialog is destroyed in any case, using g_object_add_weak_pointer(). Prevents a crash that could happen if the shell would quit with the password dialog still up. svn path=/trunk/; revision=21133
* Make sure that we haven't been destroyed before we start writing to theJeffrey Stedfast2003-05-092-0/+11
| | | | | | | | | | 2003-05-07 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (mail_display_render): Make sure that we haven't been destroyed before we start writing to the html engine. Fixes bug #42333. svn path=/trunk/; revision=21132
* ** See bug #42456Not Zed2003-05-082-0/+12
| | | | | | | | | | | | 2003-05-07 Not Zed <NotZed@Ximian.com> ** See bug #42456 * mail-composer-prefs.c (spell_language_button_press): set the enable/disable button to the right text when we toggle a column. Added a fixme about the weird code in the whole routine. svn path=/trunk/; revision=21127
* Correct default for list.Jeremy Katz2003-05-082-1/+7
| | | | | | | | | | 2003-05-07 Jeremy Katz <katzj@redhat.com> * evolution-mail.schemas (/schemas/apps/evolution/mail/display/mime_types): Correct default for list. svn path=/trunk/; revision=21125
* ** See bug #42400Not Zed2003-05-072-0/+15
| | | | | | | | | | | 2003-05-06 Not Zed <NotZed@Ximian.com> ** See bug #42400 * mail-tools.c (meta_data_key): protect against getting an unparsable uri. svn path=/trunk/; revision=21119
* ** See bug #42294.Not Zed2003-05-062-1/+9
| | | | | | | | | | | 2003-05-05 Not Zed <NotZed@Ximian.com> ** See bug #42294. * mail-config.c (config_write_fonts): Also set the custom font style for *BonoboPlug*GtkHTML. svn path=/trunk/; revision=21109
* (request_password): Set OK as the defaultEttore Perazzoli2003-05-062-0/+6
| | | | | | response for the password_dialog. svn path=/trunk/; revision=21104
* To be consistant with the message-list envelope toggle, undelete theJeffrey Stedfast2003-05-034-4/+38
| | | | | | | | | | | | | | | | | | | | | 2003-04-30 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mark_as_unseen): To be consistant with the message-list envelope toggle, undelete the message when we unmark the Seen flag here as well. Fixes bug #42118. 2003-04-30 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (ml_tree_value_at): Fixed to return the correct values (swapped) in order to fix bug #42120. 2003-04-30 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (regen_list_regened): Save the tree state before we tear down the tree and then load it back again. yay. Fixes bug #42170 and #40074. svn path=/trunk/; revision=21047
* ** See bug #41748Not Zed2003-05-012-7/+26
| | | | | | | | | | | | | | | | | 2003-04-30 Not Zed <NotZed@Ximian.com> ** See bug #41748 * mail-send-recv.c (build_dialogue): make sure we dont add any SEND_SEND types to the receive table. When we add the SEND_SEND type, key it on a fixed string SEND_URI_KEY. (receive_done): if it is a SEND_SEND type, use SEND_URI_KEY to remove it from the active list. (mail_receive_uri): make sure we never add a SEND_SEND type to the receive list. (mail_send): key the send info on SEND_URI_KEY not transport url. svn path=/trunk/; revision=21038
* Don't just blindly cast an int to gpointer, use the proper glib magicJeremy Katz2003-04-302-2/+9
| | | | | | | | | 2003-04-29 Jeremy Katz <katzj@redhat.com> * folder-browser-ui.c (fbui_sensitise_item): Don't just blindly cast an int to gpointer, use the proper glib magic instead. svn path=/trunk/; revision=21026
* Updated for API change in the filter code.Jeffrey Stedfast2003-04-302-4/+10
| | | | | | | | | | 2003-04-29 Jeffrey Stedfast <fejj@ximian.com> * importers/netscape-importer.c (netscape_add_priority_workaround_filters): Updated for API change in the filter code. svn path=/trunk/; revision=21020
* ** See bug #41972Not Zed2003-04-305-14/+41
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-29 Not Zed <NotZed@Ximian.com> ** See bug #41972 * message-list.c (ml_tree_value_at): fix (void *) casts on trinary ops. * folder-browser.c (on_right_click): Store the label tag in the label callback data, not the translated name. * mail-config.c (label_defaults[]): Initialise with the tag values. (config_clear_labels): free tag field. (config_cache_labels): setup the tag field based on the position of the label name. (mail_config_get_label_color_by_name): Lookup colour by the untranslated TAG, not the translated/customisable tag. * mail-config.h (MailConfigLabel): Add a tag field, we were using the translated name as the label(!). svn path=/trunk/; revision=21008
* Remove preceding whitespaceDan Winship2003-04-302-0/+6
| | | | | | * mail-format.c (write_xmailer_header): Remove preceding whitespace svn path=/trunk/; revision=21004
* (mail_session_forget_passwords): Forget allEttore Perazzoli2003-04-292-1/+6
| | | | | | passwords again. [#41817] svn path=/trunk/; revision=20986
* Made toplevel container widgets set a border-width (including toplevelJeffrey Stedfast2003-04-296-2182/+2346
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-25 Jeffrey Stedfast <fejj@ximian.com> * mail-config.glade: Made toplevel container widgets set a border-width (including toplevel widgets within frames), set the table/hbox/vbox spacings, set the spacing between an image and the description text in hboxes to 12pts (as suggested by the HIG), Changed Add/Delete buttons to the stock Add/Remove buttons, etc 2003-04-24 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_init): Cache the allowable mime-types. (mail_config_get_allowable_mime_types): New public function to get an array of allowable mime-types. * mail-format.c (mail_lookup_handler): Only allow a bonobo-component handler if the mime-type is something handled by evolution or the user has specifically chosen that type as available for viewing with a bonobo component in the gconf database. (mime_type_uses_evolution_component): New convenience function. (mime_type_can_use_component): Checks gconf to see if the user has allowed the mime-type to be viewed by a component. svn path=/trunk/; revision=20983
* as below (update_active): as belowRadek Doulik2003-04-253-4/+11
| | | | | | | | | | | | 2003-04-24 Radek Doulik <rodo@ximian.com> * mail-display.c (html_button_press_event): as below (update_active): as below * folder-browser.c (html_button_press_event): update for changed coordinates in gtk-2 svn path=/trunk/; revision=20959
* pass an exception to get_provider, to silence some warnings/get a validNot Zed2003-04-242-1/+9
| | | | | | | | | 2003-04-23 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (get_receive_type): pass an exception to get_provider, to silence some warnings/get a valid result. svn path=/trunk/; revision=20950
* Only add the Organization: header if it is non-empty. Fixes bug #41730.Jeffrey Stedfast2003-04-242-1/+6
| | | | | | | | | 2003-04-22 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (composer_get_message): Only add the Organization: header if it is non-empty. Fixes bug #41730. svn path=/trunk/; revision=20935
* Protect against a NULL strv result from parsing the language list string.Jeffrey Stedfast2003-04-222-5/+12
| | | | | | | | | 2003-04-18 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (spell_set_ui): Protect against a NULL strv result from parsing the language list string. svn path=/trunk/; revision=20903
* Fixes for bug #41142.Jeffrey Stedfast2003-04-192-3/+11
| | | | | | | | | | | | | 2003-04-17 Jeffrey Stedfast <fejj@ximian.com> Fixes for bug #41142. * mail-search.c (dialog_response_cb): Handle a GTK_RESPONSE_CLOSE response. (mail_search_construct): Changed the Cancel button into a Close button. svn path=/trunk/; revision=20889
* [ fixes #21499 ]Rodney Dawes2003-04-195-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-18 Rodney Dawes <dobey@ximian.com> [ fixes #21499 ] * gui/component/Makefile.am: * gui/component/addressbook.c: * gui/component/select-names/e-select-names-bonobo.c: * gui/contact-editor/Makefile.am: * gui/contact-editor/e-contact-editor.c: * gui/contact-list-editor/Makefile.am: * gui/contact-list-editor/e-contact-list-editor.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * gui/Makefile.am: * gui/calendar-commands.c: * gui/tasks-control.c: * gui/dialogs/Makefile.am: * gui/dialogs/comp-editor.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * Makefile.am: * e-msg-composer.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui (). Fixes bug #21499. * Makefile.am: * folder-browser-ui.c: * mail-signature-editor.c: * message-browser.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui (). Fixes bug #21499. * Makefile.am: * e-summary-factory.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () * e-shell-view.c: Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui () [#21499] svn path=/trunk/; revision=20888
* remove the help menu item handling, as the help menu is removed. Clean upNot Zed2003-04-172-7/+5
| | | | | | | | | 2003-04-17 Not Zed <NotZed@Ximian.com> * mail-signature-editor.c (menu_help): remove the help menu item handling, as the help menu is removed. Clean up of #38927. svn path=/trunk/; revision=20877
* Remove COMPONENTDIR and set BINDIR and VERSION instead.Not Zed2003-04-177-12/+26
| | | | | | | | | | | | | | | | 2003-04-16 Not Zed <NotZed@Ximian.com> * importers/Makefile.am (%.server.in): Remove COMPONENTDIR and set BINDIR and VERSION instead. * (importers/GNOME_Evolution_Mail_Pine_Intelligent_Importer.server.in.in, importers/GNOME_Evolution_Mail_Mbox_Importer.server.in.in, importers/GNOME_Evolution_Mail_Outlook_Importer.server.in.in, importers/GNOME_Evolution_Mail_Netscape_Intelligent_Importer.server.in.in, importers/GNOME_Evolution_Mail_Elm_Intelligent_Importer.server.in.in:) : Convert the type back to exe, and point to the main evolution executable. Fixes #41164. svn path=/trunk/; revision=20875
* schema keys can't be directories (#41419)Jeremy Katz2003-04-172-1/+5
| | | | | | | | 2003-04-16 Jeremy Katz <katzj@redhat.com> * evolution-mail.schemas: schema keys can't be directories (#41419) svn path=/trunk/; revision=20871
* Fixed a logic error that was the cause of bug #41389.Jeffrey Stedfast2003-04-172-1/+6
| | | | | | | | | 2003-04-15 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (config_wizard_set_page): Fixed a logic error that was the cause of bug #41389. svn path=/trunk/; revision=20866
* For bug #41199.Not Zed2003-04-163-185/+285
| | | | | | | | | | | | | | | | | | | 2003-04-15 Not Zed <NotZed@Ximian.com> * For bug #41199. * subscribe-dialog.glade: New interface from Anna. Setup the wigdet names and add a progress bar, and set the default opening size to something reasonable. * subscribe-dialog.c (subscribe_dialog_construct): changes to match the glade file chagnes. remove the search stuff. hide the progress bar by default. (sc_activity_cb): show the progress bar when we're active, hide it when inactive. dont set any status. (struct _SubscribeDialogPrivate): Remove the appbar. svn path=/trunk/; revision=20858
* Free the temporary error text.Hans Petter Jansson2003-04-162-0/+5
| | | | | | | | 2003-04-15 Hans Petter Jansson <hpj@ximian.com> * mail-mt.c (mail_msg_check_error): Free the temporary error text. svn path=/trunk/; revision=20850
* Set the correct border width and vbox spacing to be HIG compliant. FixesJeffrey Stedfast2003-04-163-4/+18
| | | | | | | | | | | | | 2003-04-14 Jeffrey Stedfast <fejj@ximian.com> * mail-vfolder.c (vfolder_gui_add_rule): Set the correct border width and vbox spacing to be HIG compliant. Fixes bug #41209. (vfolder_edit_rule): Same here. * local-config.glade: Updated to comply with the HIG. Fixes bug #41244. svn path=/trunk/; revision=20846
* create a stock cancel button with a cancel all text. (build_dialogue):Not Zed2003-04-153-4/+21
| | | | | | | | | | | | | | | 2003-04-14 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (build_dialogue): create a stock cancel button with a cancel all text. (build_dialogue): Create stock-like cancel buttons with no accelerators. A workaround for #41043. * message-list.c (ml_tree_value_at): if the node is the root node, do nothing. etable shouldn' really be searching the root node if it isn't visible ...? For #41190. svn path=/trunk/; revision=20842
* add proper defaults for the fonts settings.Larry Ewing2003-04-152-1/+8
| | | | | | | | | 2003-04-14 Larry Ewing <lewing@ximian.com> * evolution-mail.schemas: add proper defaults for the fonts settings. svn path=/trunk/; revision=20839
* Fixes bug #41243.Jeffrey Stedfast2003-04-123-337/+319
| | | | | | | | | | | | | 2003-04-11 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #41243. * message-tag-followup.c (construct): Change the window border width and packing to comply with the HIG. * message-tags.glade: Updated to comply with the HIG. svn path=/trunk/; revision=20833
* Add padding around the entry/checkbox and change the border width of theJeffrey Stedfast2003-04-122-2/+10
| | | | | | | | | | 2003-04-11 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (request_password): Add padding around the entry/checkbox and change the border width of the dialog window to comply with the HIG. Fixes bug #41004. svn path=/trunk/; revision=20822
* Change the action button ordering and also change the padding to complyJeffrey Stedfast2003-04-112-15/+24
| | | | | | | | | | | 2003-04-10 Jeffrey Stedfast <fejj@ximian.com> * mail-search.c (mail_search_construct): Change the action button ordering and also change the padding to comply with the HIG. Fixes bug #41046 and at least part of bug #41142 (except for the s/Search/OK/ thing, which has not been agreed upon yet). svn path=/trunk/; revision=20808
* Change the padding to comply with the GNOME HIG. Fixes bug #41001.Jeffrey Stedfast2003-04-112-11/+18
| | | | | | | | | 2003-04-10 Jeffrey Stedfast <fejj@ximian.com> * mail-send-recv.c (build_dialogue): Change the padding to comply with the GNOME HIG. Fixes bug #41001. svn path=/trunk/; revision=20806
* ** See bug #40921Not Zed2003-04-093-32/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-04-09 Not Zed <NotZed@Ximian.com> ** See bug #40921 * subscribe-dialog.c (subscribe_dialog_finalise): add a finalise funciton which actually free's resources. (get_short_folderinfo_got): dont call activity callback implicitly here, do it from the callers callback. (subscribe_get_short_folderinfo): dont call activity callback here. (fe_got_children): check implicitly if we were cancelled. also add back the node sort, and also call the activity callback from here instead of breaking layers of abstraction as above. (folder_etree_cancel_all): new method, force a cancel of all ops, but dont free anything. (store_data_free): dont unref the widget anymore, not needed. call cancel all on the ftree if its still active. (sc_close_pressed): destroy the subscribe dialogue as well as the app, it doesn't seem to get destroyed otherwise. (sc_activity_cb): do nothing if we have been cancelled. (subscribe_dialog_destroy): trigger a cancel of all outstanding ops. only free most data in the finalise method. (subscribe_dialog_class_init): hook onto finalise. (store_data_get_widget): dont ref the widget. * mail-callbacks.c (manage_subscriptions): sink the dialog. svn path=/trunk/; revision=20784
* set sensitivity of font pickers based on share setting.Larry Ewing2003-04-096-161/+356
| | | | | | | | | | | | | | | | | | | | | | 2003-04-09 Larry Ewing <lewing@ximian.com> * mail-preferences.c (font_share_changed): set sensitivity of font pickers based on share setting. (mail_preferences_construct): initialize font prefs. (mail_preferences_apply): set the font prefs. (font_changed): add gnome-font-picker changed function. * mail-preferences.h: add font pref widgets. * mail-config.c (mail_config_init): add notify to on fonts dir. (config_write_fonts): write out a gtkrc that overrides the gtkhtml fonts settings based on the gconf keys. * mail-config.glade: move display font setttings to mail prefs. * evolution-mail.schemas: add font settings. svn path=/trunk/; revision=20779
* Add a check for a NULL uid here. Don't see how it can happen, but it seemsJeffrey Stedfast2003-04-092-1/+7
| | | | | | | | | | 2003-04-08 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (do_view_message): Add a check for a NULL uid here. Don't see how it can happen, but it seems to have for Aaron. Anyways, this should fix bug #40904. svn path=/trunk/; revision=20762
* Remove color specs from the druid so it will use the theme colorsDan Winship2003-04-082-25/+3
| | | | | | | * mail-config.glade: Remove color specs from the druid so it will use the theme colors svn path=/trunk/; revision=20758
* Fix bad XML noticed by Not ZedDan Winship2003-04-084-6/+13
| | | | | | | | | * importers/GNOME_Evolution_Mail_Elm_Intelligent_Importer.server.in.in: * importers/GNOME_Evolution_Mail_Netscape_Intelligent_Importer.server.in.in: * importers/GNOME_Evolution_Mail_Pine_Intelligent_Importer.server.in.in: Fix bad XML noticed by Not Zed svn path=/trunk/; revision=20748
* swap button order. For #40900.Not Zed2003-04-082-2/+7
| | | | | | | | | 2003-04-08 Not Zed <NotZed@Ximian.com> * mail-vfolder.c (vfolder_gui_add_rule): swap button order. For #40900. svn path=/trunk/; revision=20740
* For string columns, never return NULL - always return "" if the value isJeffrey Stedfast2003-04-082-12/+20
| | | | | | | | | | 2003-04-07 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (ml_tree_value_at): For string columns, never return NULL - always return "" if the value is empty. Fixes bug #40728. svn path=/trunk/; revision=20730
* Set the "script" data on the GtkEntry to NULL. (sig_add_script_response):Jeffrey Stedfast2003-04-082-11/+47
| | | | | | | | | | | | | | | | 2003-04-07 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (sig_add_script_cb): Set the "script" data on the GtkEntry to NULL. (sig_add_script_response): If the "script" data on the GtkEntry object is non-NULL, then we are editing an existing signature, so just change the values in place and don't add it to the signature db. (sig_edit_cb): If sig->script is non-NULL, then we are editing a script signature, so pop up the script dialog instead. Fixes bug #38929. svn path=/trunk/; revision=20723
* use e_iconv_locale_languageRadek Doulik2003-04-082-2/+6
| | | | | | | | | 2003-04-07 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c (spell_load_values): use e_iconv_locale_language svn path=/trunk/; revision=20721
* Clean up server namesDan Winship2003-04-088-53/+76
| | | | | | | | | | | | | | | | | | | | | | | | * GNOME_Evolution_Mail.server.in.in: Clean up server names * importers/GNOME_Evolution_Mail_Elm_Intelligent_Importer.server.in.in: Likewise, and fix evolution-mail location * importers/GNOME_Evolution_Mail_Mbox_Importer.server.in.in: Likewise * importers/GNOME_Evolution_Mail_Netscape_Intelligent_Importer.server.in.in: Likewise * importers/GNOME_Evolution_Mail_Outlook_Importer.server.in.in: Likewise * importers/GNOME_Evolution_Mail_Pine_Intelligent_Importer.server.in.in: Likewise * importers/Makefile.am (%.server.in): Fix this for evolution-mail being a shlib. svn path=/trunk/; revision=20703
* ** Bug 40536Not Zed2003-04-074-15/+28
| | | | | | | | | | | | | | | 2003-04-03 Not Zed <NotZed@Ximian.com> ** Bug 40536 * component-factory.c (send_receive_cb): run the warning dialogue asynchronously. Also, set the mail send/receive dialogue to transient for parent. * mail-send-recv.c (mail_send_receive): return the dialogue for send/receive. svn path=/trunk/; revision=20691
* added "folder_type" parameter to EvolutionImporterLoadFileFn.Rodrigo Moya2003-04-036-3/+16
| | | | | | | | | | | | | | | 2003-04-02 Rodrigo Moya <rodrigo@ximian.com> * importers/evolution-mbox-importer.c (load_file_fn): * importers/evolution-outlook-importer.c (load_file_fn): added "folder_type" parameter to EvolutionImporterLoadFileFn. * importers/elm-importer.c (elm_import_file): pass empty string for "folder_type" argument to GNOME_Evolution_Importer_loadFile. * importers/pine-importer.c (pine_import_file): ditto. * importers/netscape-importer.c (netscape_import_file): ditto. svn path=/trunk/; revision=20645
* Only clear the Mail passwords.Not Zed2003-04-022-2/+4
| | | | | | | | | 2003-04-02 Not Zed <NotZed@Ximian.com> * mail-session.c (mail_session_forget_passwords): Only clear the Mail passwords. svn path=/trunk/; revision=20632
* Don't allow the 'prefix' argument to make_safe_filename() be NULL. If weJeffrey Stedfast2003-04-022-5/+15
| | | | | | | | | | 2003-04-01 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (save_part): Don't allow the 'prefix' argument to make_safe_filename() be NULL. If we don't yet have a save_dir in gconf, use $HOME, etc. Fixes bug #40608. svn path=/trunk/; revision=20621
* Call composer_check_autosave if we're going interactive, to check forNot Zed2003-04-022-0/+10
| | | | | | | | | | 2003-04-02 Not Zed <NotZed@Ximian.com> * component-factory.c (interactive_cb): Call composer_check_autosave if we're going interactive, to check for unsaved files. Fixes #40300. svn path=/trunk/; revision=20617
* if we're called and the idle handler is set, remove it, so we dont go andNot Zed2003-04-012-1/+13
| | | | | | | | | | 2003-04-01 Not Zed <NotZed@Ximian.com> * mail-display.c (mail_display_redisplay): if we're called and the idle handler is set, remove it, so we dont go and redisplay it again. Fixes #40522. svn path=/trunk/; revision=20609
* Properly init message_list. Fixed a type-o that initialized it to theJeffrey Stedfast2003-04-012-1/+6
| | | | | | | | | 2003-03-31 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c: Properly init message_list. Fixed a type-o that initialized it to the password_list. svn path=/trunk/; revision=20605
* need to check for config_service != NULL, not service != NULL beforeNot Zed2003-03-314-2/+16
| | | | | | | | | | | | | | | | 2003-03-31 Not Zed <NotZed@Ximian.com> * mail-session.c (pass_response): need to check for config_service != NULL, not service != NULL before calling set_save_password. Fix for #40472. 2003-03-28 Not Zed <NotZed@Ximian.com> * folder-browser-ui.c: include e-meta.h * folder-browser.c (on_right_click): remove unused var. svn path=/trunk/; revision=20586
* Declare a prototype for this function prior to fe_got_children() so thatJeffrey Stedfast2003-03-292-0/+9
| | | | | | | | | | 2003-03-28 Jeffrey Stedfast <fejj@ximian.com> * subscribe-dialog.c (fe_check_for_children): Declare a prototype for this function prior to fe_got_children() so that fe_got_children() can call us. svn path=/trunk/; revision=20558
* remove extra arg to camel_url_encodeDan Winship2003-03-272-1/+6
| | | | | | | * mail-format.c (write_address): remove extra arg to camel_url_encode svn path=/trunk/; revision=20546
* dont set the paned initial size here, but hook onto the realize signal.Not Zed2003-03-272-6/+19
| | | | | | | | | | | 2003-03-27 Not Zed <NotZed@Ximian.com> * folder-browser.c (folder_browser_gui_init): dont set the paned initial size here, but hook onto the realize signal. (paned_realised): set the paned size once we're realised. Fixes #37084, its a bit of a hack, but it seems to work. svn path=/trunk/; revision=20536
* Fixes bug #40074.Jeffrey Stedfast2003-03-274-0/+23
| | | | | | | | | | | | | | 2003-03-26 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #40074. * folder-browser-factory.c (control_deactivate): Save message-list state. * message-list.c (message_list_save_state): Save the various states. svn path=/trunk/; revision=20525
* Fixes for bug #39870Jeffrey Stedfast2003-03-272-64/+74
| | | | | | | | | | | | | | 2003-03-26 Jeffrey Stedfast <fejj@ximian.com> Fixes for bug #39870 * message-browser.c (transfer_msg_done): Close the message-browser. Since the message doesn't exist anymore, we should close it. (message_browser_delete): New callback to handle deletion in the message-browser window. svn path=/trunk/; revision=20524
* If the CamelFolderInfo node doesn't have \NoInferriors set, then check forJeffrey Stedfast2003-03-272-4/+13
| | | | | | | | | | 2003-03-26 Jeffrey Stedfast <fejj@ximian.com> * subscribe-dialog.c (fe_got_children): If the CamelFolderInfo node doesn't have \NoInferriors set, then check for subfolders. Fixes bug #40314. svn path=/trunk/; revision=20520
* Undo jeff's patch below for #40275, the destroy timeout is already removedNot Zed2003-03-262-23/+22
| | | | | | | | | | | | | | 2003-03-26 Not Zed <NotZed@Ximian.com> * mail-display.c (popup_window_destroy_cb): Undo jeff's patch below for #40275, the destroy timeout is already removed in popup_info_free. Unref the widget 'w' when we're done with it. (popup_info_free): Move everything in here to popup_window_destroy and remove, since nothing else uses it. (make_popup_window): Ref the widget so it doesn't go away before we're finished with it. Really fixes bug #40275/40188. svn path=/trunk/; revision=20512
* Remove the timeout. Should fix bug #40275.Jeffrey Stedfast2003-03-262-0/+8
| | | | | | | | | 2003-03-25 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (popup_window_destroy_cb): Remove the timeout. Should fix bug #40275. svn path=/trunk/; revision=20511
* Remove search entry which never worked right (and can't work as usersJeffrey Stedfast2003-03-263-219/+24
| | | | | | | | | | | | 2003-03-25 Jeffrey Stedfast <fejj@ximian.com> * subscribe-dialog.c: Remove search entry which never worked right (and can't work as users expect anyway, since we don't do namespace stripping). Fixes bug #40083. (ftree_node_new): Ignore \NoSelect as far as marking it "subscribable". Fixes bug #40124. svn path=/trunk/; revision=20509
* Update for e_notice move (apply_changes): Pass a parent_window to e_noticeDan Winship2003-03-258-10/+18
| | | | | | | | | | | | | | | * mail-account-editor.c: Update for e_notice move (apply_changes): Pass a parent_window to e_notice * mail-account-gui.c: Update for e_notice move. (mail_account_gui_save): Pass a parent_window to e_notice * mail-callbacks.c: Update for e_notice move * mail-local.c: Likewise * mail-signature-editor.c: Likewise * mail-vfolder.c: Likewise svn path=/trunk/; revision=20502
* Update prototypeDan Winship2003-03-252-1/+6
| | | | | | * component-factory.c (interactive_cb): Update prototype svn path=/trunk/; revision=20494
* strdup the key before freeing the url as it is probably pointing there.Not Zed2003-03-252-1/+7
| | | | | | | | | 2003-03-25 Not Zed <NotZed@Ximian.com> * mail-tools.c (meta_data_key): strdup the key before freeing the url as it is probably pointing there. svn path=/trunk/; revision=20491
* remove a debug printf that made it in a commit.Not Zed2003-03-242-1/+3
| | | | | | | | | 2003-03-25 Not Zed <NotZed@Ximian.com> * component-factory.c (got_folder): remove a debug printf that made it in a commit. svn path=/trunk/; revision=20480
* Load per-folder setting of show_preview from meta data.Not Zed2003-03-248-19/+139
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-25 Not Zed <NotZed@Ximian.com> * folder-browser-ui.c (folder_browser_ui_add_global): Load per-folder setting of show_preview from meta data. (folder_browser_ui_add_list): Same, for thread_list. * mail-tools.c (mail_tool_get_meta_data) (mail_tool_delete_meta_data): helpers to lookup/delete meta data. * mail-config.c (mail_config_uri_deleted): delete the meta-data for the folder. * folder-browser.c (folder_browser_reload): dont reload the uri if we're in the process of loading it still. (folder_browser_new): load the folder meta data before loading the folder. (folder_browser_toggle_preview): (folder_browser_toggle_threads): save change to meta-data. (got_folder): Load the metadata if we have a folder to set, and the meta-data has changed from initislisation. svn path=/trunk/; revision=20478
* pass FALSE for e_destination_get_textrep's include_email arg.Chris Toshok2003-03-232-2/+6
| | | | | | | | | 2003-03-23 Chris Toshok <toshok@ximian.com> * mail-callbacks.c (ask_confirm_for_unwanted_html_mail): pass FALSE for e_destination_get_textrep's include_email arg. svn path=/trunk/; revision=20468
* Default to the charset provied in the MimePart's Content-Type over that ofJeffrey Stedfast2003-03-222-2/+11
| | | | | | | | | | 2003-03-21 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_format_data_wrapper_write_to_stream): Default to the charset provied in the MimePart's Content-Type over that of the user's mailer charset. Fixes bug #39204. svn path=/trunk/; revision=20462
* "en_us" should not be translated. Fixes bug #40088.Jeffrey Stedfast2003-03-222-1/+6
| | | | | | | | | 2003-03-21 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (spell_load_values): "en_us" should not be translated. Fixes bug #40088. svn path=/trunk/; revision=20454
* remember to disconnect the destroy handler if whenever the loader is shutLarry Ewing2003-03-212-0/+7
| | | | | | | | | 2003-03-21 Larry Ewing <lewing@ximian.com> * mail-display.c (pixbuf_gen_idle): remember to disconnect the destroy handler if whenever the loader is shut down. svn path=/trunk/; revision=20449
* Change the message_destroy callback to just gtk_widget_destroy. No need toJeffrey Stedfast2003-03-212-7/+6
| | | | | | | | | | | 2003-03-20 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (owner_set_cb): Change the message_destroy callback to just gtk_widget_destroy. No need to have a callback simply to call this function. (warning_response): Removed (see above). svn path=/trunk/; revision=20447
* Don't forget to add the signature to the signature list if it is a validJeffrey Stedfast2003-03-212-1/+6
| | | | | | | | | 2003-03-20 Jeffrey Stedfast <fejj@ximian.com> * mail-composer-prefs.c (sig_add_script_response): Don't forget to add the signature to the signature list if it is a valid script. svn path=/trunk/; revision=20444
* Make sure we can find the registered handler before trying to remove itJeffrey Stedfast2003-03-212-4/+11
| | | | | | | | | | 2003-03-20 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_signature_unregister_client): Make sure we can find the registered handler before trying to remove it from the list. svn path=/trunk/; revision=20443
* Make the 5th argument to gtk_message_dialog_new() "%s" and move theJeffrey Stedfast2003-03-212-1/+20
| | | | | | | | | | | | | | | 2003-03-20 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (do_user_message): Make the 5th argument to gtk_message_dialog_new() "%s" and move the m->prompt to arg 6 so that we are safe if the prompt string contains any %'s. Also connect to the response signal for the user_msg dialog and set the callback to gtk_widget_destroy so that the user can actually close the dialog. We also need to g_object_weak_ref() the dialog so that we can set the global message_dialog pointer back to NULL when it gets destroyed. Fixes bug #40043. svn path=/trunk/; revision=20435
* Remove this since there's a function in CamelMimeMessage to do it now.Dan Winship2003-03-212-68/+7
| | | | | | | | * mail-ops.c (build_from): Remove this since there's a function in CamelMimeMessage to do it now. (save_messages_save): Use camel_mime_message_build_mbox_from. svn path=/trunk/; revision=20431
* updated for gnome spell API 0.3Radek Doulik2003-03-202-5/+5
| | | | svn path=/trunk/; revision=20383
* ** for mail part of bug #38461.Not Zed2003-03-208-316/+276
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-21 Not Zed <NotZed@Ximian.com> ** for mail part of bug #38461. * importers/evolution-outlook-importer.c (load_file_fn): dont pass in create flag to uri_to_folder, the folder must already exist. * importers/evolution-mbox-importer.c (folder_created_cb): Removed, we now force the caller to create the destination folder first. (load_file_fn): Dont try and create a folder if it doesn't exist. Also, use the uri directly as the destination uri, so we can import into any folder. (process_item_fn): If we dont have a folder, thats just an error, return BAD_FILE. * importers/netscape-importer.c (netscape_import_file): As below for elm_import_file. (import_next): similarly as for pine import_next. (importer_cb): just record result. (importer_timeout_fn): removed. * importers/pine-importer.c (import_next): Similar to below for the elm import_next. (pine_import_file): As below for elm_import_file. (importer_timeout_fn): removed. (importer_cb): just record the result, and exit. (import_next): change around to behave more like the elm importer, cleaning up when we're done. * importers/elm-importer.c (elm_import_file): Create the destination folder ourselves, dont pass it onto the mbox importer. Simplify logic, just do the import within a while loop, polling the g main loop as necessary, remove need for idle callbacks and other crap. (import_next): If elm_import_file fails, then just go straight to the next folder, stops it falling in a heap. (import_item_idle): removed. (importer_cb): just record result/exit. * mail-importer.c (mail_importer_create_folder): removed. (mail_importer_make_local_folder): new function to create a local-only folder from a path. It runs synchronously by using a recursive main loop. (folder_created_cb): callback for make_local_folder. svn path=/trunk/; revision=20379
* removed a dead header fileJeffrey Stedfast2003-03-201-1/+0
| | | | svn path=/trunk/; revision=20374
* Revert ettore's broken patch.Jeffrey Stedfast2003-03-204-248/+1
| | | | | | | | | | | 2003-03-19 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (mail_config_druid_new): Revert ettore's broken patch. * mail-search-dialogue.c: Removed - nothing uses this. svn path=/trunk/; revision=20373
* Revert ettore's broken patch.Jeffrey Stedfast2003-03-203-7/+11
| | | | | | | | | | | | 2003-03-19 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (mail_config_druid_new): Revert ettore's broken patch. * mail-search-dialogue.c (mail_search_dialogue_construct): Make the default size a little smaller. svn path=/trunk/; revision=20372
* Replace "evolution:menu-name" prop with "evolution:menu_name". [#39692]Ettore Perazzoli2003-03-203-2/+10
| | | | | | | | | | * importers/GNOME_Evolution_Mail_Mbox_Importer.server.in.in: Replace "evolution:menu-name" prop with "evolution:menu_name". [#39692] * importers/GNOME_Evolution_Mail_Outlook_Importer.server.in.in: Likewise. svn path=/trunk/; revision=20369
* (mail_config_druid_new): Give the druid theEttore Perazzoli2003-03-202-0/+6
| | | | | | DIALOG hint. [#39741 and friends.] svn path=/trunk/; revision=20357
* changed default language to en_us instead of enRadek Doulik2003-03-192-1/+34
| | | | | | | | | | | | 2003-03-19 Radek Doulik <rodo@ximian.com> * mail-composer-prefs.c (spell_load_values): changed default language to en_us instead of en (spell_language_button_press): new handler, ported from 1.2 (spell_setup): use spell_language_enable and spell_language_button_press svn path=/trunk/; revision=20356
* e_msg_composer_get_subject() now returns a const char *, so updateJeffrey Stedfast2003-03-192-5/+8
| | | | | | | | | | 2003-03-18 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (composer_get_message): e_msg_composer_get_subject() now returns a const char *, so update appropriately. svn path=/trunk/; revision=20349
* fix leak, cleanup variable name, and call gtk_window_set_transient_forLarry Ewing2003-03-192-6/+15
| | | | | | | | | | | 2003-03-18 Larry Ewing <lewing@ximian.com> * mail-callbacks.c (do_mail_print): fix leak, cleanup variable name, and call gtk_window_set_transient_for with a parent that is actually a GtkWindow. (mark_as_unseen): use g_source_remove. svn path=/trunk/; revision=20348
* Set the type hint to DIALOG so that Metacity shows this window on top.Jeffrey Stedfast2003-03-192-3/+12
| | | | | | | | | | 2003-03-18 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (mail_config_druid_new): Set the type hint to DIALOG so that Metacity shows this window on top. Fixes bug #39914. svn path=/trunk/; revision=20343
* validate rule & rule is unique. Workaround for #39464. Should this justNot Zed2003-03-182-0/+23
| | | | | | | | | | 2003-03-18 Not Zed <NotZed@Ximian.com> * mail-vfolder.c (new_rule_clicked): validate rule & rule is unique. Workaround for #39464. Should this just use rule_context_add_rule_gui?? svn path=/trunk/; revision=20333
* unhook from the html engine signals here, before we redisplay the message.Not Zed2003-03-182-7/+16
| | | | | | | | | | | 2003-03-18 Not Zed <NotZed@Ximian.com> * mail-search.c (mail_search_destroy): unhook from the html engine signals here, before we redisplay the message. Also make sure this processing only happens once. For #39759. (mail_search_finalise): dont unhook from signals here. svn path=/trunk/; revision=20326
* use a hack to find out if the message-list was focussed before weNot Zed2003-03-183-3/+26
| | | | | | | | | | | 2003-03-12 Not Zed <NotZed@Ximian.com> * mail-callbacks.c (expunge_folder): use a hack to find out if the message-list was focussed before we desensitise it. (expunged_folder): If the message-list was focussed before, re-grab the focus. For bug #29564. svn path=/trunk/; revision=20325
* (mail_signature_editor): Give the editorEttore Perazzoli2003-03-182-0/+6
| | | | | | the GDK_WINDOW_TYPE_HINT_DIALOG hint. [#38926] svn path=/trunk/; revision=20320
* If we fail to load the pixbuf, don't use it (stops some g_warnings).Jeffrey Stedfast2003-03-182-0/+20
| | | | | | | | | 2003-03-17 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (pixbuf_gen_idle): If we fail to load the pixbuf, don't use it (stops some g_warnings). svn path=/trunk/; revision=20319
* Part of a fix for bug #39809Jeffrey Stedfast2003-03-183-3/+9
| | | | | | | | | | | | 2003-03-17 Jeffrey Stedfast <fejj@ximian.com> Part of a fix for bug #39809 * mail-vfolder.c (vfolder_edit): Don't add the cancel button here. * mail-callbacks.c (filter_edit): Don't add the cancel button here. svn path=/trunk/; revision=20316
* Lookup the handler for the type. If we don't have a registered handler orJeffrey Stedfast2003-03-184-1/+23
| | | | | | | | | | | | | | | 2003-03-17 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (do_external_viewer): Lookup the handler for the type. If we don't have a registered handler or if the registered handler is not meant to be handled via a bonobo component, don't use a bonobo component. * mail-format.c (mail_lookup_handler): If we register a new handler that is to be handled by a bonobo component, set handler->is_bonobo to TRUE. svn path=/trunk/; revision=20311
* Update for EvolutionStorage changeDan Winship2003-03-152-9/+10
| | | | | | | * component-factory.c (storage_connect, storage_connected): Update for EvolutionStorage change svn path=/trunk/; revision=20299
* reverted mail-display.c and mail-format.c fixes - pondering better fixesJeffrey Stedfast2003-03-143-45/+10
| | | | svn path=/trunk/; revision=20279
* Security vulnerability fixes.Jeffrey Stedfast2003-03-132-0/+12
| | | | | | | | | | | | | | | 2003-03-12 Jeffrey Stedfast <fejj@ximian.com> Security vulnerability fixes. * mail-display.c (do_external_viewer): Make sure that we don't launch a bonobo control to view a mime-type that we handle internally, otherwise maliciously formed HTML mail using <object> tags could potentially launch a bonobo vontrol to view the mime part bypassing any checks that Evolution might do on the data normally. svn path=/trunk/; revision=20269
* Security vulnerability fixes.Jeffrey Stedfast2003-03-132-10/+33
| | | | | | | | | | | | | | 2003-03-12 Jeffrey Stedfast <fejj@ximian.com> Security vulnerability fixes. * mail-format.c (handle_text_html, attachment_header) (handle_image, handle_via_bonobo): Encode the result from get_cid() so that malicious Content-Id strings cannot bypass the user's preference to not load http images, force a bonobo control to load passing it arbitrary data, etc. svn path=/trunk/; revision=20268
* revert a commit that I didn't mean to doJeffrey Stedfast2003-03-131-4/+4
| | | | svn path=/trunk/; revision=20267
* Rewritten to do the same as the composer's build_message() code.Jeffrey Stedfast2003-03-132-35/+69
| | | | | | | | | 2003-03-12 Jeffrey Stedfast <fejj@ximian.com> * mail-signature-editor.c (menu_file_save_cb): Rewritten to do the same as the composer's build_message() code. svn path=/trunk/; revision=20266
* Various small fixes leading up to a real fix.Jeffrey Stedfast2003-03-133-26/+41
| | | | | | | | 2003-03-12 Jeffrey Stedfast <fejj@ximian.com> * mail-signature-editor.c: Various small fixes leading up to a real fix. svn path=/trunk/; revision=20265
* Use gtk_window_set_transient_for() on the druid with the settings dialogJeffrey Stedfast2003-03-122-3/+18
| | | | | | | | | | 2003-03-11 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (account_add_clicked): Use gtk_window_set_transient_for() on the druid with the settings dialog as the parent window. svn path=/trunk/; revision=20253
* Remove the yes/no buttons. Fixes bug #39382.Jeffrey Stedfast2003-03-112-1/+4
| | | | | | | | | 2003-03-10 Jeffrey Stedfast <fejj@ximian.com> * mail-signature-editor.c (do_exit): Remove the yes/no buttons. Fixes bug #39382. svn path=/trunk/; revision=20246
* New callback function to handle the checkbox getting toggled.Jeffrey Stedfast2003-03-112-4/+62
| | | | | | | | | | | | | 2003-03-10 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (account_able_toggled): New callback function to handle the checkbox getting toggled. (mail_accounts_treeview_new): Save the toggle renderer so we can later connect to it's toggled signal. (mail_accounts_tab_construct): Connect to the toggle-cell's toggled signal. Fixes bug #39325. svn path=/trunk/; revision=20245
* Fix the response code, because some bastard changed the filter/* code andNot Zed2003-03-102-1/+7
| | | | | | | | | | 2003-03-11 Not Zed <NotZed@Ximian.com> * mail-vfolder.c (vfolder_editor_response): Fix the response code, because some bastard changed the filter/* code and didn't fix the callers. Partial fix for #39165. svn path=/trunk/; revision=20231
* Removed the debug printf. Added a case for the composer. Part of fixingNot Zed2003-03-102-2/+6
| | | | | | | | | | 2003-03-10 Not Zed <NotZed@Ximian.com> * component-factory.c (factory): Removed the debug printf. Added a case for the composer. Part of fixing #39256. svn path=/trunk/; revision=20228
* removed main.c from the build.Not Zed2003-03-104-35/+9
| | | | | | | | | | | | | 2003-03-10 Not Zed <NotZed@Ximian.com> * Makefile.am (libevolution_mail_la_SOURCES): removed main.c from the build. * component-factory.c (component_factory_init): Remove, not used anymore, causes linking problems some places. (factory): Removed the debug printf. svn path=/trunk/; revision=20226
* removed erroneous static prototype (it is now supposed to be a public symbol)Jeffrey Stedfast2003-03-081-4/+0
| | | | svn path=/trunk/; revision=20222
* All this snot just to fix bug #38925 and an attempt to fix bug #38926 (butJeffrey Stedfast2003-03-089-130/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-07 Jeffrey Stedfast <fejj@ximian.com> All this snot just to fix bug #38925 and an attempt to fix bug #38926 (but it seems no matter what I do, I can't work around the bonoboness/modality/whatever of the shell's preferences dialog). * mail-account-gui.c (sig_add_new_signature): Get the toplevel parent GtkWindow and pass that along to mail_composer_prefs_new_signature() so that window layering can be done correctly. * mail-composer-prefs.c (mail_composer_prefs_new_signature): Simplify. We don't want to add the signature to the list until after they have saved. (sig_edit_cb): Pass FALSE as the is_new argument to mail_signature_editor(). (sig_event_client): Listen for signatures being added. (mail_composer_prefs_new_signature): Now takes a GtkWindow arg as the first arg rather than a MailComposerPrefs arg since we don't really need it to be a MailComposerPrefs object. We'd rather use the first arg as the parent GtkWindow so that we can set transience for the editor window. * mail-signature-editor.c (mail_signature_editor): Now takes a 'parent' argument (so we can set transient_for()) and a 'is_new' argument specifying whether the editor is editing a new signature or not. If it is, when the user saves, it will be added to the signature list. otherwise it won't. (sig_name_changed): Only use the mail_config_signature_set_name() interface if it is *not* a new signature. (menu_file_save_cb): If is_new, then save the signature to the config - otherwise do what we did before and set the modifications to it and emit the CHANGED event. * mail-config.c (mail_config_signature_new): Renamed from mail_config_signature_add(). We no longer immediately add the signature to the list of saved signatures. (mail_config_signature_add): New function which adds the signature and emits the SIG_ADDED event. svn path=/trunk/; revision=20221
* If the part url is a text part, useJeffrey Stedfast2003-03-084-25/+30
| | | | | | | | | | | | 2003-03-07 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (on_url_requested): If the part url is a text part, use mail_format_data_wrapper_write_to_stream(). This should fix bug #39204. * mail-format.c (mail_format_data_wrapper_write_to_stream): Make public. svn path=/trunk/; revision=20219