aboutsummaryrefslogtreecommitdiffstats
path: root/mail
Commit message (Collapse)AuthorAgeFilesLines
* removed.Not Zed2004-05-0328-159/+254
| | | | | | | | | | | | | | 2004-05-03 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (receive_update_done): removed. * em-mailer-prefs.h: * message-tag-followup.h: * mail-config-druid.h: * mail-tools.h: clean up & use forward decls. Fix users with busted includes. svn path=/trunk/; revision=25745
* Moved these here from em-utils.c.Not Zed2004-05-034-1120/+1133
| | | | | | | | | | | | | | | | | | 2004-05-03 Not Zed <NotZed@Ximian.com> * em-composer-utils.c (em_utils_compose_new_message) (em_utils_compose_new_message_with_mailto) (em_utils_post_to_folder, em_utils_post_to_url) (em_utils_edit_message, em_utils_edit_messages) (em_utils_forward_attached, em_utils_forward_inline) (em_utils_forward_quoted, em_utils_forward_message) (em_utils_forward_messages, em_utils_redirect_message) (em_utils_redirect_message_by_uid) : (em_utils_reply_to_message, em_utils_reply_to_message_by_uid) (em_utils_post_reply_to_message_by_uid): Moved these here from em-utils.c. svn path=/trunk/; revision=25744
* fix typo. #53466.Priit Laes2004-05-013-6/+13
| | | | | | | | | | | 2004-04-30 Priit Laes <amd@tt.ee> * mail-config.glade: fix typo. #53466. * evolution-mail.schemas.in.in: use American English instead of British. #53466. svn path=/trunk/; revision=25721
* Fix for bug #56645Jeffrey Stedfast2004-05-011-0/+2
| | | | | | | | 2004-04-30 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #56645 svn path=/trunk/; revision=25719
* If the row the cursor is hovering over has children and is not expandedJeffrey Stedfast2004-05-012-0/+78
| | | | | | | | | | | | | | 2004-04-30 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (tree_drag_motion): If the row the cursor is hovering over has children and is not expanded already, setup a timer to auto-expand it if the user hovers there long enough. (tree_autoexpand): Callback to expand the row. (tree_drag_leave): Disconnect the timer. (tree_drag_drop): Same. (em_folder_tree_destroy): Same. svn path=/trunk/; revision=25718
* Fixed a type-o.Enver ALTIN2004-05-012-1/+5
| | | | | | | | 2004-04-30 Enver ALTIN <enver.altin@frontsite.com.tr> * evolution-mail.schemas.in.in: Fixed a type-o. svn path=/trunk/; revision=25715
* Properly initialise the strikeout column for both types of folders (trashJeffrey Stedfast2004-05-012-18/+20
| | | | | | | | | | 2004-04-30 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (message_list_set_folder): Properly initialise the strikeout column for both types of folders (trash and not trash). Completes the fix for bug #57304. svn path=/trunk/; revision=25714
* fix the overwrite? question. #57822.Not Zed2004-04-302-1/+5
| | | | | | | | 2004-04-30 Not Zed <NotZed@Ximian.com> * em-utils.c (emu_can_save): fix the overwrite? question. #57822. svn path=/trunk/; revision=25699
* change all the session-message-* things to just be secondary, otherwiseNot Zed2004-04-292-6/+9
| | | | | | | | | 2004-04-29 Not Zed <NotZed@Ximian.com> * mail-errors.xml.in: change all the session-message-* things to just be secondary, otherwise they look awful all big fonted. svn path=/trunk/; revision=25683
* forgot to prefix error type with "mail:"Not Zed2004-04-292-2/+5
| | | | | | | | | 2004-04-29 Not Zed <NotZed@Ximian.com> * mail-session.c (error_type[]): forgot to prefix error type with "mail:" svn path=/trunk/; revision=25681
* duh, use the right error id.Not Zed2004-04-292-1/+4
| | | | | | | | | 2004-04-29 Not Zed <NotZed@Ximian.com> * em-account-prefs.c (account_delete_clicked): duh, use the right error id. svn path=/trunk/; revision=25680
* call mail_note_store rather than get_folder_info so that unread counts areNot Zed2004-04-292-1/+5
| | | | | | | | | | 2004-04-29 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (receive_update_got_store): call mail_note_store rather than get_folder_info so that unread counts are propagated to the ui too. svn path=/trunk/; revision=25679
* fix the password dialogue text.Not Zed2004-04-292-1/+6
| | | | | | | | 2004-04-29 Not Zed <NotZed@Ximian.com> * mail-errors.xml.in: fix the password dialogue text. svn path=/trunk/; revision=25678
* Sort the VFolders. Fixes bug #56636.Jeffrey Stedfast2004-04-292-29/+4
| | | | | | | | | 2004-04-28 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (sort_cb): Sort the VFolders. Fixes bug #56636. svn path=/trunk/; revision=25672
* We only want 8bits per color. Fixes bug #57588.Jeffrey Stedfast2004-04-292-4/+7
| | | | | | | | | 2004-04-28 Jeffrey Stedfast <fejj@ximian.com> * em-mailer-prefs.c (citation_color_set): We only want 8bits per color. Fixes bug #57588. svn path=/trunk/; revision=25671
* Duh. If the lookup of si fails, don't use si->display_name in the warningJeffrey Stedfast2004-04-293-6/+12
| | | | | | | | | | | | | | | | | 2004-04-28 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (em_folder_tree_model_remove_store): Duh. If the lookup of si fails, don't use si->display_name in the warning message. Actually, don't bother with a warning message at all, this is a perfectly valid situation. Fixes bug #57746. * mail-ops.c (mail_send_message): Don't set the Date header here anymore. It has either already been set (when written to the Outbox) or will automagially be set to the current time if a Date hasn't already been set when the transport sends it. Fixes bug #57599. svn path=/trunk/; revision=25670
* check stat == 0Jeffrey Stedfast2004-04-291-1/+1
| | | | svn path=/trunk/; revision=25669
* Use g_shell_parse_argv() to get the actual script path and then check thatJeffrey Stedfast2004-04-282-7/+17
| | | | | | | | | | | 2004-04-28 Jeffrey Stedfast <fejj@ximian.com> * em-composer-prefs.c (sig_add_script_response): Use g_shell_parse_argv() to get the actual script path and then check that we can exec argv[0] rather than treating the entire command-line as the signature script. Fixes bug #57305. svn path=/trunk/; revision=25667
* return the right type, related to #53839.Not Zed2004-04-282-1/+6
| | | | | | | | | 2004-04-28 Not Zed <NotZed@Ximian.com> * message-list.c (ml_selection_clear_event): return the right type, related to #53839. svn path=/trunk/; revision=25656
* ** Changed error messages to use EError.Not Zed2004-04-2817-281/+145
| | | | | | | | 2004-04-28 Not Zed <NotZed@Ximian.com> ** Changed error messages to use EError. svn path=/trunk/; revision=25653
* ** See bug #57659.Not Zed2004-04-273-17/+5
| | | | | | | | | | 2004-04-27 Not Zed <NotZed@Ximian.com> ** See bug #57659. * mail-ops.c (fix_unmatched_info): removed, done in camel now. svn path=/trunk/; revision=25625
* ** See bug #57511.Not Zed2004-04-273-2/+13
| | | | | | | | | | | | | | | 2004-04-27 Not Zed <NotZed@Ximian.com> ** See bug #57511. * mail-config.glade: gave the whole smime frame (vbox) a name so we can use it from code. * mail-account-gui.c (mail_account_gui_new): get the smime_vbox widget if we have no NSS, the name changed and the HIG patches didn't fix it. svn path=/trunk/; revision=25622
* added bug #Radek Doulik2004-04-261-0/+2
| | | | svn path=/trunk/; revision=25617
* set gtk_html_begin's flags to avoid scroll to top of the message andRadek Doulik2004-04-264-4/+25
| | | | | | | | | | | | | | | | 2004-04-26 Radek Doulik <rodo@ximian.com> * em-format-html.c (efh_format_timeout): set gtk_html_begin's flags to avoid scroll to top of the message and reloading+flickering of images * em-html-stream.c: added GtkHTMLBeginFlags flags field (em_html_stream_set_flags): new helper function to set new flags field (emhs_sync_write): use gtk_html_begin_full with new flags field (em_html_stream_new): zero flags field svn path=/trunk/; revision=25616
* Glade file for displaying the license.Sarfraaz Ahmed2004-04-232-0/+158
| | | | | | | | 2004-04-23 Sarfraaz Ahmed <asarfraaz@novell.com> * mail/mail-license.glade: Glade file for displaying the license. svn path=/trunk/; revision=25595
* fix the check to see if we've already loaded the images. #57450.Not Zed2004-04-232-1/+6
| | | | | | | | | 2004-04-23 Not Zed <NotZed@Ximian.com> * em-format-html.c (em_format_html_load_http): fix the check to see if we've already loaded the images. #57450. svn path=/trunk/; revision=25594
* Added a check for HAS_LICENSE flag.Sarfraaz Ahmed2004-04-232-1/+159
| | | | | | | | | | | | 2004-04-23 Sarfraaz Ahmed <asarfraaz@novell.com> * mail-account-gui.c (mail_account_gui_source_complete): Added a check for HAS_LICENSE flag. (mail_account_gui_check_for_license)(display_license) (populate_text_entry)(check_button_state)(set_license_accepted) (set_license_rejected): Implemented svn path=/trunk/; revision=25591
* do the imap cmeta files, it just does the sync offline stuff. #56674.Not Zed2004-04-222-56/+137
| | | | | | | | | | 2004-04-22 Not Zed <NotZed@Ximian.com> * em-migrate.c (em_migrate_imap_cmeta_1_4): do the imap cmeta files, it just does the sync offline stuff. #56674. (em_migrate_1_4): non-fatalise some of the options, call above. svn path=/trunk/; revision=25578
* force check of autosaved messages as soon as the mailer starts up (well,Not Zed2004-04-222-1/+21
| | | | | | | | | | | 2004-04-22 Not Zed <NotZed@Ximian.com> * mail-component.c (view_control_activate_cb): force check of autosaved messages as soon as the mailer starts up (well, after a delay, this seems wrong). #57093. svn path=/trunk/; revision=25576
* display selected count instead of unread if we have >1 selected. AlsoNot Zed2004-04-222-3/+33
| | | | | | | | | | 2004-04-22 Not Zed <NotZed@Ximian.com> * mail-component.c (view_changed_cb): display selected count instead of unread if we have >1 selected. Also don't do special case drafts/sent/outbox stuff if folders are inbox or re-used. svn path=/trunk/; revision=25575
* use a better test for non-full lines.Not Zed2004-04-212-2/+7
| | | | | | | | | 2004-04-21 Not Zed <NotZed@Ximian.com> * em-inline-filter.c (emif_scan): use a better test for non-full lines. svn path=/trunk/; revision=25554
* dont desensitise HideDeleted just 'cause we have no folder, it needs toNot Zed2004-04-212-2/+16
| | | | | | | | | | | | 2004-04-21 Not Zed <NotZed@Ximian.com> * em-folder-browser.c (emfb_activate): dont desensitise HideDeleted just 'cause we have no folder, it needs to depend on Trash folder only. (emfb_set_folder): set the hidedeleted sensitivity based on whether we have a trash folder or not. Fixed #57226. svn path=/trunk/; revision=25551
* use the right signal callback for the changed signal. Fixes #57246.Not Zed2004-04-212-1/+4
| | | | | | | | | 2004-04-21 Not Zed <NotZed@Ximian.com> * em-folder-view.c (emfv_class_init): use the right signal callback for the changed signal. Fixes #57246. svn path=/trunk/; revision=25548
* fix for e_user_creatable_items api changes. (create_item): split out theNot Zed2004-04-212-20/+46
| | | | | | | | | | | | 2004-04-21 Not Zed <NotZed@Ximian.com> * mail-component.c (impl_createControls): fix for e_user_creatable_items api changes. (create_item): split out the code to create the item. (create_local_item_cb): new callback for local item creation. (impl_requestCreateItem): call create_item to do the work. svn path=/trunk/; revision=25545
* dded a needed #includeJeffrey Stedfast2004-04-201-0/+1
| | | | svn path=/trunk/; revision=25535
* added a needed #includeJeffrey Stedfast2004-04-201-0/+1
| | | | svn path=/trunk/; revision=25534
* Use E_ICON_SIZE_* enums for the menu icon sizes.Jeffrey Stedfast2004-04-202-5/+8
| | | | | | | | | 2004-04-19 Jeffrey Stedfast <fejj@ximian.com> * em-folder-browser.c: Use E_ICON_SIZE_* enums for the menu icon sizes. svn path=/trunk/; revision=25531
* Use E_ICON_SIZE_* enums for the menu/toolbar icon sizes.Jeffrey Stedfast2004-04-202-36/+39
| | | | | | | | | 2004-04-19 Jeffrey Stedfast <fejj@ximian.com> * em-folder-view.c: Use E_ICON_SIZE_* enums for the menu/toolbar icon sizes. svn path=/trunk/; revision=25530
* Same.Jeffrey Stedfast2004-04-2011-21/+41
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-19 Jeffrey Stedfast <fejj@ximian.com> * message-tag-followup.c (construct): Same. * message-list.c (message_list_init_images): Same. * mail-send-recv.c (build_dialog): Same. * mail-mt.c (do_op_status): Same. * mail-config-druid.c (evolution_mail_config_wizard_new): Same. * em-popup.c (em_popup_create_menu): Same. * em-format-html-display.c (efhd_format_prefix): Same. * em-format-html.c (efh_format_secure): Same as below. * em-folder-tree.c (render_pixbuf): Don't use absolute icon sizes, use the e-icon-factory enums. svn path=/trunk/; revision=25527
* get rid of mark_pixbuf, it's not even suedJeffrey Stedfast2004-04-202-6/+0
| | | | svn path=/trunk/; revision=25524
* Removed variables that got re-added with the icon-theme patch somehow.Jeffrey Stedfast2004-04-206-19/+16
| | | | | | | | | | | | 2004-04-19 Jeffrey Stedfast <fejj@ximian.com> * em-composer-prefs.h: Removed variables that got re-added with the icon-theme patch somehow. * em-account-prefs.c: Don't bother keeping global references to the enable_pixbuf anymore, since it's unnecessary. svn path=/trunk/; revision=25523
* mail-component.cMichael Terry2004-04-1921-217/+241
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-19 Michael Terry <mike@mterry.name> * GNOME_Evolution_Mail.server.in.in: * em-account-prefs.[ch]: * em-composer-prefs.[ch]: * em-folder-browser.c: * em-folder-tree.c: * em-folder-view.c: * em-format-html-display.c: * em-format-html.[ch]: * em-popup.c: * mail-component.c * mail-config-druid.c: * mail-config.glade: * mail-mt.c: * mail-send-recv.c: * message-list.c: * message-tag-followup.c: * message-tags.glade: Update the mailer to use icon themes through the EIconFactory object in e-util svn path=/trunk/; revision=25517
* Removed unused and uninitialised "url" local that gets g_free-edDavid Malcolm2004-04-192-2/+6
| | | | | | | | | 2004-04-16 David Malcolm <dmalcolm@redhat.com> * importers/netscape-importer.c (netscape_import_accounts): Removed unused and uninitialised "url" local that gets g_free-ed svn path=/trunk/; revision=25507
* Work in progress, HIG'ing and de-coupling of errors.Michael Zucci2004-04-161-0/+293
| | | | svn path=/trunk/; revision=25493
* Change the message display widget names to match the ones we are using inJeffrey Stedfast2004-04-162-3/+10
| | | | | | | | | | 2004-04-15 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (config_write_style): Change the message display widget names to match the ones we are using in 1.5 (rather than the ones from earlier versions). Fixes bug #57070. svn path=/trunk/; revision=25490
* Added a new "message_list_scrolled" signal so our users can listen to thisJeffrey Stedfast2004-04-153-11/+33
| | | | | | | | | | | 2004-04-14 Jeffrey Stedfast <fejj@ximian.com> * message-list.c: Added a new "message_list_scrolled" signal so our users can listen to this event in order to update saved state. (message_list_get_scrollbar_position): Simplified. (message_list_set_scrollbar_position): Simplified. svn path=/trunk/; revision=25470
* Don't complain about message errors ("Internal Error: ..."), insteadJeffrey Stedfast2004-04-152-5/+6
| | | | | | | | | | 2004-04-14 Jeffrey Stedfast <fejj@ximian.com> * em-format.c: Don't complain about message errors ("Internal Error: ..."), instead silently fall back to display the message as source. Fixes bug #56876. svn path=/trunk/; revision=25464
* ugh, use the queued thread to get the folder, otherwise we can get foldersNot Zed2004-04-145-11/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-14 Not Zed <NotZed@Ximian.com> * em-folder-view.c (emfv_set_folder_uri): ugh, use the queued thread to get the folder, otherwise we can get folders set on the display out of order. * message-list.c (message_list_set_search): if we set this while frozen, save the search elsewhere. (message_list_thaw): if we had a frozen-time search, use it when we regenerate. * em-folder-browser.c (emfb_set_folder): freeze/thaw the messagelist around changes so we don't have multiple updates fire off changing folders. (emfb_activate): remove an unused variable i never used. * message-list.c (message_list_freeze, message_list_thaw): lock some updates to the ui, so you can do things like set folder and search atomically. (message_list_set_threaded, message_list_set_hidedeleted) (message_list_set_search, message_list_hide_uids) (message_list_hide_clear, message_list_set_folder): dont refresh the list if we're frozen. svn path=/trunk/; revision=25458
* remove debug comment.Not Zed2004-04-145-12/+73
| | | | | | | | | | | | | | | | | | 2004-04-14 Not Zed <NotZed@Ximian.com> * mail-component.c (impl_createControls): remove debug comment. ** See #56641. * em-format-html-display.c (efhd_format_secure): fix a small memleak. (efhd_bonobo_unknown, efhd_format_attachment): close the <object> tag properly, and <br> it as well to make sure its separated. * em-sync-stream.c: add some runtime and compile time stream logging stuff. svn path=/trunk/; revision=25457
* ** See bug #56149.Not Zed2004-04-145-44/+26
| | | | | | | | | | | | | | | | | | 2004-04-14 Not Zed <NotZed@Ximian.com> ** See bug #56149. * em-folder-view.c (emfv_edit_cut): similar to below, use focus to determine who we select from. (emfv_edit_copy): ditto. * message-list.c: Remove primary selection stuff. It just annoys. * em-folder-browser.c (emfb_edit_copy): use focus rather than selection owner to determine who to copy from. (emfb_edit_cut): similarly. svn path=/trunk/; revision=25455
* hmm, use the right pointer when iterating the pending uri list.Not Zed2004-04-142-5/+9
| | | | | | | | | 2004-04-14 Not Zed <NotZed@Ximian.com> * em-format.c (emf_multipart_related): hmm, use the right pointer when iterating the pending uri list. svn path=/trunk/; revision=25454
* We don't actually want to disallow clicking on \NoSelect folders. Fixes aJeffrey Stedfast2004-04-142-1/+5
| | | | | | | | | | 2004-04-13 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (impl_createControls): We don't actually want to disallow clicking on \NoSelect folders. Fixes a bug campd has been complaining to me about :-) svn path=/trunk/; revision=25449
* argh. don't expand/fillJeffrey Stedfast2004-04-141-4/+4
| | | | svn path=/trunk/; revision=25444
* If we get an empty charset string from gconf, don't try to use the resultJeffrey Stedfast2004-04-142-3/+10
| | | | | | | | | | 2004-04-13 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_signature_run_script): If we get an empty charset string from gconf, don't try to use the result to create a charset filter. Real fix for bug #51924. svn path=/trunk/; revision=25443
* upped the defult timeout to 10 minutes rather than 1Jeffrey Stedfast2004-04-141-1/+1
| | | | svn path=/trunk/; revision=25441
* Removed crackrock usage of GtkFixed as fillter. Also HIGified some otherJeffrey Stedfast2004-04-142-413/+393
| | | | | | | | | 2004-04-13 Jeffrey Stedfast <fejj@ximian.com> * mail-config.glade: Removed crackrock usage of GtkFixed as fillter. Also HIGified some other stuff. svn path=/trunk/; revision=25440
* enabled some unread-count debug spewageJeffrey Stedfast2004-04-142-3/+3
| | | | svn path=/trunk/; revision=25439
* track the messagelist hidedeleted value since it looks it up when we setNot Zed2004-04-145-17/+70
| | | | | | | | | | | | | | | | | | | | | 004-04-13 Not Zed <NotZed@Ximian.com> * em-folder-view.c (emfv_set_folder): track the messagelist hidedeleted value since it looks it up when we set the folder. * em-folder-browser.c (emfb_hide_deleted): use new method below to propagate change. (emfb_activate): same. * em-folder-view.c (em_folder_view_set_hide_deleted): accessor to set the hide_deleted state, emits a view_changed event. * mail-component.c (view_changed_cb): use VISIBLE rather than TOTAL for the displayed total count. Also deleted if we're not in hide deleted mode. And do spethal things with spethal folders, etc. svn path=/trunk/; revision=25438
* run this in the thread_queued_slow, so it runs in sequence and afterNot Zed2004-04-133-1/+8
| | | | | | | | | | | | 2004-04-13 Not Zed <NotZed@Ximian.com> * mail-ops.c (mail_refresh_folder): run this in the thread_queued_slow, so it runs in sequence and after folder_sync. * em-folder-view.c (emfv_set_folder): fire off a refresh_folder once the folder is loaded. Addresses #56871. svn path=/trunk/; revision=25431
* reset load_http_now once we've done, should fix #56338 finally.Not Zed2004-04-132-0/+3
| | | | | | | | | | 2004-04-13 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_format_done): reset load_http_now once we've done, should fix #56338 finally. svn path=/trunk/; revision=25430
* use %% for %%.Not Zed2004-04-135-14/+31
| | | | | | | | | | | | | | | | | | | | | | | | 2004-04-13 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_format_headers): use %% for %%. * em-folder-view.c (emfv_init, emfv_finalise, emfv_activate): revert dans' creatable items handler patch, moved to mail-component instead (which deals with the actual menu's). * mail-component.c (impl_createControls): setup a user creatable items handler on the view widget. (view_control_activate_cb): activate the user creatable items handler on the view widget. * em-folder-view.c (emfv_init): add a comment about jeff's last fix. * em-utils.c (forward_non_attached): Set attachments from forwardee before we set the body, otherwise images wont resolve properly. Related to #56566. svn path=/trunk/; revision=25428
* Need to set the session on the preview object. Fixes bug #56862.Jeffrey Stedfast2004-04-132-1/+6
| | | | | | | | | 2004-04-12 Jeffrey Stedfast <fejj@ximian.com> * em-folder-view.c (emfv_init): Need to set the session on the preview object. Fixes bug #56862. svn path=/trunk/; revision=25419
* Scroll to the auto-selected folder. Fixes bug #56707.Jeffrey Stedfast2004-04-132-0/+4
| | | | | | | | | 2004-04-12 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (em_folder_tree_set_selected): Scroll to the auto-selected folder. Fixes bug #56707. svn path=/trunk/; revision=25418
* New function. (message_list_set_scrollbar_position): New function.Jeffrey Stedfast2004-04-133-0/+27
| | | | | | | | | | | | | 2004-04-12 Jeffrey Stedfast <fejj@ximian.com> * message-list.c (message_list_get_scrollbar_position): New function. (message_list_set_scrollbar_position): New function. * em-utils.c (em_uri_to_camel): If the provider is unavailable, return euri like the other fail cases. Fixes bug #56846. svn path=/trunk/; revision=25417
* If the provider is unavailable, return euri like the other fail cases.Jeffrey Stedfast2004-04-122-2/+8
| | | | | | | | | 2004-04-12 Jeffrey Stedfast <fejj@ximian.com> * em-utils.c (em_uri_to_camel): If the provider is unavailable, return euri like the other fail cases. Fixes bug #56846. svn path=/trunk/; revision=25415
* Updated Spanish translation.Francisco Javier F. Serrador2004-04-102-1/+6
| | | | | | | | 2004-04-10 Francisco Javier F. Serrador <serrador@cvs.gnome.org> * es.po: Updated Spanish translation. svn path=/trunk/; revision=25406
* Don't bother adding the autogen sig here, e-signature-list.c handles thisJeffrey Stedfast2004-04-103-11/+44
| | | | | | | | | | | | 2004-04-09 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (mail_config_init): Don't bother adding the autogen sig here, e-signature-list.c handles this now. * em-migrate.c (em_upgrade_accounts_1_4): Migrate the signature uids. Fixes bug #56726. svn path=/trunk/; revision=25404
* use e_destination_export_to_vcard_attribute instead of exporting to xml,Chris Toshok2004-04-104-34/+46
| | | | | | | | | | | | | | | | | | | 2004-04-09 Chris Toshok <toshok@ximian.com> * importers/pine-importer.c (import_contact): use e_destination_export_to_vcard_attribute instead of exporting to xml, and use e_contact_set_attributes. * em-utils.c (em_utils_camel_address_to_destination): EABDestination -> EDestination. (reply_get_composer): same (post_reply_to_message): same. * em-composer-utils.c (ask_confirm_for_unwanted_html_mail): EABDestination -> EDestination. (composer_get_message): same. svn path=/trunk/; revision=25392
* add width=16 height=16 to rupert's image so that it doesn't flicker/moveRadek Doulik2004-04-102-1/+6
| | | | | | | | | 2004-04-09 Radek Doulik <rodo@ximian.com> * em-format-html.c (efh_format_headers): add width=16 height=16 to rupert's image so that it doesn't flicker/move svn path=/trunk/; revision=25385
* Set the excluded bits on the folder-tree. Don't allow the user to xferJeffrey Stedfast2004-04-102-0/+8
| | | | | | | | | | | 2004-04-09 Jeffrey Stedfast <fejj@ximian.com> * em-folder-selection.c (em_select_folder): Set the excluded bits on the folder-tree. Don't allow the user to xfer messages into folders which are: NoSelect, Virtual, nor vTrash. Fixes bug #56229. svn path=/trunk/; revision=25384
* Create an EUserCreatableItemsHandler for the view. (emfv_finalise): UnrefDan Winship2004-04-093-0/+22
| | | | | | | | | | | | * em-folder-view.c (emfv_init): Create an EUserCreatableItemsHandler for the view. (emfv_finalise): Unref it. (emfv_activate): Activate it * mail-component.c (impl__get_userCreatableItems): add object/folder flags to the items svn path=/trunk/; revision=25380
* Now takes a pattern argument to limit files that get copied over (so weJeffrey Stedfast2004-04-092-4/+8
| | | | | | | | | | 2004-04-08 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.c (cp_r): Now takes a pattern argument to limit files that get copied over (so we can limit imap cache to only the summary files - makes it faster). svn path=/trunk/; revision=25378
* Fixed up a bit to look nicer and make it closer to HIG compliant.Jeffrey Stedfast2004-04-093-155/+189
| | | | | | | | | 2004-04-08 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_build_extra_conf): Fixed up a bit to look nicer and make it closer to HIG compliant. svn path=/trunk/; revision=25377
* We need to recursively copy the dragged folder tree over to the dropJeffrey Stedfast2004-04-092-9/+61
| | | | | | | | | | | 2004-04-08 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_drop_folder): We need to recursively copy the dragged folder tree over to the drop location, not just the parent folder. We also need to subscribe to the newly created folder in some cases. svn path=/trunk/; revision=25375
* add the monkey button if we're from evolution. See #52977. (emfh_gethttp):Not Zed2004-04-082-7/+29
| | | | | | | | | | 2004-04-08 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_format_headers): add the monkey button if we're from evolution. See #52977. (emfh_gethttp): cast away a warning. svn path=/trunk/; revision=25372
* VJUNK_FOLDER's dont exist, they're VTRASH folders now.Not Zed2004-04-086-61/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-08 Not Zed <NotZed@Ximian.com> * mail-folder-cache.c: (update_1folder): VJUNK_FOLDER's dont exist, they're VTRASH folders now. * em-folder-view.c: remove message_changed stuff from camel folder stuff. * mail-component.c (mail_component_init): don't setup the search context here, wait till its requested. Fixes #56672. 2004-04-07 Not Zed <NotZed@Ximian.com> * mail-component.c (view_changed_cb): hook to update the info label when the folderview changes. * em-folder-view.c (emfv_class_init): added 2 signals 'loaded' and 'changed'. For when a folder is set/cleared or when some state changes. (emfv_set_folder): emit LOADED signal when we set the folder. (emfv_list_message_selected): emit changed event. (emfv_gui_folder_changed): emit changed event. svn path=/trunk/; revision=25369
* Check that emft_selection_get_selected() returns TRUE before we try to useJeffrey Stedfast2004-04-082-5/+23
| | | | | | | | | | | | | | 2004-04-07 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_tree_button_press): Check that emft_selection_get_selected() returns TRUE before we try to use the iter. Fixes bug #56652. (emft_popup_delete_response): Same idea here. (emft_popup_delete_folder): Same. (emft_popup_rename_folder): Same. (emft_popup_properties): Same. svn path=/trunk/; revision=25366
* moved a comment to a more appropriate locationJeffrey Stedfast2004-04-081-1/+1
| | | | svn path=/trunk/; revision=25365
* Fix for bug #56538Jeffrey Stedfast2004-04-082-20/+33
| | | | | | | | | | | | | | 2004-04-07 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #56538 * em-folder-view.c (emfv_set_folder_uri): Don't set the preview empty here. (emfv_set_folder): If the folder is the same as the folder already on the emfv, just return. Otherwise clear the preview and continue setting the folder as normal. svn path=/trunk/; revision=25364
* Removed.Jeffrey Stedfast2004-04-087-26/+6
| | | | | | | | | | | | 2004-04-07 Jeffrey Stedfast <fejj@ximian.com> * em-account-prefs.c (em_account_prefs_apply): Removed. * em-mailer-prefs.c (em_mailer_prefs_apply): Removed. * em-composer-prefs.c (em_composer_prefs_apply): Removed. svn path=/trunk/; revision=25362
* No longer need the Apply stuff.Jeffrey Stedfast2004-04-084-49/+3
| | | | | | | | | 2004-04-07 Jeffrey Stedfast <fejj@ximian.com> * mail-config-factory.c (mail_config_control_factory_cb): No longer need the Apply stuff. svn path=/trunk/; revision=25356
* Don't call a function that doesn't exist anymore.Jeffrey Stedfast2004-04-072-1/+6
| | | | | | | | | 2004-04-07 Jeffrey Stedfast <fejj@ximian.com> * em-mailer-prefs.c (em_mailer_prefs_construct): Don't call a function that doesn't exist anymore. svn path=/trunk/; revision=25351
* Changed to save the settings in the signal callbacks.Jeffrey Stedfast2004-04-075-705/+483
| | | | | | | | | | | | | | | 2004-04-06 Jeffrey Stedfast <fejj@ximian.com> * em-mailer-prefs.c (em_mailer_prefs_construct): Changed to save the settings in the signal callbacks. (em_mailer_prefs_apply): Don't save the settings here. * em-composer-prefs.c (em_composer_prefs_apply): Don't save the settings here. (em_composer_prefs_construct): Changed to save the settings in the signal callbacks. svn path=/trunk/; revision=25344
* ref the emfoldertree in our thread message. (em_folder_tree_set_selected):Not Zed2004-04-064-2/+18
| | | | | | | | | | | | | | | | | 2004-04-06 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (emft_tree_row_expanded): ref the emfoldertree in our thread message. (em_folder_tree_set_selected): same. (emft_get_folder_info__free): unref it. * mail-folder-cache.c (ping_store): use thread_queued_slow not thread_queued - we dont care when it runs. * em-folder-view.c (emfv_set_folder_uri): use thread_new for getting the folder, we do elsewhere, and it aids interactivity. svn path=/trunk/; revision=25330
* fixedJeffrey Stedfast2004-04-061-4/+4
| | | | svn path=/trunk/; revision=25320
* Migrate the thread_list setting. Fixes bug #56297.Jeffrey Stedfast2004-04-062-51/+111
| | | | | | | | | 2004-04-05 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.c (em_migrate_dir): Migrate the thread_list setting. Fixes bug #56297. svn path=/trunk/; revision=25318
* if we have no sign status, use signed-nokey, rather than no icon.Not Zed2004-04-052-3/+37
| | | | | | | | | | | | | | | | | | 2004-04-05 Not Zed <NotZed@Ximian.com> * em-format-html-display.c (efhd_xpkcs7mime_button): if we have no sign status, use signed-nokey, rather than no icon. (efhd_xpkcs7mime_viewcert_clicked): show the certificate viewer since certificate_viewer_show doesn't show it. (efhd_xpkcs7mime_viewcert_foad): foad foad foad. The api changed and we need to foad it ourselves. ** See bug #52822. * em-format-html-display.c (efhd_xpkcs7mime_add_cert_table): if we can't find the cert, then desensitise the cert button. svn path=/trunk/; revision=25313
* ** See bug # 56402.Not Zed2004-04-053-4/+12
| | | | | | | | | | | | | | 2004-04-05 Not Zed <NotZed@Ximian.com> ** See bug # 56402. * mail-folder-cache.c (update_folders): if we're cancelled, noop. (mail_note_store_remove): mark the update data cancelled. * mail-ops.c (get_folderinfo_got): Removed the meaningless comment here. svn path=/trunk/; revision=25312
* removed, this is done in camel now. (fix_unmatched_info): renamed fromNot Zed2004-04-052-68/+9
| | | | | | | | | | 2004-04-05 Not Zed <NotZed@Ximian.com> * mail-ops.c (add_special_info): removed, this is done in camel now. (fix_unmatched_info): renamed from add_unmatched_info. svn path=/trunk/; revision=25311
* Revert my "fix" from yesterday. We can't necessarily show progressJeffrey Stedfast2004-04-032-2/+5
| | | | | | | | | | 2004-04-02 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.c (cp_r): Revert my "fix" from yesterday. We can't necessarily show progress (progress window may have been destroyed already). svn path=/trunk/; revision=25307
* Fixes bug #53851Jeffrey Stedfast2004-04-033-8/+26
| | | | | | | | | | | | | | | | 2004-04-02 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #53851 * em-folder-view.c (emfv_popup_move_cb): Save the uri as the default for copy/move. (emfv_popup_move): Use the default copy/move uri. (emfv_popup_copy): Same. * em-folder-selection.c (em_select_folder): Select the uri *after* the dialog gets shown. svn path=/trunk/; revision=25306
* Fixes bug #37416Jeffrey Stedfast2004-04-033-5/+32
| | | | | | | | | | | | | | | | 2004-04-02 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #37416 * mail-folder-cache.c (update_1folder): Same as below. Also add vJunk fodlers to the list of folders that we display the total count for (as discussed on the mailing lists). * em-folder-tree-model.c (em_folder_tree_model_set_folder_info): Use 'total - deleted' as the count for Outbox rather than just the total count. svn path=/trunk/; revision=25305
* do a per-line validation of the uuencoded stuff, based on the length byte.Not Zed2004-04-022-0/+20
| | | | | | | | | 2004-04-02 Not Zed <NotZed@Ximian.com> * em-inline-filter.c: do a per-line validation of the uuencoded stuff, based on the length byte. svn path=/trunk/; revision=25297
* ** See bug #56338.Not Zed2004-04-022-6/+15
| | | | | | | | | | | | | 2004-04-02 Not Zed <NotZed@Ximian.com> ** See bug #56338. * em-format-html.c (emfh_gethttp): fix the fugly "load http if" that doesn't work to be a fugly "load http if" that does work. (efh_format_timeout): dont set load_http_now here, its only an override now. svn path=/trunk/; revision=25296
* Report progress. "Fixes" bug #56355.Jeffrey Stedfast2004-04-022-3/+7
| | | | | | | | 2004-04-01 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.c (cp_r): Report progress. "Fixes" bug #56355. svn path=/trunk/; revision=25290
* simplify menu_item_set_label()Jeffrey Stedfast2004-04-021-10/+5
| | | | svn path=/trunk/; revision=25289
* Set the updated sig->name on the menu item.Jeffrey Stedfast2004-04-022-3/+23
| | | | | | | | | 2004-04-01 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (signature_changed): Set the updated sig->name on the menu item. svn path=/trunk/; revision=25286
* Updated for signature API changes.Jeffrey Stedfast2004-04-0212-699/+443
| | | | | | | | | | | | | | | | | | | | | | 2004-04-01 Jeffrey Stedfast <fejj@ximian.com> * importers/netscape-importer.c (netscape_import_accounts): Updated for signature API changes. * mail-account-gui.c: Same. * mail-signature-editor.c: Same. * em-composer-prefs.c: Same. * mail-config.c: Rewrote the signature stuff to use ESignatureList instead. Much cleaner and less broken. * em-mailer-prefs.c (em_mailer_prefs_construct): Always make the Add/Remove Header buttons de-sensitised at the start. Fixes bug #56284. svn path=/trunk/; revision=25282
* Commented grabbing focus on hostname edit, fix the focus issue of AccountEric Zhao2004-04-012-1/+5
| | | | | | | | | 2004-04-01 Eric Zhao <eric.zhao@sun.com> * mail-account-gui.c: (transport_type_changed): Commented grabbing focus on hostname edit, fix the focus issue of Account Assistant. svn path=/trunk/; revision=25278
* Only do citation colouring if the user has specified to do so and use theJeffrey Stedfast2004-04-012-3/+31
| | | | | | | | | | 2004-03-31 Jeffrey Stedfast <fejj@ximian.com> * em-format-html.c (efh_text_plain): Only do citation colouring if the user has specified to do so and use the user's specified colour when appropriate. Fixes bug #56290. svn path=/trunk/; revision=25269
* Save/restore the subscribe dialog's window size. Fixes bug #56230.Jeffrey Stedfast2004-04-014-5/+82
| | | | | | | | | 2004-03-31 Jeffrey Stedfast <fejj@ximian.com> * em-subscribe-editor.c (em_subscribe_editor_new): Save/restore the subscribe dialog's window size. Fixes bug #56230. svn path=/trunk/; revision=25266
* REMOVED! And there was much rejoicing.Not Zed2004-03-313-32/+3
| | | | | | | | 2004-03-31 Not Zed <NotZed@Ximian.com> * mail.h: REMOVED! And there was much rejoicing. svn path=/trunk/; revision=25262
* Cleaned up header inclusions and added plenty of forward declarations.Not Zed2004-03-3130-168/+391
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-31 Not Zed <NotZed@Ximian.com> * *.[ch]: Cleaned up header inclusions and added plenty of forward declarations. Sped up complete re-compilation by upto 20%. ** See bug #55950. * em-utils.c (em_utils_in_addressbook): utility for checking if an email address is in the addressbook. I can't tell if it works 'cause it crashes eds. * em-format-html.c (emfh_gethttp): handle addressbook checking. 2004-03-30 Not Zed <NotZed@Ximian.com> * mail-config.h: clean up the headers and use some forward decl's instead. * em-format-html.c (em_format_html_set_load_http): change state to an int 'style' instead. * em-folder-view.c (emfv_setting_notify): set the format load http option to the config value directly. ** See bug #56147. * message-list.c (clear_info): set the node data to NULL when we unref its data. (ml_get_save_id): use a different test for the root node, and return NULL if we don't have any data on the node (because we're cleaing it). ** See bug #54962. * em-folder-tree.c (emft_popup_new_folder_response): put back the old hack to open the vfolder editor if you try to create a folder under vfolders. ** See bug #55940. * mail-autofilter.c (mail_filter_rename_uri): map the uri to an email uri before passing to filter code. (mail_filter_delete_uri): same here. svn path=/trunk/; revision=25261
* add spellLiveToggled signalRadek Doulik2004-03-303-2/+156
| | | | | | | | | | | | | | | 2004-03-30 Radek Doulik <rodo@ximian.com> * mail-config.glade: add spellLiveToggled signal * em-composer-prefs.c (em_composer_prefs_construct): fix typo, call toggle_button_init on prefs->spell_check instead of againg on prefs->auto_smileys (spell_setup): connect spellLiveToggled signal Fixes #55964 svn path=/trunk/; revision=25241
* Free the folder-info.Jeffrey Stedfast2004-03-302-2/+4
| | | | | | | | | 2004-03-29 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_create_folder__free): Free the folder-info. svn path=/trunk/; revision=25233
* Instead of comparing sstate[0] to '1', compare it against '0' like all theJeffrey Stedfast2004-03-302-1/+7
| | | | | | | | | | 2004-03-29 Jeffrey Stedfast <fejj@ximian.com> * em-folder-browser.c (emfb_activate): Instead of comparing sstate[0] to '1', compare it against '0' like all the other code does. svn path=/trunk/; revision=25227
* remove local-config.glade form Makefile.am as it is removed form CVSSivaiah Nallagatla2004-03-252-1/+6
| | | | svn path=/trunk/; revision=25184
* Use gtk_window_present instead of doing a show then raise, as this alsoRodney Dawes2004-03-2513-3579/+5393
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-25 Rodney Dawes <dobey@ximian.com> * em-composer-prefs.c (sig_edit_cb): (sig_add_script_cb): Use gtk_window_present instead of doing a show then raise, as this also puts the window on the current workspace (em_composer_prefs_construct): Fix the border widths for the dialog vbox and action area to be HIG-compliant, and realize the window Remove the dialog separator Use a box_pack_start, rather than box_pack_start_defaults which causes some weird behaviour when changing the border widths * em-subscribe-editor.c (em_subscribe_editor_new): Realize the dialog and set the border widths for its vbox and action area to be compliant with the HIG * local-config.glade: Removed this file as it is no longer used * mail-account-editor.c (construct): Realize the dialog, remove its separator, and set the border widths for its vbox and action area to be HIG-compliant * mail-account-editor.c (source_type_changed): (transport_type_changed): Fix the showing and hiding of the widgets related to the SSL options (mail_account_gui_new): Get the transport/source frames for the SSL options, and hide them by default Show the default folder buttons by default here (mail_account_gui_setup): Only call _show not _show_all here, so we don't mess up the shown/hidden state of things * mail-account-gui.h: Add ssl_frame widget to the MailAccountGuiService * mail-config.glade: * mail-search.glade: * mail-security.glade: HIG-compliance fixes for the glade dialogs * message-tag-followup.c (construct): Don't set border_width on the dialog itself Remove the separator from the dialog Set the border_widths for the dialog's vbox and action areas to be compliant with the HIG * message-tags.glade: * subscribe-dialog.glade: HIG-compliance fixes for these dialogs Original patch from Martyn Russell svn path=/trunk/; revision=25183
* Use ngettext for handling plural forms throughout (fixes bug 53464).Danilo Å egan2004-03-242-2/+11
| | | | svn path=/trunk/; revision=25168
* Use sizeof() to decide how big buffer is so that in the future, if weJeffrey Stedfast2004-03-242-1/+5
| | | | | | | | | | 2004-03-23 Jeffrey Stedfast <fejj@ximian.com> * em-format-html.c (emfh_gethttp): Use sizeof() to decide how big buffer is so that in the future, if we change the length of bufefr, things will Just Work (tm). svn path=/trunk/; revision=25166
* Fixed the key to fetch the value from the correct location. It'sJeffrey Stedfast2004-03-242-2/+6
| | | | | | | | | | 2004-03-23 Jeffrey Stedfast <fejj@ximian.com> * em-mailer-prefs.c (em_mailer_prefs_construct): Fixed the key to fetch the value from the correct location. It's junk/check_incoming, not junk/sa/check_incoming. Fixes bug #55903. svn path=/trunk/; revision=25165
* Fixed some logic bugs.Jeffrey Stedfast2004-03-242-10/+12
| | | | | | | | | 2004-03-23 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (em_folder_tree_model_set_expanded): Fixed some logic bugs. svn path=/trunk/; revision=25164
* use EM_FORMAT_HTML_VPADRadek Doulik2004-03-234-3/+16
| | | | | | | | | | | | | | | 2004-03-23 Radek Doulik <rodo@ximian.com> * em-format-html-display.c (efhd_format_attachment): use EM_FORMAT_HTML_VPAD * em-format-html.h (EM_FORMAT_HTML_VPAD): added new define for vertical padding * em-format-html.c (efh_format_message): change padding table so that it works OK with fixed gtkhtml svn path=/trunk/; revision=25156
* dont add the show/hide menu items if we can't ever show it inline.Not Zed2004-03-232-6/+17
| | | | | | | | | | | 2004-03-23 Not Zed <NotZed@Ximian.com> * em-format-html-display.c (efhd_attachment_popup): dont add the show/hide menu items if we can't ever show it inline. (efhd_attachment_button): disable the ">" button if we can't view the content inline. See #52086. svn path=/trunk/; revision=25155
* format inline(d) parts automatically into the reply. Part of #55702.Not Zed2004-03-232-1/+20
| | | | | | | | | 2004-03-23 Not Zed <NotZed@Ximian.com> * em-format-quote.c (emfq_format_attachment): format inline(d) parts automatically into the reply. Part of #55702. svn path=/trunk/; revision=25152
* if we get an email uri passed in, just pass it out again, without firstNot Zed2004-03-232-0/+9
| | | | | | | | | 2004-03-23 Not Zed <NotZed@Ximian.com> * em-utils.c (em_uri_from_camel): if we get an email uri passed in, just pass it out again, without first going to camel to do it. svn path=/trunk/; revision=25150
* Add Newsgroups to the default header list.Not Zed2004-03-224-23/+55
| | | | | | | | | | | | | 2004-03-22 Not Zed <NotZed@Ximian.com> * em-format.c: * em-mailer-prefs.c: Add Newsgroups to the default header list. * em-format-html.c (efh_format_header): handle the newsgroups header, output news: url's. For bug #??? i can't recall, i closed it already! svn path=/trunk/; revision=25141
* Fixes bug #54800.Jeffrey Stedfast2004-03-202-2/+73
| | | | | | | | | | | | | | | 2004-03-19 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #54800. * em-folder-tree.c (tree_drag_drop): Remove the autoscroll timeout. (tree_drag_leave): Remove the autoscroll timeout. (tree_autoscroll): New autoscroll timeout callback - automagically scrolls the treeview if appropriate. (tree_drag_motion): Setup the autoscroll timeout. svn path=/trunk/; revision=25134
* ref the store before running the async disconnect, otherwise we unref oneNot Zed2004-03-192-1/+8
| | | | | | | | | | 2004-03-19 Not Zed <NotZed@Ximian.com> * mail-component.c (mail_component_remove_store): ref the store before running the async disconnect, otherwise we unref one too many times. svn path=/trunk/; revision=25124
* Don't set the account source/transport types to disabled simply becauseJeffrey Stedfast2004-03-192-16/+66
| | | | | | | | | | | | | 2004-03-18 Jeffrey Stedfast <fejj@ximian.com> * mail-account-gui.c (mail_account_gui_setup): Don't set the account source/transport types to disabled simply because the provider is NULL (think of the "None" option). (source_type_changed): Need to update widget sensitivity based on locked'ness here. (transport_type_changed): Same. svn path=/trunk/; revision=25121
* rfc2047 decode the address here before passing it off to the addressbookJeffrey Stedfast2004-03-192-2/+20
| | | | | | | | | | 2004-03-18 Jeffrey Stedfast <fejj@ximian.com> * em-utils.c (em_utils_add_address): rfc2047 decode the address here before passing it off to the addressbook (which expects it to be in human-readable form, not encoded). Fixes bug #55591. svn path=/trunk/; revision=25118
* save the source and transport vbox's to enable/disable the whole lotNot Zed2004-03-186-82/+34
| | | | | | | | | | | | | | | 2004-03-18 Not Zed <NotZed@Ximian.com> * mail-account-gui.c (mail_account_gui_new): save the source and transport vbox's to enable/disable the whole lot easier. (mail_account_gui_setup): enable above based on perms. (mail_account_gui_build_extra_conf): also disable extra page, as above. * em-account-prefs.c (account_cursor_change): disable the whole account editor if accounts are ro. svn path=/trunk/; revision=25114
* make this crap not break the buildMichael Zucci2004-03-182-2/+2
| | | | svn path=/trunk/; revision=25111
* started writing this, but i couldn't be fucked right now - apparentlyNot Zed2004-03-1811-31/+309
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-18 Not Zed <NotZed@Ximian.com> * mail-config.c (mail_config_writable): started writing this, but i couldn't be fucked right now - apparently gnome is supposed to use the gconf thing which just doens't work. i'll waste a few hours trying to get it to work again first before i keep going with this. 2004-03-17 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_message_deliverystatus): format as plain text too. * em-format.c (emf_message_deliverystatus): format delivery status messages as plain text, rather than as messages. since they wont be CamelMimeMessages. Maybe they should be silently hidden. * mail-offline-handler.c (store_go_online): split this, only call add_store/note_store once we've actually set the store online. (store_went_online): set the store up once we're fully online. Works around a deadlock in #55618. * em-account-prefs.c (account_cursor_change): disable editing/adding/removing accounts etc if accounts aren't editable. (em_account_prefs_construct): call above after setup. * mail-component.c (mc_quit_sync): if we have empty on exit days, check that. keep track of the last empty on exit time. * em-mailer-prefs.c (emmp_empty_trash_init): init the trash stuff here. (em_mailer_prefs_apply): save empty trash on exit frequency. svn path=/trunk/; revision=25110
* format as plain text too.Not Zed2004-03-172-0/+38
| | | | | | | | | | | | | | 2004-03-17 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_message_deliverystatus): format as plain text too. * em-format.c (emf_message_deliverystatus): format delivery status messages as plain text, rather than as messages. since they wont be CamelMimeMessages. Maybe they should be silently hidden. svn path=/trunk/; revision=25098
* split this, only call add_store/note_store once we've actually set theNot Zed2004-03-171-3/+11
| | | | | | | | | | | 2004-03-17 Not Zed <NotZed@Ximian.com> * mail-offline-handler.c (store_go_online): split this, only call add_store/note_store once we've actually set the store online. (store_went_online): set the store up once we're fully online. Works around a deadlock in #55618. svn path=/trunk/; revision=25097
* Fix for bug #55358.Jeffrey Stedfast2004-03-175-139/+320
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-16 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #55358. * em-folder-tree.c (emft_expand_node): Changed to be the callback function for em_folder_tree_model_expand_foreach(). (emft_maybe_expand_row): Renamed from emft_loading_row_cb(). We now handle both "loading-row" an "loaded-row" signals. Also updated for slight change in key generation. (em_folder_tree_new_with_model): Connect to the "loaded-row" signal. (emft_update_model_expanded_state): Updated for slight change in key generation. * em-folder-tree-model.c (em_folder_tree_model_add_store): Emit the "loaded-row" signal for the newly added store. (em_folder_tree_model_set_folder_info): Emit "loaded-row" for the row we've just set the info on (but only after we've added a child node if there is one, so the signal handler can expand the newly added row if appropriate). (em_folder_tree_model_class_init): Setup the "loaded-row" signal. (em_folder_tree_model_finalize): The tree-state is now an xml file and not a binary file, so change the expanded free func. (em_folder_tree_model_load_state): Load the expand-state xml file. If one doesn't exist, setup some defaults. (em_folder_tree_model_get_expanded): Scan the XML tree for the node. (em_folder_tree_model_set_expanded): Same. (em_folder_tree_model_save_expanded): Save the expand-state xml tree to disk. (em_folder_tree_model_expand_foreach): New function to iterate over all xml nodes and call the callback if the expand state is "true". svn path=/trunk/; revision=25094
* Don't focus the name_entry widget here.Jeffrey Stedfast2004-03-173-3/+9
| | | | | | | | | | | | 2004-03-16 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (impl_requestCreateItem): Don't focus the name_entry widget here. * em-folder-selector.c (em_folder_selector_create_new): Focus the name_entry widget here rather than in mail-component.c svn path=/trunk/; revision=25091
* New function to return a description of the async drop operation. FixesJeffrey Stedfast2004-03-172-1/+32
| | | | | | | | | 2004-03-16 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_drop_async_desc): New function to return a description of the async drop operation. Fixes bug #54808. svn path=/trunk/; revision=25090
* If the mail_get_message() async op fails, it will still call us with aJeffrey Stedfast2004-03-162-0/+11
| | | | | | | | | | | 2004-03-15 Jeffrey Stedfast <fejj@ximian.com> * em-utils.c (reply_to_message): If the mail_get_message() async op fails, it will still call us with a NULL message to check for that. Fixes bug #55612. (post_reply_to_message): Same. svn path=/trunk/; revision=25081
* Use camel_store_rename_folder() when appropriate (m->tostore ==Jeffrey Stedfast2004-03-162-21/+41
| | | | | | | | | | 2004-03-15 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_copy_folders__copy): Use camel_store_rename_folder() when appropriate (m->tostore == m->fromstore && m->delete) svn path=/trunk/; revision=25080
* make this a varags function, which then calls the virtual method to do theNot Zed2004-03-153-2/+41
| | | | | | | | | | | | | | | | 2004-03-15 Not Zed <NotZed@Ximian.com> * em-format.c (em_format_format_error): make this a varags function, which then calls the virtual method to do the work. (emf_multipart_appledouble, emf_multipart_mixed) (emf_multipart_alternative, emf_multipart_related) (emf_message_rfc822): print an error to explain why you're getting source content displayed. (em_format_format_secure): make this a function. and if we're done formatting a secure part, and we dont have a parent anymore, null out the validity. See #55541. svn path=/trunk/; revision=25070
* No-op if emfv->folder is NULL (this means we are looking at a storeJeffrey Stedfast2004-03-132-1/+7
| | | | | | | | | | 2004-03-12 Jeffrey Stedfast <fejj@ximian.com> * em-folder-browser.c (emfb_search_search_activated): No-op if emfv->folder is NULL (this means we are looking at a store folder? or else the folder hasn't loaded yet). Fixes bug #55293. svn path=/trunk/; revision=25052
* remove junk learning thread, it's handled in camel-folder.c:folder_changedRadek Doulik2004-03-134-114/+18
| | | | | | | | | | | | | 2004-03-11 Radek Doulik <rodo@ximian.com> * mail-ops.c: remove junk learning thread, it's handled in camel-folder.c:folder_changed now * em-folder-view.c (emfv_popup_mark_junk): use em_folder_view_mark_selected, set junk, junk-learn and seen flags (emfv_popup_mark_nojunk): similar, reset junk, set junk-learn flags svn path=/trunk/; revision=25046
* Removed. No longer in use (hasn't been since before 1.2).Jeffrey Stedfast2004-03-133-119/+80
| | | | | | | | | | | | | | | | | 2004-03-12 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (mail_send_mail): Removed. No longer in use (hasn't been since before 1.2). (send_queue_send): Before enetring the main send loop, create a temporary uid array containing ONLY the messages we will send (ie. not any that have been marked deleted) so that we can more accurately report the number of messages total that we are sending. Also continue sending even if we encounter an exeption in mail_send_message() (unless, of course, it is a user-cancel). Merge any exceptions we get into the master exception variable and ALWAYS sync/expunge the queue folder. svn path=/trunk/; revision=25043
* Reverted signal blocking stuff. Doesn't work and is unneeded with theJeffrey Stedfast2004-03-122-11/+5
| | | | | | | | | 2004-03-11 Jeffrey Stedfast <fejj@ximian.com> * em-folder-browser.c (emfb_set_folder): Reverted signal blocking stuff. Doesn't work and is unneeded with the proper fix. svn path=/trunk/; revision=25034
* Fixed a bug where txt wasn't being properly initialised in all cases forJeffrey Stedfast2004-03-122-8/+33
| | | | | | | | | | | | | 2004-03-11 Jeffrey Stedfast <fejj@ximian.com> * em-format-html.c (efh_format_header): Fixed a bug where txt wasn't being properly initialised in all cases for Date headers. Also fixed the x-evolution-mailer code to simply use the ehader->value that was passed in. (efh_format_headers): Fixed to handle the special X-Evolution-Mailer header. svn path=/trunk/; revision=25028
* a really gross hack, disable all search handlers before setting the searchNot Zed2004-03-112-19/+61
| | | | | | | | | | | | | | | 2004-03-11 Not Zed <NotZed@Ximian.com> * em-folder-browser.c (emfb_set_folder): a really gross hack, disable all search handlers before setting the search and set hte search manually rather than going through the callbacks. Partial fix for #55267, and ugly as it is. (emfb_init): save the search signal id's. (emfb_set_folder): ugh, properly set the defaults if the settings haven't been stored on the folder, and properly move them upstream to the bonobo menus. svn path=/trunk/; revision=25027
* when we sort, handle not having the node in the tree. otherwise we alwaysNot Zed2004-03-112-3/+10
| | | | | | | | | | | 2004-03-11 Not Zed <NotZed@Ximian.com> * em-folder-tree-model.c (sort_cb): when we sort, handle not having the node in the tree. otherwise we always compare against "" which puts it at the head of the branch, rather than the tail. See #55428. svn path=/trunk/; revision=25024
* make dnd look funny for joe. #55246.Not Zed2004-03-112-1/+4
| | | | | | | | | 2004-03-11 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (tree_drag_motion): make dnd look funny for joe. #55246. svn path=/trunk/; revision=25023
* change stores hash to point to a structure, in which we maintain theNot Zed2004-03-112-21/+73
| | | | | | | | | | | 2004-03-11 Not Zed <NotZed@Ximian.com> * mail-component.c: change stores hash to point to a structure, in which we maintain the vtrash and vjunk folders for the entirety of the session. memory use be damned i guess. #55417 and partially #55391. svn path=/trunk/; revision=25022
* pass the raw header in instead of name and value. (efh_format_headers): ifNot Zed2004-03-1112-71/+156
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-11 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_format_header): pass the raw header in instead of name and value. (efh_format_headers): if we have specific headers to show, iterate over all headers and print out all matching ones, so duplicate headers are properly displayed. Related to #55298. * em-folder-selector.c (em_folder_selector_construct): dont set this to be modal. otherwise you can't click on error popups. duh. 2004-03-08 Not Zed <NotZed@Ximian.com> * em-folder-selection-button.c (em_folder_selection_button_clicked): don't let the user select virtual/vtrash folders or non-selectable folders. * mail-component.c (impl_createControls): disable selection of non-select rows. * em-folder-selector.c (em_folder_selector_create_new): exclude folders with noinferiors set. * em-folder-tree.c (folder_tree_new): add folder tree arg, hook onto the selection funciton for the tree selection. (emft_select_func): selection override function. allow certain things to be excluded. (em_folder_tree_set_excluded): api to set what is excluded from the selectability. (emft_tree_row_activated): call emft_select_func check to see if this row is excluded before emitting an activated signal. * em-folder-tree-model.c (em_folder_tree_model_set_folder_info): save folder info->flags in the tree store. * mail-folder-cache.c (create_folders): use tail recursion. (get_folders): tail recurse. * (*): Fixed for api changes in camel. svn path=/trunk/; revision=25020
* Fix for bug #55298.Jeffrey Stedfast2004-03-112-14/+20
| | | | | | | | | | | | | | | 2004-03-10 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #55298. * em-format-html.c (efh_format_header): Now takes a default txt argument (header value). For address/date headers, if this isn't set, default back to the old behaviour of looking it up. (efh_format_headers): If we are iterating thru the camel raw headers, always pas the header value as the txt argument, otherwise always pass NULL. svn path=/trunk/; revision=25015
* Removed an unused variable left over from an old attempted fix.Jeffrey Stedfast2004-03-113-7/+11
| | | | | | | | | | | | | 2004-03-10 Jeffrey Stedfast <fejj@ximian.com> * em-format-html-display.c (efhd_xpkcs7mime_validity_clicked): Removed an unused variable left over from an old attempted fix. * em-folder-selector.c (emfs_response): Select the same folder in the create-folder dialog as is selected in the parent selector dialog. Fixes the rest of bug #53862. svn path=/trunk/; revision=25014
* Partial fix for bug #53862Jeffrey Stedfast2004-03-115-2/+72
| | | | | | | | | | | | | | | | | 2004-03-10 Jeffrey Stedfast <fejj@ximian.com> Partial fix for bug #53862 * em-folder-selector.c (emfs_response): Connect to the newly added "folder-added" signal and save a created_uri string so that we can be sure to only listen for the creation of the folder the user created in *our* create-folder dilog (and not from some other place). * em-folder-tree-model.c (folder_subscribed): Emit a new "folder-added" signal. svn path=/trunk/; revision=25013
* Focus the entry widget. Fixes bug #55330.Jeffrey Stedfast2004-03-112-0/+6
| | | | | | | | | 2004-03-10 Jeffrey Stedfast <fejj@ximian.com> * mail-session.c (request_password): Focus the entry widget. Fixes bug #55330. svn path=/trunk/; revision=25012
* ops, put close to the other if branchRadek Doulik2004-03-111-0/+1
| | | | svn path=/trunk/; revision=25011
* (pipe_to_sa_with_error): do not call close, camel_stream_closeRadek Doulik2004-03-112-1/+2
| | | | | | should be enough to be sure the fd was closed svn path=/trunk/; revision=25010
* call camel_stream_close and close the fds[1]Radek Doulik2004-03-112-1/+7
| | | | | | | | | 2004-03-10 Radek Doulik <rodo@ximian.com> * em-junk-filter.c (pipe_to_sa_with_error): call camel_stream_close and close the fds[1] svn path=/trunk/; revision=25009
* New async function to create a folder. (em_folder_tree_create_folder):Jeffrey Stedfast2004-03-092-28/+156
| | | | | | | | | | | | | | 2004-03-08 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_create_folder): New async function to create a folder. (em_folder_tree_create_folder): Partly moved into emft_create_folder. Might be able to remove this code, but lewing might be using it in Connector or something? Need to ask him... (emft_popup_new_folder_response): Use emft_create_folder() instead. svn path=/trunk/; revision=24993
* new method, filter folder with FILTER_SOURCE_JUNKTEST type filterRadek Doulik2004-03-094-5/+37
| | | | | | | | | | | | | | 2004-03-08 Radek Doulik <rodo@ximian.com> * mail-ops.c (mail_filter_junk): new method, filter folder with FILTER_SOURCE_JUNKTEST type filter * em-folder-view.c: added Filter Junk command and junk icons to menus, added apply filters icon to popup menu (emfv_popup_filter_junk): new helper method, calls mail_filter_junk svn path=/trunk/; revision=24991
* Don't set our parent window as the efhd, ehfd isn't even a widget.Jeffrey Stedfast2004-03-065-3/+27
| | | | | | | | | | | | | | | | | 2004-03-05 Jeffrey Stedfast <fejj@ximian.com> * em-format-html-display.c (em_format_html_display_search): Don't set our parent window as the efhd, ehfd isn't even a widget. Fixes bug #54030 * em-format-html-display.c (efhd_search_response): Reset the searching tokeniser on Cancel. * e-searching-tokenizer.c (e_searching_tokenizer_reset): New function to reset a search tokeniser. svn path=/trunk/; revision=24977
* ** See bug #55096.Not Zed2004-03-053-1/+24
| | | | | | | | | | | | | | | | 2004-03-05 Not Zed <NotZed@Ximian.com> ** See bug #55096. * importers/evolution-mbox-importer.c (process_item_fn): hack, unref when complete * importers/evolution-outlook-importer.c (outlook_importer_new): init status lock. (process_item_fn): hack, unref ourselves when we're complete. i think the shell leaks the ref. svn path=/trunk/; revision=24972
* If event == NULL, don't try to use event->key.timeJeffrey Stedfast2004-03-053-5/+58
| | | | | | | | | | | | | | 2004-03-04 Jeffrey Stedfast <fejj@ximian.com> * em-folder-view.c (emfv_popup): If event == NULL, don't try to use event->key.time * em-migrate.c (upgrade_vfolder_sources_1_4): New function to upgrade vfolder sources. (em_upgrade_xml_1_4): If the doc is vfolders.xml, upgrade the sources nodes. svn path=/trunk/; revision=24971
* ** See bug #53738.Not Zed2004-03-032-15/+13
| | | | | | | | | | | | 2004-03-03 Not Zed <NotZed@Ximian.com> ** See bug #53738. * mail-ops.c (fetch_mail_fetch): if we've been cancelled, uncancel so syncing can work. and always sync the folder (with expunge if deleting). svn path=/trunk/; revision=24948
* ** See bug #54924.Not Zed2004-03-032-8/+28
| | | | | | | | | | | | 2004-03-03 Not Zed <NotZed@Ximian.com> ** See bug #54924. * em-utils.c (em_utils_selection_set_urilist): Try to get the drop filename from the message subject, or folder name. (em_utils_empty_trash): kill warning. svn path=/trunk/; revision=24946
* ** See bug #54121.Not Zed2004-03-033-10/+57
| | | | | | | | | | | | | | 2004-03-03 Not Zed <NotZed@Ximian.com> ** See bug #54121. * mail-component.c (impl_requestCreateItem) (emc_new_folder_response): Hack in a nastish implementation of create folder for the new menu. (impl__get_userCreatableItems): add 'new mail folder' to new button. svn path=/trunk/; revision=24945
* if we have the folder opened already, and its the outbox, then use theNot Zed2004-03-0312-147/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-03 Not Zed <NotZed@Ximian.com> * em-inline-filter.c (emif_scan): * em-folder-tree-model.c (em_folder_tree_model_set_folder_info): if we have the folder opened already, and its the outbox, then use the total count instead of unread count. Bit of hack, but copies mail-folder-cache stuff. * mail-component.c (mc_add_store): renamed from mail_component_add_store, internal call. Added a done callback. (mc_add_local_store): renamed from mc_add_store, callback for local store. (mail_component_add_store): call mc_add_store to do the work. (mc_add_local_store_done): ugh, the target of all this shit - note all the default folders now they should be setup. * mail-folder-cache.c (mail_note_folder): clean up the logic a bit. was gonna do osmething else but it didn't work. 2004-03-02 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (mail_send): if we're already sending, up the again count to tell it we need to re-send again. (receive_done): if we've been asked to run a send again while we were already running it, run it again to make sure we didn't miss any new messages. See bug #46839. * em-mailer-prefs.c (em_mailer_prefs_construct): update check_incoming_imap changes for merge conflicts. (settings_changed): i have no idea what these changes jeff did do, but check_incoming_imap is no longer needed, so i've deleted most of it. 2004-02-27 Not Zed <NotZed@Ximian.com> * em-format.c (emf_multipart_encrypted, emf_multipart_signed): If validation fails, display as multipart/mixed rather than unkown attachment type, and make the error a little clearer that its an error. See #52939. 2004-02-26 Not Zed <NotZed@Ximian.com> * message-list.c (regen_list_regened): NOOP if the folder has changed. * mail-session.c (mail_session_check_junk_notify): remove check_incoming_imap test. (mail_session_init): " * evolution-mail.schemas.in.in: Remove check_incoming_imap option. * mail-config.glade: Remove check incoming imap checkbox. * em-mailer-prefs.c (em_mailer_prefs_construct): remove check_incoming_imap test. (em_mailer_prefs_apply): " (settings_changed): " svn path=/trunk/; revision=24944
* s/||/&&/. Fixes a dumb bug I introduced yesterday.Jeffrey Stedfast2004-03-032-1/+6
| | | | | | | | | 2004-03-02 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_tree_button_press): s/||/&&/. Fixes a dumb bug I introduced yesterday. svn path=/trunk/; revision=24938
* Connect to the folder-activated signal. (folder_activated_cb): CallJeffrey Stedfast2004-03-024-9/+83
| | | | | | | | | | | | | | | | | | 2004-03-01 Jeffrey Stedfast <fejj@ximian.com> * em-folder-selector.c (em_folder_selector_construct): Connect to the folder-activated signal. (folder_activated_cb): Call gtk_dialog_response() with GTK_RESPONSE_OK. Fixes bug #54793. * em-folder-tree.c (emft_tree_row_activated): New callback to emit the "folder-activated" signal which is needed to fix bug #54793. (emft_tree_button_press): Handle button1 double-clicks too (also for bug #54793). (emft_tree_button_press): On right-click, we also want to select the folder the user right-clicked on. Fixes bug #54772. svn path=/trunk/; revision=24928
* Fixed some console warnings from my last commit.Jeffrey Stedfast2004-02-282-27/+20
| | | | | | | | | 2004-02-27 Jeffrey Stedfast <fejj@ximian.com> * em-mailer-prefs.c (em_mailer_prefs_construct): Fixed some console warnings from my last commit. svn path=/trunk/; revision=24914
* removed unused source filesJeffrey Stedfast2004-02-282-196/+0
| | | | svn path=/trunk/; revision=24912
* If gconf_entry_get_value() returns NULL, then it means the key was unsetJeffrey Stedfast2004-02-284-79/+240
| | | | | | | | | | | | | | | | | | | | 2004-02-27 Jeffrey Stedfast <fejj@ximian.com> * em-folder-view.c (emfv_setting_notify): If gconf_entry_get_value() returns NULL, then it means the key was unset or something. Don't use g_return_if_fail() for that. First of the lockdown fixes... * em-composer-prefs.c (em_composer_prefs_construct): Same as below. * em-mailer-prefs.c (em_mailer_prefs_construct): Respect locked-down keys by disabling their sensitivity to the user. (settings_changed): Don't re-enable check_incoming_imap if the key is locked. svn path=/trunk/; revision=24911
* Create the arrows in these widgets as GTK_SHADOW_NONE, since the defaultRodney Dawes2004-02-272-1/+9
| | | | | | | | | | | | 2004-02-26 Rodney Dawes <dobey@ximian.com> * em-format-html-display.c (efhd_attachment_button): Create the arrows in these widgets as GTK_SHADOW_NONE, since the default arrow type in GTK+ 2.x is flat triangle arrows, and shadow types are generally ignored for arrows anyway, and so we don't look ugly with themes that handle shadow types on arrows correctly svn path=/trunk/; revision=24901
* Fix for bug #54352Jeffrey Stedfast2004-02-275-15/+41
| | | | | | | | | | | | | | | | | 2004-02-26 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #54352 * em-message-browser.c (emmb_class_init): Set update_message_style to FALSE. * em-folder-view.c (emfv_setting_notify): Only update message display style if our subclass wants us to. (emfv_class_init): Set update_message_style to TRUE. (emfv_view_mode): Don't save the gconf key unless our class allows us to. svn path=/trunk/; revision=24894
* Make sure url->path is non-NULL before setting folder_name to url->path +Jeffrey Stedfast2004-02-272-3/+12
| | | | | | | | | | 2004-02-26 Jeffrey Stedfast <fejj@ximian.com> * em-utils.c (em_utils_folder_name_from_uri): Make sure url->path is non-NULL before setting folder_name to url->path + 1. Could possibly fix bug #54853. svn path=/trunk/; revision=24887
* NOOP if the folder has changed.Not Zed2004-02-261-4/+7
| | | | | | | | | 2004-02-26 Not Zed <NotZed@Ximian.com> * message-list.c (regen_list_regened): NOOP if the folder has changed. svn path=/trunk/; revision=24877
* get rid of a duplicate #includeJeffrey Stedfast2004-02-261-1/+0
| | | | svn path=/trunk/; revision=24875
* Protect against using NULL pixbufs. Gets rid of a lot of console warningJeffrey Stedfast2004-02-262-7/+14
| | | | | | | | | | 2004-02-25 Jeffrey Stedfast <fejj@ximian.com> * em-format-html-display.c (efhd_attachment_button): Protect against using NULL pixbufs. Gets rid of a lot of console warning spewage on my system. svn path=/trunk/; revision=24873
* Removed Delete/KP_Delete from here. Now handled via the bonobo-ui menuJeffrey Stedfast2004-02-262-4/+5
| | | | | | | | | 2004-02-25 Jeffrey Stedfast <fejj@ximian.com> * em-folder-view.c (emfv_list_key_press): Removed Delete/KP_Delete from here. Now handled via the bonobo-ui menu accels. Fixes bug #53504. svn path=/trunk/; revision=24870
* set seen flag for junk messages52004-02-262-1/+4
| | | | | | | | | 2004-02-25 <rodo@ximian.com> * mail-session.c (main_get_filter_driver): set seen flag for junk messages svn path=/trunk/; revision=24867
* do not set DELETED52004-02-262-2/+6
| | | | | | | | 2004-02-25 <rodo@ximian.com> * em-folder-view.c (emfv_popup_mark_junk): do not set DELETED svn path=/trunk/; revision=24865
* Removed Apply button. As discussed on IRC, UI doesn't feel we should haveJeffrey Stedfast2004-02-252-81/+7
| | | | | | | | | | 2004-02-24 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (construct): Removed Apply button. As discussed on IRC, UI doesn't feel we should have an Apply button here. svn path=/trunk/; revision=24857
* Need to listen for changes to S/MIME options, the signature option menu,Jeffrey Stedfast2004-02-253-18/+44
| | | | | | | | | | 2004-02-24 Jeffrey Stedfast <fejj@ximian.com> * mail-account-editor.c (construct): Need to listen for changes to S/MIME options, the signature option menu, and any extra provider-specific config options. Fixes bug #54036. svn path=/trunk/; revision=24852
* Set the SEEN flag as well. (emfv_list_key_press): Removed theJeffrey Stedfast2004-02-253-16/+19
| | | | | | | | | | | | | | 2004-02-24 Jeffrey Stedfast <fejj@ximian.com> * em-folder-view.c (emfv_popup_mark_junk): Set the SEEN flag as well. (emfv_list_key_press): Removed the skip-to-next-message logic as this was already being handled in emfv_popup_delete(). Fixes bug #54471. (emfv_enable_menus): Re-enable MessageDelete here. Fixes bug #54770. svn path=/trunk/; revision=24849
* Use the new camel_store_folder_uri_equal() function.Jeffrey Stedfast2004-02-252-37/+9
| | | | | | | | | | 2004-02-24 Jeffrey Stedfast <fejj@ximian.com> * em-utils.c (em_utils_folder_is_drafts): Use the new camel_store_folder_uri_equal() function. (em_utils_folder_is_sent): Same. svn path=/trunk/; revision=24848
* Fix for bug #54057Jeffrey Stedfast2004-02-242-12/+69
| | | | | | | | | | | | | | 2004-02-23 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #54057 * em-utils.c (em_utils_folder_is_sent): Use provider->url_equal() rather than camel_store_uri_cmp() since that function did not do anything close to what it claimed to do. Also use em_uri_to_camel() here on the account sent_folder_uri. (em_utils_folder_is_drafts): Same. svn path=/trunk/; revision=24837
* Protect against NULL uids. (emmb_set_message): Same.Jeffrey Stedfast2004-02-242-1/+8
| | | | | | | | | | 2004-02-23 Jeffrey Stedfast <fejj@ximian.com> * em-message-browser.c (emmb_list_message_selected): Protect against NULL uids. (emmb_set_message): Same. svn path=/trunk/; revision=24834
* Print the headers when forwarding inline/quoted. Fixes bug #53916.Jeffrey Stedfast2004-02-242-6/+211
| | | | | | | | | 2004-02-23 Jeffrey Stedfast <fejj@ximian.com> * em-format-quote.c (emfq_format_message): Print the headers when forwarding inline/quoted. Fixes bug #53916. svn path=/trunk/; revision=24833
* We want UID_LISTs to drop with the MOVE action by default. Fixes a commonJeffrey Stedfast2004-02-242-1/+13
| | | | | | | | | | 2004-02-23 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (tree_drag_motion): We want UID_LISTs to drop with the MOVE action by default. Fixes a common complaint from IRC. svn path=/trunk/; revision=24832
* check mps->protocol != NULL before dereferencing it. See #54406.Not Zed2004-02-232-6/+13
| | | | | | | | | 2004-02-23 Not Zed <NotZed@Ximian.com> * em-format.c (emf_multipart_signed): check mps->protocol != NULL before dereferencing it. See #54406. svn path=/trunk/; revision=24829
* Delete key should always delete, never undelete (bug #53215). Also fixes aJeffrey Stedfast2004-02-212-7/+6
| | | | | | | | | | 2004-02-20 Jeffrey Stedfast <fejj@ximian.com> * em-folder-view.c (emfv_list_key_press): Delete key should always delete, never undelete (bug #53215). Also fixes a bug where uids->len was being accessed after uids had been free'd. svn path=/trunk/; revision=24822
* Fix for bug #53997Jeffrey Stedfast2004-02-212-1/+18
| | | | | | | | | | | | | 2004-02-20 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #53997 * em-folder-view.c (emfv_list_message_selected): Ref the emfv before spawning the async event. (emfv_list_done_message_selected): Check emfv->preview != NULL. Also unref the emfv when done. svn path=/trunk/; revision=24820
* Remove the debug message here.Dan Winship2004-02-212-6/+5
| | | | | | * mail-component.c (set_prop): Remove the debug message here. svn path=/trunk/; revision=24818
* fix for vfolder-rule api changes.Not Zed2004-02-202-5/+10
| | | | | | | | | 2004-02-20 Not Zed <NotZed@Ximian.com> * mail-vfolder.c (mail_vfolder_add_uri): fix for vfolder-rule api changes. svn path=/trunk/; revision=24816
* switch the sense of the no select checks. TEST!Not Zed2004-02-202-3/+8
| | | | | | | | | 2004-02-20 Not Zed <NotZed@Ximian.com> * mail-folder-cache.c (unset_folder_info, setup_folder) (rename_folders): switch the sense of the no select checks. TEST! svn path=/trunk/; revision=24813
* wrap code with ENABLE_SMIME instead of HAVE_NSS. (emf_multipart_signed):Chris Toshok2004-02-202-4/+11
| | | | | | | | | | | 2004-02-19 Chris Toshok <toshok@ximian.com> * em-format.c (emf_application_xpkcs7mime): wrap code with ENABLE_SMIME instead of HAVE_NSS. (emf_multipart_signed): same. (type_builtin_table): same. svn path=/trunk/; revision=24811
* Revert previous change, dohRodney Dawes2004-02-202-0/+5
| | | | | | | | 2004-02-19 Rodney Dawes <dobey@ximian.com> * em-folder-tree.c (emft_save_state): Revert previous change, doh svn path=/trunk/; revision=24800
* Don't set the timeout id to 0 and then immediately return FALSE, whichRodney Dawes2004-02-202-1/+5
| | | | | | | | | 2004-02-19 Rodney Dawes <dobey@ximian.com> * em-folder-tree.c (emft_save_state): Don't set the timeout id to 0 and then immediately return FALSE, which tries to remove the timeout svn path=/trunk/; revision=24798
* fix camel provider api changes.Not Zed2004-02-1910-21/+26
| | | | | | | | | | | | | | | | | 2004-02-19 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (get_receive_type): * mail-config.c (mail_config_get_account_by_source_url) (mail_config_get_account_by_transport_url): * mail-component.c (mail_component_load_store_by_uri): * mail-account-gui.c (mail_account_gui_setup) (mail_account_gui_save): * em-utils.c (em_utils_empty_trash, em_uri_from_camel): * em-folder-tree-model.c (account_changed): * em-folder-selector.c (em_folder_selector_get_selected_uri): fix camel provider api changes. svn path=/trunk/; revision=24795
* Changed the name to not imply we are working with a GtkCList widget (sinceJeffrey Stedfast2004-02-193-137/+12
| | | | | | | | | | 2004-02-18 Jeffrey Stedfast <fejj@ximian.com> * em-composer-prefs.c (sig_fill_list): Changed the name to not imply we are working with a GtkCList widget (since we are using a GtkTreeView). svn path=/trunk/; revision=24788
* Pass flags to em_popup_target_new_folder() instead of just an isstore arg.Jeffrey Stedfast2004-02-192-1/+8
| | | | | | | | | | | 2004-02-18 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_tree_button_press): Pass flags to em_popup_target_new_folder() instead of just an isstore arg. (emft_tree_button_press): Fake the fi flags for vTrash/vJunk so that em-popup.c can disable the delete flag for these. svn path=/trunk/; revision=24787
* removed a FIXME comment that my last commit fixedJeffrey Stedfast2004-02-191-1/+0
| | | | svn path=/trunk/; revision=24786
* Pass flags to em_popup_target_new_folder() instead of just an isstore arg.Jeffrey Stedfast2004-02-194-33/+58
| | | | | | | | | | | | | | 2004-02-18 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_tree_button_press): Pass flags to em_popup_target_new_folder() instead of just an isstore arg. * em-popup.c (em_popup_target_new_folder): Instead of taking an isstore argument, take a flags argument so that our caller can give us hints about the selected folder/store. Also fixed a logic bug from my previous commit. svn path=/trunk/; revision=24785
* Updated for em-popup API change (altho currently passes a dummy value).Jeffrey Stedfast2004-02-195-16/+47
| | | | | | | | | | | | | | | | | | | | | | | | 2004-02-12 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_tree_button_press): Updated for em-popup API change (altho currently passes a dummy value). * em-popup.c (em_popup_target_new_folder): Check for vTrash/vJunk by checking the CAMEL_FOLDER_VIRTUAL info flags bit. (perhaps this flag should be renamed to SPECIAL? VIRTUAL might not have been a good name). Also changed to check flags & CAMEL_FOLDER_NOSELECT rather than checking the uri string for a noselect param. * mail-folder-cache.c (unset_folder_info): Instead of checking for ";noselect" in the uri, check for a CAMEL_FOLDER_NOSELECT flag on mfi->flags. (setup_folder): Copy the fi->flags to mfi->flags here. (rename_folders): Same. (setup_folder): Check fi->flags for CAMEL_FOLDER_NOSELECT here instead. (rename_folders): Same. Also gets rid of a FIXME. svn path=/trunk/; revision=24784
* Revert change from yesterday. (efhd_xpkcs7mime_button): Use the icon fromJeffrey Stedfast2004-02-192-23/+9
| | | | | | | | | | 2004-02-18 Jeffrey Stedfast <fejj@ximian.com> * em-format-html-display.c (efhd_xpkcs7mime_validity_clicked): Revert change from yesterday. (efhd_xpkcs7mime_button): Use the icon from the table. svn path=/trunk/; revision=24778
* ** See bug #54492.Not Zed2004-02-182-7/+14
| | | | | | | | | | | | 2004-02-18 Not Zed <NotZed@Ximian.com> ** See bug #54492. * em-folder-tree.c (emft_popup_copy_folder_selected): check the store flags, not the fragment presence to find out if we use the fragment as the path. svn path=/trunk/; revision=24767
* Fix for bug #54060 (except for the "don't let users copy/move messages toJeffrey Stedfast2004-02-185-43/+160
| | | | | | | | | | | | | | | | | | | | | | | 2004-02-17 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #54060 (except for the "don't let users copy/move messages to Outbox" bit). * em-folder-tree.c (emft_drop_target): Rearranged a little. We can check for special dest folders right away. Also added a check for the default local folders (Drafts/Inbox/Outbox/Sent) since we don't want to be able to move them anywhere else (copying is ok). (emft_popup_copy_folder_selected): Don't allow moving any of the default local folders to be consistant with drag&drop changes. (emft_popup_rename_folder): Don't allow the user to rename a default local folder. (emft_popup_delete_folder): Don't allow deletion of special local folders. * mail-component.c (mail_component_peek_local_store): New function to peek the local store. svn path=/trunk/; revision=24765
* Display an alternate description based on the trust value if we have aJeffrey Stedfast2004-02-182-3/+25
| | | | | | | | | | 2004-02-17 Jeffrey Stedfast <fejj@ximian.com> * em-format-html-display.c (efhd_xpkcs7mime_validity_clicked): Display an alternate description based on the trust value if we have a trust to work with. svn path=/trunk/; revision=24764
* Set the hide_deleted bool on EMFolderView.Jeffrey Stedfast2004-02-183-8/+20
| | | | | | | | | | | | | | 2004-02-17 Jeffrey Stedfast <fejj@ximian.com> * em-folder-browser.c (emfb_hide_deleted): Set the hide_deleted bool on EMFolderView. * em-folder-view.c (emfv_popup_delete): Fix Sarfraaz Ahmed's fix to only jump to the previous message if hide_deleted is set. Otherwise his fix gets extremely irritating. (emfv_list_key_press): Same. svn path=/trunk/; revision=24762
* ** See bug #53914.Not Zed2004-02-172-42/+51
| | | | | | | | | | | | 2004-02-17 Not Zed <NotZed@Ximian.com> ** See bug #53914. * em-utils.c (guess_account): do some extra checks, message source, and source folder. (guess_account_folder): helper to guess account based on folder. svn path=/trunk/; revision=24756
* ** See bug #54200.Not Zed2004-02-175-4/+36
| | | | | | | | | | | | | | | | | | | | | 2004-02-17 Not Zed <NotZed@Ximian.com> ** See bug #54200. * em-popup.c (em_popup_target_new_select): add EM_POPUP_SELECT_FOLDER - to find out if we have a folder at all. Handle getting a NULL folder passed in. * em-folder-view.c (em_folder_view_get_popup_target): Added EM_FOLDER_VIEW_SELECT_FOLDER - to detect when we dont have a folder set on the emfolderview. * em-folder-browser.c (emfb_mark_all_read): if we don't have a folder, dont try and run. (emfb_enable_map[]): Disable a bunch of stuff we have no folder set. svn path=/trunk/; revision=24755
* fix for the weird-arsed e-contact list api. and fix a small memleak.Not Zed2004-02-173-4/+23
| | | | | | | | | 2004-02-17 Not Zed <NotZed@Ximian.com> * importers/pine-importer.c (import_contact): fix for the weird-arsed e-contact list api. and fix a small memleak. svn path=/trunk/; revision=24753
* Make sure the drop-target folder doesn't already contain a folder namedJeffrey Stedfast2004-02-142-5/+10
| | | | | | | | | | | 2004-02-13 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_drop_folder): Make sure the drop-target folder doesn't already contain a folder named identical to the one we are dropping by using the new CAMEL_STORE_FOLDER_EXCL flag. Fixes bug #53810. svn path=/trunk/; revision=24739
* added defaults for composer width/heightRadek Doulik2004-02-132-0/+29
| | | | | | | | | 2004-02-13 Radek Doulik <rodo@ximian.com> * evolution-mail.schemas.in.in: added defaults for composer width/height svn path=/trunk/; revision=24734
* added the code to get the previous mail in a list, if get_next_mail fails.Sarfraaz Ahmed2004-02-132-3/+14
| | | | | | | | | | | 2004-02-11 Sarfraaz Ahmed <asarfraaz@novell.com> * em-folder-view.c (emfv_popup_delete): added the code to get the previous mail in a list, if get_next_mail fails. This is a fix for #54195 (emfv_list_key_press): Same as above svn path=/trunk/; revision=24733
* use mail-importer to import the mail tree, fix the account stuff to talkNot Zed2004-02-138-1174/+988
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-13 Not Zed <NotZed@Ximian.com> * importers/netscape-importer.c: use mail-importer to import the mail tree, fix the account stuff to talk directly to mail config. Added cancel button. etc. This is completely untested apart from compiling with no warnings. * importers/mail-importer.c (import_mbox_import): dont re-use the exception for syncing. * importers/evolution-outlook-importer.c: major reworking. Some platform fixes, runs in another thread, simpler/cleaner main loop. This is completely untested apart from compiling with no warnings. * importers/evolution-mbox-importer.c (support_format_fn): we dont want to check the From_ line case insensitive! (create_control_fn): implement this weird api. 2004-02-12 Not Zed <NotZed@Ximian.com> * importers/elm-importer.c: rewrote all importing stuff. * importers/mail-importer.c (mail_importer_import_folders_sync): split out into a recursive function & entry. Now handles mozilla format stuff with a flag. (import_mbox_import): made the cameloperation properly save/restore multiple registrations. svn path=/trunk/; revision=24732
* use g_find_program_in_path to avoid fork in case program is not availableRadek Doulik2004-02-132-0/+14
| | | | | | | | | | 2004-02-12 Radek Doulik <rodo@ximian.com> * em-junk-filter.c (pipe_to_sa_with_error): use g_find_program_in_path to avoid fork in case program is not available svn path=/trunk/; revision=24724
* Disable the bonobo-ui-component statusbar when using the EMFolderBrowserJeffrey Stedfast2004-02-122-1/+7
| | | | | | | | | | | 2004-02-11 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (mail_control_new): Disable the bonobo-ui-component statusbar when using the EMFolderBrowser outside of the mail component. This prevents the Connector component from having 2 status bars. svn path=/trunk/; revision=24717
* #include <libgnomevfs/gnome-vfs-mime.h> (em_popup_create_menu): WrapJeffrey Stedfast2004-02-122-1/+8
| | | | | | | | | | 2004-02-11 Jeffrey Stedfast <fejj@ximian.com> * em-popup.c: #include <libgnomevfs/gnome-vfs-mime.h> (em_popup_create_menu): Wrap item->label with _() so that the strings get translated properly. svn path=/trunk/; revision=24714
* "On this computer" -> "On This Computer".Christian Neumair2004-02-123-3/+10
| | | | svn path=/trunk/; revision=24713
* Same.Jeffrey Stedfast2004-02-123-2/+37
| | | | | | | | | | 2004-02-11 Jeffrey Stedfast <fejj@ximian.com> * em-format-html-print.c: Same. * em-junk-filter.c: #include <config.h> svn path=/trunk/; revision=24710
* Add license & config.hJeffrey Stedfast2004-02-122-2/+32
| | | | | | | | 2004-02-11 Jeffrey Stedfast <fejj@ximian.com> * em-popup.c: Add license & config.h svn path=/trunk/; revision=24709
* if spamc is not available, try /usr/sbin/spamcRadek Doulik2004-02-122-42/+113
| | | | | | | | | | | | | | | | 2004-02-11 Radek Doulik <rodo@ximian.com> * em-junk-filter.c (em_junk_sa_test_spamd): if spamc is not available, try /usr/sbin/spamc 2004-02-10 Radek Doulik <rodo@ximian.com> * em-junk-filter.c (em_junk_sa_test_spamd): try to check if system wide spamd has --local parameter set according to our setting (em_junk_sa_test_spamd): in case we were unable to start our own spamd, try to run it from /usr/sbin before giving up svn path=/trunk/; revision=24706
* call the right recursive function, oops.Not Zed2004-02-113-4/+10
| | | | | | | | | | | | 2004-02-11 Not Zed <NotZed@Ximian.com> * importers/mail-importer.c (mail_importer_import_folders_sync): call the right recursive function, oops. * importers/mail-importer.h: don't include camel-operation.h, but fix up the forward decl usage. svn path=/trunk/; revision=24703
* include camel-operation.hJP Rosevear2004-02-112-0/+6
| | | | | | | | 2004-02-11 JP Rosevear <jpr@ximian.com> * importers/mail-importer.h: include camel-operation.h svn path=/trunk/; revision=24702
* Basically rewrote this, the import tasks run in another thread. It tellsNot Zed2004-02-1121-1115/+903
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-11 Not Zed <NotZed@Ximian.com> * importers/pine-importer.c: Basically rewrote this, the import tasks run in another thread. It tells you more about what's going on, and its cancellable. (pine_store_settings): changed the meaning of the settings slightly, if set it means we've processed them already. * mail-component-factory.c (factory): hook in importer factory callback. 2004-02-10 Not Zed <NotZed@Ximian.com> * importers/*-importer.c: removed module init, just provide a new method. Updates for api changes. * Makefile.am: link mail importers in directly. * mail-importer.c: changed to do stuff in-memory with linked stuff, moved to importers/. * importers/GNOME_Evolution_Mail_Importers.server.in.in: merge all importer .server info's here, point them all to the mailer factory. Removed the others. * importers/Makefile.am: remove Mailer.idl stuff. Move all importers to a single library. svn path=/trunk/; revision=24701
* oops, remove some debugMichael Zucci2004-02-091-3/+0
| | | | svn path=/trunk/; revision=24680
* merged in code from em_folder_tree_model_drag_data_delete.Not Zed2004-02-094-646/+607
| | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-09 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (tree_drag_data_delete): merged in code from em_folder_tree_model_drag_data_delete. (tree_drag_data_get): similar. (tree_drag_data_received): similar. (drag_text_uri_list): removed, use em_utils_selection_set_urilist in tree_drag_data_get instead. (em_folder_tree_enable_drag_and_drop): merged in em_folder_tree_model_set_drag_drop_types. (tree_drag_motion): merge in drop_possible, handle qualifiers, and return the right type. (em_folder_tree_model_row_drop_target): rename to emft_drop_target, and make private. Beefed up substantially, handles illogical drops, dropping on to special folders and properly handling vfolder uri's (at least within the same tree instance). * em-folder-tree-model.c: Moved all of the DND stuff to em-folder-tree, where it belongs, made it all static. Should allow for some sharing of code too. svn path=/trunk/; revision=24679
* just print the \n after the credits in the same printf, rather than addingNot Zed2004-02-092-5/+9
| | | | | | | | | | 2004-02-09 Not Zed <NotZed@Ximian.com> * em-format-quote.c (emfq_format_message): just print the \n after the credits in the same printf, rather than adding an else. Add a <br> too, otherwise it has no effect. svn path=/trunk/; revision=24675
* Make private (only EMFormatHTMLQuote used it and that class is no longerJeffrey Stedfast2004-02-075-32/+35
| | | | | | | | | | | | | 2004-02-06 Jeffrey Stedfast <fejj@ximian.com> * em-format-html.c (efh_format_headers): Make private (only EMFormatHTMLQuote used it and that class is no longer in use). (efh_format_message): Updated for above change. * em-format-quote.c (emfq_format_message): Always write a \n after the credits line. svn path=/trunk/; revision=24661
* Set the NO_VIRTUAL flag bit for get_folder_info(). Fixes bug #51887.Jeffrey Stedfast2004-02-072-1/+6
| | | | | | | | | 2004-02-06 Jeffrey Stedfast <fejj@ximian.com> * em-subscribe-editor.c (sub_folderinfo_get): Set the NO_VIRTUAL flag bit for get_folder_info(). Fixes bug #51887. svn path=/trunk/; revision=24657
* move to the next message after mark not junk as wellRadek Doulik2004-02-073-19/+34
| | | | | | | | | | | | | | | | | | | | | 2004-02-06 Radek Doulik <rodo@ximian.com> * em-folder-view.c (emfv_popup_mark_nojunk): move to the next message after mark not junk as well * em-junk-filter.c (em_junk_sa_test_spamd): split into spamassassin and spamd tests (em_junk_sa_is_available): test spamd only if spamd usage enabled (pipe_to_sa_with_error): extended pipe_to_sa, last added parametr specifies return value if an error occured (em_junk_sa_check_junk): don't use /bin/sh -c when running spamassassin, it's not needed and we need to avoid getting 126,127 exit codes from the shell (em_junk_sa_check_junk): pass 0 rv_err to pipe_to_sa_with_error to avoid false positives in case someone removes/uninstalls SA while evolution runs svn path=/trunk/; revision=24651
* split into spamassassin and spamd tests (em_junk_sa_is_available): testRadek Doulik2004-02-062-14/+29
| | | | | | | | | | 2004-02-06 Radek Doulik <rodo@ximian.com> * em-junk-filter.c (em_junk_sa_test_spamd): split into spamassassin and spamd tests (em_junk_sa_is_available): test spamd only if spamd usage enabled svn path=/trunk/; revision=24647
* ** See bug #53258.Not Zed2004-02-0610-81/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-06 Not Zed <NotZed@Ximian.com> ** See bug #53258. * em-format-html-display.c (efhd_find_handler): force any bonobo handler types to always be inline, even attachments. * em-format.c (em_format_is_inline): use handler flags for special cases, removing all hard-coded types. * em-format.h (EMFormatHandler): add a flags field, so far a flag to set default inline viewing of the content. 2004-02-06 Not Zed <NotZed@Ximian.com> * em-folder-properties.c: include string.h to kill warning. ** See bug #53627. * em-folder-view.c (emfv_popup_mark_junk): changed to work like delete does, jumping to the next message if required, and marking things immediately, then queuing up the junk marking job if required. * mail-ops.c (mail_mark_junk): ugh, this stuff totally can't go accessing messagelist from another thread!!!! Changed so this code only does the junk reporting, not setting flags. UGH! It should be doing this implictly on the folder when you set the flags, or at least when you sync the folder!!! Changed ot use the queued thread. * message-list.c (find_next_undeleted): changed to find next-unhidden, i.e. junk as well as deleted, if we're in hide-deleted mode. (build_tree): always call find_next_undeleted if we have a cursor. (build_flat): same. svn path=/trunk/; revision=24644
* Grab focus on the HTML widget when we displayRodney Dawes2004-02-062-0/+8
| | | | | | | | | | | 2004-02-05 Rodney Dawes <dobey@ximian.com> * em-message-browser.c (emmb_list_message_selected): Grab focus on the HTML widget when we display Fixes #52942 svn path=/trunk/; revision=24639
* Set the new title. (em_message_browser_window_new): Connect to theJeffrey Stedfast2004-02-062-0/+18
| | | | | | | | | | | 2004-02-05 Jeffrey Stedfast <fejj@ximian.com> * em-message-browser.c (emmb_list_message_selected): Set the new title. (em_message_browser_window_new): Connect to the message_selected signal in the message-list widget. Fixes bug #52232. svn path=/trunk/; revision=24638
* Now takes a GdkContext arg... will need this later when we want toJeffrey Stedfast2004-02-064-12/+19
| | | | | | | | | | 2004-02-05 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (em_folder_tree_model_row_drop_target): Now takes a GdkContext arg... will need this later when we want to re-enable dnd of vfolders. svn path=/trunk/; revision=24637
* Always set the search_state, even if it is NULL (NULL means default/unsetJeffrey Stedfast2004-02-062-4/+6
| | | | | | | | | 2004-02-05 Jeffrey Stedfast <fejj@ximian.com> * em-folder-browser.c (emfb_set_folder): Always set the search_state, even if it is NULL (NULL means default/unset state). svn path=/trunk/; revision=24634
* Pass TRUE as wraparound (to both be consistant with prev_flagged and toJeffrey Stedfast2004-02-062-2/+8
| | | | | | | | | | 2004-02-05 Jeffrey Stedfast <fejj@ximian.com> * em-folder-view.c (emfv_mail_next_flagged): Pass TRUE as wraparound (to both be consistant with prev_flagged and to fix bug #48681. svn path=/trunk/; revision=24633
* sync the from folder if we're going to delete it, otherwise we can'tNot Zed2004-02-052-0/+12
| | | | | | | | | | 2004-02-05 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (emft_copy_folders__copy): sync the from folder if we're going to delete it, otherwise we can't because its not empty. See #53815. svn path=/trunk/; revision=24631
* hmm, another well tested bit of code ... if you launch another thread youNot Zed2004-02-052-109/+139
| | | | | | | | | | | | | | | | | | | | | | | | 2004-02-05 Not Zed <NotZed@Ximian.com> * em-folder-tree-model.c (em_folder_tree_model_drag_data_received): hmm, another well tested bit of code ... if you launch another thread you gotta copy the selection since it wont hang around until we're done with it. So copy/parse the selection data into appropriate structures. (drop_folder): just take the async message as an argument, rather than copying half of it to the stack. (drop_text_uri_list, drop_uid_list): replace most args with the thread message. (drop_message_rfc822): removed, now trivial. (emftm_drag_data_received_async__drop): change for changed args, and fix a memleak. (emftm_drag_data_received_async__free): fixed for changed structure. * em-folder-tree.c (em_folder_tree_create_folder): call abort before we unref, aid debugging if we hit it. svn path=/trunk/; revision=24629
* call abort before we unref, aid debugging if we hit it.Not Zed2004-02-055-6/+43
| | | | | | | | | | | | 2004-02-05 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (em_folder_tree_create_folder): call abort before we unref, aid debugging if we hit it. * mail-vfolder.c (uri_is_spethal): check for vfolder/vtrash folders. Based on name check and store options. svn path=/trunk/; revision=24626
* Don't allow dropping into a vfolder (store). Fixes bug #53757.Jeffrey Stedfast2004-02-052-11/+20
| | | | | | | | | 2004-02-04 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (em_folder_tree_model_row_drop_target): Don't allow dropping into a vfolder (store). Fixes bug #53757. svn path=/trunk/; revision=24623
* ** See bug #53683.Not Zed2004-02-045-7/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-04 Not Zed <NotZed@Ximian.com> ** See bug #53683. * mail-ops.c (mail_sync_store): new async op to call CamelStore::sync. * mail-component.c (impl_requestQuit): implement, check to see if we can quit, or have open or unsent messages (and are in online mode). (impl_quit): implement. Trigger off a sync of all open stores, and return FALSE until its done. (impl_upgradeFromVersion): fixed the signature to match the idl, killed that warning at last. ** See bug #53832. * em-folder-browser.c (emfb_folder_properties): only show this if we have a uri set. Strictly, the menu item shouldn't be activated. ** See bug #53131. * em-folder-browser.c (em_folder_browser_show_preview): copy the message list's cursor_uid before calling set_message, since it can get freed during setting the message. svn path=/trunk/; revision=24608
* ** See bug #53832.Not Zed2004-02-041-1/+2
| | | | | | | | | | | | 2004-02-04 Not Zed <NotZed@Ximian.com> ** See bug #53832. * em-folder-browser.c (emfb_folder_properties): only show this if we have a uri set. Strictly, the menu item shouldn't be activated. svn path=/trunk/; revision=24605
* ** See bug #53131.Not Zed2004-02-041-2/+6
| | | | | | | | | | | | 2004-02-04 Not Zed <NotZed@Ximian.com> ** See bug #53131. * em-folder-browser.c (em_folder_browser_show_preview): copy the message list's cursor_uid before calling set_message, since it can get freed during setting the message. svn path=/trunk/; revision=24601
* oops, don't ref/unref the gtk_selection_dataJeffrey Stedfast2004-02-041-2/+0
| | | | svn path=/trunk/; revision=24596
* Modified slightly. The model now calls gtk_drag_finish() for us when it isJeffrey Stedfast2004-02-044-81/+139
| | | | | | | | | | | | | | | | 2004-02-03 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (tree_drag_data_received): Modified slightly. The model now calls gtk_drag_finish() for us when it is done. * em-folder-tree-model.c (em_folder_tree_model_drag_data_received): Make this perform camel operations in another thread so we don't block. (em_folder_tree_model_drag_data_get): Updated args to be consistant with drag_data_received. svn path=/trunk/; revision=24595
* handle the sa prefs here, have own gconf client with sa dir addedRadek Doulik2004-02-034-69/+46
| | | | | | | | | | | 2004-02-03 Radek Doulik <rodo@ximian.com> * em-junk-filter.c: handle the sa prefs here, have own gconf client with sa dir added * mail-session.c: removed sa prefs svn path=/trunk/; revision=24578
* Fix for bug #52941Jeffrey Stedfast2004-02-033-4/+83
| | | | | | | | | | | | 2004-02-02 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #52941 * em-message-browser.c (em_message_browser_window_new): Set window size based on previous size; load from gconf if necessary. (window_size_allocate): Save window size changes. svn path=/trunk/; revision=24569
* ** See bug #53549.Not Zed2004-02-023-4/+9
| | | | | | | | | | | | | 2004-02-02 Not Zed <NotZed@Ximian.com> ** See bug #53549. * em-folder-selector.c: Fix handling a parent path of "/". * mail-ops.c (mark_junk_mark): removed the really innacurate cut and paste comment. This has nothing to do with filter_folder. svn path=/trunk/; revision=24565
* ** See bug #52994.Not Zed2004-02-026-208/+331
| | | | | | | | | | | | | | | | | | | | | 2004-02-02 Not Zed <NotZed@Ximian.com> ** See bug #52994. * em-folder-properties.c (em_folder_properties_show): redirect vFolder uri's to the vFolder editor. ** See bug #53502. * em-folder-browser.c (emfb_folder_properties): implement. * em-folder-tree.c (emft_popup_properties): fixed for change below. * em-folder-properties.[ch]: Moved the folder properties window from em-folder-tree.c to its own file. svn path=/trunk/; revision=24564
* god knows what else this'll break.Not Zed2004-02-023-12/+14
| | | | | | | | | | | | | | | | 2004-02-02 Not Zed <NotZed@Ximian.com> ** See bug #53559. * em-folder-tree.c (folder_tree_new): set CAN_FOCUS flag on the folder tree content widget. * em-folder-selector.c (em_folder_selector_construct): Don't wrap the folder tree in a scrolled window. Its already in one ????. (em_folder_selector_construct): dont set can_focus on the folder tree. svn path=/trunk/; revision=24563
* Fixes for bug #53530Bill Zhu2004-02-022-2/+7
| | | | | | | | | | | 2004-02-01 Bill Zhu <bill.zhu@sun.com> Fixes for bug #53530 * em-utils.c (em_utils_redirect_message): Removed the duplicate adding of attachments svn path=/trunk/; revision=24561
* Fixes for bug #53348Jeffrey Stedfast2004-01-314-20/+103
| | | | | | | | | | | | | | | | | | | | | | 2004-01-30 Jeffrey Stedfast <fejj@ximian.com> Fixes for bug #53348 * mail-account-gui.c (mail_account_gui_save): Only add the new store to the mail-component if the mail-component doesn't already know about it (ie. only if we are adding a new account). * em-folder-tree-model.c (em_folder_tree_model_add_store): Hash our store-info based on account here. (em_folder_tree_model_init): Listen for account_changed/account_removed signals. (em_folder_tree_model_finalize): Disconnect above handlers. (account_changed): Tear down the account store node and replace it with the new store (assuming it belongs in the tree after the changes). (account_removed): Remove the account store from the tree. svn path=/trunk/; revision=24551
* Get recursive folder listing (needed or folders that haveJeffrey Stedfast2004-01-312-1/+5
| | | | | | | | | | 2004-01-30 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_tree_row_expanded): Get recursive folder listing (needed or folders that have as-of-yet-unloaded-subfolders that contain unread mail will not be bolded). Fixes bug #51045. svn path=/trunk/; revision=24544
* Fix for bug #53195.Jeffrey Stedfast2004-01-312-7/+25
| | | | | | | | | | | 2004-01-30 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #53195. * em-folder-browser.c (emfb_set_folder): Restore search_state. (emfb_search_search_activated): Save search_state. svn path=/trunk/; revision=24543
* ** See bug #53549, partial fix.Not Zed2004-01-304-1/+26
| | | | | | | | | | | | | | | | | | 2004-01-30 Not Zed <NotZed@Ximian.com> ** See bug #53549, partial fix. * em-folder-selector.c (emfs_create_name_activate): only emit the ok response if the ok button would be active (i.e. entered a valid path). ** See bug #52992. * message-list.c (message_list_hide_clear): save the hide state after its been cleared, so any popup windows inherit it. (message_list_hide_uids): same. svn path=/trunk/; revision=24534
* ** See bug #53123.Not Zed2004-01-302-35/+43
| | | | | | | | | | | | | | 2004-01-30 Not Zed <NotZed@Ximian.com> ** See bug #53123. * em-folder-tree-model.c (drop_folder): changed to take store and dest folder as arg, to handle the case of the parent folder being "" properly. (em_folder_tree_model_drag_data_received): special case dropping a folder, and don't allow dropping to "" for any other types. svn path=/trunk/; revision=24533