aboutsummaryrefslogtreecommitdiffstats
path: root/mail
Commit message (Collapse)AuthorAgeFilesLines
* ** See #61940.Not Zed2004-07-287-20/+58
| | | | | | | | | | | | | | | 2004-07-28 Not Zed <NotZed@Ximian.com> ** See #61940. * em-composer-utils.c (composer_set_body): add emformat source arg. (em_utils_reply_to_message): take source arg. Fixed callers. * em-utils.c (em_utils_message_to_html): take a source formatter argument, so we can copy/honour settings from it. (em_utils_part_to_html): similar. svn path=/trunk/; revision=26757
* ** See #57972.Not Zed2004-07-285-99/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-27 Not Zed <NotZed@Ximian.com> ** See #57972. * message-list.c (search_func): removed. (ml_search_path): new function to just search, not actually change the cursor like e_tree_find does. (message_list_can_select): new function, returns true if the selection specified is possible without changing the selection. (message_list_select): rewritten. (select_path): helper to select a path in a way that 'works reliably'. (message_list_select_next_thread): rewritten to use the table-adapter, so it properly handles arbitrary sorting. * em-folder-view.c (em_folder_view_get_popup_target): setup next/prev flags as appropriate. (emfv_enable_map[]): setup next/prev flags. * em-folder-view.h: added last and first message status bits to folder view select mask. svn path=/trunk/; revision=26749
* added len parameter to em_utils_part_to_html and em_utils_message_to_html.Radek Doulik2004-07-284-8/+21
| | | | | | | | | | 2004-07-23 Radek Doulik <rodo@ximian.com> * added len parameter to em_utils_part_to_html and em_utils_message_to_html. it is used to return length of returned buffer. we use that info later when setting composer body content. svn path=/trunk/; revision=26747
* dont call e_error_default parent here, we dont have access to the toplevelNot Zed2004-07-262-2/+6
| | | | | | | | | | 2004-07-22 Not Zed <NotZed@Ximian.com> * mail-component.c (impl_createControls): dont call e_error_default parent here, we dont have access to the toplevel yet. svn path=/trunk/; revision=26728
* ** See bug #61824.Not Zed2004-07-265-74/+60
| | | | | | | | | | | | | | | | | | | | | | | | 2004-07-23 Not Zed <NotZed@Ximian.com> ** See bug #61824. * em-popup.c (emp_part_popup_reply_sender) (emp_part_popup_reply_list, emp_part_popup_reply_all): use new api. We have no uid/folder to update here. * em-folder-view.c (emfv_message_reply): use new api for replying so we can supply the message content and have flags updated. * em-composer-utils.c (em_utils_reply_to_message): added optional folder and uid. (em_utils_reply_to_message_by_uid): removed, use the other interface instead. (reply_to_message): just call reply_to_message if we get a message to reply to. (em_utils_reply_to_message): if no message supplied, load it via the uid. svn path=/trunk/; revision=26727
* set the session on the formatter. See #61767.Not Zed2004-07-234-12/+33
| | | | | | | | | | | | | | | | | | | 2004-07-22 Not Zed <NotZed@Ximian.com> * em-utils.c (em_utils_part_to_html, em_utils_message_to_html): set the session on the formatter. See #61767. 2004-07-22 Not Zed <NotZed@Ximian.com> ** See bug #61747. * message-list.c (search_func): don't emit a message_selected here (god knows why we did?). Don't update cursor_uid either, just clear it. (message_list_select): select the path if we find it here, causing the cascade of selection action. svn path=/trunk/; revision=26710
* Free uri and name strings. Fixes a leak.Jeffrey Stedfast2004-07-212-0/+7
| | | | | | | | | 2004-07-19 Jeffrey Stedfast <fejj@novell.com> * em-migrate.c (em_migrate_folder): Free uri and name strings. Fixes a leak. svn path=/trunk/; revision=26688
* Chck that the selection is active. Hopefully this will fix bug #61427.Jeffrey Stedfast2004-07-172-12/+15
| | | | | | | | | 2004-07-13 Jeffrey Stedfast <fejj@novell.com> * em-folder-view.c (emfv_message_reply): Chck that the selection is active. Hopefully this will fix bug #61427. svn path=/trunk/; revision=26667
* free return value from e_mkdtempDan Winship2004-07-142-3/+10
| | | | | | | * em-utils.c (em_utils_selection_set_urilist, em_utils_temp_save_part): free return value from e_mkdtemp svn path=/trunk/; revision=26648
* only call expunge if the folder is set. (emfb_enable_map[]): only enableNot Zed2004-07-107-63/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-09 Not Zed <NotZed@Ximian.com> * em-folder-browser.c (emfb_folder_expunge): only call expunge if the folder is set. (emfb_enable_map[]): only enable expunge menu item if we have a valid folder set. ** See bug #60900. * em-format-html.c: convert the text_inline_parts hash to be keyed off the partid. (efh_free_inline_parts): -> efh_free_cache and fix to do it. * em-format.c (emf_free_cache): make the inline table cache other info too based on partid, this frees the structure. (emf_clone_inlines): copy all of the cache data. (em_format_is_inline): use the new data structure to determine state. (em_format_set_inline): same for setting. (emf_multipart_signed): cache/lookup the cached part. (emf_insert_cache): helper to add a cache entry. (emf_multipart_encrypted): cache decrypted part. (emf_application_xpkcs7mime): same. 2004-07-08 Not Zed <NotZed@Ximian.com> ** See bug #60900 (related only). * em-format-html-display.c (efhd_attachment_show): let set_inline do the redraw itself if required. kill some dead code. * em-format.c (em_format_set_inline): trigger a redraw here like the other em_format_set methods, if the state changed. * em-format.c (emf_format_clone): free inline table keys & setup string hash table. * em-format-quote.c (emfq_format_attachment): * em-format-html-display.c (efhd_format_attachment): * em-format-html.c (efh_format_attachment): is_inline api changes. * em-format-html-display.c (efhd_attachment_show): set_inline api changes. * em-format.c (em_format_is_inline): make this use the partid rather than the part address as a key, which may change. (emf_init): make the inline talbe a string hashtable. (emf_finalise): free inline keys. (emf_clone_inlines): copy the key string. svn path=/trunk/; revision=26614
* Fix for bug #61199.Jeffrey Stedfast2004-07-093-11/+26
| | | | | | | | | | | | | 2004-07-07 Jeffrey Stedfast <fejj@novell.com> Fix for bug #61199. * em-format-html.c (efh_format_address): Same. * em-format-quote.c (emfq_format_address): Make sure 'real' isn't NULL before using. svn path=/trunk/; revision=26606
* tarball should ship .schemas.in.in files, not generated files.Frédéric Crozat2004-07-092-1/+6
| | | | | | | * Makefile.am: tarball should ship .schemas.in.in files, not generated files. svn path=/trunk/; revision=26602
* bump version, requirementsJP Rosevear2004-07-052-3/+6
| | | | | | | | | | | | 2004-07-02 JP Rosevear <jpr@novell.com> * configure.in: bump version, requirements 2004-07-02 JP Rosevaer <jpr@novell.com> * Makefile.am (SUBDIRS): Revert previous error change svn path=/trunk/; revision=26583
* Remove $(error_i18n) (CLEANFILES): Put $(error_i18n) in hereRodney Dawes2004-07-022-2/+8
| | | | | | | | | 2004-07-01 Rodney Dawes <dobey@novell.com> * Makefile.am (BUILT_SOURCES): Remove $(error_i18n) (CLEANFILES): Put $(error_i18n) in here svn path=/trunk/; revision=26557
* call folder_subscribed directly from the async function notNot Zed2004-06-292-2/+7
| | | | | | | | | | | 2004-06-29 Not Zed <NotZed@Ximian.com> * em-folder-tree-model.c (folder_created_cb): call folder_subscribed directly from the async function not foldre_subscribed_cb, otherwise we run out of order. Part of #60775. svn path=/trunk/; revision=26547
* setup exclusion for vfolder sources, noselect folders. Bug #60794.Not Zed2004-06-293-1/+6
| | | | | | | | | 2004-06-29 Not Zed <NotZed@Ximian.com> * em-vfolder-rule.c (source_add): setup exclusion for vfolder sources, noselect folders. Bug #60794. svn path=/trunk/; revision=26544
* duh remove changelog entry, it didn't get changedMichael Zucci2004-06-281-5/+0
| | | | svn path=/trunk/; revision=26542
* fix accelerators. #56746.Not Zed2004-06-281-0/+5
| | | | | | | | | 2004-06-28 Not Zed <NotZed@Ximian.com> * mail-component.c (impl__get_userCreatableItems): fix accelerators. #56746. svn path=/trunk/; revision=26541
* Don't prepend the path string with a '/'.Jeffrey Stedfast2004-06-254-12/+20
| | | | | | | | | | | | | 2004-06-23 Jeffrey Stedfast <fejj@novell.com> * em-folder-selector.c (em_folder_selector_get_selected_path): Don't prepend the path string with a '/'. * em-folder-tree.c (em_folder_tree_create_folder): This takes a full_name so update the argument to make that clear. (emft_create_folder): Same and also don't strip a leading '/' svn path=/trunk/; revision=26513
* set search column. #60152.Not Zed2004-06-252-0/+6
| | | | | | | | 2004-06-25 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (folder_tree_new): set search column. #60152. svn path=/trunk/; revision=26507
* Add code to set the parent, position, and type hint of the "Add address"Rodney Dawes2004-06-252-1/+11
| | | | | | | | | | | 2004-06-24 Rodney Dawes <dobey@novell.com> * em-utils.c (em_utils_add_address): Add code to set the parent, position, and type hint of the "Add address" dialog Fixes #60030 svn path=/trunk/; revision=26501
* ** See #54030.Not Zed2004-06-235-28/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-23 Not Zed <NotZed@Ximian.com> ** See #54030. * e-searching-tokenizer.c (e_searching_tokenizer_match_count): only return a count if we're using the primary search string. * em-format-html-display.c (efhd_search_response): set the primary search string to NULL instead of resetting it. (efhd_update_search): dont noop if we have a null search text, just set an empty search. * e-searching-tokenizer.c (e_searching_tokenizer_reset): remove this, revert jeff's fixes for 54030. this is incomplete and so doesn't work either (search text stays remembered and secondary search text lost too). ** See #60523. * em-folder-view.c (emfv_finalise): unhook the folder changed before destroying the async thing, and move it all to destroy event anyway. (emfv_destroy): as above. svn path=/trunk/; revision=26472
* Same as below. (em_folder_tree_model_remove_folders): Same.Jeffrey Stedfast2004-06-232-20/+33
| | | | | | | | | 2004-06-22 Jeffrey Stedfast <fejj@novell.com> * em-folder-tree-model.c (sort_cb): Same as below. (em_folder_tree_model_remove_folders): Same. svn path=/trunk/; revision=26458
* As toshok discovered, gtk_tree_model_get() strdup's string arguments,Jeffrey Stedfast2004-06-232-90/+145
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-22 Jeffrey Stedfast <fejj@novell.com> * em-folder-tree.c (emft_maybe_expand_row): As toshok discovered, gtk_tree_model_get() strdup's string arguments, *sigh*, so we need to free them. (tree_drag_data_delete): Same. (tree_drag_data_get): Same. (tree_drag_data_received): Same. (emft_drop_target): Same (em_folder_tree_get_selected_uris): Same. (get_selected_uris_path_iterate): Same. (emft_update_model_expanded_state): Same. (emft_tree_row_expanded): Same. (emft_tree_row_activated): Same. (emft_popup_delete_response): Same. (emft_popup_delete_folder): Same. (emft_popup_rename_folder): Same. (emft_popup_properties): Same. (emft_tree_button_press): Same. (emft_tree_selection_changed): Same. svn path=/trunk/; revision=26457
* gtk_tree_model_get on a string field allocates the return value. freeChris Toshok2004-06-232-0/+6
| | | | | | | | | 2004-06-22 Chris Toshok <toshok@ximian.com> * em-folder-tree.c (render_pixbuf): gtk_tree_model_get on a string field allocates the return value. free path. svn path=/trunk/; revision=26456
* If the app requires a terminal to run, give it a bloody terminal (who usesJeffrey Stedfast2004-06-233-5/+29
| | | | | | | | | | 2004-06-22 Jeffrey Stedfast <fejj@novell.com> * em-popup.c (emp_apps_open_in): If the app requires a terminal to run, give it a bloody terminal (who uses vi in an xterm to view attached text files? *sigh*). Fixes bug #51259. svn path=/trunk/; revision=26455
* gtk_tree_model_get on a string field allocates the return value. freeChris Toshok2004-06-222-0/+6
| | | | | | | | | 2004-06-21 Chris Toshok <toshok@ximian.com> * em-folder-tree.c (render_display_name): gtk_tree_model_get on a string field allocates the return value. free name. svn path=/trunk/; revision=26448
* (em_junk_sa_test_spamd): try to get spamd/spamc binaries fromRadek Doulik2004-06-222-1/+22
| | | | | | | | gconf Implements #59368 svn path=/trunk/; revision=26442
* clone view before saving it to avoid problems with setting current_view_idRadek Doulik2004-06-222-1/+8
| | | | | | | | | | | | 2004-06-21 Radek Doulik <rodo@ximian.com> * gal-view-instance-save-as-dialog.c (gal_view_instance_save_as_dialog_save): clone view before saving it to avoid problems with setting current_view_id Fixes #57354 svn path=/trunk/; revision=26441
* ** See #31027.Not Zed2004-06-184-2/+17
| | | | | | | | | | | | | | | | | 2004-06-18 Not Zed <NotZed@Ximian.com> ** See #31027. * em-vfolder-editor.c (em_vfolder_editor_new): make sure we construct the rule editor with a source of 'incoming', otherwise newly created rules have no source in the current session. * em-vfolder-rule.c (em_vfolder_rule_init): init the vfolder source to 'incoming' always. * mail-vfolder.c (uri_is_ignore): fix debug statement. svn path=/trunk/; revision=26415
* ** See #60214.Not Zed2004-06-184-33/+110
| | | | | | | | | | | | | | | | 2004-06-18 Not Zed <NotZed@Ximian.com> ** See #60214. * em-folder-view.c (em_folder_view_print): re-arrange code to make the dialogue async. We also now load the message every time before printing. (emfv_print_response): handle response to print. * em-format-html-print.c (em_format_html_print_message): new api to print a specific uid on a specific folder. svn path=/trunk/; revision=26413
* use mail dialogs.glade.Not Zed2004-06-1813-1304/+1639
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-18 Not Zed <NotZed@Ximian.com> * em-vfolder-rule.c (get_widget): use mail dialogs.glade. * mail-dialogs.glade: move the vfolder-source window here from mail-config.glade. * Makefile.am (glade_DATA): fix the glade list. * mail-license.glade, subscribe-dialog.glade, mail-security.glade, * mail-search.glade: Merged into mail-dialogs.glade. Should be easier to manage. * message-tag-followup.c (construct): use mail dialogs glade file. * mail-account-gui.c (display_license): use mail dialogs glade file. * em-subscribe-editor.c (em_subscribe_editor_new): use new glade file. * em-format-html-display.c (em_format_html_display_search): use merged glade file. (efhd_xpkcs7mime_validity_clicked): same. * mail-dialogs.glade: merge various glade files into here. svn path=/trunk/; revision=26409
* ** See #59885.Not Zed2004-06-1740-125/+5381
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-17 Not Zed <NotZed@Ximian.com> ** See #59885. ** Moved all of the mail specific filtering stuff from filter/* to here. Renamed appropriately into em* space, etc. * em-filter-folder-element.c (emff_copy_value): implement for folders. * em-vfolder-rule.c (get_widget): read the vfolder glade from mail-config.glade. * mail-config.glade: moved the vfolder source selector here. * em-search-context.c: new mail search specific rule context. * mail-component.c (setup_search_context): use the new em_search_context. * vfolder-rule.c (validate): change error to mail context. * filter-folder.c (validate): change error to mail context. * Makefile.am (em-filter-i18n.h): added rule for i18n of mail filter type stuff. (libevolution_mail_la_SOURCES): added in the filter and vfolder rule stuff specific to mail. ** See #59885. * em-format-html-quote.[ch]: remove and remove from build, not used. * Makefile.am (libevolution_mail_la_LIBADD): add libeabutil and evolutionsmime. * mail-component-factory.c (factory): there is no mail_config anymore. svn path=/trunk/; revision=26380
* ** See #59885.Not Zed2004-06-177-337/+25
| | | | | | | | | | | | | | | | | | | | | | 2004-06-17 Not Zed <NotZed@Ximian.com> ** See #59885. * em-format-html-quote.[ch]: remove and remove from build, not used. * Makefile.am (libevolution_mail_la_LIBADD): add libeabutil and evolution-smime. * mail-component-factory.c (factory): there is no mail_config anymore. 2004-06-16 Not Zed <NotZed@Ximian.com> * em-utils.c (em_utils_selection_get_urilist): handle comments in the urilist. Can't remember the rfc for it. svn path=/trunk/; revision=26374
* Include gtk[hv]box.h so we can use them (emfp_dialog_got_folder): Fix theRodney Dawes2004-06-173-36/+66
| | | | | | | | | | | | | | | | | | | 2004-06-16 Rodney Dawes <dobey@novell.com> * em-folder-properties.c: Include gtk[hv]box.h so we can use them (emfp_dialog_got_folder): Fix the border widths and spacings for the internal widgets and the dialog's vbox and action area to be compliant with the HIG Fix the general layout of the dialog to be HIG-compliant as well Use ngettext for the row labels for number of messages Add a cancel button, since we are not instant-apply Align the message counts to the right Part of this patch is from Christian Neumair <chris@gnome-de.org> * mail-component.c (view_changed_cb): Fix a typo for the sent folder send is not a pluralization of sent svn path=/trunk/; revision=26369
* clear the error, don't free it, so NULL is handled properlyJP Rosevear2004-06-162-1/+6
| | | | | | | | | 2004-06-16 JP Rosevear <jpr@novell.com> * em-composer-prefs.c (spell_set_ui): clear the error, don't free it, so NULL is handled properly svn path=/trunk/; revision=26365
* ** See #56479.Not Zed2004-06-165-48/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-16 Not Zed <NotZed@Ximian.com> ** See #56479. * em-utils.c (em_utils_in_addressbook): use the main thread to setup the addressbook list. (em_utils_in_addressbook): only check against the "completion" sources, not all of them. 2004-06-15 Not Zed <NotZed@Ximian.com> * em-folder-browser.c (emfb_mail_stop): call mail_cancel_all to implement the stop button. * em-utils.c (emu_addr_sources_refresh): don't unref the group list, otherwise the sources become broken now (?). (em_utils_in_addressbook): add some locking. add cancellation. this is almost certainly going to cause issues. * mail-mt.c (mail_cancel_hook_add, mail_cancel_hook_remove) (mail_cancel_all): new functions to implement a global mailer stop button. svn path=/trunk/; revision=26363
* This code no longer needs to do charset conversion. Yay. Fixes bug #60225.Jeffrey Stedfast2004-06-163-34/+17
| | | | | | | | | | | | 2004-06-15 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (save_part_save): This code no longer needs to do charset conversion. Yay. Fixes bug #60225. * em-utils.c (em_utils_save_part_to_file): Use the proper e-error namespace. svn path=/trunk/; revision=26358
* frombase is simply the select_path, since selected_path is now just theJeffrey Stedfast2004-06-162-4/+8
| | | | | | | | | | 2004-06-15 Jeffrey Stedfast <fejj@novell.com> * em-folder-tree.c (emft_popup_copy_folder_selected): frombase is simply the select_path, since selected_path is now just the full_name rather than the path. Fixes bug #60075. svn path=/trunk/; revision=26357
* New function to format an attribution string (won't crash if translatorsJeffrey Stedfast2004-06-162-20/+200
| | | | | | | | | | | | | | 2004-06-15 Jeffrey Stedfast <fejj@novell.com> * em-composer-utils.c (attribution_format): New function to format an attribution string (won't crash if translators were sloppy with their strftime/printf-style formatters). Also nice/extendable for future feature enhancements such as user-customisable attribution strings. (composer_set_body): Use above function rather than using e_strftime/etc ourselves. svn path=/trunk/; revision=26356
* Changed the second gtk_selection_add_target() to useJeffrey Stedfast2004-06-152-1/+7
| | | | | | | | | | 2004-06-15 Jeffrey Stedfast <fejj@ximian.com> * em-folder-view.c (emfv_init): Changed the second gtk_selection_add_target() to use GDK_SELECTION_CLIPBOARD rather than GDK_SELECTION_PRIMARY again. This should fix bug #60022. svn path=/trunk/; revision=26349
* the check button label has now opposite meaning (after UI changes), callRadek Doulik2004-06-142-2/+19
| | | | | | | | | | | | 2004-06-14 Radek Doulik <rodo@ximian.com> * em-mailer-prefs.c (em_mailer_prefs_construct): the check button label has now opposite meaning (after UI changes), call toggle_button_init with 'not' parameter set to TRUE (toggle_button_toggled_not): new helper function, sets negative value to gconf bool key svn path=/trunk/; revision=26334
* don't check rule->source, its irrelevent to vfolder sources, and clean upNot Zed2004-06-143-50/+39
| | | | | | | | | | | | | 2004-06-14 Not Zed <NotZed@Ximian.com> * mail-vfolder.c (rule_changed): don't check rule->source, its irrelevent to vfolder sources, and clean up the logic a bit. #59158. * em-folder-tree.c (emft_popup_new_folder_response): destroy the create dialogue if we're firing up the vfolder creation window. svn path=/trunk/; revision=26332
* if we removed all of the addresses because they were 'us', add the firstNot Zed2004-06-142-1/+13
| | | | | | | | | | 2004-06-14 Not Zed <NotZed@Ximian.com> * em-composer-utils.c (get_reply_all): if we removed all of the addresses because they were 'us', add the first to address back. otherwise reply-to-all behaves strange. svn path=/trunk/; revision=26330
* Free any old select_uri string we may have. (emft_tree_row_expanded):Jeffrey Stedfast2004-06-122-17/+31
| | | | | | | | | | | | | | | | 2004-06-11 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (em_folder_tree_set_selected): Free any old select_uri string we may have. (emft_tree_row_expanded): Remove the gross hack that was here. (emft_get_folder_info__got): Check for priv->select_uri and try selecting it (if we can't select it yet, it'll just be re-queued for later). (emft_tree_row_activated): Clear the select_uri if set, the user's selection overrules any auto-selection. (emft_tree_selection_changed): Same. svn path=/trunk/; revision=26318
* rearrange the setting up of the target flags, stores can have a null path.Not Zed2004-06-113-19/+36
| | | | | | | | | | | | | | | | 2004-06-11 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (emft_tree_button_press): rearrange the setting up of the target flags, stores can have a null path. * em-folder-selector.c (emfs_create_name_changed): use get_selected_uri rather than path. a valid uri may have a null path now. (emfs_create_name_activate): and here too. (em_folder_selector_get_selected_path): check the uri is null for a selected path, and then handle a null path. svn path=/trunk/; revision=26307
* revert previous change. Stupid emftm.Not Zed2004-06-113-2/+5
| | | | | | | | | 2004-06-11 Not Zed <NotZed@Ximian.com> * em-folder-tree-model.c (em_folder_tree_model_add_store): revert previous change. Stupid emftm. svn path=/trunk/; revision=26306
* handle a null path or fragment.Not Zed2004-06-114-7/+19
| | | | | | | | | | | | 2004-06-11 Not Zed <NotZed@Ximian.com> * em-utils.c (em_uri_from_camel): handle a null path or fragment. * em-folder-tree-model.c (em_folder_tree_model_add_store): set the full name of the store to "". Fixes #59925 and probably other issues. Related to the removal of folderinfo->path. svn path=/trunk/; revision=26305
* Fixes bug #58825. Ugh. Really Gross Hack (tm).Jeffrey Stedfast2004-06-115-35/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-10 Jeffrey Stedfast <fejj@novell.com> Fixes bug #58825. Ugh. Really Gross Hack (tm). * em-folder-tree.c (emft_tree_row_expanded): If the store that we are expanding matches the uri that we've been requested to select (e.g. from before the store was added to the tree), then give the uri to the get_folder_info_op. (em_folder_tree_set_selected): If the store for the uri isn't in the tree yet, save the uri for later. * mail-component.c (folder_selected_cb): Set the selected state of the folder-tree and save it. (impl_createControls): Restore the selected state on the folder-tree. * em-folder-tree-model.c (em_folder_tree_model_set_selected): New function to set the selected-uri saved state. (em_folder_tree_model_get_selected): New function to get the selected uri saved state. (em_folder_tree_model_save_state): Renamed. * em-folder-tree.c (emft_update_model_expanded_state): Don't let path be NULL if the node is a store node (path == NULL for any other case is a bug). (emft_maybe_expand_row): Same. svn path=/trunk/; revision=26294
* use new etreeselectionmodel api to select paths in one call. Fixes #59546.Not Zed2004-06-102-2/+9
| | | | | | | | | | 2004-06-10 Not Zed <NotZed@Ximian.com> * message-list.c (message_list_set_selected): use new etreeselectionmodel api to select paths in one call. Fixes #59546. svn path=/trunk/; revision=26278
* check that we have content selected, not just a selection, before tryingNot Zed2004-06-102-20/+32
| | | | | | | | | | | | 2004-06-10 Not Zed <NotZed@Ximian.com> * em-folder-view.c (emfv_message_reply): check that we have content selected, not just a selection, before trying to reply to that content. #59146. (emfv_message_reply): strip call content-* headers (fixme), and set transfer-encoding to 8bit. svn path=/trunk/; revision=26274
* Fix for SSL options appearing for sendmailRodney Dawes2004-06-092-423/+440
| | | | | | | | 2004-06-08 Rodney Dawes <dobey@ximian.com> * mail-config.glade: Fix for SSL options appearing for sendmail svn path=/trunk/; revision=26263
* Scroll to the selected folder if needed. Fixes bug #59609.Jeffrey Stedfast2004-06-092-1/+5
| | | | | | | | | 2004-06-08 Jeffrey Stedfast <fejj@novell.com> * em-folder-tree.c (em_folder_tree_set_selected): Scroll to the selected folder if needed. Fixes bug #59609. svn path=/trunk/; revision=26262
* Make the chooser non-modal. Fixes bug #53735.Jeffrey Stedfast2004-06-092-0/+4
| | | | | | | | | 2004-06-08 Jeffrey Stedfast <fejj@novell.com> * em-folder-selector.c (em_folder_selector_construct): Make the chooser non-modal. Fixes bug #53735. svn path=/trunk/; revision=26261
* Only change the cursor if the currently selected folder is a subfolder ofJeffrey Stedfast2004-06-092-5/+25
| | | | | | | | | | | | | 2004-06-08 Jeffrey Stedfast <fejj@novell.com> * em-folder-tree.c (emft_tree_row_collapsed): Only change the cursor if the currently selected folder is a subfolder of the folder collapsed. Fixes bug #59801 without breaking bug #57665. (emft_tree_test_collapse_row): Renamed from emft_tree_collapse_row() to match the new signal we are connected to. svn path=/trunk/; revision=26258
* Set the store's FULL_NAME to NULL here. Fixes the crash in bug #59713.Jeffrey Stedfast2004-06-082-1/+6
| | | | | | | | | 2004-06-07 Jeffrey Stedfast <fejj@novell.com> * em-folder-tree-model.c (em_folder_tree_model_add_store): Set the store's FULL_NAME to NULL here. Fixes the crash in bug #59713. svn path=/trunk/; revision=26238
* fix the name of "stock_save-as" everywhereDan Winship2004-06-073-4/+12
| | | | svn path=/trunk/; revision=26237
* Shuffle usage of trailing "..." in menus.Christian Neumair2004-06-052-4/+9
| | | | svn path=/trunk/; revision=26227
* Use ngettext for message count information.Christian Neumair2004-06-052-8/+13
| | | | | | | | | 2004-06-05 Christian Neumair <chris@gnome-de.org> * mail-component.c (view_changed_cb): Use ngettext for message count information. svn path=/trunk/; revision=26226
* added size info to IMG tags so that it loads the message smootherRadek Doulik2004-06-042-6/+11
| | | | | | | | | 2004-06-04 Radek Doulik <rodo@ximian.com> * default/C/Inbox (Content-Type): added size info to IMG tags so that it loads the message smoother svn path=/trunk/; revision=26212
* Don't pack entry and checkbox widgets directly into the dialog vbox soWilliam Jon McCann2004-06-042-2/+15
| | | | | | | | | | 2004-06-03 William Jon McCann <mccann@jhu.edu> * mail-session.c (request_password): Don't pack entry and checkbox widgets directly into the dialog vbox so that they line up correctly with the action area buttons. svn path=/trunk/; revision=26206
* put this back in, local folders not being noted properly all the time.Not Zed2004-06-032-1/+18
| | | | | | | | | 2004-06-02 Not Zed <NotZed@Ximian.com> * mail-component.c (mc_add_local_store_done): put this back in, local folders not being noted properly all the time. svn path=/trunk/; revision=26165
* fixed changelogJeffrey Stedfast2004-06-021-1/+3
| | | | svn path=/trunk/; revision=26146
* Don't attach anything ever. This is confusing way too many users whoJeffrey Stedfast2004-06-022-5/+9
| | | | | | | | | | | | 2004-06-01 Jeffrey Stedfast <fejj@novell.com> * em-composer-utils.c (forward_non_attached): Don't attach anything ever. This is confusing way too many users who expect it to attach all or nothing. Since Forward-Attached is what users should be using to forward a message and all attachments, make these not attach anything (which is what other mailers do anyway). svn path=/trunk/; revision=26145
* set the right path on the url.Not Zed2004-06-012-1/+4
| | | | | | | | | 2004-06-01 Not Zed <NotZed@Ximian.com> * em-folder-selector.c (em_folder_selector_get_selected_uri): set the right path on the url. svn path=/trunk/; revision=26141
* ugh, unlike camel exceptions, you can't pass NULL to CORBA calls.Not Zed2004-06-012-6/+12
| | | | | | | | | | 2004-06-01 Not Zed <NotZed@Ximian.com> * mail-signature-editor.c (load_signature): ugh, unlike camel exceptions, you can't pass NULL to CORBA calls. (mail_signature_editor): ditto. See bug #58815. svn path=/trunk/; revision=26136
* Disable debug here too - all this code has been working fine.Jeffrey Stedfast2004-05-295-6/+23
| | | | | | | | | | | | | | | | | | | | | 2004-05-28 Jeffrey Stedfast <fejj@novell.com> * em-folder-tree.c (d): Disable debug here too - all this code has been working fine. * em-folder-selector.c (d): Disable debug spew here too (not that this debug was ever seen since it never hit those conditions). * mail-folder-cache.c (d): Disable debug here too. * em-folder-tree-model.c: Disable debug spewage that we don't need anymore. The amount of debug spewage on the console is getting to be too much to find anything. * em-folder-tree.c (emft_expand_node): Use p+1 as the full_name rather than p. Fixes bug #59187. svn path=/trunk/; revision=26125
* fixed ChangeLogJeffrey Stedfast2004-05-281-4/+3
| | | | svn path=/trunk/; revision=26116
* Instead of removing the "Loading..." row for toplevel folder nodes onJeffrey Stedfast2004-05-282-1/+20
| | | | | | | | | | | | 2004-05-27 Jeffrey Stedfast <fejj@novell.com> * em-folder-tree.c (emft_get_folder_info__got): Instead of removing the "Loading..." row for toplevel folder nodes on failure (which indicates a failure conenct to the server, most likely), collapse the store node so that if the user expands the store node, it will automagically try connecting again. Fixes bug #57493. svn path=/trunk/; revision=26115
* Require e-error-toolRodney Dawes2004-05-282-0/+5
| | | | | | | | | | | | 2004-05-27 Rodney Dawes <dobey@novell.com> * e-util/Makefile.am (dist-hook): Require e-error-tool 2004-05-27 Rodney Dawes <dobey@novell.com> * */Makefile.am (EXTRA_DIST): Add $(error_i18n) for "make dist" svn path=/trunk/; revision=26114
* initialise desc to NULL before using it later on. gcc doesn't warn on thisNot Zed2004-05-262-1/+6
| | | | | | | | | | | 2004-05-26 Not Zed <NotZed@Ximian.com> * mail-vfolder.c (vfolder_adduri_desc): initialise desc to NULL before using it later on. gcc doesn't warn on this if you're not optimising. Sigh. Probably fix #59070, #59060, #58972 and friends. svn path=/trunk/; revision=26096
* set the default selection to inbox.Not Zed2004-05-269-168/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-26 Not Zed <NotZed@Ximian.com> * importers/evolution-mbox-importer.c (create_control_fn): set the default selection to inbox. * importers/evolution-outlook-importer.c (folder_selected) (create_control_fn): copied from mbox importer. fixes a crash & lets you choose the target folder. 2004-05-25 Not Zed <NotZed@Ximian.com> * mail-component.c (mc_add_local_store_done): removed, now redundant. * em-folder-tree.c (em_folder_tree_set_selected): fix for path changes. * em-folder-tree-model.c (em_folder_tree_model_set_unread_count): change to use full name rather than path name. * em-folder-tree-model.h: renamed path_hash to full_hash. * em-folder-tree-model.c (folder_subscribed): dont use g_path_get_dirname here, it is os dependent, we want / always. (full_hash_free): rename from path_hash free. svn path=/trunk/; revision=26090
* a few fixes.Jeffrey Stedfast2004-05-264-8/+21
| | | | | | | | | | | | | 2004-05-25 Jeffrey Stedfast <fejj@novell.com> * mail-errors.xml: a few fixes. * em-format-quote.c (emfq_text_plain): Only strip the signature if we are in some wy modifying the content (we don't want to remove the signature if we are editing the message as a new message). Fixes bug #58826. svn path=/trunk/; revision=26079
* disable add sender to addressbook bar if it is also disabled. #58955.Not Zed2004-05-252-2/+7
| | | | | | | | | 2004-05-25 Not Zed <NotZed@Ximian.com> * em-folder-view.c (emfv_popup_menu[]): disable add sender to addressbook bar if it is also disabled. #58955. svn path=/trunk/; revision=26072
* don't enable the widget based on its writability if it is a dependentNot Zed2004-05-242-7/+17
| | | | | | | | | | | | 2004-05-24 Not Zed <NotZed@Ximian.com> * mail-account-gui.c (mail_account_gui_build_extra_conf): don't enable the widget based on its writability if it is a dependent option which is now disable. (setup_toggle): return whether the widget is sensitive too. #57171. svn path=/trunk/; revision=26062
* only enable add sender if we also have 1 selected. #56663.Not Zed2004-05-242-1/+5
| | | | | | | | | 2004-05-24 Not Zed <NotZed@Ximian.com> * em-popup.c (em_popup_target_new_select): only enable add sender if we also have 1 selected. #56663. svn path=/trunk/; revision=26061
* remove some debug.Not Zed2004-05-243-5/+10
| | | | | | | | | | | 2004-05-24 Not Zed <NotZed@Ximian.com> * em-folder-view.c (emfv_enable_menus): remove some debug. * em-format-html.c (efh_format_header): output commas between newsgroups, and also append_printf. svn path=/trunk/; revision=26060
* use set_cursor instead of scroll_to_row. See #58383.Not Zed2004-05-242-21/+30
| | | | | | | | | | | | | | | 2004-05-24 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (em_folder_tree_set_selected): use set_cursor instead of scroll_to_row. See #58383. (get_selected_uris_iterate): removed. (em_folder_tree_get_selected_uris): use an interative call based on gtk_tree_selection_get_selected_rows rather than selected_foreach, as the gtk+ docs suggest. was trying to fix a bug but it seems gtktreeselection bug (shift-select rows using keyboard only) svn path=/trunk/; revision=26058
* added empty handling for CAMEL_PROVIDER_CONF_HIDDEN added handling forSivaiah Nallagatla2004-05-242-2/+17
| | | | | | | | | | 2004-05-24 Sivaiah Nallagatla <snallagatla@novell.com> * mail-account-gui.c (mail_account_gui_build_extra_conf) : added empty handling for CAMEL_PROVIDER_CONF_HIDDEN * (extract_values) : added handling for CAMEL_PROVIDER_CONF_HIDDEN svn path=/trunk/; revision=26056
* pull the message from the regen list before we check the list and pendingNot Zed2004-05-243-6/+21
| | | | | | | | | | | | | 2004-05-24 Not Zed <NotZed@Ximian.com> * message-list.c (regen_list_regened): pull the message from the regen list before we check the list and pending uid. * em-folder-view.c (emfv_enable_menus): remove the hack for enabling select delete from here and put it in the right place. (em_folder_view_get_popup_target): put it here so its consistent. svn path=/trunk/; revision=26055
* put note_store back in. Quick hack to fix the issue of folders beingNot Zed2004-05-223-6/+11
| | | | | | | | | | | | | 2004-05-22 Not Zed <NotZed@Ximian.com> * mail-tools.c (mail_tool_uri_to_folder): put note_store back in. Quick hack to fix the issue of folders being opened before we hook onto folder_created. * mail-folder-cache.c: remove 'name' from update struct, not used anymore svn path=/trunk/; revision=26043
* ** Another unread count bug, #58814.Not Zed2004-05-226-6/+27
| | | | | | | | | | | | | | | | | | 2004-05-22 Not Zed <NotZed@Ximian.com> ** Another unread count bug, #58814. * mail-vfolder.c (context_rule_added): * mail-tools.c (mail_tool_uri_to_folder): * mail-component.c (mc_add_local_store_done): don't call mail note folder anymore, fix up headers. * mail-folder-cache.c (store_folder_opened) (mail_note_store_remove, mail_note_store): handle the new store:folder_opened signal. Don't need the mail_note_folder hack anymore, mail_tool_uri_to_folder slowly does less. svn path=/trunk/; revision=26042
* add marshaller for p_ppppp call.Not Zed2004-05-218-69/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-21 Not Zed <NotZed@Ximian.com> * mail-mt.c (do_call): add marshaller for p_ppppp call. * mail-session.c (get_password): fix for camel api changes. (forget_password): same. ** See #58376. * message-list.c (mail_regen_list): do some timeout foo so we don't keep doing list regnerations if we're getting called too often. God knows what this will break. (message_list_set_selected): removede bug printf. (regen_list_free): move the message-list poking stuff into regen_list_regened. (message_list_set_folder): call mail_regen_cancel to cancel any regen stuff. (mail_regen_cancel): cancel/clear outstanding regenerations. (message_list_destroy): do it here too. (message_list_select_uid): also set the pending select uid if we have a timeout pending. * mail-component.c (impl_createControls): set the defualt parent to the main folderview as soon as its created. * em-folder-tree.c (emft_popup_copy_folder_selected): use get_toplevel rather than get_ancestor. seems the more reliable one. also we're always parented so we shoudl always find a toplevel window. (em_folder_tree_create_folder): same. (emft_popup_delete_response): set error parent. (emft_popup_delete_folder, emft_popup_rename_folder) (emft_popup_rename_folder, emft_popup_rename_folder): svn path=/trunk/; revision=26030
* finally put the 1.2 password upgrade patch in. Untested. #42721.Not Zed2004-05-212-1/+102
| | | | | | | | | 2004-05-21 Not Zed <NotZed@Ximian.com> * em-migrate.c (update_passwords_1_2): finally put the 1.2 password upgrade patch in. Untested. #42721. svn path=/trunk/; revision=26027
* Fixes for bug #57305.Jeffrey Stedfast2004-05-214-10/+27
| | | | | | | | | | | | | | | | | | | | | 2004-05-20 Jeffrey Stedfast <fejj@novell.com> Fixes for bug #57305. * mail-account-gui.c (sig_add_new_signature): Updated for changes below. * em-composer-prefs.c (em_composer_prefs_new_signature): No longer takes a script argument (makes no sense to edit a script with an HTML editor if we require that the script already exist before we let the user add it anyway). (sig_add_cb): Updated for above change. (sig_add_script_response): Don't pop up an editor window for the newly added script, the script has already been created! Instead simply create a new ESignature object, set the sig->name, and add it to the signature list. svn path=/trunk/; revision=26023
* remove "use daemon" handling codeRadek Doulik2004-05-203-48/+228
| | | | | | | | | | | 2004-05-20 Radek Doulik <rodo@ximian.com> * em-mailer-prefs.c (em_mailer_prefs_construct): remove "use daemon" handling code Fixes #56909 svn path=/trunk/; revision=26010
* ** See #58388.Not Zed2004-05-202-1/+8
| | | | | | | | | | | | 2004-05-20 Not Zed <NotZed@Ximian.com> ** See #58388. * mail-mt.c (mail_msg_check_error): surpress any errors about messages not found because of invalid uid's. They're really just internal errors. svn path=/trunk/; revision=26007
* ** See #57583.Not Zed2004-05-203-8/+43
| | | | | | | | | | | | | | | 2004-05-20 Not Zed <NotZed@Ximian.com> ** See #57583. * message-list.c (build_tree): save/restore the selection when we update. (message_list_set_selected): util to set the selected messages from a list of uids. (build_flat): same. I wonder if etree's unbroken enough to use it more directly? svn path=/trunk/; revision=26006
* ** See #58693.Not Zed2004-05-204-4/+17
| | | | | | | | | | | | | | | | | | | 2004-05-20 Not Zed <NotZed@Ximian.com> ** See #58693. * mail-send-recv.c (mail_autoreceive_setup): add bounds checking so sloppy ui work wont break it again. * mail-config.glade: put the minimum for autocheck back to 1 minute. Naughty jeff. 2004-05-19 Not Zed <NotZed@Ximian.com> * mail-ops.c (send_queue_send): set seen when we set deleted. ? #56549. svn path=/trunk/; revision=26002
* use the new e_book_new_* and e_book_open apis.Chris Toshok2004-05-203-6/+15
| | | | | | | | | | | | 2004-05-19 Chris Toshok <toshok@ximian.com> * importers/pine-importer.c (import_contacts): use the new e_book_new_* and e_book_open apis. * em-utils.c (em_utils_in_addressbook): use the new e_book_new_* and e_book_open apis. svn path=/trunk/; revision=26001
* Fixed the icon name to get the right one.Jeffrey Stedfast2004-05-202-1/+3
| | | | | | | | 2004-05-19 Jeffrey Stedfast <fejj@novell.com> * message-tags.glade: Fixed the icon name to get the right one. svn path=/trunk/; revision=25991
* Changed to load an empty pixbuf manually rather than relying on the pixbufJeffrey Stedfast2004-05-202-22/+34
| | | | | | | | | | | 2004-05-19 Jeffrey Stedfast <fejj@novell.com> * message-list.c (message_list_init_images): Changed to load an empty pixbuf manually rather than relying on the pixbuf returned for "" from e_icon_factory_get_icon() since it has changed to return a broken image icon. svn path=/trunk/; revision=25985
* don't dist the error .h fileJP Rosevear2004-05-202-1/+5
| | | | | | | | 2004-05-19 JP Rosevear <jpr@novell.com> * Makefile.am: don't dist the error .h file svn path=/trunk/; revision=25979
* if we end up with an application/octet-stream part, pre-snoop it so we setNot Zed2004-05-196-80/+97
| | | | | | | | | | | | | | | | | | | 2004-05-19 Not Zed <NotZed@Ximian.com> * em-inline-filter.c (emif_add_part): if we end up with an application/octet-stream part, pre-snoop it so we set the right mime type to start with. Fixes #58554. * em-format.c (emf_snoop_part): removed, now in em-utils. * em-utils.c (em_utils_snoop_type): rah rah, snoop a mime part's type. * em-format-html.c (efh_text_plain): Revert jeff's fix for #56290. Ugh, we already have all the citation info in local data. Removed the need for gconf too. svn path=/trunk/; revision=25974
* make this match the efhd stuff.Not Zed2004-05-193-10/+28
| | | | | | | | | | | | | | | 2004-05-19 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_format_secure): make this match the efhd stuff. * em-format-html-display.c: removed stock_signature-nokey since it doesn't exist in gnome-icon-theme. (efhd_xpkcs7mime_button): if there is no signing, but encryption, use its icon. if there's no encryption too, use a broken icon (?). svn path=/trunk/; revision=25973
* Add menu_label and menu_accelerator.William Jon McCann2004-05-192-0/+7
| | | | | | | | | 2004-05-05 William Jon McCann <mccann@jhu.edu> * GNOME_Evolution_Mail.server.in.in: Add menu_label and menu_accelerator. svn path=/trunk/; revision=25971
* fixed up the empty trash on exit thing, to update for all stores, notNot Zed2004-05-192-13/+21
| | | | | | | | | | 2004-05-19 Not Zed <NotZed@Ximian.com> * mail-component.c (mc_quit_sync): fixed up the empty trash on exit thing, to update for all stores, not update the timestamp on the first store synced. svn path=/trunk/; revision=25966
* Added header "X-Newsreader" for handle Outlook Express as Mailer.Cantona Su2004-05-192-1/+7
| | | | | | | | | 2004-05-18 Cantona Su <paradisetux@hotmail.com> * em-format-html.c: Added header "X-Newsreader" for handle Outlook Express as Mailer. svn path=/trunk/; revision=25965
* don't nomarkseen when we restore the message when we show the preview.Not Zed2004-05-182-1/+5
| | | | | | | | | | 2004-05-18 Not Zed <NotZed@Ximian.com> * em-folder-browser.c (em_folder_browser_show_preview): don't nomarkseen when we restore the message when we show the preview. #58387. svn path=/trunk/; revision=25956
* no new message test if its the drafts folder too.Not Zed2004-05-183-1/+47
| | | | | | | | | | | | | 2004-05-18 Not Zed <NotZed@Ximian.com> * mail-folder-cache.c (folder_changed): no new message test if its the drafts folder too. * mail-vfolder.c (vfolder_adduri_desc): use a nicer, account-based formatter for folder names. Hmm, that was a good waste of time. For #55412. svn path=/trunk/; revision=25955
* Listen to the tree selection change event directly & proxy out, so we canNot Zed2004-05-182-0/+14
| | | | | | | | | | 2004-05-18 Not Zed <NotZed@Ximian.com> * em-folder-view.c (emfv_list_selection_change): Listen to the tree selection change event directly & proxy out, so we can update the status bar properly. Blah. For #58600. svn path=/trunk/; revision=25954
* ** Quick fix for #57434Not Zed2004-05-185-2/+24
| | | | | | | | | | | | | | | | | | | | 2004-05-18 Not Zed <NotZed@Ximian.com> ** Quick fix for #57434 * em-format.c (emf_format_clone): fix the FIXME about cloning headers shown. * em-format-html.c (efh_format_headers): only show rupert if we're showing rupert. * em-format-html-print.c (efhp_init): default show_rupert to off. * em-format-html.c (efh_init): default show_rupert to on. * em-format-html.h: added show_rupert bit. svn path=/trunk/; revision=25953
* don't emit new mail if its any vfolder, not just vtrash folder. #56350.Not Zed2004-05-1811-20/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-18 Not Zed <NotZed@Ximian.com> * mail-folder-cache.c (folder_changed): don't emit new mail if its any vfolder, not just vtrash folder. #56350. * em-folder-view.c (emfv_list_done_message_selected): run enable_menu's to make sure we're up to date. #58352. ** crappy hacks for #58385. * em-folder-selection-button.c (em_folder_selection_button_clicked): leave Ok button for this selection. * em-folder-selection.c (em_select_folder): added oklabel here too. * em-folder-selector.c (em_folder_selector_new) (em_folder_selector_construct, em_folder_selector_create_new): Added oklabel- text for ok label. (em_folder_selector_create_new): Set the ok label to Create. * em-message-browser.c (emmb_set_message): don't mark message seen if user has disabled auto-mark seen feature. #58629. * em-format.c (em_format_part): if we have no content-type header, then we get no mime-type set, so assume text/plain. #58470. svn path=/trunk/; revision=25951
* #include <gtk/gtkliststore.h>. Fixes bug #58407.Jeffrey Stedfast2004-05-172-0/+6
| | | | | | | | | 2004-05-17 Jeffrey Stedfast <fejj@ximian.com> * em-mailer-prefs.c: #include <gtk/gtkliststore.h>. Fixes bug #58407. svn path=/trunk/; revision=25923
* put the None item at the head of the providers list.Not Zed2004-05-173-14/+29
| | | | | | | | | | | | | | | | | 2004-05-17 Not Zed <NotZed@Ximian.com> * mail-account-gui.c (mail_account_gui_setup): put the None item at the head of the providers list. (mail_account_gui_setup): only set the transport default fallback if it is not a STORE_AND_TRANSPORT type provider (since that was just disabled). #57939. * message-list.c (on_selection_changed_cmd): only NOOP if we have no selection and no uid, if we have a selection and no uid, then always update. Fixes #58267 without breaking the double-load thing. svn path=/trunk/; revision=25919
* keep the hide deleted status. Makes #51082 work at last.Not Zed2004-05-173-1/+7
| | | | | | | | | 2004-05-17 Not Zed <NotZed@Ximian.com> * em-folder-view.c (em_folder_view_open_selected): keep the hide deleted status. Makes #51082 work at last. svn path=/trunk/; revision=25916
* ** Bug #6556.Not Zed2004-05-176-238/+478
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-17 Not Zed <NotZed@Ximian.com> ** Bug #6556. * message-list.c (ml_drop_async_desc, ml_drop_async_drop) (ml_drop_async_done, ml_drop_async_free, ml_drag_data_action) (ml_drop_popup_copy, ml_drop_popup_move, ml_drop_popup_cancel) (ml_tree_drag_data_received): implement async drop operations and the ask drop option menu. 2004-05-14 Not Zed <NotZed@Ximian.com> ** Bug #6556. * message-list.c (ml_selection_received_uidlist): removed, not needed anymore. (ml_selection_received): call get_uidlist to paste the selection. (ml_tree_drag_data_received): same here. * em-folder-tree.c (emft_drop_uid_list): removed, not needed because of below change. * em-utils.c (em_utils_selection_get_uidlist): actually do the copy now, don't just decode the data. * em-folder-tree.c (tree_drag_data_received): just copy the selection data data itself, dont decode yet. (emft_import_message_rfc822): removed, not needed, use em utils stuff instead. (emft_drop_message_rfc822): same. (emft_drop_text_uri_list): same. (emft_drop_async_free): simply free stuff. (emft_drop_async_drop): call em_utils stuff where they exist to do the drop. * message-list.c (ml_tree_drag_data_get): send x-mailbox instead of message/rfc822 for the mailbox. (ml_tree_drag_data_received): handle drop of x-mailbox differently to message/rfc822. (ml_tree_drag_motion): implement so proper options are setup whilst dragging. (message_list_construct): seutp the drag src/dest types for changes typs and with ASK action. * em-utils.c (em_utils_read_messages_from_stream): dont unref the stream when we get it. (em_utils_selection_get_mailbox): add an argument to scan from or not, for message/rfc822 vs x-mailbox drops. (em_utils_read_messages_from_stream): Same. * em-folder-tree.c (tree_drag_motion): default to move properly. * message-list.c (ml_selection_received_uidlist): take a move flag. (ml_tree_drag_data_received): handle move action. * em-folder-tree.c (em_folder_tree_new_with_model): got sick of this bloody warning. * em-format.c (default_headers[]): just remove x-mailer from the header list, if it isn't on by default. This is the default list. (em_format_default_headers): loop through everything. svn path=/trunk/; revision=25915
* s/RESEND/EDIT/Jeffrey Stedfast2004-05-154-36/+42
| | | | | | | | | | | | | | 2004-05-14 Jeffrey Stedfast <fejj@novell.com> * em-popup.h: s/RESEND/EDIT/ * em-popup.c (em_popup_target_new_select): s/RESEND/EDIT/ * em-folder-view.c: s/RESEND/EDIT/ (emfv_popup_edit): Renamed from emfv_popup_resend. Part of the fix for bug #58358 (The main fix was just a change to the ui file). svn path=/trunk/; revision=25910
* (config_write_style): fflush the gtkrc file.Jeffrey Stedfast2004-05-152-4/+6
| | | | svn path=/trunk/; revision=25909
* Build the path to the gtkrc filename and store it on the config struct soJeffrey Stedfast2004-05-152-30/+20
| | | | | | | | | | | | | 2004-05-14 Jeffrey Stedfast <fejj@novell.com> * mail-config.c (mail_config_init): Build the path to the gtkrc filename and store it on the config struct so we don't have to keep rebuilding it. (config_write_style): Reuse config->gtkrc string instead of constructing the path again. (mail_config_write_on_exit): Free the gtkrc path. svn path=/trunk/; revision=25908
* Updated the #if 0'd code for the API chanegs made toJeffrey Stedfast2004-05-155-7/+23
| | | | | | | | | | | | | | | | | 2004-05-14 Jeffrey Stedfast <fejj@novell.com> * em-popup.c (emp_popup_resend): Updated the #if 0'd code for the API chanegs made to em_utils_edit_messages(). * em-folder-view.c (em_folder_view_open_selected): Pass TRUE as the replace argument to em_utils_edit_messages() here. (emfv_popup_resend): Pass FALSE here. Fixes bug #58357. * em-composer-utils.c (em_utils_edit_messages): Now takes a 'replace' argument specifying whether or not the original message should be deleted when the edited message is sent or saved. svn path=/trunk/; revision=25907
* Same. Also changed the "Valid signature, cannot verify sender" string toJeffrey Stedfast2004-05-153-9/+27
| | | | | | | | | | | | | | 2004-05-14 Jeffrey Stedfast <fejj@novell.com> * em-format-html.c (efh_format_secure): Same. Also changed the "Valid signature, cannot verify sender" string to "Valid signature but cannot verify sender" as I think it reads nicer. * em-format-html-display.c (efhd_format_secure): Since signature status is a tri-state, use 3 different colours too (yellow for valid sig but unknown sender). svn path=/trunk/; revision=25906
* Don't include the last default_header when setting the default headers. IfJeffrey Stedfast2004-05-143-19/+25
| | | | | | | | | | | | | | | 2004-05-13 Jeffrey Stedfast <fejj@novell.com> * em-format.c (em_format_default_headers): Don't include the last default_header when setting the default headers. If the user has configured Evolution to display the Mailer header, then it will be set in em-folder-view.c as appropriate when it checks the gconf settings. Fixes bug #58217. * em-mailer-prefs.c (em_mailer_prefs_construct): Default "x-evolution-mailer" header to disabled. svn path=/trunk/; revision=25903
* Add a stripsig filter. Fixes bug #52767.Jeffrey Stedfast2004-05-136-4/+252
| | | | | | | | | | | | 2004-05-13 Jeffrey Stedfast <fejj@novell.com> * em-format-quote.c (emfq_text_plain): Add a stripsig filter. Fixes bug #52767. * em-stripsig-filter.[c,h]: New filter class to strip signatures. Useful when generating forwards/replies. svn path=/trunk/; revision=25902
* move ignore case outside of block. Stupid c language.Not Zed2004-05-134-36/+69
| | | | | | | | | | | | | | | | | | | | | 2004-05-13 Not Zed <NotZed@Ximian.com> * em-migrate.c (em_migrate_folder): move ignore case outside of block. Stupid c language. * em-folder-view.c (emfv_format_popup_event): fix warning with cast. ** See bug #58304. * em-junk-filter.c (em_junk_sa_setting_notify): listen to sa settings changes, update some globals. (em_junk_filter_get_plugin): setup the gconf client here and listen to changes. (em_junk_sa_get_local_only, em_junk_sa_get_use_daemon) (em_junk_sa_get_daemon_port): removed, use globals instead. svn path=/trunk/; revision=25898
* re-enabled the reply to selection stuff. I worked out how to make it work;Not Zed2004-05-133-20/+31
| | | | | | | | | | | | | | | 2004-05-13 Not Zed <NotZed@Ximian.com> * em-folder-view.c (emfv_message_reply): re-enabled the reply to selection stuff. I worked out how to make it work; I think. * em-format-html-display.c (efhd_html_button_press_event): if we aren't on a clickable object, do a null popup event instead. * em-folder-view.c (emfv_format_popup_event): do the full popup if we aren't on anything (not on a uri or part). See #8414. svn path=/trunk/; revision=25894
* added "email" to the uri_schema's attribute.Not Zed2004-05-133-0/+44
| | | | | | | | | | | | | | 2004-05-13 Not Zed <NotZed@Ximian.com> * GNOME_Evolution_Mail.server.in.in: added "email" to the uri_schema's attribute. * mail-component.c (impl_handleURI): handle email: uri's, specify opening a message on a folder. (handleuri_got_folder): open the message. For some 1337 s3Kr3t ha0x. svn path=/trunk/; revision=25893
* ** See bug #58302.Not Zed2004-05-122-2/+11
| | | | | | | | | | | | | 2004-05-12 Not Zed <NotZed@Ximian.com> ** See bug #58302. * em-composer-utils.c (em_utils_post_to_folder): * em-composer-utils.c (em_utils_compose_new_message_with_mailto): poke the composer headers from account directly, don't call set headers which overwrites stuff. svn path=/trunk/; revision=25879
* enable threading option type on the search bar.Not Zed2004-05-122-0/+5
| | | | | | | | | 2004-05-12 Not Zed <NotZed@Ximian.com> * mail-component.c (setup_search_context): enable threading option type on the search bar. svn path=/trunk/; revision=25878
* add for translators.Not Zed2004-05-1210-589/+834
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-12 Not Zed <NotZed@Ximian.com> * mail-errors.xml.h: add for translators. * Makefile.am (%.xml.h): fix for xml i18n stuff. * mail-errors.xml: moved from the .xml.in file. 2004-05-11 Not Zed <NotZed@Ximian.com> * em-utils.c (em_uri_from_camel): pass an exception to provider_get, it relies on one. * em-migrate.c (em_migrate_1_4): fix some error messages, and fail with fatal errors properly. (em_migrate_local_folders_1_4): EEP! Who cares if this fails! Well I do. Setup exceptions and return codes. (em_migrate_dir): and here too. Sloppy! (em_migrate_dir): change the code slightly, 1.4 would recurse all folders, even if the parent folder doesn't have a folder-metadata.xml. Make sure we copy that mode. (get_local_store_uri): Make it copy the 1.4 behaviour properly. Any error -> use defaults. (em_migrate_dir): lots of changes. (mbox_build_filename): take the output string as an arg. (cp): add an argument to overwrite/append or require a unique empty file. (cp_r): add mode arg here too. (em_migrate_folder): split the folder copy stuff from em_migrate dir entirely. blah. (em_upgrade_accounts_1_4): can't fail, remove return code, etc. (em_upgrade_xml_1_4): removed this rather redundant odd api. (upgrade_xml_uris): this can't fail, remove return codes etc. (em_upgrade_xml_1_0): another oddly redundant function. (em_migrate_pop_uid_caches_1_4): error messages, blah blah. (em_migrate_folder_expand_state_1_4): no fatal states here. (em_migrate_folder_view_settings_1_4): nor here. (emm_setup_initial): do i18n 'better', using gnome_i18n_get_language_list, rather than hacky code. 2004-05-10 Not Zed <NotZed@Ximian.com> * mail-tools.c: remove e-meta.h, not used anymore. svn path=/trunk/; revision=25870
* Remove the mail folder control factoryDan Winship2004-05-125-88/+11
| | | | | | | | | | | | | * GNOME_Evolution_Mail.server.in.in: Remove the mail folder control factory * mail-component-factory.c (factory): Remove support for the mail folder control * mail-component.c: Remove the property bag stuff (mail_control_new): Gone svn path=/trunk/; revision=25858
* Fixed warningDavid Malcolm2004-05-112-0/+6
| | | | svn path=/trunk/; revision=25850
* Default the Mailer header to enabled. Fixes bug #58217.Jeffrey Stedfast2004-05-112-4/+6
| | | | | | | | | 2004-05-10 Jeffrey Stedfast <fejj@novell.com> * em-mailer-prefs.c (em_mailer_prefs_construct): Default the Mailer header to enabled. Fixes bug #58217. svn path=/trunk/; revision=25849
* don't default the list strings if they are defaulted to emptyJeffrey Stedfast2004-05-111-5/+1
| | | | svn path=/trunk/; revision=25848
* set header to just Evolution (mail_append_mail): dittoJP Rosevear2004-05-103-3/+11
| | | | | | | | | | | | 2004-05-10 JP Rosevear <jpr@ximian.com> * mail-ops.c (mail_send_message): set header to just Evolution (mail_append_mail): ditto * em-message-browser.c (em_message_browser_window_new): set title to just Evolution svn path=/trunk/; revision=25836
* cleanup the view menus if they were created.Not Zed2004-05-105-63/+63
| | | | | | | | | | | | | | | | | | | | | | 2004-05-10 Not Zed <NotZed@Ximian.com> * em-folder-view.c (emfv_activate): cleanup the view menus if they were created. * em-folder-view.h: added list_active bit, means the view is showing the list and needs e.g. view menus. * em-folder-view.c (emfv_setup_view_instance): was create_view_instance. Now also setup the menu's if we're showing the list. * em-folder-browser.c (emfb_create_view_menus): removed. moved functionality into emfolderview. 2004-05-07 Not Zed <NotZed@Ximian.com> * mail-account-editor.c: include missing header. svn path=/trunk/; revision=25827
* Fix for bug #57152.Jeffrey Stedfast2004-05-084-8/+30
| | | | | | | | | | | | | | | | | | | | 2004-05-07 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #57152. * em-folder-tree.c (emft_get_folder_info__got): If we queried for a recursive folder-info listing, then pass fully_loaded as TRUE to set_folder_info(). (emft_get_folder_info__got): If we find that a folder doesn't have children, set the expanded state to FALSE. * em-folder-tree-model.c (em_folder_tree_model_set_folder_info): Now takes a "fully_loaded" argument to hint to set_folder_info whether or not folder-info's without child nodes can possibly have children (eg. if fully_loaded is set and fi->child is NULL, then 'load' will be FALSE no matter what fi->flags contains). svn path=/trunk/; revision=25826
* set cite_color property of gtkhtml widgets (mail_config_init): addRadek Doulik2004-05-072-2/+23
| | | | | | | | | | | | | 2004-05-07 Radek Doulik <rodo@ximian.com> * mail-config.c (config_write_style): set cite_color property of gtkhtml widgets (mail_config_init): add /apps/evolution/mail/display dir to gconf client and watch for mark_citations and citation_colour changes See bug #57587 svn path=/trunk/; revision=25824
* ** See bug #57935.Not Zed2004-05-075-13/+33
| | | | | | | | | | | | | | | | | | | 2004-05-07 Not Zed <NotZed@Ximian.com> ** See bug #57935. * em-folder-view.c (emfv_set_message): add new arg, nomarkseen, don't mark the selected message seen once its loaded. (emfv_list_message_selected): clear the nomarkseen flag once we've processed the selection. (emfv_list_done_message_selected): handle the nomarkseen flag, don't mark a message seen if it was explictly selected. * em-folder-browser.c (emfb_list_built): use em_folder_view_select_message rather than doing it via the messagelist directly. svn path=/trunk/; revision=25821
* ** Dunno why i bothered, but see bug #58090.Not Zed2004-05-072-6/+45
| | | | | | | | | | | | | | | 2004-05-07 Not Zed <NotZed@Ximian.com> ** Dunno why i bothered, but see bug #58090. * importers/netscape-importer.c (netscape_filter_parse_conditions): check for custom headers properly. (netscape_filter_flatfile_get_entry): put in some validate checks. (netscape_filter_to_evol_filter): implement custom headers properly. (ns_filter_condition_types): add missing "status" string. svn path=/trunk/; revision=25820
* ** See #58017.Not Zed2004-05-074-6/+19
| | | | | | | | | | | | | | | | | 2004-05-07 Not Zed <NotZed@Ximian.com> ** See #58017. * message-list.c (mail_regen_list): use thread_queued, so we don't regen out of order. * em-folder-view.c (emfv_list_message_selected): use the queue thread so we don't get messages out of order. * mail-ops.c (mail_transfer_messages): use thread_queued_slow. (mail_prep_offline): and here too. svn path=/trunk/; revision=25819
* Check that the folder is selectable using the new flags argument.Jeffrey Stedfast2004-05-076-15/+31
| | | | | | | | | | | | | | | | 2004-05-06 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (folder_selected_cb): Check that the folder is selectable using the new flags argument. * em-folder-selector.c (folder_selected_cb): Updated for below changes. * em-folder-tree.c (emft_tree_selection_changed): Updated to pass a flags argument to the folder_selected signal. (emft_tree_row_activated): Same. svn path=/trunk/; revision=25816
* reset the preview if no signature is selectedRadek Doulik2004-05-062-1/+9
| | | | | | | | | | | 2004-05-06 Radek Doulik <rodo@ximian.com> * em-composer-prefs.c (sig_selection_changed): reset the preview if no signature is selected Fixes #57167 svn path=/trunk/; revision=25815
* Select the row that was just collapsed. Fixes bug #57665.Jeffrey Stedfast2004-05-062-0/+5
| | | | | | | | | 2004-05-05 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (emft_tree_row_collapsed): Select the row that was just collapsed. Fixes bug #57665. svn path=/trunk/; revision=25811
* Removed. (rule_from_message): Removed the AUTO_THREAD bit.Jeffrey Stedfast2004-05-064-69/+11
| | | | | | | | | | | | | | 2004-05-05 Jeffrey Stedfast <fejj@ximian.com> * mail-autofilter.c (rule_match_thread): Removed. (rule_from_message): Removed the AUTO_THREAD bit. * em-folder-view.c: Removed vFolder/Filter on Thread. These were both broken. (struct _filter_data): Removed a bunch of data members since most of them weren't used. svn path=/trunk/; revision=25810
* ** See bug #57720.Not Zed2004-05-0510-195/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-05 Not Zed <NotZed@Ximian.com> ** See bug #57720. * em-folder-browser.c (emfb_create_view_menus): removed some stuff done in create_view_instance in the superclass. * em-folder-view.c (emfv_create_view_instance): moved here from em-folder-browser, setup the view instance for the folder. (emfv_set_folder): if the folder is set, create the view instance. * em-folder-browser.c: moved the galview instance and menu pointers to EMFolderView, since they're basically meta-data on the messagelist @ to fix issues. * em-folder-view.c (em_folder_view_open_selected): copy over the threaded list value when the message browser is brought up. ** some clean up * evolution-mail.schemas.in.in: removed xmailer_mask stuff. * em-migrate.c (mail_display_map[]): Removed xmailer_mask stuff. * em-folder-view.c (emfv_setting_notify): removed xmailer_mask stuff. * em-format-html.c (em_format_html_set_xmailer_mask): removed. This isn't used anymore. ** Fixes the double-draw on separate mail view. * message-list.c (on_cursor_activated_cmd): noop if the cursor and uid match for all cases (clearing uid). (on_selection_changed_cmd): noop if the cursor and new selection hasn't changed & fix a memleak. svn path=/trunk/; revision=25806
* Fix for bug #55303, but ideally there would be a nicer way of doing this -Jeffrey Stedfast2004-05-053-18/+103
| | | | | | | | | | | | | | | | | | | | | 2004-05-04 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #55303, but ideally there would be a nicer way of doing this - likely with some added ETree API but that's not likely to happen anytime soon. * em-folder-browser.c (scroll_idle_cb): Recall the saved scrollbar position state and set it, then reconnect to the message_list_scrolled signal. (emfb_list_built): Calculate a default scrollbar position for scroll_idle_cb to use if there's no saved state. (emfb_set_folder): Disconnect from the message_list_scrolled signal and the idle_scroll_id. (emfb_list_scrolled): Save the scrollbar position state. (emfb_destroy): Disconnect from list_scrolled_id and idle_scroll_id. svn path=/trunk/; revision=25794
* Fix for bug #58004.Jeffrey Stedfast2004-05-042-38/+43
| | | | | | | | | | | | | | | | 2004-05-04 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #58004. * mail-account-gui.c (display_license): Fixed to compile. (select_account_signature): Activate the signature menu item. (signature_added): Connect to the activate signal for each item. (sig_changed): Removed. (prepare_signatures): Don't bother connecting to the "selection-done" signal, it doesn't seem to work the way we expected it to work. svn path=/trunk/; revision=25784
* This now takes CamelProvider as argument. Made the display message moreSarfraaz Ahmed2004-05-044-55/+138
| | | | | | | | | | | | | | | | 2004-05-04 Sarfraaz Ahmed <asarfraaz@novell.com> * mail-account-gui.c (display_license): This now takes CamelProvider as argument. Made the display message more generic. Removed the signal connects for buttons and replaced those with proper gtk_reponses. (mail_account_gui_check_for_license): Modified the gconf key for licenses to be a string list. * evolution-mail.schemas.in.in: Added the gconf schema entry for a string list to handle the component names whose licenses are accepted. * mail-license.glade: Modified the display string and added the appropriate gtk_response types for the buttons. svn path=/trunk/; revision=25783
* Fix for bug #57968Jeffrey Stedfast2004-05-044-8/+33
| | | | | | | | | | | | | | | | | | | 2004-05-03 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #57968 * message-list.c (message_list_set_folder): Save the tree/hide state of the current folder before clearing the message-list. (message_list_set_folder): Note that a new folder has just been set (now needed by the regen code to tell whether or not it should save the tree state before clearing the tree). (message_list_destroy): Save the tree/hide state before destroying the message-info's, not after. (regen_list_regened): If the regen is being performed in response to a message_list_set_folder, don't save the tree state before clearing the tree or we'll clobber the real state with bogus data. svn path=/trunk/; revision=25767
* Add gtkdialog header to fix build.William Jon McCann2004-05-042-0/+5
| | | | | | | | 2004-05-03 William Jon McCann <mccann@jhu.edu> * mail-account-gui.c: Add gtkdialog header to fix build. svn path=/trunk/; revision=25761
* updateDan Winship2004-05-031-19/+11
| | | | svn path=/trunk/; revision=25751
* take fromuri and subject to set the basic headers/account.Not Zed2004-05-037-54/+93
| | | | | | | | | | | | | | | | 2004-05-03 Not Zed <NotZed@Ximian.com> * em-composer-utils.c (create_new_composer): take fromuri and subject to set the basic headers/account. (em_utils_compose_new_message) (em_utils_compose_new_message_with_mailto, forward_attached) (em_utils_forward_attached, forward_non_attached) (em_utils_forward_inline, em_utils_forward_quoted) (em_utils_forward_message, em_utils_forward_messages): Take the from folder uri to set the from account if it can. Fixed all callers. For #57964. svn path=/trunk/; revision=25747
* 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