aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-message-browser.c
Commit message (Collapse)AuthorAgeFilesLines
* Code cleanup, no logic changes.Matthew Barnes2008-03-191-182/+246
| | | | | | | | | | | | 2008-03-19 Matthew Barnes <mbarnes@redhat.com> * em-folder-view.h: * em-message-browser.h: * em-message-browser.c: Code cleanup, no logic changes. svn path=/trunk/; revision=35214
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-21/+21
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* Fix typo in documentation. Ditto.Priit Laes2007-11-011-1/+1
| | | | | | | | | 2007-10-31 Priit Laes <plaes@svn.gnome.org> * em-format-html-display.c: Fix typo in documentation. * em-message-browser.c: Ditto. svn path=/trunk/; revision=34471
* Warning fixes: - NULL vs. 0 vs FALSE - ANSIfication of functionKjartan Maraas2007-10-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-26 Kjartan Maraas <kmaraas@gnome.org> * e-searching-tokenizer.c: (build_trie), (searcher_new), (output_token), (output_match), (merge_subpending), (searcher_next_token): * em-account-editor.c: (em_account_editor_new), (emae_load_text), (emae_check_license), (emae_auto_detect), (smime_sign_key_select), (smime_encrypt_key_select), (emae_service_url_path_changed), (emae_ssl_changed), (emae_service_provider_changed), (emae_refresh_providers), (emae_refresh_authtype), (emae_setup_service), (emae_identity_page): * em-composer-utils.c: (em_utils_send_receipt), (generate_account_hash), (em_utils_camel_address_to_destination), (reply_get_composer): * em-config.c: (em_config_new): * em-event.c: (em_event_peek): * em-filter-rule.c: (get_widget): * em-folder-browser.c: (generate_viewoption_menu), (em_folder_browser_show_preview), (get_view_query), (vfolder_setup_do), (emfb_search_search_activated), (emfb_list_key_press), (emfb_list_built): * em-folder-view.c: (em_folder_view_new), (emfv_setup_view_instance), (emfv_popup_forward), (emp_uri_popup_vfolder_sender), (emp_uri_popup_vfolder_recipient), (emfv_enable_menus): * em-format-hook.c: * em-format-html-display.c: (efhd_attachment_optional): * em-format-html.c: (em_format_html_new), (em_format_html_add_pobject), (em_format_html_find_pobject), (em_format_html_find_pobject_func), (efh_text_enriched), (efh_multipart_related), (efh_format_address), (efh_format_header): * em-icon-stream.h: * em-inline-filter.c: (emif_add_part), (emif_scan): * em-junk-hook.c: (emjh_construct_group): * em-mailer-prefs.c: (junk_plugin_setup): * em-menu.c: (em_menu_new), (em_menu_target_new_select): * em-message-browser.c: (em_message_browser_new): * em-popup.c: (em_popup_new), (em_popup_target_new_select): * em-sync-stream.c: * em-utils.c: (em_utils_save_part_to_file), (tag_editor_response), (em_utils_read_messages_from_stream), (em_utils_get_proxy_uri), (em_utils_in_addressbook): * em-vfolder-rule.c: (validate): * importers/elm-importer.c: * importers/mail-importer.c: (import_mbox_import), (import_folders_rec): * importers/pine-importer.c: * mail-component.c: (setline_done): * mail-folder-cache.c: (flush_updates): * mail-mt.c: (mail_msg_new), (checkmem), (mail_msg_check_error), (mail_msg_cancel), (mail_msg_wait), (mail_msg_init), (do_op_status): * mail-send-recv.c: (receive_status), (receive_done), (refresh_folders_get): * mail-vfolder.c: (mail_vfolder_get_sources_local), (mail_vfolder_get_sources_remote), (context_rule_added), (store_folder_renamed): * message-list.c: (e_mail_address_new), (e_mail_address_compare), (get_normalised_string), (ml_search_forward), (ml_search_backward), (ml_search_path), (message_list_select_uid), (thread_select_foreach), (message_list_copy), (ml_duplicate_value), (ml_free_value), (ml_initialize_value), (ml_value_is_empty), (ml_value_to_string), (subtree_latest), (sanitize_recipients), (ml_tree_value_at), (ml_tree_sort_value_at), (message_list_init_images), (filter_date), (build_tree), (build_flat_diff), (regen_list_regen): Warning fixes: - NULL vs. 0 vs FALSE - ANSIfication of function declarations - Remove unused bits - use unsigned ints for 1-bit bitfields - invalid pointer type - mark a global var static - mixing code and declarations svn path=/trunk/; revision=34449
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-1/+1
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* Fixes a lot of search issuesSrinivasa Ragavan2006-08-211-1/+2
| | | | svn path=/trunk/; revision=32607
* Fixes bug #336963. set the scroll bar in the message display to automaticUshveen Kaur2006-07-081-1/+1
| | | | | | | | | | 2006-07-07 Ushveen Kaur <kushveen@novell.com> Fixes bug #336963. * em-message-browser.c: set the scroll bar in the message display to automatic svn path=/trunk/; revision=32255
* Committing ChangeLog em-account-prefs.c em-format-html-display.c ↵Srinivasa Ragavan2006-01-231-0/+15
| | | | | | em-message-browser.c svn path=/trunk/; revision=31272
* em-folder-browser.c em-folder-view.c em-format-html.cTor Lillqvist2005-12-181-2/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-12-18 Tor Lillqvist <tml@novell.com> * em-folder-browser.c * em-folder-view.c * em-format-html.c * em-format-html-display.c * em-mailer-prefs.c * em-message-browser.c * em-migrate.c * em-subscribe-editor.c * em-sync-stream.c * em-utils.c * em-vfolder-editor.c * em-vfolder-rule.c * mail-autofilter.c * mail-component.c * mail-config.c * mail-folder-cache.c: Use gstdio wrappers. Construct pathnames of glade, xml, etspec and png files at run-time. Use g_filename_{to,from}_uri(). * em-folder-browser.c (emfb_init) * em-folder-view.c (emfv_finalise) * em-message-browser.c (emmb_init): As EMFolderView::ui_files now always is a list of filenames constructed with g_build_filename(), use g_free() on each list entry before calling g_slist_free() on the list. * em-folder-tree-model.c (em_folder_tree_model_load_state): Use e_xml_parse_file(). * em-migrate.c: Bypass all the code for upgrading from 1.x on Win32. (emm_setup_initial): Use GDir instead of dirent. * em-sync-stream.c * mail-folder-cache.c: Use pthread_equal() to compare pthread_t values. * em-vfs-stream.c: No EINPROGRESS or ELOOP on Win32. svn path=/trunk/; revision=30854
* added hook docs, and cleaned up some of the hook point names.Not Zed2004-10-281-0/+7
| | | | | | | | | | | | | | | | | | | | 2004-10-28 Not Zed <NotZed@Ximian.com> * mail-folder-cache.c (real_flush_updates): * em-message-browser.c (em_message_browser_new): * em-mailer-prefs.c (em_mailer_prefs_construct): * em-format-html-display.c (efhd_attachment_popup): * em-folder-view.c (emfv_popup, emfv_list_done_message_selected) (emfv_format_popup_event): * em-folder-tree.c (emft_popup): * em-folder-properties.c (emfp_dialog_got_folder): * em-folder-browser.c (em_folder_browser_new): * em-composer-utils.c (em_utils_reply_to_message): * em-composer-prefs.c (em_composer_prefs_construct): * em-account-editor.c (em_account_editor_construct): added hook docs, and cleaned up some of the hook point names. svn path=/trunk/; revision=27749
* convert to org.gnome hook namesJP Rosevear2004-10-201-1/+1
| | | | | | | | | | | | | 2004-10-19 JP Rosevear <jpr@novell.com> * em-account-editor.c, em-composer-prefs.c, em-config.c, em-event.c, em-folder-browser.c, em-folder-properties.c, em-folder-tree.c, em-folder-view.c, em-format-hook.c, em-format-html-display.c, em-mailer-prefs.c, em-menu.c, em-message-browser.c, em-popup.c, message-list.c: convert to org.gnome hook names svn path=/trunk/; revision=27635
* Merged notzed-eplugin-2-branch to head.Michael Zucci2004-09-201-0/+3
| | | | svn path=/trunk/; revision=27300
* Ignore the emfv->mark_seen for deciding whether or not to mark the messageJeffrey Stedfast2004-09-181-1/+1
| | | | | | | | | | 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
* don't emit new mail if its any vfolder, not just vtrash folder. #56350.Not Zed2004-05-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* keep the hide deleted status. Makes #51082 work at last.Not Zed2004-05-171-1/+3
| | | | | | | | | 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
* set header to just Evolution (mail_append_mail): dittoJP Rosevear2004-05-101-1/+1
| | | | | | | | | | | | 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
* ** See bug #57935.Not Zed2004-05-071-4/+5
| | | | | | | | | | | | | | | | | | | 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
* Fix for bug #54352Jeffrey Stedfast2004-02-271-0/+4
| | | | | | | | | | | | | | | | | 2004-02-26 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #54352 * em-message-browser.c (emmb_class_init): Set update_message_style to FALSE. * em-folder-view.c (emfv_setting_notify): Only update message display style if our subclass wants us to. (emfv_class_init): Set update_message_style to TRUE. (emfv_view_mode): Don't save the gconf key unless our class allows us to. svn path=/trunk/; revision=24894
* Protect against NULL uids. (emmb_set_message): Same.Jeffrey Stedfast2004-02-241-1/+4
| | | | | | | | | | 2004-02-23 Jeffrey Stedfast <fejj@ximian.com> * em-message-browser.c (emmb_list_message_selected): Protect against NULL uids. (emmb_set_message): Same. svn path=/trunk/; revision=24834
* Grab focus on the HTML widget when we displayRodney Dawes2004-02-061-0/+1
| | | | | | | | | | | 2004-02-05 Rodney Dawes <dobey@ximian.com> * em-message-browser.c (emmb_list_message_selected): Grab focus on the HTML widget when we display Fixes #52942 svn path=/trunk/; revision=24639
* Set the new title. (em_message_browser_window_new): Connect to theJeffrey Stedfast2004-02-061-0/+13
| | | | | | | | | | | 2004-02-05 Jeffrey Stedfast <fejj@ximian.com> * em-message-browser.c (emmb_list_message_selected): Set the new title. (em_message_browser_window_new): Connect to the message_selected signal in the message-list widget. Fixes bug #52232. svn path=/trunk/; revision=24638
* Fix for bug #52941Jeffrey Stedfast2004-02-031-4/+49
| | | | | | | | | | | | 2004-02-02 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #52941 * em-message-browser.c (em_message_browser_window_new): Set window size based on previous size; load from gconf if necessary. (window_size_allocate): Save window size changes. svn path=/trunk/; revision=24569
* as belowRadek Doulik2004-01-071-1/+1
| | | | | | | | | | | 2004-01-07 Radek Doulik <rodo@ximian.com> * em-message-browser.c (emmb_init): as below * em-folder-browser.c (emfb_init): always show vertical scrollbar, we do the same for message list and it avoids ugly flicker svn path=/trunk/; revision=24088
* Protect against a NULL message-info. Afaik, this can only happen if theJeffrey Stedfast2004-01-061-3/+4
| | | | | | | | | | | 2004-01-06 Jeffrey Stedfast <fejj@ximian.com> * em-message-browser.c (emmb_set_message): Protect against a NULL message-info. Afaik, this can only happen if the message has since been removed? Might be a larger problem here... Anyways, fixes the crash in bug #52297. svn path=/trunk/; revision=24066
* Merge in evolution-mail-message-display.xml first, since it is the parentRodney Dawes2003-12-191-2/+2
| | | | | | | | | | 2003-12-18 Rodney Dawes <dobey@ximian.com> * em-message-browser.c (emmb_init): Merge in evolution-mail-message-display.xml first, since it is the parent UI XML, really fixes bug #49949 svn path=/trunk/; revision=23984
* Added empty_trash prompt key.Not Zed2003-12-021-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-02 Not Zed <NotZed@Ximian.com> * evolution-mail.schemas: Added empty_trash prompt key. * em-utils.c (em_utils_prompt_user): changed to take the gconf 'prompt again' key directly. Fixed callers. (em_utils_expunge_folder): prompt the user with an expunge specific message. (em_utils_empty_trash): have an empty-trash specific message for prompting confirm. (emu_confirm_expunge): removed, no longer needed. Bug #38613. (em_utils_expunge_folder): remove most line feeds, let the label wrap them. (em_utils_empty_trash): ditto. * em-subscribe-editor.c (sub_folder_subscribed): update the ui selection state after we're done. maybe we should listen on the model but this is easier. Bug #50861. * em-message-browser.c (emmb_activate): hook up our own verb list. (emmb_message_verbs[], emmb_close): implement the close verb. Bug #51558. * em-format-html-display.c (efhd_attachment_popup): duh, actually add the menu list we create. Bug #49902. * em-format.c (d): turn off debug, committed by accident. svn path=/trunk/; revision=23562
* set session on print formatter for signatures to work.Not Zed2003-11-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-25 Not Zed <NotZed@Ximian.com> * em-folder-view.c (em_folder_view_print): set session on print formatter for signatures to work. * em-message-browser.c (emmb_destroy): kill warning. * em-format-html.c (efh_output_secure): same as efhd_output_secure, output the security bar, but for printing/plain html. (efh_application_xpkcs7mime): use output_secure. (em_format_html_multipart_signed_sign): removed, output_secure does what this did. * em-format-html-display.c (smime_sign_table, smime_encrypt_table): Added a short description for the mail display. (efhd_xpkcs7mime_button): only good/bad signature at this point, if only encrypted, then display 'bad' icon. (efhd_output_secure): output the security bar/button and handle multi-level enveloping properly. (efhd_application_xpkcs7mime): just call output_secure to do the security bar. (efhd_multipart_signed): same. (efhd_signature_button): removed, no longer used. (efhd_signature_check): removed, no longer used. svn path=/trunk/; revision=23483
* zero out last_part if we're clearing. Uh, this fixes, but shouldn't, partNot Zed2003-10-021-0/+14
| | | | | | | | | | | | | | | | | | 2003-10-02 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_format_timeout): zero out last_part if we're clearing. Uh, this fixes, but shouldn't, part of #49034. The problem is the 'last part' logic is based on the address, which can quite easily be repeated for different messages. * em-folder-view.c (emfv_list_message_selected): reverted jeff's patch for #48618, use a much simpler method. * em-message-browser.c (emmb_destroy): hook onto destroy handler, we need to destroy the messagelist ourselves, since we dont attach it to any parent window. svn path=/trunk/; revision=22785
* Set the window title to be that of the message subject. Fixes bug #48617.Jeffrey Stedfast2003-09-201-1/+8
| | | | | | | | | 2003-09-19 Jeffrey Stedfast <fejj@ximian.com> * em-message-browser.c (emmb_set_message): Set the window title to be that of the message subject. Fixes bug #48617. svn path=/trunk/; revision=22629
* cvs removed.Not Zed2003-09-181-0/+171
2003-09-17 Not Zed <NotZed@Ximian.com> * folder-browser.c, folder-browser.h, folder-browser-ui.c folder-browser-ui.h, mail-callbacks.c, mail-callbacks.h mail-display.c, mail-display.h, mail-display-stream.c mail-display-stream.h, mail-format.c, mail-format.h mail-identify.c, mail-search.c, mail-search.h message-browser.c, message-browser.h, subscribe-dialog.c subscribe-dialog.h, mail-font-prefs.c, mail-font-prefs.h: cvs removed. * Makefile.am: Removed mail-font-prefs.[ch], hasn't been built for ages. * em-*.c: killed a bunch of printfs. * em-format-html-display.c (efhd_html_button_press_event): update for html object api chagnes. ** Merge in mail-refactor-2 branch. svn path=/trunk/; revision=22602