aboutsummaryrefslogtreecommitdiffstats
path: root/mail/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Set the folder info path.Jeffrey Stedfast2001-09-211-5/+11
| | | | | | | | | 2001-09-20 Jeffrey Stedfast <fejj@ximian.com> * mail-local.c (mail_local_store_add_folder): Set the folder info path. svn path=/trunk/; revision=13020
* Register vfolder sources here.02001-09-211-0/+17
| | | | | | | | | | | | | | | | | | | | | 2001-09-20 <NotZed@Ximian.com> * mail-tools.c(mail_tool_uri_to_folder): Register vfolder sources here. * folder-browser.c (got_folder): Dont register vfolder sources here. * mail-ops.c (mail_get_folder): Add thread parameter. Fix callers. * mail-vfolder.c (vfolder_setup): Use the 'slow' queue for setting up vfolders. * mail-mt.c (mail_msg_init): Limit the maximum number of threads on the 'new' thread to 10. (mail_msg_init): Create a new queue 'slow' for doing slow operations. svn path=/trunk/; revision=13017
* Make a neater error reportIain Holmes2001-09-211-0/+5
| | | | svn path=/trunk/; revision=13016
* Dont special case file: url's anymore.02001-09-211-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-20 <NotZed@Ximian.com> * mail-tools.c (mail_tool_uri_to_folder): Dont special case file: url's anymore. * mail-local.c: Add real_path to MailLocalFolder. (mail_local_folder_construct): Added path argument, setup full_name == path, and real_path == full_name. (mls_get_folder): First lookup folderinfo to confirm this folder exists, then use that to properly construct the folder paths. (mail_local_folder_reconfigure): Use real_path not full_name to create the store uri. (mlf_set_folder): Use real_path not folder_name to get real uri path. 2001-09-19 <NotZed@Ximian.com> * mail-folder-cache.c (setup_store): Use the wrong spelling of finalised for the event hook. (real_note_folder): Use the wrong spelling of finalised for the event hook. (free_folder_info): Free the full_name parameter. (setup_folder): (real_note_folder): Key the folderinfo table on full_name, not path. svn path=/trunk/; revision=13014
* Convert all textual parts to 8bit before saving. Fixes bug #10388.Jeffrey Stedfast2001-09-211-0/+3
| | | | | | | | | | | | 2001-09-20 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (save_messages_save): Convert all textual parts to 8bit before saving. Fixes bug #10388. * mail-callbacks.c (ask_confirm_for_unwanted_html_mail): Oops, don't free memory that we don't own. svn path=/trunk/; revision=13013
* don't free memory that we don't own.Jeffrey Stedfast2001-09-211-3/+9
| | | | svn path=/trunk/; revision=13011
* No need to have g_warnings here. If it's done properly, therapeutically,Dan Winship2001-09-211-0/+6
| | | | | | | | * mail-config.c (evolution_mail_config_factory_init): No need to have g_warnings here. If it's done properly, therapeutically, there's no danger involved. svn path=/trunk/; revision=13010
* Truncate extremely long subjects. (inspired by bug #9158)Jon Trowbridge2001-09-201-0/+8
| | | | | | | | | | | | 2001-09-19 Jon Trowbridge <trow@ximian.com> * mail-callbacks.c (mail_generate_reply): Truncate extremely long subjects. (inspired by bug #9158) * mail-tools.c (mail_tool_generate_forward_subject): Truncate extremely long subjects. (bug #9158) svn path=/trunk/; revision=13007
* Here too.Jeffrey Stedfast2001-09-201-0/+8
| | | | | | | | | | | | 2001-09-19 Jeffrey Stedfast <fejj@ximian.com> * mail-send-recv.c (receive_update_got_store): Here too. * component-factory.c (create_view): Call mail_note_store() instead of mail_scan_subfolders() here so that these folders get hooked up with the unread count code. svn path=/trunk/; revision=12999
* Fix memory leakIain Holmes2001-09-201-0/+4
| | | | svn path=/trunk/; revision=12997
* Convert the names to the locale charset.Jeffrey Stedfast2001-09-201-0/+5
| | | | | | | | | 2001-09-19 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (ask_confirm_for_unwanted_html_mail): Convert the names to the locale charset. svn path=/trunk/; revision=12994
* Pass the actual unread message count, not just whether or not it's > 0.Dan Winship2001-09-201-0/+6
| | | | | | | | * mail-callbacks.c (create_folders): Pass the actual unread message count, not just whether or not it's > 0. Fixes ximian 9089. svn path=/trunk/; revision=12979
* Added missing header.92001-09-191-0/+9
| | | | | | | | | | | | | | | 2001-09-19 <NotZed@Ximian.com> * component-factory.c: Added missing header. * mail-local.c (mail_local_store_add_folder): Async load the folder we just added, so it can update the folder counts in the display. We just discard the folder afterwards? * mail-ops.c (mail_get_folder): Use the queued thread to get folders. svn path=/trunk/; revision=12976
* General cleanup of mail debug printfs.92001-09-191-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-19 <NotZed@Ximian.com> * General cleanup of mail debug printfs. * mail-folder-cache.[ch]: Completely rewritten. Removed all calls to the old code everywhere they were used. Nuff said. * folder-browser.h: Add shell_view to folder_browser & api to set it. * folder-browser-factory.c (control_activate): Set the shell-view on the folder_browser. (control_deactivate): And clear it here. * folder-browser.c (folder_browser_destroy): Unhook from changed events on the folder before giving it away. (got_folder): Hook onto the folder-changed events. (folder_changed): Event hook proxy for folder_changed events (main_folder_changed): And the main code version. (update_status_bar): And the one that actually does the work. (on_selection_changed): Also call update_status_bar() to update the selection count. (folder_browser_set_shell_view): Implement function to set the shell_view on the folder_browser. (folder_browser_destroy): Release the shell_view here too. * mail-tools.c (mail_tool_uri_to_folder): Dont 'note' the new folder if its from a file: url, this is handled by hte local store (yeeruughck). * mail-local.c (mls_init): (free_info): (mls_finalise): Setup init/finalise funcs for the folderinfo hash. (local_storage_removed_folder_cb): re-enable. 2001-09-18 <NotZed@Ximian.com> * mail-local.c (MailLocalStore): Add a hash table to store uri<>folderinfo data. (mail_local_store_add_folder): Add a new folderinfo to our hash. (mail_local_store_remove_folder): Remove a folder by uri. (storage_listener_startup): Add this store to those monitored by the folder tree. svn path=/trunk/; revision=12974
* Make the title translatable, and also use the account name when possible.Jeffrey Stedfast2001-09-191-0/+5
| | | | | | | | | 2001-09-18 Jeffrey Stedfast <fejj@ximian.com> * mail-mt.c (do_get_pass): Make the title translatable, and also use the account name when possible. Sorta fixes bug #6277. svn path=/trunk/; revision=12964
* Function to get the real receive tpe for ag iven url. IMAP/SPOOL/MAILDIR72001-09-191-0/+9
| | | | | | | | | | | | | 2001-09-17 <NotZed@Ximian.com> * mail-send-recv.c (get_receive_type): Function to get the real receive tpe for ag iven url. IMAP/SPOOL/MAILDIR types just update their info, dont download. (build_dialogue): (mail_receive_uri): Use function above to get the right receive type. svn path=/trunk/; revision=12957
* Oops, forgot about X-Evolution-Format.Jeffrey Stedfast2001-09-191-0/+6
| | | | | | | | | | 2001-09-18 Jeffrey Stedfast <fejj@ximian.com> * mail-tools.c (mail_tool_remove_xevolution_headers): Oops, forgot about X-Evolution-Format. (mail_tool_restore_xevolution_headers): Same. svn path=/trunk/; revision=12955
* Merged into folder_browser_new: nothing ever changes the URI of anDan Winship2001-09-191-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | * folder-browser.c (folder_browser_set_uri): Merged into folder_browser_new: nothing ever changes the URI of an existing folder browser any more. (folder_browser_new): Make this take a uri argument and do the work folder_browser_set_uri used to do, except that we set fb->uri right away, so that if the folder browser's control is activated before got_folder() gets called, then folder_browser_ui_add_list() will have access to the correct uri for purposes of setting ViewThreaded, etc. Fixes #4913. (got_folder): Don't set fb->uri here since it will already have been set. Don't call message_list_set_threaded, since it should be a noop now (and if it's not, it would make the message list not match the menu item). * folder-browser-ui.c (folder_browser_ui_add_list): Remove some code that was failing to work around the problems above. * message-browser.c (message_browser_new): Pass uri to folder_browser_new, remove call to set_uri. * folder-browser-factory.c (folder_browser_factory_new_control): Likewise. Also fix a s/destroy/unref/ in an error cleanup. svn path=/trunk/; revision=12954
* Pass a 'cache-me' argument to mail_get_password.Jeffrey Stedfast2001-09-191-0/+11
| | | | | | | | | | | | | | | 2001-09-18 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (get_password): Pass a 'cache-me' argument to mail_get_password. * mail-mt.c (pass_got): Make less confusing... (mail_get_password): Now takes an argument 'cache' that allows our caller to determine if the user wanted to cache his/her password or not. (pass_got): Set the cache option. svn path=/trunk/; revision=12950
* Call mail_content_loaded here rather than blocking if the message dataDan Winship2001-09-191-0/+6
| | | | | | | | * mail-format.c (mail_format_raw_message): Call mail_content_loaded here rather than blocking if the message data isn't available. svn path=/trunk/; revision=12949
* Unsubscribe from the folder before deleting it. Also, use the url's pathJeffrey Stedfast2001-09-181-1/+3
| | | | | | | | | | | | | | | 2001-09-17 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (storage_remove_folder): Unsubscribe from the folder before deleting it. Also, use the url's path instead of the shell's path since IMAP doesn't necessarily have to use "/" as the dir sep. * mail-ops.c (remove_folder_get): If the store supports subscriptions, make sure to unsubscribe from the folder before deleting it. svn path=/trunk/; revision=12931
* Get folderinfo 1 at a time rather than all at once.72001-09-181-0/+5
| | | | | | | | | 2001-09-17 <NotZed@Ximian.com> * mail-ops.c (mail_get_folderinfo): Get folderinfo 1 at a time rather than all at once. svn path=/trunk/; revision=12929
* Unsubscribe from the folder before deleting it.Jeffrey Stedfast2001-09-181-0/+9
| | | | | | | | | | | | | 2001-09-17 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (storage_remove_folder): Unsubscribe from the folder before deleting it. * mail-ops.c (remove_folder_get): If the store supports subscriptions, make sure to unsubscribe from the folder before deleting it. svn path=/trunk/; revision=12921
* Setup global corba_storage variable. (mls_get_folder): Set 'update72001-09-181-0/+7
| | | | | | | | | | | 2001-09-17 <NotZed@Ximian.com> * mail-local.c (storage_listener_startup): Setup global corba_storage variable. (mls_get_folder): Set 'update lstorage' on the newly opened folder. svn path=/trunk/; revision=12915
* Do nothing if the selection is NULL? Maybe this is the cause of bug #6817.Jeffrey Stedfast2001-09-181-0/+3
| | | | | | | | | 2001-09-17 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (invisible_selection_get_callback): Do nothing if the selection is NULL? Maybe this is the cause of bug #6817. svn path=/trunk/; revision=12910
* Go back to generating the cachename ourselves, but continue doing it theJeffrey Stedfast2001-09-181-0/+6
| | | | | | | | | | 2001-09-17 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_folder_to_cachename): Go back to generating the cachename ourselves, but continue doing it the way the dfault implementation of camel_folder_get_uri worked. svn path=/trunk/; revision=12908
* Updated required version of gal to 0.11.99.4.Christopher James Lahey2001-09-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-16 Christopher James Lahey <clahey@ximian.com> * configure.in: Updated required version of gal to 0.11.99.4. From calendar/ChangeLog: 2001-09-16 Christopher James Lahey <clahey@ximian.com> * gui/dialogs/meeting-page.c (build_etable): Updated this to match the new ETableSimple interface. From mail/ChangeLog: 2001-09-16 Christopher James Lahey <clahey@ximian.com> * message-list.c (ml_get_node_by_id): Made save_id const here. From shell/ChangeLog: 2001-09-16 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (etree_get_node_by_id): Made save_id const here. svn path=/trunk/; revision=12870
* Don;t destroy the pixbuf loader, unref it instead.Jeffrey Stedfast2001-09-171-0/+3
| | | | | | | | | | | | 2001-09-16 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (pixbuf_gen_idle): Don;t destroy the pixbuf loader, unref it instead. * mail-config.c (mail_config_folder_to_cachename): Use camel_folder_get_uri(). svn path=/trunk/; revision=12863
* Use camel_folder_get_uri().Jeffrey Stedfast2001-09-171-0/+5
| | | | | | | | | 2001-09-16 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_folder_to_cachename): Use camel_folder_get_uri(). svn path=/trunk/; revision=12861
* Major rewrite of most of the guts, handle changes based on signals and52001-09-151-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-15 <NotZed@Ximian.com> * mail-vfolder.c: Major rewrite of most of the guts, handle changes based on signals and events, etc. Use the main storage handling code that imap uses, etc. * mail-tools.c (mail_tool_uri_to_folder): Dont special case vfolder: anymore. * component-factory.c (owner_set_cb): use vfolder_load_storage(), new function to setup vfolder storage, after interaction has been enabled only. This might need some tweaking ... (storage_remove_folder): Removed all the folder lookup stuff. Just delete the folder based on the path passed in. There should be no reason this wouldn't work, right? 2001-09-14 <NotZed@Ximian.com> * mail-ops.c (get_folderinfo_get): Only add vtrash folder info, if store supports vtrash. * component-factory.c (mail_load_storage_by_uri): Let 'vfolder' stores show up too. 2001-09-13 <NotZed@Ximian.com> * mail-vfolder.c (vfolder_uri_to_folder): Open a vfolder then set its expression, since name?query open method is removed. svn path=/trunk/; revision=12856
* Return the cached value of camel_service_get_name so that we don't leakJeffrey Stedfast2001-09-151-0/+6
| | | | | | | | | | | | 2001-09-14 Jeffrey Stedfast <fejj@ximian.com> * subscribe-dialog.c (fe_root_value_at): Return the cached value of camel_service_get_name so that we don't leak memory. (fe_real_value_at): Don't strdup the node's name. (folder_etree_construct): Set the service_name. (fe_destroy): Free the service_name. svn path=/trunk/; revision=12849
* fixed a small memory leakJeffrey Stedfast2001-09-151-0/+3
| | | | svn path=/trunk/; revision=12848
* Added a refcount variable so set the refcount to 1. (sd_got_store): UnrefJeffrey Stedfast2001-09-151-0/+11
| | | | | | | | | | | | | | | | | 2001-09-14 Jeffrey Stedfast <fejj@ximian.com> * subscribe-dialog.c (store_data_new): Added a refcount variable so set the refcount to 1. (sd_got_store): Unref the store-data. (store_data_async_get_store): Ref the store-data. (store_data_ref): New function. (store_data_unref): New function. (subscribe_dialog_destroy): Instead of freeing the store-data here, unref it instead. We may just have an async function running. Set the callback function to NULL so that when the (remaining) async functions finish, they become no-ops. svn path=/trunk/; revision=12847
* Revert my bar_destroy code and replace it with dialog_destroy instead.Jeffrey Stedfast2001-09-151-0/+3
| | | | | | | | | 2001-09-14 Jeffrey Stedfast <fejj@ximian.com> * mail-send-recv.c (build_dialogue): Revert my bar_destroy code and replace it with dialog_destroy instead. svn path=/trunk/; revision=12832
* Append a message to any exception we get appending to any folders afterJeffrey Stedfast2001-09-151-0/+7
| | | | | | | | | | | 2001-09-14 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (mail_send_message): Append a message to any exception we get appending to any folders after having sent the message successfully saying that the message was sent successfully so the user doesn't misinterpret the error. svn path=/trunk/; revision=12830
* Fixed double-freeing of EDestination vector when sending html mail toJon Trowbridge2001-09-141-0/+6
| | | | | | | | | | 2001-09-13 Jon Trowbridge <trow@ximian.com> * mail-callbacks.c (composer_get_message): Fixed double-freeing of EDestination vector when sending html mail to people who don't necessarily want it. Fixes bug #9848. svn path=/trunk/; revision=12821
* Modified to take a FolderETree instead of a CamelStore (since theJeffrey Stedfast2001-09-141-0/+9
| | | | | | | | | | | | | | | 2001-09-13 Jeffrey Stedfast <fejj@ximian.com> * subscribe-dialog.c (get_short_folderinfo_desc): (get_short_folderinfo_get): (get_short_folderinfo_got): (get_short_folderinfo_free): (subscribe_get_short_folderinfo): Modified to take a FolderETree instead of a CamelStore (since the CamelStore is inside the FolderETree anyway) so that we could ref the ETree to prevent a race condition. Should fix bug #9827. svn path=/trunk/; revision=12808
* Make sure that the charset_filter is non-NULL before using it since iconvJeffrey Stedfast2001-09-141-0/+5
| | | | | | | | | 2001-09-13 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (try_inline_pgp_sig): Make sure that the charset_filter is non-NULL before using it since iconv may fail. svn path=/trunk/; revision=12801
* free the credits string.Larry Ewing2001-09-131-0/+4
| | | | | | | | 2001-09-13 Larry Ewing <lewing@ximian.com> * mail-tools.c (mail_tool_quote_message): free the credits string. svn path=/trunk/; revision=12795
* Fixed the remove callback prototype, and return the result properly using22001-09-131-0/+5
| | | | | | | | | 2001-09-12 <NotZed@Ximian.com> * mail-vfolder.c (vfolder_remove_cb): Fixed the remove callback prototype, and return the result properly using the listener. svn path=/trunk/; revision=12786
* Save transport passwords too. This fixes bug #3020.Jeffrey Stedfast2001-09-131-0/+5
| | | | | | | | | 2001-09-12 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_write_on_exit): Save transport passwords too. This fixes bug #3020. svn path=/trunk/; revision=12777
* Don't set the folderinfo's unread count to 0 when camel reports -1, sinceDan Winship2001-09-121-4/+9
| | | | | | | | | | | * mail-folder-cache.c (mail_folder_cache_note_folderinfo): Don't set the folderinfo's unread count to 0 when camel reports -1, since that may overwrite a valid unread count from before. (get_folder_info): Do it here instead when first creating a new folderinfo structure. Should fix bug #1756. svn path=/trunk/; revision=12768
* call menu_file_save_error when there is an exception while saving.Larry Ewing2001-09-111-0/+8
| | | | | | | | | | | 2001-09-11 Larry Ewing <lewing@ximian.com> * mail-account-gui.c (menu_file_save_cb): call menu_file_save_error when there is an exception while saving. (menu_file_save_error): pop up a dialog telling the user the file has not been saved. svn path=/trunk/; revision=12765
* Dynamically create the folder type list from camel. (reconfigure_clicked):02001-09-111-0/+55
| | | | | | | | | | | | | | 2001-09-10 <NotZed@Ximian.com> * mail-local.c (mail_local_reconfigure_folder): Dynamically create the folder type list from camel. (reconfigure_clicked): And change code to handle changes. 2001-09-10 <NotZed@Ximian.com> * merged mail_local patch from peterw. Many changes. svn path=/trunk/; revision=12759
* Handle empty accountsIain Holmes2001-09-111-0/+5
| | | | svn path=/trunk/; revision=12756
* Don't use new_with_sig_file, that function no longer exists.Jeffrey Stedfast2001-09-111-0/+6
| | | | | | | | | | 2001-09-10 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): Don't use new_with_sig_file, that function no longer exists. (forward_get_composer): Same here. svn path=/trunk/; revision=12754
* Marked string for translation. (new_source_created): Ditto.Chyla Zbigniew2001-09-111-0/+10
| | | | | | | | | | | | * mail-config.c (add_shortcut_entry): Marked string for translation. (new_source_created): Ditto. * mail-send-recv.c (format_url): Marked strings for translation. (build_dialogue): Ditto. svn path=/trunk/; revision=12752
* Hide the S/MIME frame if we don't support S/MIME.Jeffrey Stedfast2001-09-111-0/+3
| | | | | | | | | 2001-09-10 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_new): Hide the S/MIME frame if we don't support S/MIME. svn path=/trunk/; revision=12743
* Attach to the destroy event for each progressbar using bar_destroyed asJeffrey Stedfast2001-09-111-0/+6
| | | | | | | | | | | | | | | 2001-09-10 Jeffrey Stedfast <fejj@ximian.com> * mail-send-recv.c (build_dialogue): Attach to the destroy event for each progressbar using bar_destroyed as the callback. (bar_destroyed): New callback to unregister the timeout and set the send-info's bar member to NULL so we don't try to update a destroyed progressbar. * mail-callbacks.c (mail_generate_reply): Pass along the right string, this fixes bug #9518. svn path=/trunk/; revision=12738
* Pass along the right string, this fixes bug #9518.Jeffrey Stedfast2001-09-111-0/+3
| | | | | | | | | 2001-09-10 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): Pass along the right string, this fixes bug #9518. svn path=/trunk/; revision=12736
* Don't save the authmech if the username doesn't exist. Fixes bug #9474.Jeffrey Stedfast2001-09-111-0/+3
| | | | | | | | | 2001-09-10 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (save_service): Don't save the authmech if the username doesn't exist. Fixes bug #9474. svn path=/trunk/; revision=12735
* Remove some mailer-set headers. Fixes bug #9462.Jeffrey Stedfast2001-09-111-0/+5
| | | | | | | | | 2001-09-10 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (do_edit_messages): Remove some mailer-set headers. Fixes bug #9462. svn path=/trunk/; revision=12734
* Fix obvious dumb mistake in previous commit that made it *always* complainDan Winship2001-09-111-0/+6
| | | | | | | | * mail-callbacks.c (composer_get_message): Fix obvious dumb mistake in previous commit that made it *always* complain you had invalid recipients. svn path=/trunk/; revision=12733
* Complain if we are trying to send to invalid recipients. (Bug #8875)Jon Trowbridge2001-09-101-0/+5
| | | | | | | | | 2001-09-09 Jon Trowbridge <trow@ximian.com> * mail-callbacks.c (composer_get_message): Complain if we are trying to send to invalid recipients. (Bug #8875) svn path=/trunk/; revision=12721
* We need to initialize all of the struct fields or else god knows what willJeffrey Stedfast2001-09-101-0/+7
| | | | | | | | | | | 2001-09-09 Jeffrey Stedfast <fejj@ximian.com> * mail-config-druid.c (evolution_mail_config_wizard_factory_fn): We need to initialize all of the struct fields or else god knows what will happen later when we try to use 'em. Also set a destroy function for the MailConfigWizard so we don't leak it. svn path=/trunk/; revision=12719
* s/gnu.org/ximian.com/. I should change that default at some point...Jon Trowbridge2001-09-091-1/+1
| | | | svn path=/trunk/; revision=12713
* Added. Shows a (hopefully) informative dialog warning you that someJon Trowbridge2001-09-091-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-08 Jon Trowbridge <trow@gnu.org> * mail-callbacks.c (ask_confirm_for_unwanted_html_mail): Added. Shows a (hopefully) informative dialog warning you that some recipients might not want HTML mail (who are listed), and gives the option to cancel sending. (FIXME: The wording of this dialog could use some work.) (composer_get_message): Check if we are sending HTML to someone who might not want it, and raise the dialog if we are. Use our new destination-vector based api when talking to the composer. Touch our destinations here, boosting their use scores. This is the right place for this to happen --- closer to the end of the sending process, where incorrect/artificial use score inflation is less likely to occur. * mail-config.c (config_read): Added /Mail/Format/confirm_unwanted_html key. This flag determines whether or not we want to see the warning dialog when we send HTML mail to contacts who don't want it. Default is TRUE. (mail_config_write_on_exit): Write out the confirm_unwanted_html key. (mail_config_get_confirm_unwanted_html): Added. (mail_config_set_confirm_unwanted_html): Added. svn path=/trunk/; revision=12712
* Unref the invisible, don't just destroy it.Dan Winship2001-09-091-0/+5
| | | | | | | * mail-display.c (mail_display_destroy): Unref the invisible, don't just destroy it. svn path=/trunk/; revision=12704
* Give the full path of the wax-seal icons. (try_inline_pgp_sig): ConvertJeffrey Stedfast2001-09-081-0/+7
| | | | | | | | | | | | | | | | 2001-09-07 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_write_authenticity): Give the full path of the wax-seal icons. (try_inline_pgp_sig): Convert the charset from UTF-8 to whatever charset it should be. Now takes a CamelMimePart argument as well. (try_uudecoding): Now takes a part argument as well. (try_inline_pgp): Here too. (try_binhex): And finally here. (handle_text_plain): Pass along the mime part to the try_* functions. svn path=/trunk/; revision=12688
* Give the full path of the wax-seal icons.Jeffrey Stedfast2001-09-081-0/+5
| | | | | | | | | 2001-09-07 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_write_authenticity): Give the full path of the wax-seal icons. svn path=/trunk/; revision=12684
* new function, to notify the bonobo listener inChris Toshok2001-09-071-0/+9
| | | | | | | | | | | | | 2001-09-06 Chris Toshok <toshok@ximian.com> * component-factory.c (notify_listener): new function, to notify the bonobo listener in remove_folder/create_folder. (storage_create_folder): match EvolutionStorage create_folder signal's signature. (storage_remove_folder): match EvolutionStorage remove_folder signal's signature. svn path=/trunk/; revision=12671
* Fix a bunch of replying/forwarding-related formatting bugs.Dan Winship2001-09-071-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2749 - Message text not included in reply, but html attachment is 4294 - "forward inline" should quote the same headers as the normal mail display 6100 - Reply to a forwarded email displays email headers 7255 - Replying to HTML message 7527 - replying to forwarded message w/ attachments does the wrong thing * mail-format.c (mail_get_message_rfc822): New function to get message headers and body together, for inline forwards, or replies containing attached messages. (mail_get_message_body): Redo this to always return HTML, but keep the "want_plain" flag, to decide whether to return HTML that looks like HTML or HTML that looks like plain text. Use mail_get_message_rfc822 to handle attached message/rfc822 parts. Don't include the text of vcard or icalendar attachments. Don't fail to include text parts just because we found an HTML part. (Since we're always returning HTML now, this doesn't cause problems any more.) * mail-tools.c (mail_tool_quote_message): Simplify greatly. mail_get_message_body always returns HTML now, and we let it take care of prepending "> "s too. We then let GtkHTML deal with converting the HTML to plain text if the user wants to reply in plain text. (mail_tool_forward_message): Simplify this a ton too: parts of it are moved into mail_get_message_rfc822 and parts are now unnecessary. * mail-callbacks.c (do_forward_non_attached): Call mail_tool_forward_message here always, and let it do the "> " quoting in the "quoted" case, so that we get the headers too when forwarding quoted. Related to bug #4294. svn path=/trunk/; revision=12657
* the "command" of a GnomeVFSMimeApplication can include arguments as well.Dan Winship2001-09-061-0/+6
| | | | | | | | * mail-display.c (launch_cb): the "command" of a GnomeVFSMimeApplication can include arguments as well. Deal with that. Fixes support for CodeWeavers' CrossOver Plugin. svn path=/trunk/; revision=12643
* removed conflict stuffJeffrey Stedfast2001-09-061-1/+0
| | | | svn path=/trunk/; revision=12641
* Adjust the default_account index correctly.Jeffrey Stedfast2001-09-061-0/+15
| | | | | | | | | | | | | | | | | | 2001-09-05 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_remove_account): Adjust the default_account index correctly. 2001-09-05 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_get_accounts): Added a g_assert to make sure that config wasn't NULL. This is meant to help debug bug #4911 and friends. * component-factory.c (owner_set_cb): Do not mail_config_init() here as we've already called this in main() in main.c. svn path=/trunk/; revision=12640
* [Fix #958, ShellComponents should not be created by factories, forEttore Perazzoli2001-09-061-0/+16
| | | | | | | | | | | | | | | | | the mailer case.] * GNOME_Evolution_Mail.oaf.in: Remove the GNOME_Evolution_Mail_ShellComponentFactory. * component-factory.c: Changed to not use a factory. (COMPONENT_FACTORY_ID): Removed. (COMPONENT_ID): New. (idle_quit): Don't unref the component_factory. (create_component): Renamed from `component_fn'. Take no args. (component_factory_init): Create the component with `create_component' and register it on OAF. svn path=/trunk/; revision=12637
* This patch should avoid flashing when loading images into mail view, creditsRadek Doulik2001-09-061-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | go to Dan, Larry and me ;) (fixes ximian #6680) 2001-09-06 Radek Doulik <rodo@ximian.com> * everywhere updated for new mail_content_loaded definition (prototype) 2001-09-05 Radek Doulik <rodo@ximian.com> * mail-display.c (mail_display_redisplay): increase redisplay_counter (try_part_urls): new helper function (try_data_urls): ditto (load_content_loaded): if it has stream handle available and if it's still valid, it writes to this stream instead of redisplaying, uses try_part_urls and try_data_urls * mail-display.h: added redisplay_counter to MailDisplay, I use it in load_content_loaded to be sure that there wasn't any redisplay and that remembered handle is still valid * mail-display.c (on_url_requested): don't end stream with error if part is not loaded yet (on_url_requested): don't end stream in cases when we are going to load image using http (stream_write_or_redisplay_when_loaded): new helper function, which is extracted from mail_display_redisplay_when_loaded. it's extended to handle gtkhtml stream writting (mail_display_redisplay_when_loaded): use stream_write_or_redisplay_when_loaded (mail_display_stream_write_when_loaded): new function, uses stream_write_or_redisplay_when_loaded struct _load_content_msg: added handle, url and redisplay_counter fields * mail-format.c (mail_content_loaded): added redisplay, url and handle parameter for case when we are loading image content and want it write to stream instead of redisplaying svn path=/trunk/; revision=12633
* Replace "Evolution" with "Ximian Evolution" in a bunch of user-visibleEttore Perazzoli2001-09-061-0/+5
| | | | | | places. svn path=/trunk/; revision=12625
* [Fix #7542, "Crash Afer Closing".]Ettore Perazzoli2001-09-051-0/+10
| | | | | | | | | | * component-factory.c (owner_unset_cb): NULL the global_shell_client as the first thing here. Otherwise we might get into a slight race that causes the shell to crash. [Still, of course the shell shouldn't crash, but I haven't been able to track that down yet.] svn path=/trunk/; revision=12605
* Fixes #7251Chyla Zbigniew2001-09-051-0/+6
| | | | | | * mail-ops.c (add_vtrash_info): Mark "Trash" with U_(), not _(). svn path=/trunk/; revision=12604
* Unref the source folder here because it might be a POP folder. We do thisJeffrey Stedfast2001-09-051-0/+5
| | | | | | | | | | | 2001-09-04 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (fetch_mail_fetch): Unref the source folder here because it might be a POP folder. We do this because on store finalize, we now try to disconnect cleanly which means that we may block. svn path=/trunk/; revision=12602
* Fix capitalization. Fixes bug #7486.Jeffrey Stedfast2001-09-051-16/+21
| | | | | | | | | 2001-09-04 Jeffrey Stedfast <fejj@ximian.com> * mail-send-recv.c (build_dialogue): Fix capitalization. Fixes bug #7486. svn path=/trunk/; revision=12591
* Marked string for translation (with U_).Chyla Zbigniew2001-09-011-0/+5
| | | | | | | * mail-vfolder.c (vfolder_create_storage): Marked string for translation (with U_). svn path=/trunk/; revision=12544
* Use g_utf8_collate instead of g_strcasecmp for comparing names.Chyla Zbigniew2001-09-011-0/+8
| | | | | | | | | | * message-list.c (e_mail_address_compare): Use g_utf8_collate instead of g_strcasecmp for comparing names. (subject_compare): Replaced g_strcasecmp, isspace, var++ with UTF-8 counterparts. svn path=/trunk/; revision=12541
* Fix the Pine and Netscape importers. Give them a nice progress reporting GUI.Iain Holmes2001-08-311-0/+15
| | | | | | Revert Jason's changes so that creating a folder works again. svn path=/trunk/; revision=12536
* Due to the introduction of mail_folder_cache_remove(), we can no longerPeter Williams2001-08-311-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-30 Peter Williams <peterw@ximian.com> Due to the introduction of mail_folder_cache_remove(), we can no longer assume that mail_folder_info's always exist, so we need to robustify a lot of this. * mail-folder-cache.c (folder_browser_destroyed): New function. Called when the folder browser is destroyed -- analogous to camel_folder_finalized. (mail_folder_cache_note_fb): Hook it up here. (struct _mail_folder_info): Add a member, mail_info_id, that records the get_mail operation's id, so that we can cancel it if we need to. (get_folder_info): Initialize it here. (get_mail_info_reply): Clear it here. (mail_folder_cache_remove_folder): If necessary, cancel it here. (mail_folder_cache_note_folder): Check it here before starting a new operation, just in case. (update_message_counts_main): Take a URI instead of a mail_folder_info *, in case the MFI has gotten destroyed. (update_message_counts): Take a quark of the URI instead of a mail_folder_info *, for the same reason. We use a quark instead of an allocated gchar * because figuring out when to free the string gets tricky. Then go from quark -> URI string -> MFI. Return if the folder is no longer valid, because this indicates that the MFI was removed before this signal got called. Pass a string to update_message_counts_main instead of an MFI. (camel_folder_finalized): Don't bother unhooking the signals here. Same change as above, but don't bother checking for a valid folder because we're about to make it invalid anyway. (message_list_built): Analogous to the above, except with the FolderBrowser instead of the CamelFolder. (selection_changed): As above. (folder_browser_destroyed): As above. (struct get_mail_info_msg): Instead of taking a mail_folder_info *, take a URI, for reasons explained above. (get_mail_info_receive): Go from URI -> MFI before doing anything. (get_mail_info_reply): Same. (get_mail_info_destroy): Free the URI. (get_mail_info): Take a URI and return the message id so that it can be cancelled if necessary. (mail_folder_cache_remove_folder): Disconnect from signals and events before removing. (mail_folder_cache_note_folder): Use a GQuark instead of the mail_folder_info * as the user_data. (mail_folder_cache_note_fb): Same. (mail_folder_cache_note_folderinfo): Little formatting change. svn path=/trunk/; revision=12532
* Fixed a memory leak. (message_browser_new): Added a comment as to why ,Jeffrey Stedfast2001-08-311-0/+9
| | | | | | | | | | | | | 2001-08-30 Jeffrey Stedfast <fejj@ximian.com> * message-browser.c (message_browser_message_loaded): Fixed a memory leak. (message_browser_new): Added a comment as to why , after reparenting, we do not unref the mail_display. (message_browser_destroy): Don't call gtk_widget_destroy() on the message_list here. svn path=/trunk/; revision=12531
* Instead of removing the folder from the folder cache here...Peter Williams2001-08-311-0/+6
| | | | | | | | | | 2001-08-30 Peter Williams <peterw@ximian.com> * mail-ops.c (remove_folder_get): Instead of removing the folder from the folder cache here... (remove_folder_got): ... do it here, in the main thread. svn path=/trunk/; revision=12529
* Pass in FALSE as the 'sending' arg to e_msg_composer_get_message.Jon Trowbridge2001-08-301-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-29 Jon Trowbridge <trow@ximian.com> * e-msg-composer.c (e_msg_composer_get_message_draft): Pass in FALSE as the 'sending' arg to e_msg_composer_get_message. (build_message): Added a 'sending' arg, which is passed to e_msg_composer_get_message. (e_msg_composer_get_message): Added a 'sending' arg, which gets passed directly on to build_message. * e-msg-composer-hdrs.c (e_msg_composer_hdrs_to_message): Added a "sending" arg, which should be TRUE if the message is being sent now (rather than being autosaved, etc.). The address use scores are only updated when sending. (Bug #8332) Removed obsolete (#if 0/#endif-ed) code. 2001-08-29 Jon Trowbridge <trow@ximian.com> * mail-callbacks.c (composer_get_message): When calling e_msg_composer_get_message, pass in TRUE for the 'sending' arg. (Part of the fix for bug #8332) svn path=/trunk/; revision=12518
* in mail:Peter Williams2001-08-301-0/+2
| | | | | | | | | | | | | | | 2001-08-29 Peter Williams <peterw@ximian.com> * folder-browser-ui.c: Fix the pixmap for /commands/MessageUndelete. in ui: 2001-08-29 Peter Williams <peterw@ximian.com> * evolution-mail-message.xml: Add a pixtype to /Commands/MessageUndelete so that people can see the icon. svn path=/trunk/; revision=12515
* Toss in a call to mail_config_init () cause it might contribute to solvingPeter Williams2001-08-301-0/+6
| | | | | | | | | | 2001-08-29 Peter Williams <peterw@ximian.com> * component-factory.c (owner_set_cb): Toss in a call to mail_config_init () cause it might contribute to solving bug 4911, and it won't hurt. svn path=/trunk/; revision=12514
* Instead of folder_browser_factory_new_control ("", corba_shell) whenPeter Williams2001-08-291-0/+3
| | | | | | | | | | | 2001-08-28 Peter Williams <peterw@ximian.com> * component-factory.c (create_view): Instead of folder_browser_factory_new_control ("", corba_shell) when looking at a mailstorage folder, use create_noselect_control(). svn path=/trunk/; revision=12504
* Disable interaction once the shell has quit.Peter Williams2001-08-291-0/+5
| | | | | | | | | 2001-08-28 Peter Williams <peterw@ximian.com> * component-factory.c (owner_unset_cb): Disable interaction once the shell has quit. svn path=/trunk/; revision=12500
* Studlycapsize all the IDs that are not. Likewise. Updated accordingly.Ettore Perazzoli2001-08-281-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Evolution-ShellComponent.idl: Studlycapsize all the IDs that are not. * Evolution-common.idl: Likewise. * evolution-activity-client.c: Updated accordingly. * evolution-shell-component.c: Likewise. * evolution-storage.c: Likewise. * e-activity-handler.c: Likewise. * e-component-registry.c: Likewise. * e-corba-storage.c: Likewise. * e-shell-user-creatable-items-handlers.c: Likewise. * e-local-storage.c (remove_folder): Remove unused variable. * e-shell-view.c (update_for_current_uri): Assign zero to `unread_count', not NULL. * e-shell-importer.c (import_druid_finish): Remove unused variable. * e-shell-user-creatable-items-handler.c: #include "e-corba-utils.h". * e-shell-startup-wizard.c: #include "e-shell-startup-wizard.h". * e-shell-startup-wizard.h: #include <glib.h> * e-summary-weather.c (weather_make_html): Make local variable `icon_name' const. Remove unused variable `uri'. * e-summary.h: Reformatted in GTK+ style. (e_summary_remove_online_connection): Added prototype. * e-summary-preferences.c (fill_mail_shown_clist): Constify local variable `name'. * e-summary-mail.c: #include "e-util/e-path.h". Updated to match the new studlyCapsification in shell/Evolution*.idl. * mail-local.c: Match the studlyCapsification of shell/Evolution*.idl. * mail-config-druid.h: Change type of `event_source' from `Bonobo_EventSource *' to `Bonobo_EventSource'. * mail-accounts.c (mail_delete): Remove unused local variable `label'. * folder-info.c (do_get_info): `#if 0' unused variables. * gui/component/addressbook-component.c: Get rid of a warning by initializing the closing NULL element in folder_types correctly. * gui/component/select-names/e-select-names.c: Updated to match the studlyCapsification of attributes in shell/Evolution*.idl. svn path=/trunk/; revision=12495
* Check if we are trying to reply to a message with no From: field, and tryJon Trowbridge2001-08-281-0/+9
| | | | | | | | | | | | | 2001-08-27 Jon Trowbridge <trow@ximian.com> * mail-callbacks.c (mail_generate_reply): Check if we are trying to reply to a message with no From: field, and try to do something graceful in that case. (Bug #7028) * mail-display.c (ebook_callback): Add paranoid checks for the case of a message with a From: field. (Also maybe bug #7028) svn path=/trunk/; revision=12490
* Destroy lists and hashes when needed, so that old data isn't left behind.Iain Holmes2001-08-281-0/+5
| | | | svn path=/trunk/; revision=12488
* Set the source and transport description labels. (transport_type_changed):Jeffrey Stedfast2001-08-281-0/+5
| | | | | | | | | | | | | | | | | | | | | | 2001-08-27 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_new): Set the source and transport description labels. (transport_type_changed): Set the transport description label. (source_type_changed): Set the source description label. * mail-tools.c (mail_tool_make_message_attachment): Remove X-Evolution* headers. (mail_tool_remove_xevolution_headers): New function to convenience removing the X-Evolution headers. (mail_tool_restore_xevolution_headers): New convenience function to restore the X-Evolution headers. (mail_tool_destroy_xevolution): New function to cleanup the structure. (mail_tool_forward_message): Remove and restore the X-Evolution headers here too. svn path=/trunk/; revision=12487
* Remove X-Evolution* headers. (mail_tool_remove_xevolution_headers): NewJeffrey Stedfast2001-08-281-0/+13
| | | | | | | | | | | | | | | | | 2001-08-27 Jeffrey Stedfast <fejj@ximian.com> * mail-tools.c (mail_tool_make_message_attachment): Remove X-Evolution* headers. (mail_tool_remove_xevolution_headers): New function to convenience removing the X-Evolution headers. (mail_tool_restore_xevolution_headers): New convenience function to restore the X-Evolution headers. (mail_tool_destroy_xevolution): New function to cleanup the structure. (mail_tool_forward_message): Remove and restore the X-Evolution headers here too. svn path=/trunk/; revision=12484
* If the store is not connected, scan it's subfolders first.Jeffrey Stedfast2001-08-271-0/+3
| | | | | | | | | | | | 2001-08-26 Jeffrey Stedfast <fejj@ximian.com> * mail-send-recv.c (receive_update_got_store): If the store is not connected, scan it's subfolders first. * mail-ops.c (report_status): Call va_end() so LinuxPPC doesn't have a caniption. svn path=/trunk/; revision=12479
* Call va_end() so LinuxPPC doesn't have a caniption.Jeffrey Stedfast2001-08-271-0/+5
| | | | | | | | | 2001-08-26 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (report_status): Call va_end() so LinuxPPC doesn't have a caniption. svn path=/trunk/; revision=12478
* Use the new e_mkdtemp function.Jeffrey Stedfast2001-08-251-6/+13
| | | | | | | | | | | 2001-08-24 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (launch_cb): Use the new e_mkdtemp function. * folder-browser.c (message_list_drag_data_get): Use the new e_mkdtemp function. svn path=/trunk/; revision=12462
* Don't mark empty strings for translation. Rather, give descriptions andEttore Perazzoli2001-08-251-0/+8
| | | | | | | | * component-factory.c: Don't mark empty strings for translation. Rather, give descriptions and display names to types "mailstorage" and "vtrash". svn path=/trunk/; revision=12453
* Save the folder's full_name, unref it, and *then* unref the store, so thatPeter Williams2001-08-251-0/+6
| | | | | | | | | | 2001-08-24 Peter Williams <peterw@ximian.com> * mail-ops.c (remove_folder_get): Save the folder's full_name, unref it, and *then* unref the store, so that the folder has been closed before it gets deleted. svn path=/trunk/; revision=12446
* Instead of using the length of the shortcuts list as the index for thePeter Williams2001-08-251-0/+18
| | | | | | | | | | | | | | | | | | | | | | 2001-08-24 Peter Williams <peterw@ximian.com> * mail-config.c (add_shortcut_entry): Instead of using the length of the shortcuts list as the index for the shortcut, use -1, which means "last". * mail-config-druid.c (druid_finish): Remove the account adding stuff since that happens in wizard_finish now. * mail-config.c (add_new_storage): New function. Add a MailConfigAccount to the shell as a storage. (maybe_add_shortcut): Renamed to new_source_created. (new_source_created): Call add_new_storage here. * component-factory.c (mail_remove_storage_by_uri): Don't warn if the storage isn't remote... no point in making the caller do extra work. svn path=/trunk/; revision=12445
* Don't let the uri be an empty string (how the fuck is this even happeningJeffrey Stedfast2001-08-251-0/+9
| | | | | | | | | | | | | 2001-08-24 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_set_thread_list): Don't let the uri be an empty string (how the fuck is this even happening in the first place??). (mail_config_get_thread_list): Same. (mail_config_set_show_preview): And here. (mail_config_get_show_preview): And finally here. svn path=/trunk/; revision=12443
* attach to the destroy handler to reset the tokenizer. (dialog_destroy_cb):Larry Ewing2001-08-241-0/+8
| | | | | | | | | | | | 2001-08-23 Larry Ewing <lewing@ximian.com> * mail-search.c (mail_search_construct): attach to the destroy handler to reset the tokenizer. (dialog_destroy_cb): reset the tokenizer here so that destroying the dialog with the window manager still clears the hilighted items. svn path=/trunk/; revision=12431
* Eek, let the user create new accounts if old_account == NULL.Peter Williams2001-08-241-0/+5
| | | | | | | | | 2001-08-23 Peter Williams <peterw@ximian.com> * mail-account-gui.c (mail_account_gui_save): Eek, let the user create new accounts if old_account == NULL. svn path=/trunk/; revision=12425
* Check to make sure we actually have drag data.Jeffrey Stedfast2001-08-241-0/+8
| | | | | | | | | | | | 2001-08-23 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (destination_folder_handle_drop): Check to make sure we actually have drag data. * folder-browser.c (message_list_drag_data_received): Check to make sure we have valid data. svn path=/trunk/; revision=12424
* Revert fix for Ximian bug #6995.Christopher James Lahey2001-08-241-1/+5
| | | | | | | | 2001-08-21 Christopher James Lahey <clahey@ximian.com> * Revert fix for Ximian bug #6995. svn path=/trunk/; revision=12418
* Record the timeout_id so we can cancel it if the mail_folder_info is laterPeter Williams2001-08-231-0/+10
| | | | | | | | | | | | | | 2001-08-23 Peter Williams <peterw@ximian.com> * mail-folder-cache.c (maybe_update): Record the timeout_id so we can cancel it if the mail_folder_info is later freed. Also obviates the use of the _UPDATE_QUEUED flag. (mail_folder_cache_remove_folder): Cancel the timeout if we need to. Lock around the hash table operations. Free mfi itself. Add debugging spew. (get_folder_info): Initialiae the timeout_id to 0. svn path=/trunk/; revision=12417
* In the GUI, the toggle is labelled "hide addresses", not "show addresses"Jon Trowbridge2001-08-231-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-22 Jon Trowbridge <trow@ximian.com> * gui/contact-list-editor/e-contact-list-editor.c (extract_info): In the GUI, the toggle is labelled "hide addresses", not "show addresses" -- so we have to reverse the boolean value we read in. (fill_in_info): Same bug as before: since the GUI reads "hide", we have to initialize the toggle to '!show_addresses', not 'show_addresses'. * backend/ebook/e-destination.c (e_destination_list_show_addresses): Added. (e_destination_xml_encode): Encode the value of e_destination_list_show_addresses into the XML. (e_destination_xml_decode): Read and store the "show_addresses" flag. 2001-08-22 Jon Trowbridge <trow@ximian.com> * e-msg-composer-hdrs.c (set_recipients_from_destv): Added. Try to properly handle contact lists in which the addresses of the list members should be hidden. (e_msg_composer_hdrs_to_message): Changed to extract the destination data from the entries and pass it along to set_recipients_from_destv. 2001-08-22 Jon Trowbridge <trow@ximian.com> * mail-callbacks.c (ask_confirm_for_only_bcc): Provide alternative text for this dialog for the case when a message has only Bcc recipients because of a hidden contact list's addresses being moved from To/Cc to Bcc. (composer_get_message): Try to detect when our message has only Bcc recipients because of moving addresses around due to a hidden contact list, and show the dialog with the revised wording in this case. svn path=/trunk/; revision=12414
* Don't blindly make all vtrash folder types have a uri of vtrash:file:/,Jeffrey Stedfast2001-08-231-29/+37
| | | | | | | | | | 2001-08-22 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (create_view): Don't blindly make all vtrash folder types have a uri of vtrash:file:/, instead only make it use vtrash:file:/ if it's a file: uri, else use physical_uri. svn path=/trunk/; revision=12411
* emit an event from our event source (contact_editor_cb): emit a destroyjacob berkman2001-08-231-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-22 jacob berkman <jacob@ximian.com> * gui/component/e-address-popup.c (emit_event): emit an event from our event source (contact_editor_cb): emit a destroy event so our control frame can be destroyed. (edit_contact_info_cb): emit a hide event so our control frame can be hidden (e_address_popup_cardify): (add_contacts_cb): emit the destroy event (e_address_popup_factory_new_control): don't unref our object at widget destroy time as that was really really broken (e_address_popup_factory_new_control): create an event source and aggregate ourself with it * gui/contact-editor/e-contact-editor.c (enable_writable_fields): display a nicer warning when we can't find a widget for a given field (e_contact_editor_raise): only raise if there is a window * gui/contact-editor/contact-editor.glade: name some widgets that got unnamed, and set the first entry as defaultable * gui/contact-editor/e-contact-editor.c: envelope printing is disabled in 1.0 2001-08-22 jacob berkman <jacob@ximian.com> * mail-display.c: rework how the e-card-popup thing has its life managed. we now hide the window on the Hide event and destroy it on the Destroy event emitted from its event source svn path=/trunk/; revision=12402
* We don't need to escape this for printf'ing.Peter Williams2001-08-231-0/+5
| | | | | | | | | 2001-08-22 Peter Williams <peterw@ximian.com> * mail-send-recv.c (set_send_status): We don't need to escape this for printf'ing. svn path=/trunk/; revision=12394
* Prevent the user from creating two accounts with the same name.Peter Williams2001-08-221-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-22 Peter Williams <peterw@ximian.com> Prevent the user from creating two accounts with the same name. * mail-config.c (impl_GNOME_Evolution_MailConfig_addAccount): Abort if the account has the same name as another account. * mail-account-gui.c (mail_account_gui_save): Don't let the user save if the account has the same name as another account. * mail-config-druid.c (management_check): Disable the next button if the account name is the same as a preexisting account. (construct): The only part of 'pages' that was being used was the name. 'wizard_pages' now has the callbacks, while 'pages' is just an array of char *'s. (wizard_finish_cb): Save the account first because that's the right way, and try to honor mail_account_gui_save's return value. * mail-config.glade: Add a label noting that you're not allowed to create two accounts with the same name. svn path=/trunk/; revision=12384
* Check for NULL uic here as well. (fbui_sensitize_items): Up the timeoutPeter Williams2001-08-221-0/+6
| | | | | | | | | | 2001-08-22 Peter Williams <peterw@ximian.com> * folder-browser-ui.c (fbui_sensitize_timeout): Check for NULL uic here as well. (fbui_sensitize_items): Up the timeout interval to 110 ms. svn path=/trunk/; revision=12380
* Honor the return value of mail_account_gui_save.Peter Williams2001-08-221-0/+3
| | | | | | | | | 2001-08-21 Peter Williams <peterw@ximian.com> * mail-account-editor.c (apply_changes): Honor the return value of mail_account_gui_save. svn path=/trunk/; revision=12370
* Say which folder is getting saved.Peter Williams2001-08-221-0/+4
| | | | | | | | 2001-08-21 Peter Williams <peterw@ximian.com> * mail-ops.c (sync_folder_desc): Say which folder is getting saved. svn path=/trunk/; revision=12360
* Don't trust gnome-vfs when it says "text/plain" ifDan Winship2001-08-221-0/+9
| | | | | | | | | | | * mail-identify.c (mail_identify_mime_part): Don't trust gnome-vfs when it says "text/plain" if gnome_vfs_mime_type_from_name says something different. Fixes a problem with recognizing icalendar attachments labeled "application/octet-stream". Also, don't bother asking gnome-vfs about winmail.dat attachments, since it will often claim that they're MPEGs due to some mis-magic. svn path=/trunk/; revision=12357
* zero-ize the password before freeing. (forget_password): Same.Jeffrey Stedfast2001-08-221-0/+6
| | | | | | | | | | 2001-08-21 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (mail_session_forget_password): zero-ize the password before freeing. (forget_password): Same. svn path=/trunk/; revision=12350
* Don't sink the extras since _set_folder can get called more than once (onPeter Williams2001-08-221-0/+4
| | | | | | | | | | 2001-08-21 Peter Williams <peterw@ximian.com> * message-list.c (message_list_set_folder): Don't sink the extras since _set_folder can get called more than once (on reconfigure.) (message_list_destroy): So just unref the extras here. svn path=/trunk/; revision=12345
* Treat the spool provider like IMAP: update instead of performing anPeter Williams2001-08-221-0/+5
| | | | | | | | | 2001-08-21 Peter Williams <peterw@ximian.com> * mail-send-recv.c (build_dialogue): Treat the spool provider like IMAP: update instead of performing an explicit receive. svn path=/trunk/; revision=12344
* Rename to fbui_real_sensitize_items. Now we queue a change and set up aPeter Williams2001-08-221-0/+18
| | | | | | | | | | | | | | | | | | | | | | 2001-08-21 Peter Williams <peterw@ximian.com> * folder-browser-ui.c (fbui_sensitize_items): Rename to fbui_real_sensitize_items. Now we queue a change and set up a timeout, making sure weed out redundant changes, fixing flicker. (fbui_sensitize_timeout): New function. The timeout. (fbui_real_sensitize_items): Semi-new function. Rename of old fbui_sensitize_items. (folder_browser_ui_set_selection_state): Pass the FB instead of only the UIC to sensitize_items. (folder_browser_ui_message_loaded): Same. * folder-browser.c (folder_browser_destroy): Kill the new timeout if it is registered. * folder-browser.h: Add some members to FolderBrowser for keeping track of the queue of changes. svn path=/trunk/; revision=12343
* Fix jumpingIain Holmes2001-08-211-0/+4
| | | | svn path=/trunk/; revision=12329
* Fix double-unref of the store.Peter Williams2001-08-211-0/+4
| | | | | | | | 2001-08-20 Peter Williams <peterw@ximian.com> * mail-ops.c (remove_folder_get): Fix double-unref of the store. svn path=/trunk/; revision=12326
* Modify the url and set the protocol to mbox rather than hacking it andJeffrey Stedfast2001-08-211-0/+10
| | | | | | | | | | | | | | 2001-08-20 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (create_folder): Modify the url and set the protocol to mbox rather than hacking it and prepending mbox: to the uri. * mail-local.c (get_folder): Don't prepend the folder_name with the store's path because the hash key is folder_name, not /folder_name. svn path=/trunk/; revision=12325
* Fix the wording on some labels.Iain Holmes2001-08-211-0/+10
| | | | | | Stop hiding the source and transport pages. svn path=/trunk/; revision=12324
* Move the ChangeFolderProperties into the ComponentPlaceholder. Add aEttore Perazzoli2001-08-211-0/+6
| | | | | | | | | | | | | | * evolution-mail-list.xml: Move the ChangeFolderProperties into the ComponentPlaceholder. Add a separator on the top. * evolution.xml: Remove the separator above the component placeholder here. * folder-browser-ui.c (folder_browser_setup_property_menu): Updated as ChangeFolderProperties is now in the ComponentPlaceholder. svn path=/trunk/; revision=12323
* Whoops, make sure that the account has a source before removing it orPeter Williams2001-08-201-0/+3
| | | | | | | | | 2001-08-20 Peter Williams <peterw@ximian.com> * mail-accounts.c (mail_able): Whoops, make sure that the account has a source before removing it or what-have-you. svn path=/trunk/; revision=12310
* Add a few comments.Peter Williams2001-08-201-0/+4
| | | | | | | | 2001-08-20 Peter Williams <peterw@ximian.com> * subscribe-dialog.c: Add a few comments. svn path=/trunk/; revision=12289
* use new small trash icon for Delete command.Damon Chaplin2001-08-201-0/+4
| | | | | | | | 2001-08-20 Damon Chaplin <damon@ximian.com> * folder-browser-ui.c: use new small trash icon for Delete command. svn path=/trunk/; revision=12283
* s/Synchronising/Synchronizing/.Ettore Perazzoli2001-08-201-0/+4
| | | | | | * mail-ops.c (sync_folder_desc): s/Synchronising/Synchronizing/. svn path=/trunk/; revision=12270
* camel_folder_create_folder can now return a heirachial tree so subscribeJeffrey Stedfast2001-08-201-0/+6
| | | | | | | | | | 2001-08-20 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (storage_create_folder): camel_folder_create_folder can now return a heirachial tree so subscribe to down the tree. svn path=/trunk/; revision=12257
* use new Cut/Copy/Paste icons.Damon Chaplin2001-08-201-0/+4
| | | | | | | | 2001-08-20 Damon Chaplin <damon@ximian.com> * folder-browser-ui.c: use new Cut/Copy/Paste icons. svn path=/trunk/; revision=12248
* Added display_name and description to the type.Ettore Perazzoli2001-08-201-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-test-component.c: Added display_name and description to the type. * evolution-shell-component.c (impl__get_supported_types): Pass `display_name' and `description' here. (evolution_shell_component_construct): Likewise. * evolution-shell-component.h: New members `display_name', `description' in `EvolutionShellComponentFolderType'. * e-component-registry.c (register_type): New args @description and @display_name. Pass to `e_folder_type_registry_register_type()'. (register_component): Pass the values returned in the sequence from __get_supported_types. * e-folder-type-registry.c: New members `display_name' and `description' in `struct _FolderType'. (folder_type_new): New args @description and @display_name. Initialize the respective fields in the `FolderType' accordingly. (folder_type_free): Free `display_name' and `description'. (register_folder_type): New args @display_name, @description. (e_folder_type_registry_register_type): New args @display_name, @description. (e_folder_type_registry_get_description_for_type): New. (e_folder_type_registry_get_display_name_for_type): New. * Evolution-ShellComponent.idl: Added `display_name' and `description' fields to the `FolderType' struct. svn path=/trunk/; revision=12245
* Allow the activity to be NULL if there isn't a global_shell_client so thatJeffrey Stedfast2001-08-201-0/+15
| | | | | | | | | | | | | | | | | | 2001-08-19 Jeffrey Stedfast <fejj@ximian.com> * mail-mt.c (do_op_status): Allow the activity to be NULL if there isn't a global_shell_client so that we don't try and report status updates when the shell is destroyed. * mail-config.c (add_shortcut_entry): Return if there isn't a global_shell_client. * component-factory.c (owner_set_cb): set the global_shell_client here and connect to the destroy signal. * mail-vfolder.c (vfolder_create_storage): Use an extern global_shell_client. svn path=/trunk/; revision=12242
* Just wanted to mention, this fixes Ximian bug #6995.Chris Lahey2001-08-201-1/+2
| | | | svn path=/trunk/; revision=12237
* Made delete make the cursor go backwards if the user is sorting byChristopher James Lahey2001-08-201-0/+5
| | | | | | | | | 2001-08-19 Christopher James Lahey <clahey@ximian.com> * mail-callbacks.c (delete_msg): Made delete make the cursor go backwards if the user is sorting by descending date. svn path=/trunk/; revision=12236
* Note: The following changes were based on Zbigniew Chyla's fixes.Jeffrey Stedfast2001-08-201-0/+2
| | | | | | | | | | | | 2001-08-19 Jeffrey Stedfast <fejj@ximian.com> Note: The following changes were based on Zbigniew Chyla's fixes. * mail-callbacks.c (mail_generate_reply): Convert the date string to UTF-8. (do_forward_non_attached): Same here. svn path=/trunk/; revision=12231
* Convert the date string to UTF-8. (do_forward_non_attached): Same here.Jeffrey Stedfast2001-08-201-0/+6
| | | | | | | | | | 2001-08-19 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): Convert the date string to UTF-8. (do_forward_non_attached): Same here. svn path=/trunk/; revision=12222
* Added missing #include <config.h>. (applied by Damon)Zbigniew Chyla2001-08-191-0/+4
| | | | | | | | 2001-08-05 Zbigniew Chyla <cyba@gnome.pl> * folder-info.c: Added missing #include <config.h>. (applied by Damon) svn path=/trunk/; revision=12210
* Change the default values for "always-sign" to false.Jeffrey Stedfast2001-08-191-0/+8
| | | | | | | | | | | | 2001-08-18 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (config_read): Change the default values for "always-sign" to false. * mail-callbacks.c (open_msg): if the folder is Outbox, let the user edit the message(s) too I guess. svn path=/trunk/; revision=12208
* Change pixtype of "MessageDelete" to "pixbuf".Ettore Perazzoli2001-08-191-0/+4
| | | | | | | | | | | * evolution-mail-message.xml: Change pixtype of "MessageDelete" to "pixbuf". * folder-browser-ui.c: Hook the new `delete-message.png' up. * Makefile.am (buttons_DATA): Added `delete-message.png'. svn path=/trunk/; revision=12204
* stop signal emission so the GtkButton class method doesn't mess up theDamon Chaplin2001-08-181-0/+5
| | | | | | | | | 2001-08-17 Damon Chaplin <damon@ximian.com> * mail-display.c (pixmap_press): stop signal emission so the GtkButton class method doesn't mess up the popup menu. Hopefully fixes bug #1828. svn path=/trunk/; revision=12192
* Put _() instead of N_() around of the "Search" string,Zbigniew Chyla2001-08-181-0/+6
| | | | | | | | | | 2001-08-17 Zbigniew Chyla <cyba@gnome.pl> * mail-search.c (mail_search_construct): Put _() instead of N_() around of the "Search" string, gnome_dialog_constructv doesn't translate button names. svn path=/trunk/; revision=12183
* We want wax-seal.png instead, since I added the png files to cvs andJeffrey Stedfast2001-08-181-1/+8
| | | | | | | | | | 2001-08-17 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_write_authenticity): We want wax-seal.png instead, since I added the png files to cvs and renamed it to wax-seal.png. svn path=/trunk/; revision=12180
* Compile fixesIain Holmes2001-08-181-0/+4
| | | | svn path=/trunk/; revision=12172
* don't init the config hereJP Rosevear2001-08-181-0/+6
| | | | | | | | | | 2001-08-17 JP Rosevear <jpr@ximian.com> * component-factory.c (owner_set_cb): don't init the config here * main.c (main): init the config here svn path=/trunk/; revision=12166
* remove dead structureJP Rosevear2001-08-181-0/+4
| | | | | | | | 2001-08-17 JP Rosevear <jpr@ximian.com> * mail-config-druid.c: remove dead structure svn path=/trunk/; revision=12159
* Save the always-sign options for pgp and smime. (config_read): Read in theJeffrey Stedfast2001-08-181-0/+6
| | | | | | | | | | 2001-08-17 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_write): Save the always-sign options for pgp and smime. (config_read): Read in the always-save options for pgp and smime. svn path=/trunk/; revision=12156
* Made the default values for column expansions here more reasonable.Christopher James Lahey2001-08-171-0/+5
| | | | | | | | | 2001-08-17 Christopher James Lahey <clahey@ximian.com> * message-list.etspec: Made the default values for column expansions here more reasonable. svn path=/trunk/; revision=12149
* Startup assistant stuffIain Holmes2001-08-171-0/+19
| | | | svn path=/trunk/; revision=12145
* Only starting cutting the signature out when we match "-- \n", so "--\n"Jason Leach2001-08-171-0/+6
| | | | | | | | | | 2001-08-16 Jason Leach <jleach@ximian.com> * mail-tools.c (mail_tool_quote_message): Only starting cutting the signature out when we match "-- \n", so "--\n" in the middle of a mail won't omit the rest for a quoted reply. Bug #7454. svn path=/trunk/; revision=12143
* Respect the user's desire to be prompted to confirm that he wants toJeffrey Stedfast2001-08-171-0/+17
| | | | | | | | | | | | | | | | | | | | | 2001-08-16 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (confirm_expunge): Respect the user's desire to be prompted to confirm that he wants to expunge the blasted folder. Also, don't set the usize - that's just an evil hack and you may find it will cut off text once the label has been translated. (create_msg_composer): In order for the security options to be checked when composing a new message, we must set the from account explicitly even though the composer hdrs sets the default from account and emits the signal because at that stage the composer hasn't yet connected to the signals and thus the bonobo menu items don't get set. * mail-config.c (mail_config_set_confirm_expunge): New. (mail_config_get_confirm_expunge): New. svn path=/trunk/; revision=12141
* Sort the nodes here... (fe_sort_folder): ... using this function.Peter Williams2001-08-171-0/+8
| | | | | | | | | | | | 2001-08-16 Peter Williams <peterw@ximian.com> * subscribe-dialog.c (fe_got_children): Sort the nodes here... (fe_sort_folder): ... using this function. * folder-browser-ui.c (folder_browser_ui_message_loaded): Check for uic == NULL. I'm not sure how this could happen, but... svn path=/trunk/; revision=12130
* Disable "Search Message" when more or less than exactly one message isPeter Williams2001-08-171-0/+3
| | | | | | | | | 2001-08-16 Peter Williams <peterw@ximian.com> * folder-browser-ui.c (folder_browser_ui_set_selection_state): Disable "Search Message" when more or less than exactly one message is selected. svn path=/trunk/; revision=12112
* (fe_node_to_shell_path): Use node->name and node->full_name to generatePeter Williams2001-08-171-1/+6
| | | | | | | | | | | | 2001-08-16 Peter Williams <peterw@ximian.com> (fe_node_to_shell_path): Use node->name and node->full_name to generate the the shell path of this item. Don't need to escape the URL, and handle cases when dir_sep != '/' (fe_done_subscribing): Use fe_node_to_shell_path instead of the CamelURL. Third time's the charm... svn path=/trunk/; revision=12101
* Instead of hackfully getting the path, use a CamelURL so that escaping isPeter Williams2001-08-161-0/+6
| | | | | | | | | | 2001-08-16 Peter Williams <peterw@ximian.com> * subscribe-dialog.c (fe_done_subscribing): Instead of hackfully getting the path, use a CamelURL so that escaping is handled. Silly me. svn path=/trunk/; revision=12090
* Remove some stray cvs collision markers.Jon Trowbridge2001-08-161-4/+0
| | | | svn path=/trunk/; revision=12082
* Remember the filename is in utf8, so use the e_utf8 functions to set theJeffrey Stedfast2001-08-161-0/+7
| | | | | | | | | | 2001-08-15 Jeffrey Stedfast <fejj@ximian.com> * mail-display.c (save_part): Remember the filename is in utf8, so use the e_utf8 functions to set the filename in the file selection dialog. svn path=/trunk/; revision=12076
* Always remove the idle and return FALSE, instead of returning TRUE if morePeter Williams2001-08-161-0/+6
| | | | | | | | | | 2001-08-15 Peter Williams <peterw@ximian.com> * message-list.c (on_cursor_activated_idle): Always remove the idle and return FALSE, instead of returning TRUE if more than one message is selected. svn path=/trunk/; revision=12075
* Stop building the quote after a sigdash, hence, omitting the signatureJason Leach2001-08-161-0/+6
| | | | | | | | | | 2001-08-15 Jason Leach <jleach@ximian.com> * mail-tools.c (mail_tool_quote_message): Stop building the quote after a sigdash, hence, omitting the signature from a reply/forward. Bug #5529. svn path=/trunk/; revision=12074
* Re-added, at Ettore's request, the confirm-expunge dialog.Anna Marie Dirks2001-08-161-1/+115
| | | | | | | | | 2001-08-15 Anna Marie Dirks <anna@ximian.com> * mail-callbacks.c (expunge-folders): Re-added, at Ettore's request, the confirm-expunge dialog. svn path=/trunk/; revision=12071
* Use ALWAYS for scroll frame policy because ETable acts lame withJason Leach2001-08-161-151/+10
| | | | | | | | | 2001-08-15 Jason Leach <jleach@ximian.com> * message-list.c (message_list_init): Use ALWAYS for scroll frame policy because ETable acts lame with AUTOMATIC. Bug #6925. svn path=/trunk/; revision=12061
* Don't confirm expunge.Not Zed2001-08-151-0/+4
| | | | | | | | 2001-08-16 Not Zed <NotZed@Ximian.com> * mail-callbacks.c (expunge_folder): Don't confirm expunge. svn path=/trunk/; revision=12053
* gets rid of those annoying operation-re-registered messages at last.Not Zed2001-08-151-0/+8
| | | | | | | | | | | | 2001-08-15 Not Zed <NotZed@Ximian.com> * mail-local.c (register_folder_register): Remove operation registration/etc. Handled by mail-mt.c * message-list.c (regen_list_regen): Remove camel operation registration/etc. svn path=/trunk/; revision=12041
* Convert the UTF-8 account name string into a gtk-string before using it inJeffrey Stedfast2001-08-151-0/+5
| | | | | | | | | 2001-08-14 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (load_accounts): Convert the UTF-8 account name string into a gtk-string before using it in the GtkCList. svn path=/trunk/; revision=12036
* Make previous unread wrap around too.Peter Williams2001-08-151-0/+3
| | | | | | | | | 2001-08-14 Peter Williams <peterw@ximian.com> * mail-callbacks.c (previous_unread_msg): Make previous unread wrap around too. svn path=/trunk/; revision=12029
* If the account is enabled, set a checkmark pixmap instead of a strangePeter Williams2001-08-151-0/+9
| | | | | | | | | | | | | 2001-08-14 Peter Williams <peterw@ximian.com> * mail-accounts.c (load_accounts): If the account is enabled, set a checkmark pixmap instead of a strange plus sign. (mail_accounts_dialog_init): Load the pixmap here. (mail_accounts_dialog_finalise): Free it here. * mail-accounts.h: Prototype it here. svn path=/trunk/; revision=12017
* Fix bug #215... desensitize menu items based on the number of selectedPeter Williams2001-08-141-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-09 Peter Williams <peterw@ximian.com> Fix bug #215... desensitize menu items based on the number of selected messages (and whether there's a message in the pane) * folder-browser-ui.c (folder_browser_ui_add_message): Sensitize the menu items appropriately based on the old state. (fbui_sensitize_items): New function. Set the sensitivity of a list of commands. (folder_browser_ui_set_selection_state): New function. Move the FB to a new state of selected-ness, and sensitize menu items appropriately. (folder_browser_ui_message_loaded): New function. When notified that a message has been loaded, sensitize some menu items. * folder-browser-ui.h: Prototype new functions. * folder-browser.h: New enumeration, FolderBrowserSelectionState, that records the previous state of the selection (_NONE, _SINGLE, _MULTIPLE). * folder-browser.c (got_folder): If the component is set, set our selection state to _NONE, because that's the default state of the ETree. (on_selection_changed): When the number of selected messages is updated, notify the FBUI code of our new state. (folder_browser_gui_init): Hook up to the selection_changed signal and default to the _NONE selection state. (done_message_selected): Notify when a message is loaded. 2001-08-08 Peter Williams <peterw@ximian.com> * mail-folder-cache.c: Display how many messages are selected, too. (make_folder_status): If multiple messages are selected, add that to the string (the 0 and 1 cases are boring) (selection_changed): New function, update the selected count. (mail_folder_cache_note_fb): Connect to the selection_changed signal. svn path=/trunk/; revision=12012
* Fix the fix for #6722.Dan Winship2001-08-141-0/+10
| | | | | | | | | | | | * folder-browser.c (message_list_drag_data_get): Fix the fix for #6722. * mail-ops.c (save_messages_save): Likewise. (save_part_save): Deal with the possibility that camel_mime_filter_charset_new_convert will return NULL (bad charset name). Fixes #6611. svn path=/trunk/; revision=12008
* Disable the "search forward/backward" option in the search dialog. Why?Jon Trowbridge2001-08-141-0/+11
| | | | | | | | | | | | | | | 2001-08-13 Jon Trowbridge <trow@ximian.com> * mail-search.c (mail_search_construct): Disable the "search forward/backward" option in the search dialog. Why? Well, it doesn't work properly (bug #4869), and the reason it doesn't work is because of some scary stuff deep inside of gtkhtml that I don't understand at all. So since I'm paranoid, and since the GUI freeze is tomorrow, and since it isn't really an important feature at all, I'm #if 0-ing it out. If the gtkhtml stuff gets sorted out, we can slip it back in for 1.1. svn path=/trunk/; revision=11985
* New function, handle "user creatable items". (component_fn): Tell thePeter Williams2001-08-141-0/+7
| | | | | | | | | | | 2001-08-13 Peter Williams <peterw@ximian.com> * component-factory.c (user_create_new_item_cb): New function, handle "user creatable items". (component_fn): Tell the shell that we're capable of creating mail messages. svn path=/trunk/; revision=11965
* Fix this so it can actually get folders from the hash of folders on theJason Leach2001-08-141-0/+19
| | | | | | | | | | | | | | | | | | | | | | | 2001-08-13 Jason Leach <jleach@ximian.com> * mail-local.c (get_folder): Fix this so it can actually get folders from the hash of folders on the local store (it was looking up plain @folder_name, which is typically "mbox", instead of the full URI, /home/jleach/evolution/local/Foo/mbox). * component-factory.c (do_remove_folder): Rename to remove_folder_done, more fitting for it's purpose. (do_xfer_folder): Similar name change. (do_create_folder): Similar name change. (remove_folder): Don't notifyResult for the component here, we will notify with our result in remove_folder_done. (xfer_folder): Ditto. * mail-vfolder.c (vfolder_refresh): Create new folders with unread counts of "0" instead of #FALSE (which just happens to be #defined as zero). svn path=/trunk/; revision=11964
* Break most of the functionality into a separate function.Peter Williams2001-08-141-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-13 Peter Williams <peterw@ximian.com> * mail-send-recv.c (mail_autoreceive_setup): Break most of the functionality into a separate function. (autoreceive_setup_list): Rename of mail_autoreceive_setup that is passed a list of accounts. (mail_autoreceive_setup_account): New function. Set up a single account using autoreceive_setup_account. * mail-send-receive.h: Prototype mail_autoreceive_setup_account. * mail-account-gui.c (mail_account_gui_save): Instead of setting up all accounts, set up only this source with the new mail_autoreceive_setup_account. * mail-config-druid.c (druid_finish): ... which means we can call mail_config_add_account() after the MailConfigAccount has been created by mail_account_gui_save() because we no longer need the account to be in the list for mail_autoreceive_setup() * mail-config.c (mail_config_add_account): ... which means we can possibly add a shortcut to the account's sources's Inbox here. (maybe_add_shortcut): New function. If the store is a storage, add a shortcut to its inbox. Hope that /INBOX exists. (add_shortcut_entry): New function. Creates a shortcut if it doesn't yet exist. 2001-08-13 Peter Williams <peterw@ximian.com> * mail-account-gui.c (service_complete): Take account of the fact that service->path may be NULL (if service is a transport.) * mail-config-druid.c (druid_finish): Bleah, bugfix in case the account has no source. svn path=/trunk/; revision=11961
* Changed all instances of "Wizard" and "Druid" to "Assistant".Anna Marie Dirks2001-08-141-1/+7
| | | | | | | | | | 2001-08-13 Anna Marie Dirks <anna@ximian.com> * mail-config.glade: Changed all instances of "Wizard" and "Druid" to "Assistant". * mail-config-druid.c: Ditto. svn path=/trunk/; revision=11960
* Do some g_assert() action. Make sure that the node passed in is non-NULLJeffrey Stedfast2001-08-141-0/+7
| | | | | | | | | | | | 2001-08-13 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (get_message_uid): Do some g_assert() action. Make sure that the node passed in is non-NULL and also make sure that the CamelMessageInfo gotten from the ETree is non-NULL. (get_message_info): Same here. svn path=/trunk/; revision=11959
* Changed the title of the Mail Settings dialog from "Evolution AccountAnna Marie Dirks2001-08-141-0/+5
| | | | | | | | 2001-08-13 Anna Marie Dirks <anna@ximian.com> * mail-accounts.c: Changed the title of the Mail Settings dialog from "Evolution Account Manager" to "Mail Settings" . svn path=/trunk/; revision=11957
* Confirm that the user really wants to expunge. (save_msg_ok): Set theJeffrey Stedfast2001-08-141-0/+6
| | | | | | | | | | 2001-08-13 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (expunge_folder): Confirm that the user really wants to expunge. (save_msg_ok): Set the parent window here. svn path=/trunk/; revision=11949
* Remove the shortcuts corresponding to an account (they all point toPeter Williams2001-08-141-0/+8
| | | | | | | | | | | | 2001-08-13 Peter Williams <peterw@ximian.com> * mail-config.c (remove_account_shortcuts): Remove the shortcuts corresponding to an account (they all point to evolution:/accountname/..) (mail_config_remove_account): When deleting the account, remove its shortcuts. svn path=/trunk/; revision=11948
* Whoa, fatal typo. Sorry.Peter Williams2001-08-141-0/+4
| | | | | | | | 2001-08-10 Peter Williams <peterw@ximian.com> * mail-config-druid.c (druid_finish): Whoa, fatal typo. Sorry. svn path=/trunk/; revision=11945
* Tell folder cache the path for our Trash is /Trash, because that's whatJason Leach2001-08-131-0/+6
| | | | | | | | | | 001-08-13 Jason Leach <jleach@ximian.com> * mail-local.c (init_trash): Tell folder cache the path for our Trash is /Trash, because that's what Shell needs to hear for updating folders. svn path=/trunk/; revision=11940
* Set the session as online so auto mail checking (and the composer) will beJason Leach2001-08-121-0/+4
| | | | | | | | | | 2001-08-11 Jason Leach <jleach@ximian.com> * mail-offline-handler.c (impl_goOnline): Set the session as online so auto mail checking (and the composer) will be doing the right things when you go online. Bug #6343 and #4601. svn path=/trunk/; revision=11928
* Make the right click "Resend..." into "Edit as New Message...", bug #6838.Jason Leach2001-08-121-0/+3
| | | | | | | | | 2001-08-11 Jason Leach <jleach@ximian.com> * folder-browser.c: Make the right click "Resend..." into "Edit as New Message...", bug #6838. svn path=/trunk/; revision=11927
* Remove unecessary #include <camel.h>Jason Leach2001-08-121-0/+7
| | | | | | | | | | | 2001-08-11 Jason Leach <jleach@ximian.com> * mail-accounts.h: Remove unecessary #include <camel.h> * mail.h: Removed a prototype for a non-existant mail_view_create(). svn path=/trunk/; revision=11925
* Fix bug #4523 for good. (save_service): If service->authitem is NULL, thenJeffrey Stedfast2001-08-111-0/+7
| | | | | | | | | | | 2001-08-10 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (build_auth_menu): Fix bug #4523 for good. (save_service): If service->authitem is NULL, then the user tried to enable authentication but the provider doesn't actually support it. svn path=/trunk/; revision=11905
* Removed comment about the need to resolve nicknames properly, because weJon Trowbridge2001-08-111-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-10 Jon Trowbridge <trow@ximian.com> * e-msg-composer-hdrs.c (set_recipients): Removed comment about the need to resolve nicknames properly, because we now do that. 2001-08-10 Jon Trowbridge <trow@ximian.com> * e-filter-bar.h: Set the subitems to NULL in the pre-defined ESearchBarItems. * e-filter-bar.c (rule_editor_clicked): Set the ESearchBarItem's subitems to NULL. (build_items): Set the ESearchBarItem's subitems to NULL. (e_filter_bar_new): Set the ESearchBarItem's subitems to NULL. * e-search-bar.c: Added support for subitems, so that a search option can key off of another option menu rather than just an entry. 2001-08-10 Jon Trowbridge <trow@ximian.com> * gui/component/addressbook.c: Set the ESearchBarItem subitems explicitly to NULL. 2001-08-10 Jon Trowbridge <trow@ximian.com> * gui/cal-search-bar.c: Where we have ESearchBarItems, set their subitems to NULL. 2001-08-10 Jon Trowbridge <trow@ximian.com> * folder-browser.c: Set our ESearchBarItems subitems to NULL. svn path=/trunk/; revision=11904
* Prepend the uri with evolution: to fix bug #6916.Jeffrey Stedfast2001-08-111-0/+5
| | | | | | | | | 2001-08-10 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (transfer_msg): Prepend the uri with evolution: to fix bug #6916. svn path=/trunk/; revision=11903
* Make the context menu for the Sent folder have "Resend..." instead ofJason Leach2001-08-111-0/+5
| | | | | | | | | | | 2001-08-10 Jason Leach <jleach@ximian.com> * folder-browser.c: Make the context menu for the Sent folder have "Resend..." instead of "Resend", to clarify that it will bring up a dialog needing your input rather than just blindly sending the message again. Also give it the 'e' accelerator. Bug #6838. svn path=/trunk/; revision=11901
* Since 'N' keypresses go through here now, use wrap-around selecting.Jason Leach2001-08-111-0/+11
| | | | | | | | | | | | | | | 2001-08-10 Jason Leach <jleach@ximian.com> * mail-callbacks.c (next_unread_msg): Since 'N' keypresses go through here now, use wrap-around selecting. (previous_unread_msg): Same for 'P' here. * message-list.c (on_cursor_activated_idle): Stop this idle timer when we have multiple items selected, this keeps it from loading and then marking the last item in your selection list as read. Bug #4693. svn path=/trunk/; revision=11895
* Don't remove the account from the tree if it's not enabled.Peter Williams2001-08-111-0/+5
| | | | | | | | | 2001-08-10 Peter Williams <peterw@ximian.com> * mail-accounts.c (mail_delete): Don't remove the account from the tree if it's not enabled. svn path=/trunk/; revision=11894
* Remove all the messages from a folder that's being deleted before actuallyJason Leach2001-08-111-0/+13
| | | | | | | | | | | | | | | | | 2001-08-10 Jason Leach <jleach@ximian.com> * mail-ops.c (remove_folder_get): Remove all the messages from a folder that's being deleted before actually doing the camel_store_delete_folder, so it won't leave behind an mbox file that's going to prevent the actual directory from being deleted, and strange effects like new folders with the same name being made in it's place. Bug #5618. * mail-folder-cache.c (mail_folder_cache_remove_folder): New function, a way to get something out of the folder cache, like folders being deleted. Bug #6878. svn path=/trunk/; revision=11887
* Whoops, compile fix.Peter Williams2001-08-111-0/+4
| | | | | | | | 2001-08-10 Peter Williams <peterw@ximian.com> * mail-accounts.c (news_add_destroyed): Whoops, compile fix. svn path=/trunk/; revision=11884
* If marking messages as unread, remove the automatic mark-as-read timer.Jason Leach2001-08-111-1/+5
| | | | | | | | | 2001-08-10 Jason Leach <jleach@ximian.com> * mail-callbacks.c (mark_as_unseen): If marking messages as unread, remove the automatic mark-as-read timer. Bug #4153. svn path=/trunk/; revision=11882
* Don't load the storage if it isn't enabled. (mail_remove_storage_by_uri):Peter Williams2001-08-111-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-08 Peter Williams <peterw@ximian.com> * component-factory.c (mail_load_storages): Don't load the storage if it isn't enabled. (mail_remove_storage_by_uri): New function. Goes through the gymnastics of getting a CamelStore from the URI and calling mail_remove_storage. Copied from mail_delete(). (mail_load_storage_by_uri): Break out the storage-loading part of mail_load_storages into a single function. (mail_load_storages): Just call mail_load_storage_by_uri several times. * mail.h: Prototype our new _by_uri functions. * mail-accounts.c (news_add_destroyed): Instead of hacking around mail_load_storages, call mail_load_storage_by_uri. (mail_delete): Move this chunk of code into mail_remove_storage_by_uri. (mail_able): Add or remove the storage as necessary, with our new _by_uri functions. * mail-config-druid.c (druid_finish): See news_add_destroyed above. svn path=/trunk/; revision=11881
* Free dbkey if we don't use it.Jeffrey Stedfast2001-08-101-0/+3
| | | | | | | | | | | | | | | | | | | 2001-08-10 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_get_show_preview): Free dbkey if we don't use it. * folder-browser.c (on_right_click): Added a comment about leaking memory here, but we seem to not even use the 2 strings we strdup...is this code still under construction? * mail-ops.c (mail_send_message): Free the sent_folder_uri at the bottom of the function (ironically enough we were freeing it if we encountered an error but never free'd it on success :-) (get_folderinfo_got): Fixed a memory leak...this one would have gone away once we got rid of the debug g_warning though. svn path=/trunk/; revision=11874
* Added a comment about leaking memory here, but we seem to not even use theJeffrey Stedfast2001-08-101-0/+12
| | | | | | | | | | | | | | | | 2001-08-10 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (on_right_click): Added a comment about leaking memory here, but we seem to not even use the 2 strings we strdup...is this code still under construction? * mail-ops.c (mail_send_message): Free the sent_folder_uri at the bottom of the function (ironically enough we were freeing it if we encountered an error but never free'd it on success :-) (get_folderinfo_got): Fixed a memory leak...this one would have gone away once we got rid of the debug g_warning though. svn path=/trunk/; revision=11868
* Dont want it to keep on running if it got bad arguments, want it to bloodyNot Zed2001-08-101-0/+7
| | | | | | | | | | 2001-08-10 Not Zed <NotZed@Ximian.com> * mail-ops.c (mail_transfer_messages): Dont want it to keep on running if it got bad arguments, want it to bloody well crash. (mail_append_mail): Same here. svn path=/trunk/; revision=11865
* in mail:Peter Williams2001-08-101-0/+1
| | | | | | | | | | | | | | | | | | 2001-08-09 Peter Williams <peterw@ximian.com> [ * folder-browser.c (on_key_press): The bonobo menu items now handle 'n' and 'p'. ] (on_key_press): 'q' as well. in ui: 2001-08-09 Peter Williams <peterw@ximian.com> * evolution-mail-global.xml: Give the (pre)view pane toggle an accelerator of 'q', like we were implementing the hard manual way before. svn path=/trunk/; revision=11858
* Added a g_assert_not_reached() - I'm hoping this will help us track downJeffrey Stedfast2001-08-101-2/+10
| | | | | | | | | | | | 2001-08-09 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (mlfe_callback): Added a g_assert_not_reached() - I'm hoping this will help us track down the "can't delete message sometimes" (ie bug #6637 and friends) bugs that users have been reporting. If herein lies the problem, then we can expect some crashes and some good backtraces, hopefully. svn path=/trunk/; revision=11854
* The bonobo menu items now handle 'n' and 'p'.Peter Williams2001-08-101-0/+3
| | | | | | | | | 2001-08-09 Peter Williams <peterw@ximian.com> * folder-browser.c (on_key_press): The bonobo menu items now handle 'n' and 'p'. svn path=/trunk/; revision=11853
* Fix inline documentation.Peter Williams2001-08-101-0/+4
| | | | | | | | 2001-08-09 Peter Williams <peterw@ximian.com> * message-list.c (message_list_select): Fix inline documentation. svn path=/trunk/; revision=11852
* Fixes bug #6918Anna Marie Dirks2001-08-101-0/+7
| | | | | | | | | | | 2001-08-09 Anna Marie Dirks <anna@ximian.com> Fixes bug #6918 * folder-browser.c: Changed the "Store search as vFolder" menu item to "Create vFolder from Search". svn path=/trunk/; revision=11848
* Fixes bug #6722Jeffrey Stedfast2001-08-101-0/+10
| | | | | | | | | | | | | | 2001-08-09 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #6722 * mail-ops.c (save_messages_save): Don't set the default perms here, let the user's umask deal with permissions. * folder-browser.c (message_list_drag_data_get): Don't set any default perms. svn path=/trunk/; revision=11842
* Save the pgp and smime always-sign options.Jeffrey Stedfast2001-08-101-0/+8
| | | | | | | | | | | | 2001-08-09 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_save): Save the pgp and smime always-sign options. * mail-config.c (account_copy): Copy the always-sign options over too. svn path=/trunk/; revision=11841
* Remove the "Customize Toolbar" thing.Ettore Perazzoli2001-08-091-0/+5
| | | | | | | * message-browser.c (set_bonobo_ui): Remove the "Customize Toolbar" thing. svn path=/trunk/; revision=11825
* Dont double-register this operation, mail-mt will do it for us.Not Zed2001-08-091-0/+15
| | | | | | | | | | | | | | | | | | | 2001-08-08 Not Zed <NotZed@Ximian.com> * mail-ops.c (send_mail_send): Dont double-register this operation, mail-mt will do it for us. (get_folderinfo_get): " (get_folder_get): " (get_store_get): " (create_folder_get): " (remove_folder_get): " (sync_folder_sync): " (get_message_get): " * message-list.c (message_list_setup_etree): Free the etstate object after we're done using it. svn path=/trunk/; revision=11813
* New function. Set the sensitivity of the subscribe buttons based onPeter Williams2001-08-091-0/+8
| | | | | | | | | | | | 2001-08-08 Peter Williams <peterw@ximian.com> * subscribe-dialog.c (sc_selection_changed): New function. Set the sensitivity of the subscribe buttons based on whether any folders are selected. (menu_item_selected): If getting the widget for the first time, hook up sc_selection_changed. svn path=/trunk/; revision=11800
* [ Change this gtk_object_ref on the storage to a bonobo_object_ref ]Peter Williams2001-08-091-0/+4
| | | | | | | | | | | | 2001-08-08 Peter Williams <peterw@ximian.com> [ Change this gtk_object_ref on the storage to a bonobo_object_ref ] * component-factory.c (mail_lookup_storage): And here. * mail-vfolder.c (mail_vfolder_get_vfolder_storage): And here. svn path=/trunk/; revision=11791
* Change this gtk_object_ref on the storage to a bonobo_object_ref.Peter Williams2001-08-081-0/+5
| | | | | | | | | 2001-08-08 Peter Williams <peterw@ximian.com> * mail-ops.c (mail_update_subfolders): Change this gtk_object_ref on the storage to a bonobo_object_ref. svn path=/trunk/; revision=11790
* Free the dbkey if we found the config option.Not Zed2001-08-081-0/+15
| | | | | | | | | | | | | | | | | | | 2001-08-07 Not Zed <NotZed@Ximian.com> * mail-config.c (mail_config_get_thread_list): Free the dbkey if we found the config option. * mail-send-recv.c (build_dialogue): Free the pretty_url after we've used it. (free_send_info): Free the 'what' string. (receive_done): Use free_send_info to make sure we free everything. * mail-ops.c (send_queue_free): Unref the filter driver when done. (send_queue_send): Unref the driver here too, force any long taking operations to run in our thread. svn path=/trunk/; revision=11777
* Hide the app->window. (do_mail_print): Set the parent of the gnome-dialogJeffrey Stedfast2001-08-081-0/+3
| | | | | | | | | | | 2001-08-07 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (manage_subscriptions): Hide the app->window. (do_mail_print): Set the parent of the gnome-dialog to be the folder-browser so that when evolution is closed, the print dialog gets destroyed. Should fix bug #4781. svn path=/trunk/; revision=11757
* Revert Jeff's changes to subscribe-dialog.[ch]. It's not a widget, it's anPeter Williams2001-08-081-0/+5
| | | | | | | | | 2001-08-07 Peter Williams <peterw@ximian.com> * Revert Jeff's changes to subscribe-dialog.[ch]. It's not a widget, it's an object from which you can obtain a widget. svn path=/trunk/; revision=11755
* Hide the app->window.Jeffrey Stedfast2001-08-081-0/+2
| | | | | | | | 2001-08-07 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (manage_subscriptions): Hide the app->window. svn path=/trunk/; revision=11754
* [ Use bonobo_object_unref on the storage since it's a bonobo object. ]Peter Williams2001-08-081-0/+4
| | | | | | | | | | | | 2001-08-07 Peter Williams <peterw@ximian.com> [ Use bonobo_object_unref on the storage since it's a bonobo object. ] * mail-send-recv.c (receive_update_got_store): Same. * mail-ops.c (do_update_subfolders): Same. svn path=/trunk/; revision=11752
* This should return a GtkWidget not a GtkObject.Jeffrey Stedfast2001-08-081-22/+50
| | | | | | | | | | | | | | | | | | | | | | | | 2001-08-07 Jeffrey Stedfast <fejj@ximian.com> * subscribe-dialog.c (subscribe_dialog_new): This should return a GtkWidget not a GtkObject. * mail-session.c (get_filter_driver): Update to use user's logging preferences. * mail-accounts.c (filter_log_toggled): New. (filter_log_path_changed): New. (construct): Get and attach signals to the filter logging option widgets. * mail-config.c (config_read): Read in filter logging options. (mail_config_write_on_exit): Save filter logging options. (mail_config_set_filter_log_path): Implemented. (mail_config_get_filter_log_path): Implemented. (mail_config_set_filter_log): Implemented. (mail_config_get_filter_log): Implemented. svn path=/trunk/; revision=11751
* Use bonobo_object_unref on the storage since it's a bonobo object.Peter Williams2001-08-081-0/+5
| | | | | | | | | | | 2001-08-07 Peter Williams <peterw@ximian.com> * mail-callbacks.c (folder_created): Use bonobo_object_unref on the storage since it's a bonobo object. (mail_storage_create_folder): Same. (folder_deleted): Same. svn path=/trunk/; revision=11749
* Unref the e_storage since lookup_store gives us a ref.Peter Williams2001-08-081-0/+5
| | | | | | | | | 2001-08-07 Peter Williams <peterw@ximian.com> * subscribe-dialog.c (fe_destroy): Unref the e_storage since lookup_store gives us a ref. svn path=/trunk/; revision=11748
* Move fe_create_root_node farther down, so we can check for its childrenPeter Williams2001-08-081-3/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-07 Peter Williams <peterw@ximian.com> * subscribe-dialog.c (folder_etree_construct): Move fe_create_root_node farther down, so we can check for its children without problems. (storage_tree_path): Removed, this was broken. (subscribe_get_short_folderinfo): Use the queued thread instead of the new thread. (subscribe_do_subscribe_folder): Same. (ftree_node_new_root): Don't create the path anymore; it was broken and there's a better way to get it now. (fe_got_children): Remove some debugging output. (fe_check_for_children): Here too. (fe_done_subscribing): Get the path from the URI instead of the ftree_node. (_SubscribeDialogPrivate): Add all of our useful widgets as members. (sc_refresh_pressed): Don't clear the search... that makes no sense now. (sc_search_activated): Don't set the filter radio button as active now; we use sensitivity instead. (sc_all_toggled): Make the search entry insensitive. (sc_filter_toggled): Make the search entry sensitive. (kill_default_view): New function. Gets rid of the default view stuff and makes all the widgetry sensitive. (menu_item_selected): Check if we moved off of the default view and, if so, call kill_default_view(). (subscribe_dialog_construct): Initialize our new private widget members, and by default insensitize most of the buttons because they make no sense in the default view. svn path=/trunk/; revision=11736
* Added key accelerators to a bunch of the config options and moved the BccJeffrey Stedfast2001-08-071-0/+17
| | | | | | | | | | | | | | | | | | | | | 2001-08-06 Jeffrey Stedfast <fejj@ximian.com> * mail-config.glade: Added key accelerators to a bunch of the config options and moved the Bcc and empty-subject checkboxes to the composer tab where they belong. * mail-callbacks.c (providers_config): Raise the dialog if it exists already. (manage_subscriptions): Raise the dialog if it already exists. (main_select_first_unread): Removed (we haven't needed this code in ages). (select_first_unread): Same. (save_msg_ok): If the path is empty, just return. * mail-local.c (mail_local_reconfigure_folder): Raise the dialog if it already exists. svn path=/trunk/; revision=11719
* Set the message-display message to NULL if we can't get an info too.Jeffrey Stedfast2001-08-071-0/+5
| | | | | | | | | 2001-08-06 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (expunge_folder): Set the message-display message to NULL if we can't get an info too. svn path=/trunk/; revision=11711
* Make vtrash folders on other storages with a "vtrash" type, so they getJason Leach2001-08-071-0/+6
| | | | | | | | | | 2001-08-06 Jason Leach <jleach@ximian.com> * mail-callbacks.c (create_folders): Make vtrash folders on other storages with a "vtrash" type, so they get the little trashcan icon. svn path=/trunk/; revision=11709
* Reimplement to be asynchronous and pretty, with progressive folder loadingPeter Williams2001-08-071-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | 2001-08-06 Peter Williams <peterw@ximian.com> * subscribe-dialog.[ch]: Reimplement to be asynchronous and pretty, with progressive folder loading and all sorts of wonderful improvements. * mail-callbacks.c (manage_subscriptions): Change to reflect API update. * component-factory.c (mail_load_storages): Don't add the storage if it has been disabled. * Makefile.am (etspec_DATA): Add subscribe-dialog.etspec. (glade_DATA): And the glade file. * subscribe-dialog.etspec: New file, break out the specification from inside the subscribe-dialog.c * subscribe-dialog.glade: Update this, actually use it now. svn path=/trunk/; revision=11706
* Yuck. Special case whether or not we want to expunge all the trash foldersJeffrey Stedfast2001-08-071-0/+7
| | | | | | | | | | | 2001-08-06 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (empty_trash): Yuck. Special case whether or not we want to expunge all the trash folders syncronously or asyncronously based on whether or not we are doing Empty-On-Exit or emptying trash by user request respectively. svn path=/trunk/; revision=11701
* Removed this function, it's not needed anymore.Jason Leach2001-08-071-0/+6
| | | | | | | | | | | | 2001-08-06 Jason Leach <jleach@ximian.com> * mail-folder-cache.c (make_folder_name): Removed this function, it's not needed anymore. (mail_folder_cache_note_folderinfo): Initialize mfi->unread to 0 always, so the shell won't get sent a random int for vtrash or potentially other folders. svn path=/trunk/; revision=11699
* Fix a minor glitch with how it started a backwards wraparound at the 2ndJason Leach2001-08-071-0/+6
| | | | | | | | | | 2001-08-06 Jason Leach <jleach@ximian.com> * message-list.c (message_list_select): Fix a minor glitch with how it started a backwards wraparound at the 2nd to last message, skipping the very last message. svn path=/trunk/; revision=11698
* s/character set/character encodingJeffrey Stedfast2001-08-071-0/+4
| | | | | | | | 2001-08-06 Jeffrey Stedfast <fejj@ximian.com> * mail-config.glade: s/character set/character encoding svn path=/trunk/; revision=11697
* Make the title of the window "subject - Message" instead of justEttore Perazzoli2001-08-061-0/+11
| | | | | | | | | | | | | * message-browser.c (message_browser_message_loaded): Make the title of the window "subject - Message" instead of just "subject". Also, display "(No subject)" if the subject is NULL. [Fix #6399, 8-bit characters are not displayed in window title.] * message-browser.c (message_browser_message_loaded): Convert the subject from UTF-8 to GTK. svn path=/trunk/; revision=11695
* Back to using `bonobo_generic_factory_new()'. (component_fn): UpdatedEttore Perazzoli2001-08-061-0/+9
| | | | | | | | * component-factory.c (component_factory_init): Back to using `bonobo_generic_factory_new()'. (component_fn): Updated accordingly. svn path=/trunk/; revision=11694
* Use `e_bonobo_generic_factory_multi_display_new()' instead of justEttore Perazzoli2001-08-051-0/+7
| | | | | | | | | * component-factory.c (component_factory_init): Use `e_bonobo_generic_factory_multi_display_new()' instead of just `bonobo_generic_factory_new()'. (component_fn): Added @component_id arg. svn path=/trunk/; revision=11687
* Add yet another special-case hack for application/pgp.Jeffrey Stedfast2001-08-051-4/+10
| | | | | | | | | 2001-08-04 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_part_is_inline): Add yet another special-case hack for application/pgp. svn path=/trunk/; revision=11652
* Add a @wraparound argument, so the 'n' and 'p' keypresses (or anythingJason Leach2001-08-051-0/+11
| | | | | | | | | | | | | | | 2001-08-04 Jason Leach <jleach@ximian.com> * message-list.c (message_list_select): Add a @wraparound argument, so the 'n' and 'p' keypresses (or anything else that wants to) can wrap around to find the next unread. * folder-browser.c (on_key_press): Tell it to wrap around here. * mail-callbacks.c (delete_msg): Don't wrap around here (or the other callbacks in this file). svn path=/trunk/; revision=11651
* Updates for EvolutionStorage API changes.Jason Leach2001-08-041-0/+9
| | | | | | | | | | | | | 2001-08-03 Jason Leach <jleach@ximian.com> * mail-folder-cache.c (update_idle): Updates for EvolutionStorage API changes. * mail-importer.c (mail_importer_create_folder): Ditto. * mail-local.c: Same here. svn path=/trunk/; revision=11636
* Try to restore the choice the user had chosen before hitting the "CheckJeffrey Stedfast2001-08-041-0/+9
| | | | | | | | | | | | | 2001-08-03 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (build_auth_menu): Try to restore the choice the user had chosen before hitting the "Check Supported Types" button. * mail-format.c (write_headers): Removed a no-longer-needed g_warning. svn path=/trunk/; revision=11625
* return the source url for popb4smtp auth request.Not Zed2001-08-031-0/+5
| | | | | | | | | 2001-08-03 Not Zed <NotZed@Ximian.com> * mail-session.c (get_password): return the source url for popb4smtp auth request. svn path=/trunk/; revision=11616
* Added. Provide description for filter_folder_op. (fetch_mail_describe):Jon Trowbridge2001-08-031-0/+16
| | | | | | | | | | | | | | | | | | | | 2001-08-02 Jon Trowbridge <trow@ximian.com> * mail-ops.c (filter_folder_describe): Added. Provide description for filter_folder_op. (fetch_mail_describe): Added. Provide description for fetch_mail_op. * message-list.c (regen_list_describe): Added. Provide description for regen_list_op. * mail-config.c (check_service_describe): Added. Provide description for check_service_op. * folder-info.c (do_describe_info): Added. Provide description for get_info_op. svn path=/trunk/; revision=11604
* handle null paths in the dialog so that we avoid printing NULL stringsLarry Ewing2001-08-031-0/+5
| | | | | | | | | 2001-08-02 Larry Ewing <lewing@ximian.com> * mail-send-recv.c (format_url): handle null paths in the dialog so that we avoid printing NULL strings svn path=/trunk/; revision=11599
* Raise the filter-editor window if it's already created.Jeffrey Stedfast2001-08-031-0/+3
| | | | | | | | | 2001-08-02 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (filter_edit): Raise the filter-editor window if it's already created. svn path=/trunk/; revision=11598
* I obviously can't spell recieved, er, received...uh, yea.Jeffrey Stedfast2001-08-031-0/+5
| | | | | | | | | 2001-08-02 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (message_list_drag_data_received): I obviously can't spell recieved, er, received...uh, yea. svn path=/trunk/; revision=11595
* Set history_id's for the sig and html sig gnome file entry boxes so it canJason Leach2001-08-031-1/+7
| | | | | | | | | | | 2001-08-02 Jason Leach <jleach@ximian.com> * mail-config.glade: Set history_id's for the sig and html sig gnome file entry boxes so it can persist history, also add titles to the dialogs that popup when you click the "Browse..." button. Bug #5595. svn path=/trunk/; revision=11594
* Connect to the folder_remove signal on the storage. (vfolder_remove): NewJeffrey Stedfast2001-08-031-0/+1
| | | | | | | | | | | 2001-08-02 Jeffrey Stedfast <fejj@ximian.com> * mail-vfolder.c (vfolder_create_storage): Connect to the folder_remove signal on the storage. (vfolder_remove): New function to remove a vfolder. (vfolder_edit): Raise the window if it already exists. svn path=/trunk/; revision=11593
* Connect to the folder_remove signal on the storage. (vfolder_remove): NewJeffrey Stedfast2001-08-031-0/+6
| | | | | | | | | | 2001-08-02 Jeffrey Stedfast <fejj@ximian.com> * mail-vfolder.c (vfolder_create_storage): Connect to the folder_remove signal on the storage. (vfolder_remove): New function to remove a vfolder. svn path=/trunk/; revision=11591
* Add EVOLUTION_BUTTONSDIR to get to some different icons.Not Zed2001-08-021-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-02 Not Zed <NotZed@Ximian.com> * Makefile.am (INCLUDES): Add EVOLUTION_BUTTONSDIR to get to some different icons. * mail-ops.c (mail_sync_folder): Queue the folder sync operation, rather than running it in parallel. * mail-send-recv.c: applies anna's patch for prettier send-recv dialogue. (parse_url): Renamed to format_url, fixed callers. (format_url): Use camel_url_free instead of g_free, also handle case where we have no host (use path instead). (build_dialogue): Cleaned up some whitespace. (build_dialogue): Create the label directly with the right text, dont set any text in the progress bar, and save the label into the info struct for later updating. (struct _send_info): Added 'status' the label with the status string. (operation_status_timeout): (receive_done): (receive_cancel): Set the status label, not the progress format text. (hide_send_info): NULL out status too. (mail_receive_uri): Init status. (free_folder_info): Initiate a folder sync here, so we can ... (free_send_data): ... Remove the awful hack of iterating through bonobo controls to sync all open folders. (free_send_data): Initiate a sync of the inbox too. (build_dialogue): Remove set_alignment on the icon, its not a gtkmisc object. svn path=/trunk/; revision=11566
* Do the Right Thing (tm) if the message list is not the widget in focusJeffrey Stedfast2001-08-021-0/+6
| | | | | | | | | | 2001-08-01 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (folder_browser_copy): Do the Right Thing (tm) if the message list is not the widget in focus (which is to copy the text selected in the html viewer instead). Fixes bug #5868. svn path=/trunk/; revision=11558
* More updates to icons, this time the Save, Save As, and Search icons forJacob Leach2001-08-011-0/+3
| | | | | | a few places. svn path=/trunk/; revision=11544
* Don't move cursors around when deleting last message and Hide DeletedJason Leach2001-08-011-0/+7
| | | | | | | | | | 2001-08-01 Jason Leach <jleach@ximian.com> * mail-callbacks.c (delete_msg): Don't move cursors around when deleting last message and Hide Deleted Messages isn't enabled. Bug #5928. svn path=/trunk/; revision=11543
* Changed the title of this dialog to "Enter Password".Anna Marie Dirks2001-08-011-0/+5
| | | | | | | | 2001-07-31 Anna Marie Dirks <anna@ximian.com> * mail-mt.c (do_get_pass): Changed the title of this dialog to "Enter Password". svn path=/trunk/; revision=11534
* We are not guarenteed to have a non-NULL service (ie. PGP) thus check forJeffrey Stedfast2001-07-311-0/+5
| | | | | | | | | | | 2001-07-30 Jeffrey Stedfast <fejj@ximian.com> * mail-mt.c (do_get_pass): We are not guarenteed to have a non-NULL service (ie. PGP) thus check for it. (pass_got): And again here. (mail_get_password): And of course here too. svn path=/trunk/; revision=11493
* When writing out a CamelException to the HTML stream, be sure to translateJeffrey Stedfast2001-07-311-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-30 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (decode_pgp): When writing out a CamelException to the HTML stream, be sure to translate it first. (handle_message_external_body): Convert to UTF8 here too - I know this function is basically a dead end right now but eventually we will want to do something. I mostly did this because param values are UTF8 encoded so we should avoid mixing and matching UTF with non UTF8. (format_mime_part): Avoid writing non-UTF8 to the HTML stream. * mail-tools.c (mail_tool_make_message_attachment): Convert translated strings to UTF8 here too. (mail_tool_forward_message): Here too. 2001-07-23 Zbigniew Chyla <cyba@gnome.pl> * mail-format.c (attachment_header, write_address, decode_pgp, mail_write_authenticity): Convert translated strings to UTF8 before calling mail_html_write. I modified the patch slightly and cleaned up bits of code around it as well. For example, we probably want to avoid having HTML tags in the strings to be translated. -- fejj svn path=/trunk/; revision=11490
* Restore old security settings from the saved configuration. Fixes bugJeffrey Stedfast2001-07-311-0/+5
| | | | | | | | | 2001-07-30 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_new): Restore old security settings from the saved configuration. Fixes bug #5710. svn path=/trunk/; revision=11479
* Actually add the timeout, this time in the gtk thread.Not Zed2001-07-301-0/+11
| | | | | | | | | | | | | | | 2001-07-30 Not Zed <NotZed@Ximian.com> * mail-session.c (do_register_timeout): Actually add the timeout, this time in the gtk thread. (do_remove_timeout): And same for remove. (register_timeout): (remove_timeout): Proxy the gtk calls to the main thread, and wait for them to execute synchronously. (register_timeout): Instead of return with fail for a too small timeout, just increase the timeout. svn path=/trunk/; revision=11468
* Added (unused) table with strings intended to be translated (i18n toolsChyla Zbigniew2001-07-281-0/+6
| | | | | | | | * component-factory.c (populate_folder_context_menu): Added (unused) table with strings intended to be translated (i18n tools can't extract strings from XML data inside .c file). svn path=/trunk/; revision=11458
* Don't need this anymore. (do_get_pass): Since we already have the entryJeffrey Stedfast2001-07-281-0/+6
| | | | | | | | | | 2001-07-27 Jeffrey Stedfast <fejj@ximian.com> * mail-mt.c (focus_on_entry): Don't need this anymore. (do_get_pass): Since we already have the entry widget, no need to do the nasty focus_on_entry hack. svn path=/trunk/; revision=11453
* Figure out whether we're getting the password for the source or thePeter Williams2001-07-271-0/+11
| | | | | | | | | | | | | | | 2001-07-26 Peter Williams <peterw@ximian.com> * mail-mt.c (do_get_pass): Figure out whether we're getting the password for the source or the transport, and get the toggle button accordingly. (pass_got): Same. * mail-config.c (mail_config_get_account_by_transport_url): New function. Cut + paste + search + replace of _by_source_url. * mail-config.h: Prototype here. svn path=/trunk/; revision=11446
* glade beautificationsJeffrey Stedfast2001-07-271-0/+2
| | | | svn path=/trunk/; revision=11442
* If we don't have any messages selected, break out. This fixes bug #5612.Jeffrey Stedfast2001-07-271-0/+8
| | | | | | | | | | | | | | | | | | | | 2001-07-26 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (message_list_drag_data_get): If we don't have any messages selected, break out. This fixes bug #5612. * component-factory.c (xfer_folder): Fixed a strstr (url, "noselect=yes") brokenness. (destination_folder_handle_motion): Same. (destination_folder_handle_drop): And again here. * mail-format.c (handle_application_pgp): Implemented. (setup_mime_tables): Setup the application/pgp handler to use handle_application_pgp instead of handle_text_plain. (handle_text_plain): Remove special-case hacks for application/pgp types. svn path=/trunk/; revision=11438
* Implemented. (setup_mime_tables): Setup the application/pgp handler to useJeffrey Stedfast2001-07-271-0/+8
| | | | | | | | | | | | 2001-07-26 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_application_pgp): Implemented. (setup_mime_tables): Setup the application/pgp handler to use handle_application_pgp instead of handle_text_plain. (handle_text_plain): Remove special-case hacks for application/pgp types. svn path=/trunk/; revision=11434
* Use magic to make the password remembering checkbutton come after thePeter Williams2001-07-271-0/+5
| | | | | | | | | 2001-07-26 Peter Williams <peterw@ximian.com> * mail-mt.c (do_get_pass): Use magic to make the password remembering checkbutton come after the entry, visually. svn path=/trunk/; revision=11432
* Respect Gtk theme colors for the fonts and calculate a new table gbcolorJeffrey Stedfast2001-07-271-6/+13
| | | | | | | | | | | | 2001-07-26 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (write_headers): Respect Gtk theme colors for the fonts and calculate a new table gbcolor based on gtk theme preferences. * mail-config.glade: Label the enabled field. svn path=/trunk/; revision=11431
* Make the date column smaller and the subject column larger, relatively.Peter Williams2001-07-271-0/+3
| | | | | | | | | 2001-07-26 Peter Williams <peterw@ximian.com> * message-list.etspec: Make the date column smaller and the subject column larger, relatively. svn path=/trunk/; revision=11429