aboutsummaryrefslogtreecommitdiffstats
path: root/mail
Commit message (Collapse)AuthorAgeFilesLines
* fix uninitialised pointer.David Malcolm2004-09-302-1/+5
| | | | | | | | 2004-09-30 David Malcolm <dmalcolm@redhat.com> * em-migrate.c (upgrade_passwords_1_2): fix uninitialised pointer. svn path=/trunk/; revision=27433
* updated labels in mail-config.glade too and changed the order of the SSL/TLS ↵Jeffrey Stedfast2004-09-282-4/+4
| | | | | | menu items svn path=/trunk/; revision=27402
* Changed the SSL option menu labels.Jeffrey Stedfast2004-09-282-3/+7
| | | | | | | | 2004-09-27 Jeffrey Stedfast <fejj@novell.com> * em-account-editor.c: Changed the SSL option menu labels. svn path=/trunk/; revision=27399
* ** See bug #63521.Not Zed2004-09-272-3/+23
| | | | | | | | | | | | | 2004-09-21 Not Zed <NotZed@Ximian.com> ** See bug #63521. * mail-ops.c (fetch_mail_fetch): delete all the messages on the server if we're not in keep on server mode and everything worked. uncancel ourselves before saving the cache uid since it could be cancelled otherwise. svn path=/trunk/; revision=27390
* ** See bug #66706.Not Zed2004-09-272-4/+20
| | | | | | | | | | | | 2004-09-24 Not Zed <NotZed@Ximian.com> ** See bug #66706. * em-subscribe-editor.c: add a sequence number to EMSubscribe and the subscribe_msg structures. NOOP if the sequence has changed in all callbacks. up the sequence number when we refresh. svn path=/trunk/; revision=27386
* ** See bug #65329.Not Zed2004-09-243-6/+33
| | | | | | | | | | | | | | | 2004-09-20 Not Zed <NotZed@Ximian.com> ** See bug #65329. * em-folder-tree-model.c (emft_is_special_local_folder): added helper for finding local folders for translation. (em_folder_tree_model_set_folder_info): translate the special local folder names. * mail-component.c: mark standard folder names for translation. svn path=/trunk/; revision=27359
* ** See bug #65058 (again again).Not Zed2004-09-243-7/+39
| | | | | | | | | | | | | | 2004-09-23 Not Zed <NotZed@Ximian.com> ** See bug #65058 (again again). * em-format-html.c (efh_text_html): calculate our location uri ourselves (content id). * em-format.c (em_format_add_puri): if we have no content-location key, don't fallback to any container's location. svn path=/trunk/; revision=27356
* describe the get-folder process. This also makes it cancellable.Not Zed2004-09-243-2/+24
| | | | | | | | | | | | | | 2004-09-23 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (emft_get_folder_info__desc): describe the get-folder process. This also makes it cancellable. ** See bug #64972. * em-composer-utils.c (em_utils_reply_to_message): pass the folder to guess_account. svn path=/trunk/; revision=27354
* ** See bug #65058.Not Zed2004-09-223-6/+12
| | | | | | | | | | | | 2004-09-03 Not Zed <NotZed@Ximian.com> ** See bug #65058. * em-format-html.c (efh_image): use the content-id rather than the uri for tracking our image reference. Makes more sense anyway, its guaranteed unique. svn path=/trunk/; revision=27328
* Fix a typo setting the root node.David Malcolm2004-09-213-1/+12
| | | | | | | | | 2004-09-21 David Malcolm <dmalcolm@redhat.com> * em-folder-tree-model.c (em_folder_tree_model_set_selected): Fix a typo setting the root node. svn path=/trunk/; revision=27311
* Merged notzed-eplugin-2-branch to head.Michael Zucci2004-09-2053-1576/+5916
| | | | svn path=/trunk/; revision=27300
* Ignore the emfv->mark_seen for deciding whether or not to mark the messageJeffrey Stedfast2004-09-182-1/+7
| | | | | | | | | | 2004-09-09 Jeffrey Stedfast <fejj@novell.com> * em-message-browser.c (emmb_set_message): Ignore the emfv->mark_seen for deciding whether or not to mark the message as seen. Fixes bug #65448. svn path=/trunk/; revision=27290
* If built with gtkfilechooser support, we need to add a checkbox in theJeffrey Stedfast2004-09-162-0/+62
| | | | | | | | | | | | 2004-09-09 Jeffrey Stedfast <fejj@novell.com> * mail-account-gui.c (mail_account_gui_new): If built with gtkfilechooser support, we need to add a checkbox in the chooser so that the user can select files or folders (allowing him to choose - otherwise they won't be able to setup certain types of accounts). Fixes bug #64974. svn path=/trunk/; revision=27271
* Fixes #65703JP Rosevear2004-09-142-1/+7
| | | | | | | | | | 2004-09-12 JP Rosevear <jpr@novell.com> Fixes #65703 * em-popup.c: use proper stock icon name svn path=/trunk/; revision=27249
* ** See bug #60515.Not Zed2004-09-102-0/+8
| | | | | | | | | | | 2004-09-08 Not Zed <NotZed@Ximian.com> ** See bug #60515. * mail-account-gui.c (sig_fill_menu): connect to the activate signal for the none item. svn path=/trunk/; revision=27203
* reverted previous glade fixJeffrey Stedfast2004-09-102-7/+1
| | | | svn path=/trunk/; revision=27201
* ** See bug #59717.Not Zed2004-09-082-1/+13
| | | | | | | | | | | | 2004-09-03 Not Zed <NotZed@Ximian.com> ** See bug #59717. * mail-config.c (mail_config_check_service): Make the dialog modal. Not ideal but a problem with the way the function works, it should be fully async instead. svn path=/trunk/; revision=27181
* Revert the use of gtkfilechooser for Path selection because otherwiseJeffrey Stedfast2004-09-072-1/+7
| | | | | | | | | | 2004-09-03 Jeffrey Stedfast <fejj@novell.com> * mail-config.glade: Revert the use of gtkfilechooser for Path selection because otherwise users won't be able to select directory pathnames. Fixes bug #64974. svn path=/trunk/; revision=27175
* added a commentJeffrey Stedfast2004-09-041-0/+1
| | | | svn path=/trunk/; revision=27134
* Fix for bug #63377 and prevention of similar cases.Jeffrey Stedfast2004-09-033-1/+29
| | | | | | | | | | | | | | | | | 2004-09-01 Jeffrey Stedfast <fejj@novell.com> Fix for bug #63377 and prevention of similar cases. * em-format.c (emf_finalise): Free the default_charset. (emf_format_clone): Clone the default_charset - this prevents the particular crash described in bug #63377. * em-utils.c (em_utils_message_to_html): If source is NULL, set our own default charset (from the user's gconf key) on the formatter to make sure there's always a source charset for conversion to UTF-8. svn path=/trunk/; revision=27122
* Set the store and full_name info on the dialog.Jeffrey Stedfast2004-08-314-32/+33
| | | | | | | | | | | | 2004-08-30 Jeffrey Stedfast <fejj@novell.com> * em-folder-tree.c (emft_popup_delete_folder): Set the store and full_name info on the dialog. (emft_popup_delete_response): Use the requisite data stored on the dialog object rather than examining the selection again. Fixes bug #62665. svn path=/trunk/; revision=27095
* ** See bug #64377.Not Zed2004-08-314-48/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-08-30 Not Zed <NotZed@Ximian.com> ** See bug #64377. * em-folder-selector.c (emfs_response): only set the uri if we have one to set. * em-folder-tree.c (em_folder_tree_finalize): Removed cose using selected_path and selected_uri strings. (emft_popup_new_folder): " (emft_popup_copy_folder_selected): " (emft_tree_selection_changed): (emft_tree_row_activated): ", free paths after use. * em-folder-selector.c (emfs_create_name_changed): free get_selected_uri return. (emfs_create_name_activate): " (em_folder_selector_get_selected_path): handle api change, store the selected_path too. * em-folder-tree.c (em_folder_tree_get_selected_uri): de-constify,and get the selection directly from the tree. (em_folder_tree_get_selected_path): same. svn path=/trunk/; revision=27092
* fixed merge conflictsJeffrey Stedfast2004-08-311-5/+7
| | | | svn path=/trunk/; revision=27088
* gtk-doc style comment fixesJeffrey Stedfast2004-08-311-2/+3
| | | | svn path=/trunk/; revision=27087
* ** See bug #63456.Not Zed2004-08-302-0/+11
| | | | | | | | | | | 2004-08-27 Not Zed <NotZed@Ximian.com> ** See bug #63456. * message-list.c (main_folder_changed): noop if the async_event pointer is NULL which can happen during destroy. svn path=/trunk/; revision=27072
* utf8_filename should be char * not charJP Rosevear2004-08-282-2/+7
| | | | | | | | | 2004-08-27 JP Rosevear <jpr@novell.com> * importers/mail-importer.c (import_folders_rec): utf8_filename should be char * not char svn path=/trunk/; revision=27051
* bump version, requirementsJP Rosevear2004-08-281-1/+6
| | | | | | | | 2004-08-27 JP Rosevear <jpr@novell.com> * configure.in: bump version, requirements svn path=/trunk/; revision=27050
* Don't crash if we're passed a NULL path. GtkFileChooser can return NULLHans Petter Jansson2004-08-282-1/+7
| | | | | | | | | | 2004-08-27 Hans Petter Jansson <hpj@ximian.com> * em-utils.c (emu_can_save): Don't crash if we're passed a NULL path. GtkFileChooser can return NULL filenames that get passed to this function. svn path=/trunk/; revision=27048
* Don't mark component menu accels for translation.Christian Neumair2004-08-272-1/+6
| | | | svn path=/trunk/; revision=27036
* Fix for bug #63177Jeffrey Stedfast2004-08-262-4/+16
| | | | | | | | | | | | | | | 2004-08-24 Jeffrey Stedfast <fejj@novell.com> Fix for bug #63177 * em-folder-tree.c (emft_drop_async_drop): Check full_name == NULL rather than full_name[0] since store's have NULL full_names, not empty string (like they used to). (emft_drop_folder): Same. (tree_drag_data_received): Don't abort the drop if the user dropped on a store, this is allowed (depending on the store). svn path=/trunk/; revision=27035
* only open the trash or junk if they're vfolders here. Some stores thatNot Zed2004-08-262-2/+12
| | | | | | | | | | 2004-08-25 Not Zed <NotZed@Ximian.com> * mail-component.c (store_info_new): only open the trash or junk if they're vfolders here. Some stores that implement their own trash folders are unacceptably slow to open otherwise. svn path=/trunk/; revision=27027
* Convert filename to UTF-8 from local encoding before displaying it.Frédéric Crozat2004-08-254-5/+20
| | | | | | | | | * importers/evolution-mbox-importer.c: (load_file_fn): * importers/evolution-outlook-importer.c: (load_file_fn): * importers/mail-importer.c: (import_folders_rec): Convert filename to UTF-8 from local encoding before displaying it. svn path=/trunk/; revision=27019
* store the select-uri on the view not in the thread message.Not Zed2004-08-243-155/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-08-23 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (em_folder_tree_set_selected): store the select-uri on the view not in the thread message. (emft_get_folder_info__free): (emft_get_folder_info__got): select_uri removed. (em_folder_tree_set_selected_list): don't set each selected separately, do it as a list. (emft_maybe_expand_row): if this is a selected row, select it too. (emft_get_folder_info__got): do no pending set selection stuff here. (em_folder_tree_set_selected): just call set_selected_list with one item. (emft_expand_node): if this is a selected row, select it too. (emft_get_folder_info__got): no longer need to track lost folders. (emft_tree_row_activated): clear the pending select list. (emft_tree_selection_changed): and here too. (em_folder_tree_get_selected_uris): get the lost folders from the un-applied selected ones now. also fixes a list appending error. (emft_tree_user_event): find out when the user hits a key or mouse button to override any pending single-user select and don't override the cursor setting either. (emft_tree_row_expanded): set the 'load subdirs' false before we load it, so we don't try to load it again if its still being loaded. (emft_get_folder_info__got): don't check the loaded flag here, it should be set by the callee, also check the exception return. svn path=/trunk/; revision=27002
* Fix for bug #62812Jeffrey Stedfast2004-08-232-3/+13
| | | | | | | | | | | | 2004-08-13 Jeffrey Stedfast <fejj@novell.com> Fix for bug #62812 * em-format-html-display.c (em_format_html_display_search): Set the search_dialog to be transient for the parent window and make sure to destroy the search_dialog when the parent gets destroyed. svn path=/trunk/; revision=26995
* changed the groupwise account setup error messageSivaiah Nallagatla2004-08-212-1/+10
| | | | | | | | | 2004-08-21 Sivaiah Nallagatla <snallagatla@novell.com> * mail-erros.xml : changed the groupwise account setup error message svn path=/trunk/; revision=26981
* ** See bug #62963.Not Zed2004-08-182-4/+16
| | | | | | | | | | | | 2004-08-16 Not Zed <NotZed@Ximian.com> ** See bug #62963. * message-list.c (build_tree, build_flat): define selected in declaration block, not inline. Spotted by Vincent Noel <vnoel@cox.net> svn path=/trunk/; revision=26959
* don't include the terminating NUL in the data length.Not Zed2004-08-162-17/+23
| | | | | | | | | | 2004-08-13 Not Zed <NotZed@Ximian.com> * em-utils.c (em_utils_message_to_html): don't include the terminating NUL in the data length. (em_utils_part_to_html): nor here. svn path=/trunk/; revision=26942
* Optionally use GtkFileChooser if compiled against Gtk+ >= 2.4.0Carlos Garnacho Parro2004-08-133-24/+64
| | | | | | | | | | | | 2004-08-12 Carlos Garnacho Parro <carlosg@gnome.org> * em-utils.c: Optionally use GtkFileChooser if compiled against Gtk+ >= 2.4.0 * mail-config.glade: added the "use_filechooser" property to the various GnomeFileEntries svn path=/trunk/; revision=26897
* Partial fix for bug #62771Jeffrey Stedfast2004-08-133-1/+12
| | | | | | | | | | | | | 2004-08-10 Jeffrey Stedfast <fejj@novell.com> Partial fix for bug #62771 * em-format-quote.c (emfq_format_header): Same. * em-format-html.c (efh_format_header): Decode the X-Mailer/User-Agent headers. svn path=/trunk/; revision=26889
* just call e_passwords_ask_password directly. (pass_activate,Not Zed2004-08-123-244/+73
| | | | | | | | | | | | | | | 2004-08-10 Not Zed <NotZed@Ximian.com> * mail-session.c (get_password): just call e_passwords_ask_password directly. (pass_activate, pass_response, request_password, do_get_pass) (do_free_pass, main_forget_password): no longer required as e_password now handles the magic, and is thread safe. * mail-config.c (mail_config_write_on_exit): epasswords api change. svn path=/trunk/; revision=26880
* Return NULL not FALSE on error.Jeffrey Stedfast2004-08-112-1/+6
| | | | | | | | | 2004-08-06 Jeffrey Stedfast <fejj@novell.com> * em-folder-tree-model.c (em_folder_tree_model_get_selected): Return NULL not FALSE on error. svn path=/trunk/; revision=26864
* minor typo, uppercase 'the' corrected.Karsten Bräckelmann2004-08-072-2/+13
| | | | | | | | | 2004-06-08 Karsten Bräckelmann <guenther@rudersport.de> * em-format-html-display.c (smime_encrypt_table[4]): minor typo, uppercase 'the' corrected. svn path=/trunk/; revision=26841
* If type="{Sender}" and name is an empty string, use the addr. Fixes bugJeffrey Stedfast2004-08-042-1/+6
| | | | | | | | | 2004-08-03 Jeffrey Stedfast <fejj@novell.com> * em-composer-utils.c (format_sender): If type="{Sender}" and name is an empty string, use the addr. Fixes bug #62377 svn path=/trunk/; revision=26820
* fixed changelogJeffrey Stedfast2004-08-041-1/+1
| | | | svn path=/trunk/; revision=26815
* bump version, requirementsJP Rosevear2004-08-031-0/+2
| | | | | | | | 2004-08-02 JP Rosevear <jpr@novell.com> * configure.in: bump version, requirements svn path=/trunk/; revision=26803
* Update to just call us "Evolution" and be more accurate about the newJP Rosevear2004-08-022-173/+57
| | | | | | | | | 2004-08-01 JP Rosevear <jpr@novell.com> * default/C/Inbox: Update to just call us "Evolution" and be more accurate about the new features included svn path=/trunk/; revision=26792
* add the error message needed for groupwise account setupSivaiah Nallagatla2004-07-292-0/+9
| | | | | | | | | 2004-07-29 Sivaiah Nallagatla <snallagatla@novell.com> * mail-errors.xml : add the error message needed for groupwise account setup svn path=/trunk/; revision=26766
* ** See #61958.Not Zed2004-07-292-27/+55
| | | | | | | | | | | | | | | | | 2004-07-28 Not Zed <NotZed@Ximian.com> ** See #61958. * mail-folder-cache.c (real_flush_updates): remove the soreinfo lookup, it isn't used anywhere anymore. (mail_note_folder): hook onto the events outside of the lock, and don't pass the mfi pointer anymore. (mail_note_store): hook onto the events outside of the lock. (folder_changed, folder_finalised, folder_renamed): lookup the mfi if needed, it is no longer passed to the callback. (unset_folder_info): change unhook calls for new parameters. svn path=/trunk/; revision=26764
* ** 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