aboutsummaryrefslogtreecommitdiffstats
path: root/mail/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Don't display "0 hidden".Peter Williams2001-07-271-0/+3
| | | | | | | | | 2001-07-26 Peter Williams <peterw@ximian.com> * mail-folder-cache.c (make_folder_status): Don't display "0 hidden". svn path=/trunk/; revision=11427
* Make 'q' a toggle, not one-way.Peter Williams2001-07-261-0/+3
| | | | | | | | | 2001-07-26 Peter Williams <peterw@ximian.com> * folder-browser.c (on_key_press): Make 'q' a toggle, not one-way. svn path=/trunk/; revision=11425
* Rename "Date" column to "Sent".Peter Williams2001-07-261-0/+4
| | | | | | | | 2001-07-26 Peter Williams <peterw@ximian.com> * message-list.etspec: Rename "Date" column to "Sent". svn path=/trunk/; revision=11424
* fixed a mis-spelling of "Fashion" in the mail accounts window. (See bugAnna Marie Dirks2001-07-261-0/+5
| | | | | | | | 2001-07-25 Anna Marie Dirks <anna@ximian.com> * mail-config.glade: fixed a mis-spelling of "Fashion" in the mail accounts window. (See bug 5433) svn path=/trunk/; revision=11412
* Don't make the key url:item if we have the url, just make it url. ThisJeffrey Stedfast2001-07-261-0/+1
| | | | | | | | | | 2001-07-25 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (make_key): Don't make the key url:item if we have the url, just make it url. This fixes bug #5339. (mail_session_set_password): Removed. svn path=/trunk/; revision=11411
* Don't make the key url:item if we have the url, just make it url. ThisJeffrey Stedfast2001-07-261-5/+11
| | | | | | | | | 2001-07-25 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (make_key): Don't make the key url:item if we have the url, just make it url. This fixes bug #5339. svn path=/trunk/; revision=11410
* Make it so Enter always opens the message in another window.Peter Williams2001-07-261-0/+5
| | | | | | | | | 2001-07-25 Peter Williams <peterw@ximian.com> * folder-browser.c (etree_key): Make it so Enter always opens the message in another window. svn path=/trunk/; revision=11409
* Now take a CamelService parameter (as passed by Camel). Allows us to havePeter Williams2001-07-261-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | 2001-07-25 Peter Williams <peterw@ximian.com> * mail-mt.c (mail_get_password): Now take a CamelService parameter (as passed by Camel). Allows us to have a "remember password" checkbox that is set correctly and whose settings can be propagated back to the proper MailConfigService. (do_get_pass): Add a checkbutton allowing the user to change whether the password is remembered or not. (pass_got): Apply the setting of the "remember password" checkbutton (if not cancelled.) * mail-mt.h: Update the prototype here. * mail-config.c (mail_config_service_set_save_passwd): New function, pretty bland. * mail-config.h: Prototype our bland new function. (Get it? It's a pun!) * mail-session.c (get_password): Pass the service as well. svn path=/trunk/; revision=11408
* Now takes a check_supported gboolean argument saying whether or not toJeffrey Stedfast2001-07-261-0/+10
| | | | | | | | | | | | | | | | 2001-07-25 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (build_auth_menu): Now takes a check_supported gboolean argument saying whether or not to disable non-supported authtypes. (source_type_changed): Update for build_auth_menu. (transport_type_changed): Same. (service_check_supported): Pass in TRUE for the disable non-supported authtypes to build_auth_menu and also disable check-supported button and the authtype menu if we get a NULL supported auth list. svn path=/trunk/; revision=11404
* Initialize `me' to NULL. (forward_attached): If we are only forwarding aJeffrey Stedfast2001-07-261-0/+7
| | | | | | | | | | | | | | | 2001-07-25 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): Initialize `me' to NULL. (forward_attached): If we are only forwarding a single message, pass the message along as the callback data, else pass NULL. (do_forward_attach): Updated for changes to forward_get_composer(). (do_forward_non_attached): Same. (forward_get_composer): Try to guess which account to forward the message from if the message passed in is non-NULL. svn path=/trunk/; revision=11401
* Initialize `me' to NULL.Jeffrey Stedfast2001-07-261-2/+6
| | | | | | | | 2001-07-25 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): Initialize `me' to NULL. svn path=/trunk/; revision=11400
* Um, write the HTML signature settings in the right place. Whoops.Peter Williams2001-07-251-0/+5
| | | | | | | | | 2001-07-24 Peter Williams <peterw@ximian.com> * mail-config.c (mail_config_write): Um, write the HTML signature settings in the right place. Whoops. svn path=/trunk/; revision=11396
* If we're the last row and we're deleting, select the previous message, notJason Leach2001-07-251-0/+6
| | | | | | | | | | 2001-07-24 Jason Leach <jleach@ximian.com> * mail-callbacks.c (delete_msg): If we're the last row and we're deleting, select the previous message, not next, which actually selects nothing. Fixes #5323. svn path=/trunk/; revision=11391
* Pass the O_TRUNC flag to open so that we don't leave trailing garbage atJeffrey Stedfast2001-07-251-0/+4
| | | | | | | | | | 2001-07-24 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (save_part_save): Pass the O_TRUNC flag to open so that we don't leave trailing garbage at the end of the file if the new file content is shorter than the old file content. svn path=/trunk/; revision=11373
* Fix for bug #5174.Jeffrey Stedfast2001-07-251-0/+4
| | | | | | | | 2001-07-24 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (create_view): Fix for bug #5174. svn path=/trunk/; revision=11368
* Match the prefix for the "remember_passphrase" setting with where it'sJason Leach2001-07-251-0/+7
| | | | | | | | | | | 2001-07-24 Jason Leach <jleach@ximian.com> * mail-config.c (config_read): Match the prefix for the "remember_passphrase" setting with where it's being saved to (/Mail/Prompts), so the setting gets loaded correctly. Fixes #5351. svn path=/trunk/; revision=11360
* check_specials if this is an application/pgp type as well.Jeffrey Stedfast2001-07-251-0/+3
| | | | | | | | | 2001-07-24 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (handle_text_plain): check_specials if this is an application/pgp type as well. svn path=/trunk/; revision=11357
* When dumping the CamelURL to a string, hide all the params.Jeffrey Stedfast2001-07-251-0/+5
| | | | | | | | | 2001-07-24 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (add_vtrash_info): When dumping the CamelURL to a string, hide all the params. svn path=/trunk/; revision=11354
* Do a case-insensitive comparison. (mail_generate_reply): Only resort toJeffrey Stedfast2001-07-251-1/+18
| | | | | | | | | | | | | | | | | | | | 2001-07-24 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (guess_me): Do a case-insensitive comparison. (mail_generate_reply): Only resort to the source account's identity if we can't find out which identity to use based on the recipients of the message first. * mail-config.c (mail_config_get_default_account): Make sure to return the 0th account if we don't have a default. We don't want to return NULL. * mail-callbacks.c (empty_trash): Use mail_tool_get_trash for the remote store trash folders. * mail-tools.c (mail_tool_get_trash): New convenience function. svn path=/trunk/; revision=11353
* get_boolean_with_default for the "Mark as read" timeout, notJason Leach2001-07-251-0/+5
| | | | | | | | | 2001-07-24 Jason Leach <jleach@ximian.com> * mail-config.c (config_read): get_boolean_with_default for the "Mark as read" timeout, not get_long_with_default. Fixes #5176. svn path=/trunk/; revision=11352
* Don't display "(0 unsent)" if the outbox is empty.Peter Williams2001-07-251-0/+3
| | | | | | | | | 2001-07-24 Peter Williams <peterw@ximian.com> * mail-folder-cache.c (make_folder_name): Don't display "(0 unsent)" if the outbox is empty. svn path=/trunk/; revision=11347
* Set up the local trash in the folder cache.Peter Williams2001-07-251-0/+2
| | | | | | | | 2001-07-24 Peter Williams <peterw@ximian.com> * mail-local.c (init_trash): Set up the local trash in the folder cache. svn path=/trunk/; revision=11343
* Make the error reporting a little but more descriptive.Peter Williams2001-07-241-0/+5
| | | | | | | | | 2001-07-24 Peter Williams <peterw@ximian.com> * mail-folder-cache.c (update_idle): Make the error reporting a little but more descriptive. svn path=/trunk/; revision=11341
* Add new label widgets with a message that SSL isn't supported.Peter Williams2001-07-241-0/+16
| | | | | | | | | | | | | | | | | | | | 2001-07-24 Peter Williams <peterw@ximian.com> * mail-config.glade: Add new label widgets with a message that SSL isn't supported. * mail-account-gui.h: Add a new member to the Transport GUI struct for the 'SSL is not supported' message. * mail-account-gui.c (source_type_changed): Change logic to display a message stating that SSL isn't supported if SSL isn't supported. (transport_type_changed): Same. (mail_account_gui_new): Also load the labels for the the no-SSL message. * mail-accounts.c (construct): Fix typo. svn path=/trunk/; revision=11340
* Dont call notifyResult here if we've just launched a thread to do theNot Zed2001-07-241-0/+7
| | | | | | | | | | | 2001-07-24 Not Zed <NotZed@Ximian.com> * component-factory.c (create_folder): Dont call notifyResult here if we've just launched a thread to do the work, it calls it itself. This apparently breaks the importers, but thats a different issue. svn path=/trunk/; revision=11335
* Go back to calling mail_msg_free here. (mail_msg_destroy): Remove theNot Zed2001-07-241-0/+14
| | | | | | | | | | | | | | | | | | 2001-07-23 Not Zed <NotZed@Ximian.com> * mail-mt.c (mail_msgport_replied): Go back to calling mail_msg_free here. (mail_msg_destroy): Remove the operation unregistration stuff. (mail_msg_received): And put it here, so we unregister as soon as the async part of the operation is complete. I thought about this and we should be doing this anyway so we register/unregister always in the same thread, although the camel_operation api doesn't enforce it, this *is* what it expects. * message-list.c (regen_list_regen): re-add reporting to rebuilding the message list. Basically fixes #4931 svn path=/trunk/; revision=11332
* Oops. Uncomment this code since Trow fixed GtkHTML to actually have thisJeffrey Stedfast2001-07-241-0/+3
| | | | | | | | | 2001-07-23 Jeffrey Stedfast <fejj@ximian.com> * mail-search.c (toggled_fwd_cb): Oops. Uncomment this code since Trow fixed GtkHTML to actually have this function now. svn path=/trunk/; revision=11328
* Fixed the "Read" to be Read in the glade file per menesis' request.Jeffrey Stedfast2001-07-241-0/+11
| | | | | | | | | | | | | | | | | | | | | 2001-07-23 Jeffrey Stedfast <fejj@ximian.com> * mail-config.glade: Fixed the "Read" to be Read in the glade file per menesis' request. * mail-accounts.c (construct): Give the dialog a Close button instead of an OK button. (prompt_bcc_only_toggled): New. (threaded_list_toggled): New. (show_preview_toggled): New. (construct): Add code for the bcc-only-prompt, threaded-list, and show-preview checkboxes. * mail-ops.c (transfer_messages_transfer): If the source and destination folders are the same, just mark the uids as undeleted (in case they were marked as deleted before). svn path=/trunk/; revision=11327
* If the source and destination folders are the same, just mark the uids asJeffrey Stedfast2001-07-241-2/+8
| | | | | | | | | | 2001-07-23 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (transfer_messages_transfer): If the source and destination folders are the same, just mark the uids as undeleted (in case they were marked as deleted before). svn path=/trunk/; revision=11322
* Carefully check for NULL everywhere, and do the right thing if the messageJon Trowbridge2001-07-241-1/+7
| | | | | | | | | | 2001-07-23 Jon Trowbridge <trow@ximian.com> * mail-search.c (begin_cb): Carefully check for NULL everywhere, and do the right thing if the message we are currently looking at gets expunged. (Bug #4870) svn path=/trunk/; revision=11321
* [Bug #5225: No UI way to mark as unimportant]Jason Leach2001-07-241-0/+13
| | | | | | | | | | | | | | | | | 2001-07-23 Jason Leach <jleach@ximian.com> [Bug #5225: No UI way to mark as unimportant] * folder-browser.c (on_right_click): Do the necessary stuff to show or hide the correct "Mark Important" or "Mark as Unimportant" menu items depending on the status of messages that are selected. * folder-browser-ui.c: Add the MarkAsUnimportant verb here. * mail-callbacks.c (mark_as_unimportant): Simple function that's the callback for these new menu items. svn path=/trunk/; revision=11316
* Add an extra @type arg to the xferFolder and removeFolder methods inEttore Perazzoli2001-07-231-0/+6
| | | | | | | | the ShellComponent interface. Updated the EvolutionShellComponent GTK+ wrapper and all the component accordingly. Get the calendar to use this so it can delete both tasks and calendar folders. svn path=/trunk/; revision=11300
* Add a `user_creatable' property to folder types and make componentsEttore Perazzoli2001-07-221-0/+5
| | | | | | | use it, so that e.g. you cannot create a folder of type "mailstorage" or "vtrash". svn path=/trunk/; revision=11298
* Change this back to the "evolution:/local/Inbox" URI.Jason Leach2001-07-211-0/+5
| | | | | | | | | 2001-07-20 Jason Leach <jleach@ximian.com> * mail-summary.c (generate_html_summary): Change this back to the "evolution:/local/Inbox" URI. svn path=/trunk/; revision=11276
* Don't let the user remove vtrash folders.Peter Williams2001-07-211-0/+5
| | | | | | | | | 2001-07-20 Peter Williams <peterw@ximian.com> * component-factory.c (storage_remove_folder): Don't let the user remove vtrash folders. svn path=/trunk/; revision=11267
* Fix DanW's fix. Pass the right arguments to mail_msg_destroy.Peter Williams2001-07-211-0/+15
| | | | | | | | | | | | | | | | | | | 2001-07-20 Peter Williams <peterw@ximian.com> * mail-mt.c (mail_msgport_replied): Fix DanW's fix. Pass the right arguments to mail_msg_destroy. * component-factory.c (component_fn): Don't populate the context menu; our only action didn't even work. (populate_folder_context_menu): Removed. ChangeFolderProperties needs a FolderBrowser which we don't have. It didn't even work before. * mail-local.c (mail_local_reconfigure_folder): Bring the creation of the hash table to the beginning to prevent warnings. Complain if the mailbox is non-local. svn path=/trunk/; revision=11266
* er, unbroke changelogJeffrey Stedfast2001-07-211-1/+0
| | | | svn path=/trunk/; revision=11265
* Don't expunge the source folder if we have a cache.Jeffrey Stedfast2001-07-211-0/+6
| | | | | | | | | 2001-07-20 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (filter_folder_filter): Don't expunge the source folder if we have a cache. svn path=/trunk/; revision=11264
* Use mail_msg_destroy rather than mail_msg_free, so the cancellationDan Winship2001-07-211-0/+6
| | | | | | | | * mail-mt.c (mail_msgport_replied): Use mail_msg_destroy rather than mail_msg_free, so the cancellation operation gets unregistered and doesn't leak two file descriptors. svn path=/trunk/; revision=11263
* Update this evolution:/local/ URI to evolution:/Local Folders/ to go alongJason Leach2001-07-201-0/+6
| | | | | | | | | | 2001-07-19 Jason Leach <jleach@ximian.com> * mail-summary.c (generate_html_summary): Update this evolution:/local/ URI to evolution:/Local Folders/ to go along with today's shell changes. svn path=/trunk/; revision=11253
* Fix #4605: "Save Image as" should be "Save Image as...".Jason Leach2001-07-201-1/+6
| | | | | | | | | 2001-07-19 Jason Leach <jleach@ximian.com> * mail-display.c: Fix #4605: "Save Image as" should be "Save Image as...". svn path=/trunk/; revision=11248
* Set the vertical scrolling policy for the mail display to AUTOMATIC, onlyJason Leach2001-07-201-0/+14
| | | | | | | | | | | | | | | | | | 2001-07-19 Jason Leach <jleach@ximian.com> * mail-display.c (mail_display_new): Set the vertical scrolling policy for the mail display to AUTOMATIC, only get a scrollbar if the e-mail is longer than one frame. * folder-browser.c (my_folder_browser_init): We were setting the policy twice (and to two different things). Removed this one. * message-list.c (message_list_init): Set the policy for the message list scroll frame to be horizontal=NEVER, vertical=AUTOMATIC (scrollbar only if you have >1 page of messages). svn path=/trunk/; revision=11239
* In camel:Peter Williams2001-07-201-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-19 Peter Williams <peterw@ximian.com> Policy change: NULL url's are no longer allowed in CamelFolderInfos. They used to signify that the folder was, in IMAP jargon, NoSelect; now the same effect is achieved by adding a "noselect=yes" parameter to the end of the URL. As far as I know, IMAP is the only affected provider. * providers/imap/camel-imap-store.c (delete_folder): New function. Implement folder deletion. (camel_imap_store_class_init): Set the delete_folder class function here. (get_folder_status): New function. Utility wrapper around the STATUS command. (create_folder): If the parent folder is NoSelect but is empty, delete it and recreate it as a a subfolder-containing folder. If it is NoSelect but contains messages, set an exception. (parse_list_response_as_folder_info): Always set the FolderInfo's URL, but add a NoSelect parameter if it isn't selectable. (get_folder_info_online): Change logic of removing the namespace to reflect URL change. Same for logic of checking unread counts. (get_folder_info_online): Use get_folder_status to simplify this. * camel-store.c (camel_folder_info_build): When creating dummy parents, copy the child's URL and set the NoSelect parameter. In mail: 2001-07-19 Peter Williams <peterw@ximian.com> Track the NoSelect changes in Camel. * mail-callbacks.c (create_folders): We don't need to check if the URL is NULL or not anymore. * component-factory.c (create_noselect_control): New function. Create a dummy control for folders that can't contain messages (ie \NoSelect) (create_view): If the URI says the folder is noselect, make a dummy control. FIXME: still should merge in the global UI elements. (xfer_folder): Don't allow the operation if the destination is NoSelect. (destination_folder_handle_motion): Ditto. (destination_folder_handle_drop): Ditto. svn path=/trunk/; revision=11237
* remvoed register/start/end etc code.Not Zed2001-07-191-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-19 Not Zed <NotZed@Ximian.com> * mail-local.c (reconfigure_folder_reconfigure): remvoed register/start/end etc code. * mail-ops.c (get_messages_desc): Add the count here. (get_messages_get): Remove the register/start code, its handled above us. (save_messages_desc): Added count. (save_messages_save): Removed register/start/end code. * mail-mt.c (mail_msg_received, mail_msg_destroy): Changed to use camel_operation rather than mail_status. (mail_msgport_received, mail_msgport_replied): Turn of the mail_status stuff, we dont need to report on stuff running in the gui thread right? (retrieve_shell_view_interface_from_control, set_view_data, mail_statusf, mail_status, mail_status_end, mail_status_start, status_timeout, do_del_status, set_status_op): removed now redundant stuff. (mail_msg_free): Removed reference to timeout_id. svn path=/trunk/; revision=11225
* partial checkin before completing the changesNot Zed2001-07-191-0/+16
| | | | | | | | | | | | | | | | | | | | 2001-07-18 Not Zed <NotZed@Ximian.com> * mail-local.c (reconfigure_folder_reconfigure): Changed to use camel_operation rathre than mail_status. (reconfigure_folder_describe): re-enabled this function. * mail-ops.c (get_messages_get): Changed to use camel-progress for status reporting. (save_messages_save): Likewise. 2001-07-17 Not Zed <NotZed@Ximian.com> * mail-mt.c (struct _mail_msg_priv, destroy_objects, mail_msg_new, mail_msg_free, do_op_status): Changed to use an EvolutionActivityClient for progress. svn path=/trunk/; revision=11223
* Remove this prototype for a function that was removed long ago.Jason Leach2001-07-191-0/+6
| | | | | | | | | | 2001-07-18 Jason Leach <jleach@ximian.com> * mail-tools.h (mail_tool_get_local_inbox_url): Remove this prototype for a function that was removed long ago. (mail_tool_get_local_movemail_url): Ditto. svn path=/trunk/; revision=11220
* [Simplifying how default account is stored and used internally, fixesJason Leach2001-07-191-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-18 Jason Leach <jleach@ximian.com> [Simplifying how default account is stored and used internally, fixes possabilities of having multiple default accounts and things like deleting the current default account] * mail-account-gui.c (mail_account_gui_new): Update for new way of finding out the default account. (mail_account_gui_save): Ditto. * mail-accounts.c (load_accounts): Ditto. * mail-config-druid.c (make_default_account): Ditto. * mail-config.c: Added an int MailConfig::default_account, to be used instead of a 'default_account' boolean on each mail account. (mail_config_set_default_account_num): New function, facilitates things. * Mail.idl: removed the Account::default_account boolean. svn path=/trunk/; revision=11218
* Do what was suggested in #4596.Jeffrey Stedfast2001-07-191-0/+5
| | | | | | | | | 2001-07-18 Jeffrey Stedfast <fejj@ximian.com> * mail-tools.c (mail_tool_generate_forward_subject): Do what was suggested in #4596. svn path=/trunk/; revision=11210
* Add GTK_WIDGET to the charset picker. Reportedly prevent a craash forPeter Williams2001-07-191-0/+3
| | | | | | | | | 2001-07-18 Peter Williams <peterw@ximian.com> * mail-accounts.c (construct): Add GTK_WIDGET to the charset picker. Reportedly prevent a craash for someone... ? svn path=/trunk/; revision=11202
* Typo fix. Later: And actually fix the typo.Peter Williams2001-07-181-0/+1
| | | | | | | | | 2001-07-18 Peter Williams <peterw@ximian.com> * mail-config.glade: Typo fix. Later: And actually fix the typo. svn path=/trunk/; revision=11199
* Typo fix.Peter Williams2001-07-181-0/+4
| | | | | | | | 2001-07-18 Peter Williams <peterw@ximian.com> * mail-config.glade: Typo fix. svn path=/trunk/; revision=11198
* Setup the auto-receive here instead.Jeffrey Stedfast2001-07-181-0/+8
| | | | | | | | | | | | 2001-07-17 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (mail_delete): Setup the auto-receive here instead. * mail-config.c (mail_config_remove_account): Don't setup the auto-recv here. svn path=/trunk/; revision=11188
* Reset the autoreceive when necessary.Iain Holmes2001-07-181-0/+6
| | | | svn path=/trunk/; revision=11181
* Fix for last change: hide the entire widget, not just the entry.Jason Leach2001-07-181-0/+5
| | | | | | | | | 2001-07-17 Jason Leach <jleach@ximian.com> * mail-account-gui.c (source_type_changed): Fix for last change: hide the entire widget, not just the entry. svn path=/trunk/; revision=11178
* Fix to correctly handle text/uri-lists that contain more than a singleJeffrey Stedfast2001-07-181-0/+10
| | | | | | | | | | | | | | 2001-07-17 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (message_list_drag_data_recieved): Fix to correctly handle text/uri-lists that contain more than a single url. * component-factory.c (destination_folder_handle_drop): Fix to correctly handle text/uri-lists that contain more than a single url. svn path=/trunk/; revision=11174
* Make the Path: entry into a GnomeFileEntry so you get a nice "Browse..."Jason Leach2001-07-181-0/+6
| | | | | | | | | | 2001-07-17 Jason Leach <jleach@ximian.com> * mail-config.glade: Make the Path: entry into a GnomeFileEntry so you get a nice "Browse..." button that pops up a file selector to locate your mbox files. Bug #3501. svn path=/trunk/; revision=11170
* Cleaned up a bit. (handle_multipart_encrypted): Replace the encrypted partJeffrey Stedfast2001-07-181-0/+6
| | | | | | | | | | 2001-07-17 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (mail_part_toggle_displayed): Cleaned up a bit. (handle_multipart_encrypted): Replace the encrypted part with the decrypted part. svn path=/trunk/; revision=11166
* Make a nicer delete account dialogIain Holmes2001-07-181-0/+4
| | | | svn path=/trunk/; revision=11161
* Use CAMEL_VTRASH_NAME.Jeffrey Stedfast2001-07-181-0/+10
| | | | | | | | | | | | | | | | 2001-07-17 Jeffrey Stedfast <fejj@ximian.com> * mail-local.c (init_trash): Use CAMEL_VTRASH_NAME. * mail-ops.c (add_vtrash_info): Use CAMEL_VTRASH_NAME. * folder-browser.c: turned off some debugging 2001-07-16 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (transfer_msg): Disallow vtrash for now... svn path=/trunk/; revision=11159
* Use g_strcasecmp() when looking for a Trash folder - it may be lowercaseJeffrey Stedfast2001-07-171-0/+1
| | | | | | | | | | 2001-07-16 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (add_vtrash_info): Use g_strcasecmp() when looking for a Trash folder - it may be lowercase or something funky. (transfer_messages_transfer): Special-case vtrash folders. svn path=/trunk/; revision=11142
* Use g_strcasecmp() when looking for a Trash folder - it may be lowercaseJeffrey Stedfast2001-07-171-0/+7
| | | | | | | | | | | | | | | | 2001-07-16 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (add_vtrash_info): Use g_strcasecmp() when looking for a Trash folder - it may be lowercase or something funky. * mail-local.c (init_trash): No need to specify the vfolder expression here. This code was moved into camel-vtrash-folder.c ages ago. * component-factory.c: Let VTrash folders accept/export the same dnd types as normal folders. svn path=/trunk/; revision=11140
* Let VTrash folders accept/export the same dnd types as normal folders.Jeffrey Stedfast2001-07-171-19/+25
| | | | | | | | | 2001-07-16 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c: Let VTrash folders accept/export the same dnd types as normal folders. svn path=/trunk/; revision=11134
* prototype outbox_folder so we can check if a folder is it.Peter Williams2001-07-171-0/+9
| | | | | | | | | | | | | 2001-07-16 Peter Williams <peterw@ximian.com> * mail-folder-cache.c (outbox_folder): prototype outbox_folder so we can check if a folder is it. (make_folder_name): If the folder is the outbox, display the count of total messages as "unsent". (make_folder_status): If the folder is the outbox, display "unsent" instead of "total" svn path=/trunk/; revision=11132
* Use our own display_style member instead of the global setting.Peter Williams2001-07-171-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-16 Peter Williams <peterw@ximian.com> * mail-display.c (mail_display_redisplay): Use our own display_style member instead of the global setting. (mail_display_init): Initialize display_style. * mail-display.h: Include "mail-config.h" and add a display_style member. * mail-format.c (write_headers): Look at the MailDisplay's display_style instead of using the full_headers data. * folder-browser.c (folder_browser_set_message_display_style): Set the MailDisplay's display style as well as the global display style. (my_folder_browser_init): Don't save preference changes by default. (This is only observered wrt. the message display style but should apply to other items.) * folder-browser-factory.c (folder_browser_factory_new_control): Set this FB to save the preferences set in it. * folder-browser-ui.c (folder_browser_ui_add_message): Read our display's state instead of the global setting. svn path=/trunk/; revision=11131
* DUH. No need to update every folder if we set the folder browser to NULL.Peter Williams2001-07-161-0/+6
| | | | | | | | | | 2001-07-16 Peter Williams <peterw@ximian.com> * mail-folder-cache.c (mail_folder_cache_set_folder_browser): DUH. No need to update every folder if we set the folder browser to NULL. svn path=/trunk/; revision=11128
* Call mail_autoreceive_setup() so that any changes to the list of accountsJeffrey Stedfast2001-07-161-0/+6
| | | | | | | | | | 2001-07-15 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_save): Call mail_autoreceive_setup() so that any changes to the list of accounts will be respected the next time mail is checked. svn path=/trunk/; revision=11127
* Merged mine and Peter's entries.Jeffrey Stedfast2001-07-141-5/+5
| | | | | | | | 2001-07-13 Jeffrey Stedfast <fejj@ximian.com> * NEWS (Mail): Merged mine and Peter's entries. svn path=/trunk/; revision=11097
* Segfault prevention here if no uid is currently loaded.Peter Williams2001-07-141-2/+2
| | | | | | | | | 2001-07-13 Peter Williams <peterw@ximian.com> * mail-callbacks.c (expunge_folder): Segfault prevention here if no uid is currently loaded. svn path=/trunk/; revision=11093
* Segfault prevention here if we lose the race withPeter Williams2001-07-141-0/+3
| | | | | | | | | 2001-07-13 Peter Williams <peterw@ximian.com> * mail-callbacks.c (expunge_folder): Segfault prevention here if we lose the race with message_list_set_hidedeleted(). svn path=/trunk/; revision=11092
* New function. If a vfolder in our list gets finalized, NULL outPeter Williams2001-07-131-0/+7
| | | | | | | | | | | 2001-07-13 Peter Williams <peterw@ximian.com> * mail-vfolder.c (unlist_vfolder): New function. If a vfolder in our list gets finalized, NULL out info->folder (Is it wrong if this happens?) Also, locking issues? (vfolder_uri_to_folder): Hook up to the finalize event here. svn path=/trunk/; revision=11087
* Updated to reflect changes in the filter API by passing in the providedJeffrey Stedfast2001-07-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | 2001-07-13 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (filter_folder_filter): Updated to reflect changes in the filter API by passing in the provided uid cache to camel_filter_driver_filter_folder. (mail_filter_folder): Set the cache to NULL. (mail_fetch_mail): Set the cache to NULL. (fetch_mail_fetch): If a cache exists for this folder, set it. When we are finished filtering the incoming messages, the logic changes a bit. We now save the cache if keep_on_server is set *or* if there was an exception this way if the user's download gets interrupted, he won't have to download all the messages again. (fetch_mail_fetch): Oh yea, and just so if we get an exception with `delete' turned on, the next time the user checks mail and an exception *doesn't* occur, it will go back and mark all the messages for deletion. svn path=/trunk/; revision=11086
* Updated to reflect changes in the filter API by passing in the providedJeffrey Stedfast2001-07-131-2/+16
| | | | | | | | | | | | | | | | | | 2001-07-13 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (filter_folder_filter): Updated to reflect changes in the filter API by passing in the provided uid cache to camel_filter_driver_filter_folder. (mail_filter_folder): Set the cache to NULL. (mail_fetch_mail): Set the cache to NULL. (fetch_mail_fetch): If a cache exists for this folder, set it. When we are finished filtering the incoming messages, the logic changes a bit. We now save the cache if keep_on_server is set *or* if there was an exception this way if the user's download gets interrupted, he won't have to download all the messages again. svn path=/trunk/; revision=11085
* Fix the importers if you try to import into an already existing directoryIain Holmes2001-07-131-0/+5
| | | | svn path=/trunk/; revision=11058
* Force-hide all deleted messages before expunging. (expunged_folder):Jeffrey Stedfast2001-07-131-15/+25
| | | | | | | | | | | 2001-07-12 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (expunge_folder): Force-hide all deleted messages before expunging. (expunged_folder): Restore the user's "hide deleted messages" preference. svn path=/trunk/; revision=11056
* Only blank the mail display if the message being viewed is one of those toJason Leach2001-07-131-0/+6
| | | | | | | | | | 2001-07-12 Jason Leach <jleach@ximian.com> * mail-callbacks.c (expunge_folder): Only blank the mail display if the message being viewed is one of those to be expunged. Bug #4030. svn path=/trunk/; revision=11052
* Should be saving the 'identity_html_signature' andJason Leach2001-07-131-0/+7
| | | | | | | | | | | 2001-07-12 Jason Leach <jleach@ximian.com> * mail-config.c (config_read): Should be saving the 'identity_html_signature' and 'identity_has_html_signature" keys in the /Mail/Accounts prefix (with the rest of the per-account stuff, not on it's own) svn path=/trunk/; revision=11051
* no longer need to set a my address propertyJP Rosevear2001-07-121-0/+5
| | | | | | | | | 2001-07-11 JP Rosevear <jpr@ximian.com> * mail-display.c (get_embedded_for_component): no longer need to set a my address property svn path=/trunk/; revision=11019
* Set the CLIPBOARD selection as well as the primary selection so thatFederico Mena Quintero2001-07-111-0/+7
| | | | | | | | | | | 2001-07-10 Federico Mena Quintero <federico@ximian.com> * mail-display.c (link_copy_location): Set the CLIPBOARD selection as well as the primary selection so that Edit/Paste will work in other programs (e.g. Netscape). (mail_display_new): Add the target for the CLIPBOARD selection. svn path=/trunk/; revision=10977
* [Bug #4305: Make the automatic mark-as-read timer optional]Jason Leach2001-07-111-0/+16
| | | | | | | | | | | | | | | | | | | | 2001-07-10 Jason Leach <jleach@ximian.com> [Bug #4305: Make the automatic mark-as-read timer optional] * mail-config.glade: Necessary changes to make the Mark as "Read" label a toggle button instead. * mail-accounts.c (construct): Connect to the "toggled" on our new toggle. (timeout_toggled): New callback, called from above. * mail-config.c (mail_config_get_do_seen_timeout): New. (mail_config_set_do_seen_timeout): New. (mail_config_write_on_exit): Save the preference here. (config_read): Load it here. svn path=/trunk/; revision=10973
* OopsJP Rosevear2001-07-111-1/+2
| | | | svn path=/trunk/; revision=10970
* Cosmetic patch - replace our defines with the e-popup onesJP Rosevear2001-07-111-0/+2
| | | | | | | | | 2001-07-10 JP Rosevear <jpr@ximian.com> * folder-browser.c: Cosmetic patch - replace our defines with the e-popup ones svn path=/trunk/; revision=10967
* TypoJP Rosevear2001-07-111-0/+4
| | | | | | | | 2001-07-10 JP Rosevear <jpr@ximian.com> * Makefile.am: Typo svn path=/trunk/; revision=10966
* Took the logic of whether or not to make the attachment header out of thePeter Williams2001-07-111-0/+19
| | | | | | | | | | | | | | | | | | | | | | | 2001-07-10 Peter Williams <peterw@ximian.com> * mail-format.c (attachment_header): Took the logic of whether or not to make the attachment header out of the actual function. (mail_part_is_displayed_inline): Return if the part is being displayed inline (regardless of whether it is actually inline). (mail_part_toggle_displayed): Toggle whether it's displayed inline or not. (get_inline_flags): Determine whether the part is displayed inline and whether it is actually inline. (mail_format_mime_message): Initialize the attachment_status hash table. * mail-display.c (inline_cb): Instead of modifying the CamelMimePart, use mail_part_toggle_displayed (button_press): As above. (pixmap_press): Use mail_part_is_displayed_inline instead of mail_part_is_inline. Get the MailDisplay from the popup to do this. * mail.h: Add prototypes. svn path=/trunk/; revision=10960
* extra dist the news filesJP Rosevear2001-07-111-0/+4
| | | | | | | | 2001-07-10 JP Rosevear <jpr@ximian.com> * Makefile.am: extra dist the news files svn path=/trunk/; revision=10959
* Use bonobo_config_set_string_wrapper. (mail_config_write): Same.Jeffrey Stedfast2001-07-111-0/+7
| | | | | | | | | | | | | 2001-07-10 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_write_on_exit): Use bonobo_config_set_string_wrapper. (mail_config_write): Same. (bonobo_config_set_string_wrapper): Macro wrapping bonobo_config_set_string that passes "" as the val if the val is NULL. svn path=/trunk/; revision=10955
* Make sure that the reply-to addr i non-NULL before trying to add it to theJeffrey Stedfast2001-07-111-0/+6
| | | | | | | | | | 2001-07-10 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (mail_generate_reply): Make sure that the reply-to addr i non-NULL before trying to add it to the hash table. svn path=/trunk/; revision=10953
* fix typo so it compilesJP Rosevear2001-07-101-0/+4
| | | | | | | | 2001-07-09 JP Rosevear <jpr@ximian.com> * mail-account-gui.c (get_focused_widget): fix typo so it compiles svn path=/trunk/; revision=10946
* Handle application/pgp using the text/plain handler.Jeffrey Stedfast2001-07-101-2/+2
| | | | | | | | | | | | 2001-07-09 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (setup_mime_tables): Handle application/pgp using the text/plain handler. * mail-account-gui.c (get_focused_widget): New function to determine which widget is focused. svn path=/trunk/; revision=10940
* Handle application/pgp using the text/plain handler.Jeffrey Stedfast2001-07-101-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-09 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (setup_mime_tables): Handle application/pgp using the text/plain handler. * mail-account-gui.c (get_sensitive_widget): New function to determine which widget is focused. * mail-account-editor.c (apply_changes): Not only flip to the notebook page that wasn't finished, but also grab the focus of the incomplete widget. * mail-config-druid.c (source_changed): Grab the focus of the incomplete widget. (transport_prepare): And here. (identity_changed): Here too. * mail-account-gui.c (mail_account_gui_identity_complete): Take an incomplete argument so we can set which widget is incomplete and then the caller can focus it or whatever. (service_complete): Same. (mail_account_gui_transport_complete): And again here. (mail_account_gui_management_complete): And here too. svn path=/trunk/; revision=10939
* Update to pass in the `remember' argument when creating a new pgp context.Jeffrey Stedfast2001-07-101-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-09 Jeffrey Stedfast <fejj@ximian.com> * mail-format.c (decode_pgp): Update to pass in the `remember' argument when creating a new pgp context. (try_inline_pgp_sig): And here... * mail-crypto.c (mail_crypto_pgp_mime_part_sign): Update to pass in the `remember' argument when creating a new pgp context. (mail_crypto_pgp_mime_part_verify): Same. (mail_crypto_pgp_mime_part_encrypt): And here... (mail_crypto_pgp_mime_part_decrypt): And finally here. * mail-config.c (mail_config_get_remember_pgp_passphrase): New. (mail_config_set_remember_pgp_passphrase): New. (config_read): Read in the "remember passphrase" value. (mail_config_write_on_exit): Save the remember-passphrase value. * mail-accounts.c (construct): Allow the user to set "Remember PGP Passphrase". (remember_pgp_passphrase_toggled): Set the toggle state. svn path=/trunk/; revision=10934
* Update to pass in the `remember' argument when creating a new pgp context.Jeffrey Stedfast2001-07-101-16/+35
| | | | | | | | | | | | | | | | | | | | | 2001-07-09 Jeffrey Stedfast <fejj@ximian.com> * mail-crypto.c (mail_crypto_pgp_mime_part_sign): Update to pass in the `remember' argument when creating a new pgp context. (mail_crypto_pgp_mime_part_verify): Same. (mail_crypto_pgp_mime_part_encrypt): And here... (mail_crypto_pgp_mime_part_decrypt): And finally here. * mail-config.c (mail_config_get_remember_pgp_passphrase): New. (mail_config_set_remember_pgp_passphrase): New. (config_read): Read in the "remember passphrase" value. (mail_config_write_on_exit): Save the remember-passphrase value. * mail-accounts.c (construct): Allow the user to set "Remember PGP Passphrase". (remember_pgp_passphrase_toggled): Set the toggle state. svn path=/trunk/; revision=10933
* Check for an exception and print it. Call done anyway.Peter Williams2001-07-101-0/+6
| | | | | | | | | | 2001-07-09 Peter Williams <peterw@ximian.com> * mail-ops.c (get_folderinfo_got): Check for an exception and print it. Call done anyway. (do_update_subfolders): Check for NULL info. svn path=/trunk/; revision=10924
* Some NULL protection for our strings: pgp_key, html_signature, smime_key.Peter Williams2001-07-101-0/+9
| | | | | | | | | | | | | 2001-07-09 Peter Williams <peterw@ximian.com> * mail-config.c (mail_config_write): Some NULL protection for our strings: pgp_key, html_signature, smime_key. Probably we should do this for all strings. Either that or change Bonobo Config. * message-list.c (message_list_init): Explicitly initialize search to NULL. Bug 3951 might to be due to a problem wrt this, and it can't hurt. svn path=/trunk/; revision=10919
* g_strdup the result of g_get_home_dir since this variable will get free'dDan Winship2001-07-101-0/+3
| | | | | | | * mail-display.c (save_part): g_strdup the result of g_get_home_dir since this variable will get free'd later. svn path=/trunk/; revision=10918
* Use gnome_vfs_mime_get_short_list_applications rather thanDan Winship2001-07-101-0/+14
| | | | | | | | | | | | | | | | * mail-format.c (mail_lookup_handler): Use gnome_vfs_mime_get_short_list_applications rather than gnome_vfs_mime_get_default_application. * mail-display.c (pixmap_press): Construct the EPopupMenu array on the fly, based on the number of applications available to open the MIME type. (launch_cb): Figure out which menu item was clicked, and invoke the appropriate application. Ugh, messy, because of the EPopupMenu interface. Probably should get rewritten some day. Also, make this handle apps with expects_uris set too. svn path=/trunk/; revision=10916
* Change html_signature stuff over to bonobo-config -- someone forgot to doPeter Williams2001-07-101-0/+3
| | | | | | | | | 2001-07-09 Peter Williams <peterw@ximian.com> * mail-config.c (mail_config_write): Change html_signature stuff over to bonobo-config -- someone forgot to do this. svn path=/trunk/; revision=10915
* Gave up and got rid of dm. Just replaced it with d(g_message()) and setPeter Williams2001-07-091-0/+5
| | | | | | | | | 2001-07-09 Peter Williams <peterw@ximian.com> * mail-folder-cache.c (dm): Gave up and got rid of dm. Just replaced it with d(g_message()) and set G_LOG_DOMAIN. svn path=/trunk/; revision=10911
* Deleted (as opposed to #if 0) (get_folder_info): Changed to assume it hasPeter Williams2001-07-091-0/+13
| | | | | | | | | | | | | | | | | 2001-07-09 Peter Williams <peterw@ximian.com> * mail-folder-cache.c (mail_folder_cache_set_update_shellview): Deleted (as opposed to #if 0) (get_folder_info): Changed to assume it has the folder lock. (make_folder_name): Same. (make_folder_status): Same. (update_idle): Don't unlock around the make_folder_ functions. (*): Changed behavior wrt. get_folder_info. Lock before calling, but also move preconditions before -- get_folder_info can only return NULL if uri is NULL. Also add preconditions for other arguments where necessary. svn path=/trunk/; revision=10910
* Check for new_uid != NULL here before strcmping.Christopher James Lahey2001-07-081-0/+5
| | | | | | | | | 2001-07-07 Christopher James Lahey <clahey@ximian.com> * message-list.c (on_cursor_activated_cmd): Check for new_uid != NULL here before strcmping. svn path=/trunk/; revision=10889
* Only install the segv_redirect handler if SEGV's handler is not currentlyDan Winship2001-07-071-0/+6
| | | | | | | | * main.c (main): Only install the segv_redirect handler if SEGV's handler is not currently SIG_DFL. Otherwise you get an infinite SEGV loop if you run with GNOME_DISABLE_CRASH_DIALOG. svn path=/trunk/; revision=10887
* Made this handle being given a row that's outside the range better.Christopher James Lahey2001-07-071-0/+5
| | | | | | | | | 2001-07-07 Christopher James Lahey <clahey@ximian.com> * message-list.c (message_list_select): Made this handle being given a row that's outside the range better. svn path=/trunk/; revision=10881
* Removed old CVS conflict marker.Jon Trowbridge2001-07-071-1/+0
| | | | svn path=/trunk/; revision=10879
* [Fix bug #1100, default account is stored strangely]Jason Leach2001-07-071-0/+12
| | | | | | | | | | | | | | | | 2001-07-06 Jason Leach <jleach@ximian.com> [Fix bug #1100, default account is stored strangely] * mail-config.c (mail_config_get_default_account_num): New function, returns the integer of the position of the default account, used to save which account is the default to the config db. (mail_config_write): Save the default account number here in "/Mail/Accounts/default_account". (config_read): Load in which is the default here. svn path=/trunk/; revision=10873
* add a NULL check since that is a valid return.Larry Ewing2001-07-071-0/+6
| | | | | | | | | 2001-07-06 Larry Ewing <lewing@ximian.com> * mail-callbacks.c (composer_send_cb): add a NULL check since that is a valid return. svn path=/trunk/; revision=10866
* Prevent infinite recursion when viewing attachments that we can't /Peter Williams2001-07-071-0/+6
| | | | | | | | | | 2001-07-06 Peter Williams <peterw@ximian.com> * mail-format.c (format_mime_part): Prevent infinite recursion when viewing attachments that we can't / shouldn't display but are some form of plaintext. Cf bug #2234 svn path=/trunk/; revision=10857
* Freeze and Thaw the folder.Jeffrey Stedfast2001-07-071-0/+5
| | | | | | | | | 2001-07-06 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (folder_browser_copy): Freeze and Thaw the folder. svn path=/trunk/; revision=10855
* Mark the messages as Seen also. (folder_browser_class_init): Create anJeffrey Stedfast2001-07-071-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | 2001-07-06 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (folder_browser_copy): Mark the messages as Seen also. (folder_browser_class_init): Create an atom type for X-Evolution-Message selection type. (my_folder_browser_init): Add our multiple selection types, one of which is the default string type. * component-factory.c (destination_folder_handle_drop): Update to use the new X-Evolution-Message type format. * folder-browser.c (selection_get): Convert the X-Evolution-Message clipboard type to whatever format the target wants. (message_list_drag_data_get): Update because the X-Evolution-Message type changed. (folder_browser_copy): Same. (x_evolution_message_parse): And here too. svn path=/trunk/; revision=10853
* Don't free the psd here -- it will be freed on the "destroy" signal.Peter Williams2001-07-071-0/+11
| | | | | | | | | | | | | | | 2001-07-06 Peter Williams <peterw@ximian.com> * mail-callbacks.c (composer_postpone_cb): Don't free the psd here -- it will be freed on the "destroy" signal. * mail-folder-cache.c (maybe_update): Instead of an idle, use a very short timeout in hopes of reducing the number of redundant updates. * mail-tools.c (mail_tool_uri_to_folder): Only note the folder in the cache if we successfully got it. svn path=/trunk/; revision=10852
* Select the very next message after deleting, not the next undeleted (itJason Leach2001-07-071-0/+13
| | | | | | | | | | | | | | | | | 2001-07-06 Jason Leach <jleach@ximian.com> * mail-callbacks.c (delete_msg): Select the very next message after deleting, not the next undeleted (it can make things jump around in annoying ways if you are deleting many messages), bug #4032. * folder-browser.c: Forgot to commit the "Mark as Important" right click menu item. * message-list.c (message_list_set_folder): Setup the strikeout column here (after we've gotten the folder) so we can disable strikeouts for vtrash folders, part of bug #2224. svn path=/trunk/; revision=10849
* Fix obvious bug in previous bugfix: Pass "fb" to check_for_fb_match() soDan Winship2001-07-071-0/+7
| | | | | | | | | * mail-folder-cache.c (mail_folder_cache_set_folder_browser): Fix obvious bug in previous bugfix: Pass "fb" to check_for_fb_match() so only the selected folder gets updated, instead of "all folders that haven't yet been selected". svn path=/trunk/; revision=10846
* Change the folder right-click "Properties..." menu item handling soEttore Perazzoli2001-07-061-0/+6
| | | | | | | | | | that it only happens in the mailer (which is the only component actually using this). For some reason it still doesn't work properly (i.e. the menu item currently does nothing), but I haven't quite figured out why yet. svn path=/trunk/; revision=10840
* Add a checkbox for prompting when sending a message with an empty subject.Jeffrey Stedfast2001-07-061-0/+6
| | | | | | | | | | | | 2001-07-05 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (construct): Add a checkbox for prompting when sending a message with an empty subject. * mail-ops.c (mail_send_message): If filtering fails, return right away. svn path=/trunk/; revision=10821
* Okay, apparently I was wrong. Oh well. (mail_config_set_thread_list): FixJeffrey Stedfast2001-07-061-8/+19
| | | | | | | | | | 2001-07-05 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_set_show_preview): Okay, apparently I was wrong. Oh well. (mail_config_set_thread_list): Fix this one too. svn path=/trunk/; revision=10816
* Remove the ridiculuous relic known as test-mail. Clean up a bit.Peter Williams2001-07-061-0/+3
| | | | | | | | | 001-07-05 Peter Williams <peterw@ximian.com> * Makefile.am: Remove the ridiculuous relic known as test-mail. Clean up a bit. svn path=/trunk/; revision=10814
* Formatting fix on ChangeLog (ie I Forgot To Save The File Before Committing ↵Peter Williams2001-07-051-0/+2
| | | | | | Yet Again) svn path=/trunk/; revision=10807
* Add mail folder cache hookups.Peter Williams2001-07-051-0/+2
| | | | | | | | 2001-07-05 Peter Williams <peterw@ximian.com> * mail-vfolder.c (vfolder_uri_to_folder): Add mail folder cache hookups. svn path=/trunk/; revision=10806
* Clear the shell view label if mailer loses focus.Peter Williams2001-07-051-0/+8
| | | | | | | | | | | | 2001-07-05 Peter Williams <peterw@ximian.com> * mail-folder-cache.c (mail_folder_cache_set_folder_browser): Clear the shell view label if mailer loses focus. * mail-ops.c (do_update_subfolders_rec): Check for NULL url before calling folder cache functions. svn path=/trunk/; revision=10804
* set "pixname" value only if pixbuf was loaded successfully. OtherwiseGediminas Paulauskas2001-07-051-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | 2001-07-04 Gediminas Paulauskas <menesis@delfi.lt> * evolution-shell-component-utils.c (e_pixmaps_update): set "pixname" value only if pixbuf was loaded successfully. Otherwise component crashes if image is not found. Should be checked for sanity in bonobo_ui_component_set_prop IMHO. 2001-07-04 Gediminas Paulauskas <menesis@delfi.lt> * Makefile.am: install apply-filters-16.xpm 2001-07-04 Gediminas Paulauskas <menesis@delfi.lt> * evolution-mail-message.xml: MessageApplyFilters now has an icon. 2001-07-04 Gediminas Paulauskas <menesis@delfi.lt> * folder-browser-ui.c (message_pixcache): set icon for ApplyFilters command. svn path=/trunk/; revision=10783
* Revert Sam's changes.Jeffrey Stedfast2001-07-051-1/+14
| | | | | | | | | | | | | | | | 2001-07-04 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_set_show_preview): Revert Sam's changes. Note: Uhm, g_hash_table_lookup_extended gives us a pointer to the original value which we can just change to update the hash table without the need to re-insert - it's already there!! Also, you don't want to g_hash_table_insert the new value with the same key without at least first removing the existing bucket. And, you certainly don't want to g_free() the key after you insert it - eek!! svn path=/trunk/; revision=10780
* Replace value in config->preview_hash when it already exists. Old codeSam Creasey2001-07-041-0/+6
| | | | | | | | | | 2001-07-03 Sam Creasey <sammy@oh.verio.com> * mail-config.c (mail_config_set_show_preview): Replace value in config->preview_hash when it already exists. Old code never re-inserted into the hash, just assigned to val -- it's an int here, not a real pointer. svn path=/trunk/; revision=10776
* Unset the message being displayed when expunging. This makes expungedJoe Shaw2001-07-041-0/+6
| | | | | | | | | | 2001-07-03 Joe Shaw <joe@ximian.com> * mail-callbacks.c (expunge_folder): Unset the message being displayed when expunging. This makes expunged messages not show in the preview pane when they're not there anymore. Fixes #3591. svn path=/trunk/; revision=10774
* If msg is NULL, fetch the message and requeue a mail_reply call. Fixes bugJoe Shaw2001-07-041-0/+6
| | | | | | | | | | 2001-07-03 Joe Shaw <joe@ximian.com> * mail-callbacks.c (mail_reply): If msg is NULL, fetch the message and requeue a mail_reply call. Fixes bug #3816. (requeue_mail_reply): Callback from mail_get_message(). svn path=/trunk/; revision=10772
* Use a better GHashTable technique that will hopefully solve some bugs andJeffrey Stedfast2001-07-041-13/+25
| | | | | | | | | | | | | | | 2001-07-03 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_get_show_preview): Use a better GHashTable technique that will hopefully solve some bugs and also use _with_default bonobo-config call. (mail_config_set_show_preview): No sense in removing the entry from the hash table and then re-inserting it. Just reset the value. (mail_config_get_thread_list): Use the same logic. (mail_config_set_thread_list): And again here. svn path=/trunk/; revision=10770
* Split make_string into these. (update_idle): Use (name and status) insteadPeter Williams2001-07-041-0/+7
| | | | | | | | | | | 2001-07-03 Peter Williams <peterw@ximian.com> * mail-folder-cache.c (make_folder_name, make_folder_status): Split make_string into these. (update_idle): Use (name and status) instead of (wide and thin) for the text. svn path=/trunk/; revision=10766
* Finish off #809 by committing the menu and right click thingies forJacob Leach2001-07-041-0/+4
| | | | | | marking as important. svn path=/trunk/; revision=10765
* Compile fixes. #include errno.h and gnome-dialog-utils.h.Peter Williams2001-07-041-0/+5
| | | | | | | | | 2001-07-03 Peter Williams <peterw@ximian.com> * folder-browser.c (message_list_drag_data_get): Compile fixes. #include errno.h and gnome-dialog-utils.h. s/dirname/tmpdir/ svn path=/trunk/; revision=10757
* Prevent folders from appearing to have -1 new messages. Prevent nonactivePeter Williams2001-07-041-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-03 Peter Williams <peterw@ximian.com> Prevent folders from appearing to have -1 new messages. Prevent nonactive folders from updating the title bar. Make the title bar update when switching to an already-opened folder. * mail-folder-cache.c (update_message_counts): Ignore the value for 'unread' if it is -1. (get_mail_info_receive): Same (mail_folder_cache_note_folderinfo): Same. (get_folder_info): Initialize 'fb' to NULL. (mail_folder_info): Add 'fb' member. (mail_folder_cache_note_fb): Change note_message_list to this. (update_idle): Only update the ShellView if the active folder browser is the same as the one that the MFI references. (mail_folder_cache_set_folder_browser): New function. Use it to set the active folder browser. NULL is okay. (check_for_fb_match): Called from the above. If the MFI has the new folder browser as its view, queue an update. * mail-folder-cache.h: Fix prototypes. * mail-callbacks.c (create_folders): Check if fi->url is nonnull. * folder-browser.c (got_folder): Change to use note_fb instead of note_messge_list. * folder-browser-factory.c (control_activate): Set the folder browser (control_deactivate): Clear it here. (fb_get_svi): Kill some inappropriately cut-n-pasted code. svn path=/trunk/; revision=10755
* Rename some of the widgets in the news config to not conflict with theDan Winship2001-07-041-0/+6
| | | | | | | | * mail-config.glade: Rename some of the widgets in the news config to not conflict with the mail config stuff, so the mail config druid will work again. svn path=/trunk/; revision=10754