aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-view.c
Commit message (Collapse)AuthorAgeFilesLines
* fixed copyright noticesJeffrey Stedfast2008-06-211-1/+1
| | | | svn path=/trunk/; revision=35663
* ** Fix for bug #467892Milan Crha2008-06-161-2/+3
| | | | | | | | | | | | | | | | | 2008-06-16 Milan Crha <mcrha@redhat.com> ** Fix for bug #467892 * message-list.h: (struct _MessageList), (message_list_ensure_message): * message-list.c: (message_list_init), (message_list_finalise), (message_list_ensure_message), (regen_list_exec), (regen_list_done): Be able to set a message uid to keep in a list after regeneration. * em-folder-view.c: (em_folder_view_open_selected): Inherit search criteria and ensure keeping the selected message in the view even it may not belong to the filter anymore. svn path=/trunk/; revision=35640
* ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES andMatthew Barnes2008-06-061-4/+1
| | | | | | | | | | 2008-06-06 Matthew Barnes <mbarnes@redhat.com> ** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES defined. (#536637) svn path=/trunk/; revision=35606
* Committing on behalf of Srinivasa Ragavan <sragavan@novell.com>Srinivasa Ragavan2008-06-021-0/+2
| | | | | | | | | | 2008-06-02 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #531836 Added bonobo accel key for Ctrl+D, Del to keep working on deleted mails, but not the toolbar/menu svn path=/trunk/; revision=35570
* Make non junk learn work again.Srinivasa Ragavan2008-05-191-1/+1
| | | | | | | | 2008-05-19 Srinivasa Ragavan <sragavan@novell.com> * mail/em-folder-view.c: Make non junk learn work again. svn path=/trunk/; revision=35509
* ** Fix for bug #467892Milan Crha2008-04-301-1/+2
| | | | | | | | | | | | | | | | 2008-04-30 Milan Crha <mcrha@redhat.com> ** Fix for bug #467892 * em-folder-view.c: (em_folder_view_open_selected): Do not inherit search filters when opening messages in new window. * message-list.c: (regen_list_exec): If we are called from folder_changed even, then keep the actually selected message so it will not disappear when user reads it and it doesn't belong to actual filter anymore. svn path=/trunk/; revision=35454
* ** Fixes breakage caused by bug #513951Matthew Barnes2008-03-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-03-12 Matthew Barnes <mbarnes@redhat.com> ** Fixes breakage caused by bug #513951 * mail-autofilter.c (filter_gui_add_from_message), (mail_filter_rename_uri), (mail_filter_delete_uri): * mail-tools.c (mail_tool_get_local_movemail_path): * mail-vfolder.c (mail_vfolder_delete_uri), (mail_vfolder_rename_uri), (store_folder_deleted), (store_folder_renamed), (vfolder_load_storage), (vfolder_revert), (em_vfolder_editor_response), (edit_rule_response), (new_rule_clicked): * em-folder-browser.c (emfb_search_search_activated): * em-folder-tree.c (em_folder_tree_new): * mail-ops.c (uid_cachename_hack), (empty_trash_exec): * em-folder-view.c (emfv_setup_view_instance): * em-utils.c (em_filter_editor_response), (em_utils_edit_filters): * importers/mail-importer.c (import_folders_rec): * mail-folder-cache.c (rename_folders): * em-format-html.c (em_format_html_get_type): * mail-session.c (main_get_filter_driver): * mail-config.c (gconf_mime_types_changed), (uri_to_evname), (mail_config_folder_to_cachename), (get_new_signature_filename): Adapt to new meaning of mail_component_peek_base_directory(). * mail-component.c (mail_component_init): Add back initialization of priv->base_directory. Accidentally removed it somehow in last commit. svn path=/trunk/; revision=35179
* ** Part of fix for bug #515744Milan Crha2008-02-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-02-18 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #515744 * addressbook/gui/component/addressbook-migrate.c: (get_source_name): * plugins/groupwise-features/send-options.c: (get_source): * plugins/groupwise-features/share-folder-common.c: (get_container_id): * plugins/groupwise-features/install-shared.c: (install_folder_response): * plugins/external-editor/external-editor.c: (convert_to_camel_internet_address), (org_gnome_external_editor): * plugins/itip-formatter/itip-formatter.c: (idle_open_cb): * mail/em-folder-view.c: (emfv_setup_view_instance): * mail/mail-component.c: (impl_finalize): * mail/message-list.c: (ml_tree_value_at): * composer/e-msg-composer.c: (drop_action): * e-util/e-config.c: (ep_finalise): Use proper member to free. * widgets/misc/e-cursors.c: (e_cursors_init): * widgets/misc/e-calendar-item.c: (e_calendar_item_draw_month): * calendar/gui/dialogs/comp-editor.c: (drop_action): * calendar/gui/calendar-config.c: (calendar_config_get_hide_completed_tasks_sexp): * calendar/gui/comp-editor-factory.c: (edit_existing): * calendar/gui/e-day-view.c: (e_day_view_reshape_long_event), (e_day_view_on_top_canvas_drag_data_received): * calendar/gui/e-day-view-main-item.c: (e_day_view_main_item_draw_events_in_vbars), (e_day_view_main_item_draw_long_events_in_vbars): * calendar/gui/e-day-view-top-item.c: (e_day_view_top_item_draw_long_event): * calendar/gui/e-cal-model.c: (redo_queries): * calendar/gui/e-calendar-table.c: (e_calendar_table_open_task): * calendar/gui/e-memo-table.c: (open_memo): * calendar/gui/print.c: (print_todo_details): * calendar/gui/migration.c: (get_source_name): Memory leak fix. * calendar/gui/e-week-view.c: (e_week_view_reshape_events): Simplifies things. svn path=/trunk/; revision=35044
* Patch from Milan Crha <mcrha@redhat.com> ** Fix for bug #515054 (Clear/set ↵Suman Manjunath2008-02-111-3/+3
| | | | | | new CAMEL_MESSAGE_NOTJUNK flag) svn path=/trunk/; revision=34989
* ** Fix for bug #506948Srinivasa Ragavan2008-01-281-1/+32
| | | | | | | | | | | 2008-01-28 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #506948 * em-folder-view.c: (url_unescape_amp), (emp_uri_popup_link_copy): Copy the unescaped url svn path=/trunk/; revision=34918
* ** Partial fix for bug #395939Milan Crha2008-01-241-0/+3
| | | | | | | | | | | | | | 2008-01-24 Milan Crha <mcrha@redhat.com> ** Partial fix for bug #395939 * em-format.c: (emf_inlinepgp_signed): * em-format-html-display.c: (efhd_format_optional): * em-folder-view.c: (emfv_destroy): Memory leak fix. svn path=/trunk/; revision=34881
* ** Part of bug #511488Milan Crha2008-01-241-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | 2008-01-24 Milan Crha <mcrha@redhat.com> ** Part of bug #511488 * mail/mail-vfolder.h: * mail/mail-vfolder.c: (vfolder_loaded): Function dropped. * mail/mail-vfolder.c: (vfolder_load_storage): Allow to call this function more than once, but do load the storage only once. * mail/em-folder-utils.c: (emfu_popup_new_folder_response): * mail/mail-vfolder.c: (vfolder_edit), (vfolder_gui_add_rule), (vfolder_gui_add_from_message), (vfolder_gui_add_from_address): * mail/em-folder-browser.c: (emfb_search_menu_activated): * mail/em-folder-view.c: (emp_uri_popup_vfolder_sender), (emp_uri_popup_vfolder_recipient), (vfolder_type_current): Ensure vfolder is running. * plugins/groupwise-features/share-folder-common.c: (users_dialog_response): The logic to check if vfolder is running has been changed, so reflect it here too. svn path=/trunk/; revision=34878
* ** Fix for bug #510779Srinivasa Ragavan2008-01-241-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-24 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #510779 * em-mailer-prefs.c: (jh_tree_refill), (jh_add_cb), (jh_remove_cb), (init_junk_tree), (custom_junk_button_toggled), (em_mailer_prefs_construct): Added UI for the new junk preferences. * em-mailer-prefs.h: * evolution-mail.schemas.in: Add schema for junk header and address lookup. * mail-config.c: (gconf_jh_check_changed), (gconf_lookup_book_changed), (gconf_jh_headers_changed), (mail_config_init), (mail_config_reload_junk_headers), (mail_config_get_lookup_book): * mail-config.glade: * mail-config.h: * mail-session.c: (class_init), (lookup_addressbook), (mail_session_init), (mail_session_set_junk_headers): * mail-session.h: 2008-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #405777 * em-folder-view.c: (emfv_setup_view_instance), (emfv_setting_notify): Don't break abstraction. Call the right derived class. svn path=/trunk/; revision=34873
* ** Fix for bug #507067Milan Crha2008-01-101-18/+139
| | | | | | | | | | | | | | | | | 2008-01-10 Milan Crha <mcrha@redhat.com> ** Fix for bug #507067 * em-format-html-display.c: (efhd_get_uri_puri): Leak fix and enhanced behavior to return more than one URI separated by new line character ('\n'), if possible. * em-folder-view.c: (emfv_uri_popup_free): Free item itself too, because since now we use new allocated items, not the static one. * em-folder-view.c: (emfv_free_em_popup), (emfv_append_menu), (emfv_format_popup_event): Merge menus for more URIs and for part too. svn path=/trunk/; revision=34790
* ** Fix for bug #211353Milan Crha2008-01-101-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-10 Milan Crha <mcrha@redhat.com> ** Fix for bug #211353 * po/POTFILES.in: Added new file e-util/e-util-labels.c * mail/filtertypes.xml: * mail/vfoldertypes.xml: * mail/em-folder-view.c: * mail/em-folder-browser.c: * mail/em-mailer-prefs.h: * mail/em-mailer-prefs.c: * mail/mail-config.h: * mail/mail-config.c: * mail/mail-config.glade: * mail/message-list.c: Label tags are now generated based on label name when creating, except of first 5 labels. New menu option "New Label" in popup menu over message list and editing of labels has been changed in Preferences. Also renaming tab in Preferences for "Labels", not "Colors", and the tab label too. mail-config-label... functions was moved to e-util/e-util-labels.c/.h. * mail/message-list.etspec: Normalized columns has been moved by one when label column has been added. * filter/filter-option.h: * filter/filter-option.c: (filter_option_get_current), (filter_option_remove_all): New functions to be able to refill options even after initialization of the filter element. * filter/filter-label.c: Added support to notify changes on labels in runtime and use actual labels. * e-util/Makefile.am: * e-util/e-util-labels.h: * e-util/e-util-labels.c: New files to work with labels. svn path=/trunk/; revision=34788
* ** Most of the errors are now non-intrusiveSrinivasa Ragavan2008-01-101-2/+4
| | | | | | | | | | | | | | | | | | | | | | | 2008-01-10 Srinivasa Ragavan <sragavan@novell.com> ** Most of the errors are now non-intrusive * em-folder-utils.c: (emfu_copy_folder_selected), (emfu_delete_response), (em_folder_utils_delete_folder): * em-folder-view.c: (emfv_delete_msg_response): * em-utils.c: (em_utils_edit_filters), (em_utils_save_part_to_file), (em_utils_temp_save_part), (error_response), (em_utils_show_error_silent), (em_utils_show_info_silent): * em-utils.h: * mail-autofilter.c: (mail_filter_delete_uri): * mail-component.c: (mail_component_show_logger): * mail-mt.c: (mail_msg_free): * mail-session.c: (do_user_message): * mail-vfolder.c: (mail_vfolder_delete_uri), (vfolder_edit_rule): svn path=/trunk/; revision=34787
* ** Fix for bug #300336Milan Crha2008-01-071-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-07 Milan Crha <mcrha@redhat.com> ** Fix for bug #300336 * plugins/groupwise-features/share-folder-common.c: (users_dialog_response): Ensure vfolder is running. * mail/mail-vfolder.h: (vfolder_loaded): * mail/mail-vfolder.c: (vfolder_loaded): New helper function. * mail/em-folder-utils.c: (emfu_popup_new_folder_response): * mail/mail-vfolder.c: (vfolder_gui_add_rule), (vfolder_gui_add_from_message), (vfolder_gui_add_from_address): * mail/em-folder-browser.c: (emfb_search_menu_activated): * mail/em-folder-view.c: (emp_uri_popup_vfolder_sender), (emp_uri_popup_vfolder_recipient), (vfolder_type_current): Ensure vfolder is running. * mail/mail-component.c: (mc_startup): Do not start vfolder when disabled by option '/apps/evolution/mail/display/enable_vfolders'. * mail/evolution-mail.schemas.in: Added schema for new option. * mail/mail-config.glade: * mail/em-mailer-prefs.h: * mail/em-mailer-prefs.c: Added checkbox for "Enable Search Folders" option. Note: if your schema failed to install, then the search folders will be hidden. Enable by hand then. svn path=/trunk/; revision=34775
* Patch from Michael Monreal <michael.monreal@gmx.net>: Fix for bug #492188 ↵Suman Manjunath2008-01-071-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | (Use the new Tangoized icons instead of the deprecated ones from gnome-icon-theme) M addressbook/gui/component/addressbook-view.c M addressbook/ChangeLog AM data/icons/hicolor_actions_16x16_mail-move.png AM data/icons/hicolor_actions_16x16_mail-copy.png AM data/icons/hicolor_actions_16x16_folder-move.png M data/icons/Makefile.am AM data/icons/hicolor_actions_16x16_folder-copy.png M mail/em-folder-browser.c M mail/ChangeLog M mail/em-folder-tree.c M mail/em-folder-view.c M mail/message-list.c M composer/ChangeLog M composer/e-msg-composer.c M ChangeLog M calendar/gui/dialogs/comp-editor.c M calendar/ChangeLog svn path=/trunk/; revision=34769
* ** Fixes bug #362638Matthew Barnes2007-12-211-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-12-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #362638 * calendar/gui/alarm-notify/alarm-notify.c: * calendar/gui/alarm-notify/alarm-notify.h: * calendar/gui/alarm-notify/alarm-queue.c: Rewrite message passing to use GThreadPool instead of EThread. * mail/mail-mt.h: Overhaul the message passing API: - Define a MailMsg type as the base message struct. - Define types for the various callback functions. - Add a priority value to each message (not yet used). - Add a reference count to each message. - Define a MailMsgInfo type for the virtual function table. - Record the size of message sub-types in MailMsgInfo. - New/changed functions: mail_msg_new() - Easier to use. mail_msg_ref() - Increase reference count. mail_msg_unref() - Decrease reference count. mail_msg_main_loop_push() } mail_msg_unordered_push() } Submit MailMsgs to various mail_msg_fast_ordered_push() } message-processing threads. mail_msg_slow_ordered_push() } * mail/mail-mt.c (mail_msg_new): Use GSlice for memory allocation. * mail/mail-mt.c (mail_msg_ref), (mail_msg_unref): New functions increment/decrement a MailMsg's reference count. * mail/mail-mt.c (mail_cancel_hood_add), (mail_cancel_hook_remove): Convert the 'cancel_hook_list' from an EDList to a GHookList and modify the API accordingly. * mail/mail-mt.c: Use GThreadPools instead of EThreads. Use GAsyncQueues instead of EMsgPorts. * mail/em-composer-utils.c: * mail/em-folder-browser.c: * mail/em-folder-properties.c: * mail/em-folder-tree.c: * mail/em-folder-utils.c: * mail/em-folder-view.c: * mail/em-format-html-print.c: * mail/em-format-html.c: * mail/em-subscribe-editor.c: * mail/em-sync-stream.c: * mail/importers/elm-importer.c: * mail/importers/mail-importer.c: * mail/importers/pine-importer.c: * mail/mail-component.c: * mail/mail-folder-cache.c: * mail/mail-mt.c: * mail/mail-ops.c: * mail/mail-ops.h: * mail/mail-send-recv.c: * mail/mail-session.c: * mail/mail-vfolder.c: * mail/message-list.c: * plugins/folder-unsubscribe/folder-unsubscribe.c: * plugins/groupwise-features/share-folder-common.c: * plugins/exchange-operations/exchange-folder.c: * plugins/mark-all-read/mark-all-read.c: * plugins/mailing-list-actions/mailing-list-actions.c: * plugins/itip-formatter/itip-formatter.c: * plugins/save-attachments/save-attachments.c: Use the new MailMsg API for messages. svn path=/trunk/; revision=34730
* ** Fix for bug #211353Milan Crha2007-12-171-9/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-12-14 Milan Crha <mcrha@redhat.com> ** Fix for bug #211353 * message-list.etspec: * message-list.h: * message-list.c: Added new column to show labels. * filtertypes.xml: * vfoldertypes.xml: Code for label filters/search folders has been changed. * mail-config.glade: * em-folder-view.c: (emfv_set_label), (emfv_unset_label), (emfv_popup_label_clear), (emfv_popup_label_set), (emfv_popup_labels_get_state_for_tag), (emfv_popup): Labels popup submenu is now shown with checkboxes so one can set more than one label to the message and unset only one label from message. There has been added new function, because of this. * mail-config.h: * mail-config.c: New "interface" functions to work with labels. * em-mailer-prefs.h: * em-mailer-prefs.c: Editing labels in tree. * em-folder-browser.c: Labels in show menu reflect changes in preferences. 2007-12-14 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #211353 * filter-label.c: Use global label's setup, not its own copy. 2007-12-14 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #211353 * e-popup.h: * e-popup.c: (ep_build_tree): Toggles can be in inconsistent state now, and can also contain an image, which is a pointer to GtkImage widget. 2007-12-14 Milan Crha <mcrha@redhat.com> ** Part of fix for bug #211353 * e-search-bar.c: (e_search_bar_get_viewitem_id): Return -1 if no viewmenu is setup yet. svn path=/trunk/; revision=34715
* If it is not FolderBrowser object, the pane size signal is not sent. FixJeff Cai2007-12-101-1/+1
| | | | | | | | | | | | 2007-12-10 Jeff Cai <jeff.cai@sun.com> * em-folder-view.c: (emfv_setting_notify): If it is not FolderBrowser object, the pane size signal is not sent. Fix #501677 svn path=/trunk/; revision=34681
* Patch from Akhil Laddha <lakhil@novell.com>: Fix for bug #475508 (UI: ↵Suman Manjunath2007-12-081-8/+10
| | | | | | Changed the string for search folder and filter creation from message list, etc to make it understandable) svn path=/trunk/; revision=34667
* ** Fix for bug #263236Milan Crha2007-12-061-5/+12
| | | | | | | | | | | | | 2007-12-06 Milan Crha <mcrha@redhat.com> ** Fix for bug #263236 * em-folder-view.c: (emfv_delete_msg_response): Look for "Do not ask me again" check in alignment, so let it works properly. svn path=/trunk/; revision=34660
* ** Fix for bug #335931Milan Crha2007-11-231-8/+14
| | | | | | | | | | | | | | | | | | | | | | 2007-11-23 Milan Crha <mcrha@redhat.com> ** Fix for bug #335931 * message-list.c: (struct _regen_list_msg): New member last_row. * message-list.c: (regen_list_regen): Store last_row for later use. * message-list.c: (regen_list_regened): Restore row based on last_row when no uid was selected before. * message-list.c: (mail_regen_list): Init new last_row member. * em-folder-view.c: (emfv_select_next_message): New helper function to select messages in list. * em-folder-view.c: (emfv_popup_mark_junk), (emfv_popup_mark_nojunk), (emfv_popup_delete): Using new helper function, so get same behavior. * message-list.h: (struct _MessageList): * message-list.c: (on_cursor_activated_cmd): Removed cursor_row member. svn path=/trunk/; revision=34567
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-148/+148
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* ** Fix for bug #263236Milan Crha2007-11-121-24/+81
| | | | | | | | | | | | | | | | 2007-11-12 Milan Crha <mcrha@redhat.com> ** Fix for bug #263236 * mail.error.xml: New message "ask-delete-vfolder-msg". * em-folder-view.c: (emfv_delete_msg_response), (emfv_popup_delete): When deleting from vFolder, ask if really want to and warn about deleting in a real folder too. * evolution-mail.schemas.in: New option "/apps/evolution/mail/prompts/delete_in_vfolder" to not ask again. svn path=/trunk/; revision=34523
* ** Fix for bug #488298Milan Crha2007-11-051-1/+1
| | | | | | | | | | | | | | | | 2007-11-05 Milan Crha <mcrha@redhat.com> ** Fix for bug #488298 * em-folder-view.c: (EMFolderViewEnable emfv_enable_map[]): Disable "MessageMarkAsNotJunk" if requested by context. * mail-folder-cache.c: (update_1folder): Do not count junked messages into "new" messages in drafts and out box. * em-popup.c: (em_popup_target_new_select): Disable "MarkAsJunk" and "MarnAsNotJunk" in drafts and out box. svn path=/trunk/; revision=34502
* ** Fix for bug #492102Michael Monreal2007-11-051-4/+4
| | | | | | | | | | 2007-11-05 Michael Monreal <mmonreal@svn.gnome.org> ** Fix for bug #492102 Use mail-mark-read icon. svn path=/trunk/; revision=34499
* ** Fix for bug #334675Milan Crha2007-11-051-1/+3
| | | | | | | | | | | | | | | | | | | | 2007-11-05 Milan Crha <mcrha@redhat.com> ** Fix for bug #334675 * plugins/mail-to-task/mail-to-task.c: (do_mail_to_task), (text_contains_nonwhitespace), (get_selected_text), (convert_to_task), (org_gnome_mail_to_task), (org_gnome_mail_to_task_menu): When selected only one message, then try to use selected text in preview as description, instead of whole message body. * Requires newer GthHtml (API extended, since revision 8614). * mail/em-folder-view.c: (emfv_message_reply): Leak fix. svn path=/trunk/; revision=34497
* 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
* Fix broken icon for View -> Zoom -> Normal Size.Matthew Barnes2007-10-161-1/+1
| | | | | | | | | | 2007-10-15 Matthew Barnes <mbarnes@redhat.com> * mail/em-folder-view.c: Fix broken icon for View -> Zoom -> Normal Size. svn path=/trunk/; revision=34389
* ** Fix for bug #329823Milan Crha2007-10-111-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-11 Milan Crha <mcrha@redhat.com> ** Fix for bug #329823 * Evolution-Shell.idl: (setButtonIcon): * e-sidebar.h: (e_sidebar_change_button_icon): * e-sidebar.c: (struct Button), (button_new), (button_free), (e_sidebar_change_button_icon): * e-shell.h: (EMainShellFunc), (e_shell_foreach_shell_window): * e-shell.c: (EMainShellFunc), (e_shell_foreach_shell_window): * e-component-view.h: (e_component_view_set_button_icon): * e-component-view.c: (e_component_view_set_button_icon): * e-shell-window.h: (e_shell_window_change_component_button_icon): * e-shell-window.c: (e_shell_window_change_component_button_icon): * e-shell-view.c: (struct change_icon_struct), (change_button_icon_func), (impl_ShellView_setButtonIcon), (e_shell_view_class_init): Added support to change component's button icon. * mail-component.h: (mail_indicate_new_mail): * mail-component.c: (mail_indicate_new_mail), (struct _MailComponentPrivate), (impl_dispose), (impl_createView): New function to indicate new mails on sidebar's button and storing component_view in priv struct for later use. * em-folder-view.c: (emfv_list_done_message_selected): * mail-folder-cache.c: (real_flush_updates): Indicate changes like for plugins for new mails. svn path=/trunk/; revision=34374
* ** Fixes bug #437579Matthew Barnes2007-10-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-09 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #437579 * addressbook/conduit/address-conduit.c: * addressbook/gui/component/addressbook-config.c: * addressbook/gui/contact-editor/e-contact-editor.c: * addressbook/gui/widgets/eab-gui-util.c: * calendar/conduits/calendar/calendar-conduit.c: * calendar/conduits/memo/memo-conduit.c: * calendar/conduits/todo/todo-conduit.c: * calendar/gui/dialogs/alarm-dialog.c: * calendar/gui/dialogs/event-page.c: * calendar/gui/dialogs/memo-page.c: * calendar/gui/dialogs/task-page.c: * calendar/gui/e-day-view-layout.c: * calendar/gui/e-day-view-layout.h: * calendar/gui/print.c: * e-util/e-pilot-map.c: * e-util/e-plugin.c: * e-util/e-profile-event.c: * e-util/e-signature.c: * filter/filter-file.c: * mail/e-searching-tokenizer.c: * mail/em-folder-browser.c: * mail/em-format-html.c: * mail/em-format-view.c: * mail/em-format.c: * mail/em-mailer-prefs.c: * mail/em-mailer-prefs.h: * mail/mail-session.c: * mail/mail-session.h: * mail/mail-vfolder.c: * mail/message-list.c: * plugins/bbdb/bbdb.c: * plugins/bbdb/gaimbuddies.c: * plugins/calendar-http/calendar-http.c: * plugins/exchange-operations/exchange-user-dialog.c: * plugins/face/face.c: * shell/e-shell-window.c: * shell/e-shell.c: * smime/lib/e-cert-db.c: * tools/killev.c: * widgets/misc/e-cursors.c: * widgets/misc/e-spinner.c: * widgets/misc/e-unicode.c: * widgets/table/e-table-field-chooser-item.c: * widgets/table/e-table-header-item.c: * widgets/table/e-table-header-item.h: * widgets/table/e-table-header-utils.c: * widgets/table/e-table.c: * widgets/text/e-text.c: Fix various compiler warnings. Patch from Milan Crha. svn path=/trunk/; revision=34368
* ** Fix for bug #482575Tobias Mueller2007-10-101-1/+1
| | | | | | | | | | | | 2007-10-09 Tobias Mueller <muelli@auftrags-killer.org> ** Fix for bug #482575 * em-folder-view.c: Don't use "insert_image" icon. Patch by Michael Monreal <infernux@web.de> svn path=/trunk/; revision=34366
* ** Fix for bug #468736 Srinivasa Ragavan2007-10-051-0/+3
| | | | svn path=/trunk/; revision=34355
* ** Fixes bug #477045Matthew Barnes2007-09-281-39/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-09-27 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #477045 * addressbook/gui/component/addressbook-component.c: * addressbook/gui/component/addressbook-view.c: * addressbook/gui/contact-editor/e-contact-editor-address.c: * addressbook/gui/contact-editor/e-contact-editor-fullname.c: * addressbook/gui/contact-editor/e-contact-editor-im.c: * addressbook/gui/widgets/e-addressbook-view.c: * addressbook/gui/widgets/eab-contact-display.c: * calendar/gui/calendar-commands.c: * calendar/gui/calendar-component.c: * calendar/gui/dialogs/cal-attachment-select-file.c: * calendar/gui/dialogs/comp-editor.c: * calendar/gui/dialogs/event-editor.c: * calendar/gui/dialogs/task-editor.c: * calendar/gui/e-cal-popup.c: * calendar/gui/e-calendar-table.c: * calendar/gui/e-calendar-view.c: * calendar/gui/e-day-view.c: * calendar/gui/e-memo-table.c: * calendar/gui/e-week-view.c: * calendar/gui/memos-component.c: * calendar/gui/memos-control.c: * calendar/gui/tasks-component.c: * calendar/gui/tasks-control.c: * composer/e-msg-composer-select-file.c: * composer/e-msg-composer.c: * mail/em-folder-tree.c: * mail/em-folder-view.c: * mail/em-popup.c: * mail/mail-component.c: * mail/mail-mt.c: * mail/mail-send-recv.c: * mail/message-list.c: * plugins/exchange-folder-permission.c: * plugins/exchange-folder.c: * plugins/groupwise-features/share-folder-common.c: * shell/e-shell-window-commands.c: * ui/evolution-addressbook.xml: * ui/evolution-calendar.xml: * ui/evolution-composer-entries.xml: * ui/evolution-editor.xml: * ui/evolution-event-editor.xml: * ui/evolution-mail-list.xml: * ui/evolution-mail-message.xml: * ui/evolution-memos.xml: * ui/evolution-message-composer.xml: * ui/evolution-subscribe.xml: * ui/evolution-task-editor.xml: * ui/evolution-tasks.xml: * ui/evolution.xml: Use standard icon names where applicable. svn path=/trunk/; revision=34322
* 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
* Use modern icon names for "Junk" and "Not Junk".Matthew Barnes2007-09-011-7/+7
| | | | | | | | | | 2007-09-01 Matthew Barnes <mbarnes@redhat.com> * em-folder-view: Use modern icon names for "Junk" and "Not Junk". svn path=/trunk/; revision=34148
* ** Move away from g_assert to g_return* calls Srinivasa Ragavan2007-08-311-2/+2
| | | | svn path=/trunk/; revision=34143
* 2007-08-24 mcrha Fix for bug #414420 by Ed CatmurMilan Crha2007-08-241-11/+10
| | | | svn path=/trunk/; revision=34095
* ** Another fix for bug #467382Tobias Mueller2007-08-211-78/+78
| | | | | | | | | | | 2007-08-21 Tobias Mueller <tobiasmue@svn.gnome.org> ** Another fix for bug #467382 * em-folder-view.c: Changing position of emfb_enable_map to be able to compile with -pedantic svn path=/trunk/; revision=34051
* ** Fix for bug #464312Srinivasa Ragavan2007-08-071-1/+1
| | | | svn path=/trunk/; revision=33965
* 2007-07-30 Part of fix for bug #360461 - Avoid markup in translatable messagesMilan Crha2007-07-301-3/+5
| | | | svn path=/trunk/; revision=33894
* Fix for bug #353752Srinivasa Ragavan2007-07-091-1/+3
| | | | svn path=/trunk/; revision=33777
* ** Fix for bug #445812 from Gilles DartiguelongueSrinivasa Ragavan2007-06-181-1/+14
| | | | svn path=/trunk/; revision=33699
* ** Fix for bug #330175Srinivasa Ragavan2007-06-181-1/+39
| | | | svn path=/trunk/; revision=33687
* M composer/ChangeLog M composer/e-msg-composer.c M mail/ChangeLog MSankar P2007-06-131-0/+4
| | | | | | | | | | | | | | 2007-06-13 Sankar P <psankar@novell.com> M composer/ChangeLog M composer/e-msg-composer.c M mail/ChangeLog M mail/em-folder-view.c Fixes build break by including missing headers. See #442631 svn path=/trunk/; revision=33670
* Add support for the XF86Reply and XF86MailForward multimedia keys (Closes:Bastien Nocera2007-06-121-0/+9
| | | | | | | | | | | | | | | | | | | | | | 2007-06-12 Bastien Nocera <hadess@hadess.net> * em-folder-view.c: (emfv_list_key_press): Add support for the XF86Reply and XF86MailForward multimedia keys (Closes: #442631) 2007-06-12 Bastien Nocera <hadess@hadess.net> * e-msg-composer.c: (composer_key_pressed): Add support for the XF86Send multimedia key (Closes: #442631) 2007-06-12 Bastien Nocera <hadess@hadess.net> * configure.in: Detect the X11/XF86keysym.h header, and enable multimedia keys if available (Closes: #442631) svn path=/trunk/; revision=33668
* Duplicate a translated string since we free it later.Matthew Barnes2007-06-051-1/+1
| | | | | | | | | | 2007-06-05 Matthew Barnes <mbarnes@redhat.com> * em-folder-view.c (emfv_on_url_cb): Duplicate a translated string since we free it later. svn path=/trunk/; revision=33657
* Fix compilation warnings in mail folder (#437935).Matthew Barnes2007-06-031-4/+4
| | | | svn path=/trunk/; revision=33628
* ** Adds support for Contact Image in the preview paneSrinivasa Ragavan2007-06-021-2/+20
| | | | svn path=/trunk/; revision=33613
* use displayed_uid instead of selected_uid. Fix #441992Jeff Cai2007-05-311-1/+1
| | | | | | | | | | | 2007-05-31 Jeff Cai <jeff.cai@sun.com> * em-folder-view.c (emfv_message_selected_timeout) : use displayed_uid instead of selected_uid. Fix #441992 svn path=/trunk/; revision=33607
* Improved offline support optionsSrinivasa Ragavan2007-05-161-1/+19
| | | | svn path=/trunk/; revision=33548
* Do not restrict "Edit as New Message" to Sent Folder alone. Fixes #205728Sankar P2007-05-031-3/+4
| | | | | | | | | | | | | 2007-05-03 Sankar P <psankar@novell.com> * em-folder-view.c: (emfv_activate): Do not restrict "Edit as New Message" to Sent Folder alone. Fixes #205728 svn path=/trunk/; revision=33476
* Clean up printing in Evolution (bug #426816)Matthew Barnes2007-04-201-77/+20
| | | | svn path=/trunk/; revision=33440
* Massive code cleanup (bug #429422)Matthew Barnes2007-04-201-2/+2
| | | | svn path=/trunk/; revision=33432
* Add progress indication in the preview.Srinivasa Ragavan2007-04-121-0/+42
| | | | svn path=/trunk/; revision=33418
* Add pluggable junk filter code and move SA options to the plugins.Srinivasa Ragavan2007-04-031-1/+1
| | | | svn path=/trunk/; revision=33367
* Load "emblem-important" instead of deprecated "stock_mail-priority-high"Matthew Barnes2007-04-031-2/+2
| | | | | | | | | | | | | | 2007-04-03 Matthew Barnes <mbarnes@redhat.com> * mail/em-folder-browser.c: * mail/em-folder-view.c: * mail/message-list.c: Load "emblem-important" instead of deprecated "stock_mail-priority-high" icon. (#387619) Patch from Rodney Dawes. svn path=/trunk/; revision=33362
* Fix "incompatible pointer type" warnings (#360619).Matthew Barnes2007-03-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-03-29 Matthew Barnes <mbarnes@redhat.com> * calendar/gui/e-day-view.c: * calendar/gui/e-week-view.c: * calendar/gui/tasks-control.c: * composer/e-msg-composer-select-file.c: * mail/em-account-editor.c: * mail/em-folder-view.c: * mail/em-format-html-display.c: * mail/em-format-html.c: * mail/em-format.h: * mail/em-mailer-prefs.c: * mail/em-vfolder-rule.c: * mail/mail-ops.c: * mail/mail-send-recv.c: * mail/message-list.c: * plugins/bbdb/gaimbuddies.c: * plugins/itip-formatter/itip-formatter.c: * plugins/save-calendar/save-calendar.c: * shell/e-shell-window.c: * widgets/misc/e-icon-entry.c: * widgets/table/e-table-header-utils.c: * widgets/table/e-table-item.c: * widgets/table/e-tree-header-item.c: * widgets/table/e-tree-table-adapter.c: Fix "incompatible pointer type" warnings (#360619). svn path=/trunk/; revision=33339
* ** Fixes bug #360240Matthew Barnes2007-03-171-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-03-16 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #360240 * addressbook/gui/widgets/e-addressbook-view.c (e_contact_print_button): * addressbook/printing/e-contact-print.c (complete_sequence), (e_contact_build_style), (e_contact_print_response), (e_contact_print_contact_list_dialog_new): * shell/e-shell-importer.c (importer_file_page_new): * plugins/startup-wizard/startup-wizard.c (startup_wizard_timezone_page): * mail/em-vfolder-rule.c (select_source_with_changed), (get_widget): * mail/em-format-quote.c (emfq_format_source): * mail/mail-ops.c (save_messages_save): * mail/em-format.c (emf_init): * mail/em-format-html-display (em_format_html_get_search_dialog), (em_format_html_display_seearch_with), (ehhd_resize), (efhd_attachment_optional), (efhd_format_optional): * mail/em-folder-view.c (emfv_init): * mail/message-list.c (ml_tree_value_at): * composer/e-msg-composer-hdrs (header_new_recipient): * composer/e-msg-composer.c (e_msg_composer_show_help), (drop_action): * widgets/table/e-cell-text.c (ect_free_color): * widgets/misc/e-calendar-item.c (e_calendar_item_unrealize): * widgets/misc/e-icon-entry.c (e_icon_entry_pack_widget): Remove unused variables. svn path=/trunk/; revision=33315
* Fixes #402727Simon Zheng2007-02-271-1/+0
| | | | | | | | | | | | | | 2007-02-27 Simon Zheng <simon.zheng@sun.com> * Fixes #402727 * em-folder-view.c: (em_folder_view_print), Remove setting default response id because of print-preview button in print_unix_dialog aren't set GTK_CAN_DEFAULT flag. svn path=/trunk/; revision=33258
* Committed on behalf of Raghavendran R <raghavguru7@gmail.com>Sankar P2007-02-261-0/+2
| | | | | | | | | | | | | | | | | | 2007-02-26 Sankar P <psankar@novell.com> * Committed on behalf of Raghavendran R <raghavguru7@gmail.com> * Fixes #256382 * em-folder-view.c: (emfv_mail_next_unread), (emfv_mail_previous_unread): Mail grabs the focus when keyboard-shortcut to move to next (un)read mail is used. svn path=/trunk/; revision=33250
* Print migration updates from Ebby Wiselyn.Srinivasa Ragavan2007-02-121-7/+9
| | | | svn path=/trunk/; revision=33201
* ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22Srinivasa Ragavan2007-01-231-27/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. 2006-01-22 Srinivasa Ragavan <sragavan@novell.com> ** Committing Ebby Wiselyn's patch for GtkPrint API migration. svn path=/trunk/; revision=33134
* Fixes bug #357970Matthew Barnes2006-12-041-2/+2
| | | | | | | | | | | | 2006-12-04 Matthew Barnes <mbarnes@redhat.com> Fixes bug #357970 * em-folder-browser.c: * em-folder-view.c: Don't call deprecated GLib / GDK functions. svn path=/trunk/; revision=33046
* Disable mail delete for proxy when there are not enough rightsSankar P2006-11-091-3/+26
| | | | | | | | | | | 2006-11-09 Sankar P <psankar@novell.com> * em-folder-browser.c: (emfb_view_hide_selected): * em-folder-view.c: (emfv_popup_delete): * mail.error.xml: Disable mail delete for proxy when there are not enough rights svn path=/trunk/; revision=32958
* ignore marked, empty selections when replying. Fixes bug #354650.Daniel Gryniewicz2006-09-301-1/+1
| | | | | | | | | 2006-09-29 Daniel Gryniewicz <dang@gentoo.org> * em-folder-view.c: ignore marked, empty selections when replying. Fixes bug #354650. (committed by Andre Klapper) svn path=/trunk/; revision=32833
* Fixes #351332Matthew Barnes2006-09-191-0/+2
| | | | | | | | | | | | 2006-09-18 Matthew Barnes <mbarnes@redhat.com> Fixes #351332 * em-folder-view.c: * em-format-html-display.c: Fix implicit function declarations. svn path=/trunk/; revision=32791
* Fix for bug #355294Srinivasa Ragavan2006-09-131-8/+1
| | | | svn path=/trunk/; revision=32762
* ** Fixes bug #352982 and bug #336983Srinivasa Ragavan2006-08-281-2/+13
| | | | svn path=/trunk/; revision=32691
* ** Fix for bug #352980Srinivasa Ragavan2006-08-271-3/+4
| | | | svn path=/trunk/; revision=32677
* ** Fix for bug #336983Srinivasa Ragavan2006-08-261-1/+14
| | | | svn path=/trunk/; revision=32674
* Fixes a lot of search issuesSrinivasa Ragavan2006-08-211-7/+17
| | | | svn path=/trunk/; revision=32607
* Commited a fix for vertical view.Srinivasa Ragavan2006-08-091-2/+1
| | | | svn path=/trunk/; revision=32508
* Change mnemonic for Mark as Unimportant, fixes bug #347246.Karsten Bräckelmann2006-07-121-1/+1
| | | | svn path=/trunk/; revision=32292
* Enhanced search functionality. patch submitted by Johnny Jacob ReviewedHarish Krishnaswamy2006-06-301-0/+5
| | | | | | | | | 2006-06-30 Harish Krishnaswamy <kharish@novell.com> Enhanced search functionality. patch submitted by Johnny Jacob Reviewed and committed by Harish. svn path=/trunk/; revision=32207
* Can't make camel calls from the main thread or we run the risk ofJeffrey Stedfast2006-06-031-19/+14
| | | | | | | | | 2006-06-02 Jeffrey Stedfast <fejj@novell.com> * em-folder-view.c (emfv_setup_view_instance): Can't make camel calls from the main thread or we run the risk of deadlocking. svn path=/trunk/; revision=32072
* Added support for Vertical View in Evolution Mailer with custom message list.Srinivasa Ragavan2006-06-031-4/+34
| | | | svn path=/trunk/; revision=32071
* Added support for collapsible headers for To/Cc/BccSrinivasa Ragavan2006-05-251-0/+5
| | | | svn path=/trunk/; revision=32020
* Use gnome-fs-trash-empty rather than stock_delete for the Trash folderRodney Dawes2006-04-281-3/+2
| | | | | | | | | | | | | | | 2006-04-27 Rodney Dawes <dobey@novell.com> * em-folder-tree.c (render_pixbuf): Use gnome-fs-trash-empty rather than stock_delete for the Trash folder icon * em-folder-view.c (emfv_popup_items[]): Don't set an icon for Undelete (emfv_message_pixmaps[]): Don't set an icon for Undelete and set the icon for deleting a message to gnome-fs-trash-empty, not stock_delete Fixes #339626 svn path=/trunk/; revision=31920
* Comparing the FolderInfo flags right, to make Mailbox to show From header in ↵Srinivasa Ragavan2006-04-261-1/+1
| | | | | | message list for groupwise servers. svn path=/trunk/; revision=31904
* use the flags CAMEL_STORE_FOLDER_INFO_SUBSCRIBED instead ofParthasarathi Susarla2006-03-291-1/+1
| | | | | | | | | | 2006-03-29 Parthasarathi Susarla <sparthasarathi@novell.com> * em-folder-view.c:(smfv_setup_view_instance): use the flags CAMEL_STORE_FOLDER_INFO_SUBSCRIBED instead of CAMEL_STORE_FOLDER_INFO_FAST when getting folder info svn path=/trunk/; revision=31754
* Added code to set the mail view column for sent folder.Srinivasa Ragavan2006-03-201-2/+7
| | | | svn path=/trunk/; revision=31724
* s/int/guint/g for 1-bit bitfield. Remove cruft use guint for 1-bitKjartan Maraas2006-02-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-09 Kjartan Maraas <kmaraas@gnome.org> * em-account-editor.h: s/int/guint/g for 1-bit bitfield. * em-composer-utils.c: (em_utils_redirect_message): Remove cruft * em-folder-tree.c: (emft_drop_target): use guint for 1-bit bitfield and rename a variable with a name clash. * em-folder-utils.c: (em_folder_utils_rename_folder): Rename var to avoid name clashes. * em-folder-view.c: guint for 1-bit bitfields. * em-folder-view.h: Same as above. * em-format-html-print.h: Again. * em-format-html.c: (efh_text_html), (efh_multipart_related): Add comments * em-format.c: (emf_multipart_alternative): Add comment about using var that is passed in rather than a local variable. * em-inline-filter.c: (emif_scan): Remove unused var. Mark code static. * em-mailer-prefs.h: guint for 1-bit bitfields. * em-migrate.c: (em_migrate_folder): mark a struct static. remove unused var * em-subscribe-editor.c: guint for 1-bit bitfield * em-utils.c: remove unused function * em-vfolder-rule.c: mark array static * importers/mail-importer.c: (decode_status): Remove unused code. Use guint for 1-bit bitfield. * mail-autofilter.c: (rule_from_message): rename a variable * mail-component.c: guint for 1-bit bitfield * mail-folder-cache.c: (update_1folder): remove unused code * mail-mt.c: mark some structs static * message-list.c: (message_list_select_uid), (ml_value_to_string), (ml_tree_value_at), (find_next_undeleted), (build_tree), (build_flat): Remove unused code and fix some format specifiers. svn path=/trunk/; revision=31448
* Committed Rajeev's patch and my patch for mnemonics.Srinivasa Ragavan2006-02-061-2/+2
| | | | svn path=/trunk/; revision=31425
* ** Fixes bug #326877Srinivasa Ragavan2006-01-161-6/+0
| | | | | | | | | | | 2006-01-16 Srinivasa Ragavan <sragavan@novell.com> ** Fixes bug #326877 * em-folder-view.c: (emfv_enable_menus): Reverting the patch to hide junk/not junk toolbuttons in disabled state. svn path=/trunk/; revision=31205
* Remove the first check in the previous commit. This is redundant as it isHarish Krishnaswamy2006-01-021-4/+1
| | | | | | | | | | | | 2006-01-02 Harish Krishnaswamy <kharish@novell.com> * em-folder-view.c: (emfv_setting_notify): Remove the first check in the previous commit. This is redundant as it is always guaranteed that the component has been activated at this point. And when not, it ought to crash :-). svn path=/trunk/; revision=31026
* reviewed by: Parthasarathi <sparthasarathi@novell.com>Harish Krishnaswamy2006-01-021-3/+9
| | | | | | | | | | | | | 2006-01-02 Harish Krishnaswamy <kharish@novell.com> reviewed by: Parthasarathi <sparthasarathi@novell.com> * em-folder-view.c: (emfv_setting_notify): Set the properties on the bonobo component only if it already has been activated. Fixes #325375 (critical warning crasher). svn path=/trunk/; revision=31024
* ** Fixes bug #228040, #324677Srinivasa Ragavan2005-12-231-3/+19
| | | | | | | | | | | | | | | | 2005-12-23 Srinivasa Ragavan <sragavan@novell.com> ** Fixes bug #228040, #324677 * em-folder-view.c (emfv_popup_flag_completed), (emfv_popup_flag_clear), (emfv_enable_menus): Added menus for complete and clear. Also added code to refresh preview on setting flags. Also added code to hide junk/not-junk menu depending on their sensitivity. * em-utils.c: (tag_editor_response), (em_utils_flag_for_followup): Added code to refresh preview. svn path=/trunk/; revision=30941
* Fixes #324670 Respond to the change of mail/display/paned_size in gconf.Sam Yang2005-12-211-0/+15
| | | | | | | | | | 2005-12-21 Sam Yang <sam.yang@sun.com> Fixes #324670 * em-folder-view.c: (emfv_setting_notify): Respond to the change of mail/display/paned_size in gconf. svn path=/trunk/; revision=30916
* ** Fixes bug #323867.Sam Yang2005-12-191-0/+32
| | | | | | | | | | | 2005-12-16 Sam Yang <sam.yang@sun.com> ** Fixes bug #323867. * em-folder-view.c: (emfv_setting_notify): Respond to the change of /apps/evolution/mail/display/show_deleted and thread_list in gconf. svn path=/trunk/; revision=30873
* em-folder-browser.c em-folder-view.c em-format-html.cTor Lillqvist2005-12-181-24/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Mail Context Menu re-ordered correctly, fixes bug #323140.Karsten Bräckelmann2005-12-121-2/+2
| | | | | | | | | 2005-12-12 Karsten Bräckelmann <guenther@rudersport.de> * em-folder-view.c: Mail Context Menu re-ordered correctly, fixes bug #323140. svn path=/trunk/; revision=30757
* literal strings do not need to be \0 terminated, they are alreadyJeffrey Stedfast2005-11-291-6/+6
| | | | | | | | | | 2005-11-28 Jeffrey Stedfast <fejj@novell.com> * em-folder-view.c (emfv_setting_notify): literal strings do not need to be \0 terminated, they are already nul-terminated by definition. svn path=/trunk/; revision=30697
* ** See bug #322414 Respond to the change ofSam Yang2005-11-281-0/+24
| | | | | | | | | | | 2005-11-28 Sam Yang <sam.yang@sun.com> ** See bug #322414 * em-folder-view.c: (emfv_setting_notify): Respond to the change of /apps/evolution/mail/display/show_preview in gconf. svn path=/trunk/; revision=30691
* Fixed mark junk, keybinding to focus search widget.Srinivasa Ragavan2005-10-181-6/+7
| | | | | | | | 2005-10-18 Srinivasa Ragavan <sragavan@novell.com> * Fixed mark junk, keybinding to focus search widget. svn path=/trunk/; revision=30520
* em-composer-utils.c (reply_get_composer, get_reply_list,Tor Lillqvist2005-09-281-3/+3
| | | | | | | | | | | | | 2005-09-28 Tor Lillqvist <tml@novell.com> * em-composer-utils.c (reply_get_composer, get_reply_list, post_reply_to_message) * em-folder-view.c (emfv_format_link_clicked): Use g_ascii_strncasecmp() instead of strncasecmp(). We are comparing to literal ASCII strings, so just casefolding ASCII is enough. Also better for portability. svn path=/trunk/; revision=30397
* Fix two mnemonic conflicts in the context menus for the mailerRodney Dawes2005-08-151-2/+2
| | | | | | | | | 2005-08-14 Rodney Dawes <dobey@novell.com> * em-folder-view.c (emfv_popup_items): Fix two mnemonic conflicts in the context menus for the mailer svn path=/trunk/; revision=30115
* return the target in any case. It will be an empty target and not NULL.Parthasarathi Susarla2005-08-111-7/+3
| | | | | | | | | | | 2005-08-11 Parthasarathi Susarla <sparthasarathi@novell.com> * em-folder-view.c (emfv_enable_menus): return the target in any case. It will be an empty target and not NULL. Fixes bug ** 312420 svn path=/trunk/; revision=30086
* Change instances of "vfolder" that appear in the UI to use the termRodney Dawes2005-08-081-5/+5
| | | | | | | | | | | | | | | | | | | | | | 2005-08-07 Rodney Dawes <dobey@novell.com> * em-folder-browser.c (emfb_search_items): * em-folder-tree-model.c (sort_cb, em_folder_tree_model_load_state): * em-folder-tree.c (emft_drop_target): * em-folder-view.c (emfv_popup_items, emfv_uri_popups): * em-utils.c: * em-vfolder-editor.c (em_vfolder_editor_new): * em-vfolder-rule.c (em_vfolder_editor_sourcelist_new): * mail-dialogs.glade: * mail-vfolder.c (vfolder_setup_desc, vfolder_setup_do): (vfolder_adduri_desc, vfolder_load_storage, vfolder_edit): (vfolder_edit_rule, vfolder_gui_add_rule): * mail.error.xml: Change instances of "vfolder" that appear in the UI to use the term "Search Folder" instead Update some comments to use the term "Search Folder" instead of vfolder svn path=/trunk/; revision=30024
* not here.Not Zed2005-08-041-4/+6
| | | | | | | | | | | | | | | 2005-08-03 Not Zed <NotZed@Ximian.com> * em-folder-browser.c (emfb_set_folder): not here. * em-folder-view.c (emfv_set_folder): ref the folder here. 2005-08-03 Not Zed <NotZed@Ximian.com> * em-folder-view.c (emfv_message_reply): try to fix #309647, only act if the selection is actually active. svn path=/trunk/; revision=29976
* if we get a null default, then set "" on the entry. (emae_option_entry):Not Zed2005-07-211-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-21 Not Zed <NotZed@Ximian.com> * em-account-editor.c (emae_option_entry): if we get a null default, then set "" on the entry. (emae_option_entry): set the default value on the url if it doesn't exist already. 2005-07-20 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (refresh_folders_desc, refresh_folders_get) (refresh_folders_got, refresh_folders_free, get_folders) (receive_update_got_folderinfo, receive_update_got_store): refresh all the folders manually and directly. * mail-folder-cache.c (setup_folder): propagate even -1 unread counts, they get ignored later. * em-composer-utils.c (emu_handle_receipt_message) (em_utils_handle_receipt): use getmessagex too, so we can always clear any error. * em-folder-view.c (emfv_message_selected_timeout) (emfv_list_done_message_selected): use getmessagex and do something meaninful with the error. * mail-ops.c (mail_get_messagex): added new get message which returns an exception. 2005-07-19 Not Zed <NotZed@Ximian.com> * mail-tools.c (mail_tool_uri_to_folder): dont get the service connected, it will connect if it needs to. * mail-ops.c (get_folderinfo_get): * em-folder-utils.c (emft_copy_folders__copy) (emfu_delete_folders): * em-folder-tree.c (emft_get_folder_info__get): Always request subscribed folders, if the backend doesn't implement it it will ignore it. 2005-07-13 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (mail_autoreceive_init, auto_online): listen to session online events, and if we are online, trigger an auto-receive of all auto-check accounts. 2005-07-11 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (auto_account_commit): force an update immediately if we're setting up the timeout to start with. * em-folder-tree-model.c (em_folder_tree_model_set_unread_count): noop if the unread count < 0. (em_folder_tree_model_set_folder_info): only set the unread count if we actually have one. * em-folder-tree.c (emft_tree_row_expanded): get the folder list 'fast'. * mail-ops.c (get_folderinfo_get): get the folder list 'fast'. svn path=/trunk/; revision=29822
* Added widgets in INCLUDES.Kaushal Kumar2005-06-231-1/+1
| | | | | | | | | | | | 2005-06-23 Kaushal Kumar <kakumar@novell.com> * e-util/Makefile.am, widgets/e-timezone-dialog/Makefile.am, addressbook/gui/search/Makefile.am, plugins/groupwise-features/Makefile.am: Added widgets in INCLUDES. Updated the include paths to use misc instead of widgets/misc. svn path=/trunk/; revision=29574
* Retired GAL from Head. The relevant files have moved inside evolution.Kaushal Kumar2005-06-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-17 Kaushal Kumar <kakumar@novell.com> * Retired GAL from Head. The relevant files have moved inside evolution. Thanks to JP Rosevear for performing the cvs surgery. The files have been moved in the following order. evolution/e-util <- gal/gal/util evolution/a11y <- gal/gal/a11y evolution/a11y/e-table <- gal/gal/a11y/e-table evolution/a11y/e-text <- gal/gal/a11y/e-text evolution/widgets/table <- gal/gal/e-table evolution/widgets/text <- gal/gal/e-text evolution/widgets/misc <- gal/gal/widgets evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps evolution/widgets/menus <- gal/gal/menus Following is the summary of changes done to fix the build:- - New files added to cvs repository, - a11y/e-table/Makefile.am - a11y/e-text/Makefile.am - widgets/table/Makefile.am - widgets/text/Makefile.am - widgets/misc/pixmaps/Makefile.am - iconv-detect.h - iconv-detect.c - Updated configure.in. - Updated all the relevant Makefile.am files. - Updated the include paths to replace all gal references. - Updated the marshal list to suit gal files requirements. svn path=/trunk/; revision=29522
* Remove this unused method (emfs_response): Remove unused variableRodney Dawes2005-05-251-14/+0
| | | | | | | | | | | | | | 2005-05-24 Rodney Dawes <dobey@novell.com> * em-folder-selector.c (folder_created_cb): Remove this unused method (emfs_response): Remove unused variable declarations * em-folder-view.c (emfv_popup_{load_images,selectall}): Remove these unused methods * mail-component.c: Include em-folder-utils.h to fix warnings svn path=/trunk/; revision=29409
* removed include of htmlengine.h which wasn't neededRadek Doulik2005-05-171-2/+1
| | | | | | | | | | | | | | | 2005-05-17 Radek Doulik <rodo@novell.com> * em-format-html.c: removed include of htmlengine.h which wasn't needed * em-format-html-display.c: use top level gtkhtml API instead of lower level one * em-folder-view.c (emfv_popup_selectall): use gtk_html_select_all instead of calling html engine directly svn path=/trunk/; revision=29378
* forward-reference structuresNot Zed2005-05-161-0/+2
| | | | | | | | | | | | | | 2005-05-16 Not Zed <NotZed@Ximian.com> * mail-vfolder.h: * mail-autofilter.h: forward-reference structures * *.h: Make installed headers includable from mail/ * Makefile.am (mailinclude_HEADERS): install various mail headers as first cut at public plugin api. svn path=/trunk/; revision=29371
* move e-error into e-util/Not Zed2005-05-161-1/+1
| | | | | | | | 2005-05-16 Not Zed <NotZed@Ximian.com> * move e-error into e-util/ svn path=/trunk/; revision=29366
* Add profiler so that it gets disted properlyRodney Dawes2005-05-141-23/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-05-13 Rodney Dawes <dobey@novell.com> * plugins/Makefile.am (DIST_SUBDIRS): Add profiler so that it gets disted properly 2005-05-13 Rodney Dawes <dobey@novell.com> * Makefile.am: Add new em-folder-utils.[ch] abstraction * em-folder-browser.c: Update for new menu layout Add new methods to handle the actions that were previously only available from the context menu when right-clicking on a folder * em-folder-selector.c (emfs_response): Just call emfu_folder_create if the user wants to create a new folder in the selector dialog (em_folder_selector_get_selected_path): Clean up the code to fix a couple potential crashes * em-folder-tree.[ch]: Add methods to get pointers to a CamelFolder or CamelFolderInfo object for the selected item in the tree Add a method to get a pointer to an EMFolderTreeModelStoreInfo object for the selected store in the tree Move folder operations out into em-folder-utils.[ch] so that they are abstracted from the tree and can be used by methods other than the internal context menu * em-folder-utils.[ch]: Move the folder operations code to here * em-folder-view.c: Update for the new menu layout Fix Mark as Read/Unread in the context menu to only show up in the list * mail-component.c (create_item): Just call emfu_folder_create here when the user requests to create a new folder from the New toolbar item 2005-05-13 Rodney Dawes <dobey@novell.com> * org-gnome-mailing-list-actions.xml: Update for the new menu layout 2005-05-13 Rodney Dawes <dobey@novell.com> * org-gnome-plugin-manager.xml: Update for new menu layout 2005-05-13 Rodney Dawes <dobey@novell.com> * org-gnome-save-attachments.xml: Update for new menu layout 2005-05-13 Rodney Dawes <dobey@novell.com> * e-shell-window.c (setup_widgets): Update for the new menu layout by putting the "component" switching items under the "Tools" menu 2005-05-13 Rodney Dawes <dobey@novell.com> * *.xml: Update to the new menu layout 2005-05-13 Rodney Dawes <dobey@novell.com> * e-filter-bar.[ch]: Update for the new menu layout svn path=/trunk/; revision=29354
* Use the real folder and real uid (not the virtual if replying to a messageJeffrey Stedfast2005-05-131-18/+18
| | | | | | | | | | 2005-04-21 Jeffrey Stedfast <fejj@novell.com> * em-composer-utils.c (post_reply_to_message): Use the real folder and real uid (not the virtual if replying to a message in a vfolder). Fixes bug #269129. svn path=/trunk/; revision=29345
* EPopupItem emfv_popup_items[] replace Print with Print... Fixes #272242Vivek Jain2005-05-121-1/+1
| | | | | | | | | 2005-05-06 Vivek Jain <jvivek@novell.com> * em-folder-view.c :EPopupItem emfv_popup_items[] replace Print with Print... Fixes #272242 svn path=/trunk/; revision=29330
* use gtk_html_command to ask if selection is active tto avoid usingRadek Doulik2005-05-051-26/+8
| | | | | | | | | | | | | 2005-05-05 Radek Doulik <rodo@site> * em-folder-view.c (em_folder_view_get_popup_target): use gtk_html_command to ask if selection is active tto avoid using selection API directly (emfv_popup_copy_text): use gtkhtml API instead of engine API (emfv_message_reply): use new gtk_html_get_selection_html function to avoid using low level gtkhtml APIs svn path=/trunk/; revision=29272
* remove a call to refresh folder from here call mail_refresh_folder hereParthasarathi Susarla2005-04-281-3/+2
| | | | | | | | | | | 2005-04-28 Parthasarathi Susarla <sparthasarathi@novell.com> * em-folder-view.c (emfv_set_folder): remove a call to refresh folder from here * em-folder-browser.c (emfb_set_folder): call mail_refresh_folder here svn path=/trunk/; revision=29243
* add some message list loading/profiling points, "list".Not Zed2005-04-281-2/+25
| | | | | | | | | | | | 2005-04-28 Not Zed <NotZed@Ximian.com> * message-list.c: add some message list loading/profiling points, "list". * em-folder-view.c: add some message display/loading profiling points, "goto". svn path=/trunk/; revision=29240
* removed. (em_utils_handle_receipt): asynchronously load message if none isNot Zed2005-04-081-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-04-08 Not Zed <NotZed@Ximian.com> * em-composer-utils.c (em_utils_ask_receipt): removed. (em_utils_handle_receipt): asynchronously load message if none is supplied. * em-folder-view.c (emfv_set_seen): pass message in. * em-composer-utils.c (em_utils_ask_receipt): strip leading lwsp on the disposition address. (em_utils_ask_receipt): added a comment about which rfc. (em_utils_handle_receipt): merged ask_receipt into here. Changed api to take a message instead, so we don't have to load the message every time. Also only set receipt-handled if we have a receipt requested in the first place. 2005-04-05 ERDI Gergo <cactus@cactus.rulez.org> * mail-errors.xml: Added new dialog for receipt requests * em-composer-utils.c (em_utils_guess_account): Made guess_account public, to be callable from em-folder-view (em_utils_send_receipt): New function to send an RFC 2298-compliant message delivery notification svn path=/trunk/; revision=29185
* Add Mark as Read/Unread back to the context menu (#73192) Fix the orderingRodney Dawes2005-04-051-3/+5
| | | | | | | | | | | 2005-04-04 Rodney Dawes <dobey@novell.com> * em-folder-view.c (emfv_popup_items): Add Mark as Read/Unread back to the context menu (#73192) Fix the ordering values for some menu items in the context menu that had duplicate order values svn path=/trunk/; revision=29152
* ** See bug #72935Not Zed2005-04-011-0/+3
| | | | | | | | | | 2005-03-31 Not Zed <NotZed@Ximian.com> ** See bug #72935 * em-folder-view.c: always enable the stop button. svn path=/trunk/; revision=29144
* ** See bug #73363Not Zed2005-03-171-14/+50
| | | | | | | | | | | | | | 2005-03-16 Not Zed <NotZed@Ximian.com> ** See bug #73363 * em-folder-view.c (emfv_list_message_selected): insert a timeout before loading the message. (emfv_message_selected_timeout): handle the timeout, start loading the message. (emfv_set_folder, emfv_destroy): cleanups for above. svn path=/trunk/; revision=29049
* ** See bug #70718Not Zed2005-02-231-26/+11
| | | | | | | | | | | | | 2005-02-21 Not Zed <NotZed@Ximian.com> ** See bug #70718 * em-folder-view.c (emfv_list_built): handle list_built events - whenever the list changes. (emfv_gui_folder_changed, emfv_folder_changed): removed, we want to run off the viewed list, not the physical folder. svn path=/trunk/; revision=28854
* ** See bug #61363 & e-util/ChangeLogNot Zed2005-02-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-14 Not Zed <NotZed@Ximian.com> ** See bug #61363 & e-util/ChangeLog * em-account-editor.c: All sorts of changes to make the ui more dynamic, re-create all widgets when it needs a reconfigure. A bit slower and it flickers a bit. * em-account-editor.c (emae_setup_service): take xml file pointer. (emae_send_page): create a new send page every time we need to, don't re-use the old oneq. (emae_setup_authtype): renamed to refresh_authtype. (emae_setup_service): init authtype pointer. (emae_needs_auth): use the auth_frame pointer directly. (emae_refresh_providers): rename from setup_providers. 2005-02-11 Not Zed <NotZed@Ximian.com> * em-account-editor.c (emae_setup_service): set needs_auth to NULL if we don't, so it gets reset if the ui changes. 2005-02-10 Not Zed <NotZed@Ximian.com> * em-account-editor.c (emae_setup_providers): don't include any providers which are store and transport in the transport page. (emae_send_page): show no send options page at all if the provider is store and transport. (emae_uri_changed): copy store url to transport if as above. 2005-02-09 Not Zed <NotZed@Ximian.com> ** See bug #70795 * em-folder-view.c (em_folder_view_open_selected): set the search on the browser to match the current view. * message-list.c (mail_regen_list): save the search if no folder set, incase the folder gets set later on. svn path=/trunk/; revision=28828
* New method to copy the selected text in the mail display, to the clipboardRodney Dawes2005-02-191-86/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-18 Rodney Dawes <dobey@novell.com> * mail/em-folder-view.c (emfv_popup_copy_text): New method to copy the selected text in the mail display, to the clipboard (emfv_popup_items): Restructure this list for the new context menus layout that we are moving to, to improve the UI (emfv_popup): Add a third argument for whether we are on the mail display or not, so that we can pop up the correct portion of the menus Pass the on_display argument on to create the popup target Only generate the label items if we are on the list and not the display (emp_uri_popup_vfolder_{sender,recipient}): New methods to create vfolders to and from mailto: addresses from the context menu (emfv_enable_menus): Create the target here for clicking on the list (em_folder_view_get_popup_target): Add a third argument so that we can tell whether we are on the display or not Set the appropriate flags on the target for whether we are on the message display,, and whether or not there is selected text in it (emfv_list_right_click): We aren't rigt-clicking on the display here (emfv_popup_menu): We aren't right-clicking on the mail display here (emfv_uri_popups): Add the submenu for creating a vfolder from mailto: (emfv_format_popup_event): We are right-clickingo nt he display here * mail/em-folder-view.h: Add the new flags we need for the mail context menus popup target here (em_folderiew_get_popup_target): Add the on_display argument * mail/em-popup.c (emp_standard_uri_popups): Fix the label and mnemonic for the Send New Message popup item for mailto: addresses * mail/mail-autofilter.c (rule_from_address): (em_vfolder_rule_from_address): New methods to create a vfolder based on a CamelInternetAddress object that we get from the mailer * mail/mail-vfolder.[ch] (vfolder_gui_add_from_address): New method to create a vfolder rule based on the mailto: addresses Fixes #23822 svn path=/trunk/; revision=28814
* ** See bug #71429Not Zed2005-02-091-3/+7
| | | | | | | | | | | 2005-02-09 Not Zed <NotZed@Ximian.com> ** See bug #71429 * em-folder-view.c (emfv_activate): setup the plugin menu's after the main ones. svn path=/trunk/; revision=28754
* ** See bug #72209Not Zed2005-02-081-2/+2
| | | | | | | | | | | | | | | | | | | 2005-02-07 Not Zed <NotZed@Ximian.com> ** See bug #72209 * em-folder-tree.c (emft_popup_copy_folder_exclude): implement one for copying/moving folders. * em-folder-selection.c (em_select_folder): add an excluded func argument, fix callers. * em-folder-tree.c (em_folder_tree_set_exclude_func): allow custom callback for exclusion. (emft_select_func): handle the custom excluded callback. svn path=/trunk/; revision=28745
* Fix for 72275. try to bring up menu for preivew html object.Harry Lu2005-02-081-2/+15
| | | | | | | | | | | | | | 2005-02-07 Harry Lu <harry.lu@sun.com> Fix for 72275. * em-folder-view.c: (emfv_popup_menu): try to bring up menu for preivew html object. (emfv_format_popup_event): handle event == NULL case. * em-format-html-display.c: (em_format_html_display_popup_menu): New function to popup context menu. * em-format-html-display.h: add new function declaration. svn path=/trunk/; revision=28744
* Replace "_Virtual Folder" with "_vFolder" for the search menu to create aRodney Dawes2005-02-021-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-01 Rodney Dawes <dobey@novell.com> * em-folder-browser.c: Replace "_Virtual Folder" with "_vFolder" for the search menu to create a vfolder from a search * em-folder-tree-model.c (sort_cb): s/VFolders/vFolders/ for sorting in the folder tree (em_folder_tree_model_load_state): s/VFolders/vFolders/ in a comment * em-folder-view.c: s/VFolder/vFolder/ for the popup menu * em-vfolder-editor.c (em_vfolder_editor_new): Replace the string "Virtual _Folders" with "v_Folders" for the label * em-vfolder-rule.c (em_vfolder_editor_sourcelist_new): Repalce the string "VFolder source" with "vFolder source" * mail-errors.xml: * mail-errors.xml.h: Replace "virtual folder" with "vFolder" in an error string * mail-vfolder.c (vfolder_setup_desc): s/vfolder/vFolder/ (vfolder_setup_do): s/vfolder/vFolder/ (vfolder_load_storage): s/VFolders/vFolders/ (vfolder_edit_rule): s/VFolder/vFolder/ (vfolder_gui_add_rule): s/VFolder/vFolder/ Fixes #68137 svn path=/trunk/; revision=28664
* ** See bug #71312.Not Zed2005-02-011-16/+49
| | | | | | | | | | | | 2005-02-01 Not Zed <NotZed@Ximian.com> ** See bug #71312. * em-folder-view.c (em_folder_view_open_selected): if we're looking at a vfolder, then look open the original folder if we need to perform any edits. svn path=/trunk/; revision=28649
* removed EM_POPUP_SELECT_MARK_[NO]JUNK masksRadek Doulik2005-01-241-25/+17
| | | | | | | | | | | | | | 2005-01-24 Radek Doulik <rodo@ximian.com> * em-popup.[ch]: removed EM_POPUP_SELECT_MARK_[NO]JUNK masks 2005-01-20 Radek Doulik <rodo@ximian.com> * em-folder-view.c: patch from Chris Lahey, makes Mark as Junk/not Junk items active on all messages, removes calls to message_list_get_selected where not needed svn path=/trunk/; revision=28527
* Fixes #46404JP Rosevear2005-01-221-8/+8
| | | | | | | | | | | | | 2005-01-18 JP Rosevear <jpr@novell.com> Fixes #46404 * em-folder-view.c (emfv_print_response): use the config in the print data and free it (em_folder_view_print): load the config from e_print and use the dialog from e_print svn path=/trunk/; revision=28494
* ** See bug #55831.Not Zed2005-01-201-5/+16
| | | | | | | | | | | | | | | 2005-01-20 Not Zed <NotZed@Ximian.com> ** See bug #55831. * evolution-mail.schemas.in.in: added open_many prompt key. * mail-errors.xml: added ask-open-many * em-folder-view.c (em_folder_view_open_selected): put back the 'you're opening too many are you sure' thing. svn path=/trunk/; revision=28454
* remove old code, setup transient parent and weak ref for refresh. someNot Zed2005-01-071-1/+1
| | | | | | | | | | 2005-01-07 Not Zed <NotZed@Ximian.com> * em-account-prefs.c (account_add_clicked): remove old code, setup transient parent and weak ref for refresh. * *.c: some warning fixes/comment fixes svn path=/trunk/; revision=28263
* moved to after emae_authtype_changed to fix warning.Not Zed2004-12-221-3/+3
| | | | | | | | | | | | | | | | | | | | | | | 2004-12-22 Not Zed <NotZed@Ximian.com> * em-account-editor.c (emae_needs_auth): moved to after emae_authtype_changed to fix warning. 2004-12-17 Not Zed <NotZed@Ximian.com> * em-format-html-display.c (efhd_attachment_popup): * message-list.c (ml_tree_drag_data_received): * em-folder-view.c (emfv_popup, emfv_format_popup_event): * em-folder-tree.c (tree_drag_data_received): api changes. (emft_popup): * em-popup.c (emp_standard_menu_factory) (emp_standard_menu_factory): api changes. svn path=/trunk/; revision=28180
* Fix the popup id.Not Zed2004-11-031-1/+1
| | | | | | | | 2004-11-03 Not Zed <NotZed@Ximian.com> * em-folder-view.c (emfv_popup): Fix the popup id. svn path=/trunk/; revision=27815
* revert jeff's last change - we do actually want to know when we couldn'tNot Zed2004-11-031-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-03 Not Zed <NotZed@Ximian.com> * em-folder-view.c (emfv_list_done_message_selected): revert jeff's last change - we do actually want to know when we couldn't load a message. the crash he was fixing was fixed elsewhere. also fix the unref ordering stuff. * em-format-html.c (efh_format_timeout): removed the fixme i added. 2004-11-01 Not Zed <NotZed@Ximian.com> ** See bug #67496. * em-format-html.c (efh_text_html): use the base on the emformat to calculate our absolute iframe uri. (efh_multipart_related): same as emf_multipart_related. * em-format.c (emf_multipart_related): remove content-location handling, now done in format_part_as. (em_format_part_as): track content-base (& absolute content-location) of all parts here. svn path=/trunk/; revision=27807
* Check for NULL messages (happens if the message isn't available).Jeffrey Stedfast2004-11-031-3/+3
| | | | | | | | | 2004-11-02 Jeffrey Stedfast <fejj@novell.com> * em-folder-view.c (emfv_list_done_message_selected): Check for NULL messages (happens if the message isn't available). svn path=/trunk/; revision=27802
* added hook docs, and cleaned up some of the hook point names.Not Zed2004-10-281-4/+28
| | | | | | | | | | | | | | | | | | | | 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
* duh, they're camel not gobjects.Not Zed2004-10-221-1/+16
| | | | | | | | | | | 2004-10-22 Not Zed <NotZed@Ximian.com> * em-event.c (eme_target_free): duh, they're camel not gobjects. * em-folder-view.c (emfv_list_done_message_selected): added a message.reading event. svn path=/trunk/; revision=27694
* emit a 'message.replying' event with a message target.Not Zed2004-10-211-1/+1
| | | | | | | | | | | | | | | | | | | 2004-10-21 Not Zed <NotZed@Ximian.com> * em-composer-utils.c (em_utils_reply_to_message): emit a 'message.replying' event with a message target. 2004-10-21 Nat <nat@novell.com> * em-event.c (em_event_target_new_message): new target type for message-related events. 2004-10-21 Not Zed <NotZed@Ximian.com> * em-folder-view.c (emfv_format_popup_event): put 'evolution' back in the popup hook names. svn path=/trunk/; revision=27673
* convert to org.gnome hook namesJP Rosevear2004-10-201-2/+2
| | | | | | | | | | | | | 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
* ** See bug #68006.Not Zed2004-10-191-3/+1
| | | | | | | | | | | 2004-10-18 Not Zed <NotZed@Ximian.com> ** See bug #68006. * em-folder-view.c (emfv_init): dont ref/sink the invisible. (emfv_destroy): just destroy it here. svn path=/trunk/; revision=27612
* ** See bug #67408.Not Zed2004-10-121-3/+7
| | | | | | | | | | | | 2004-10-11 Not Zed <NotZed@Ximian.com> ** See bug #67408. * em-folder-view.c (emfv_gui_folder_changed): noop if we were destroyed. (emfv_destroy): set destroyed bit. svn path=/trunk/; revision=27544
* implement popup_menu so that popup menu can be shown with Shift+F10 onHarry Lu2004-10-081-8/+18
| | | | | | | | | | | | 2004-10-08 Harry Lu <harry.lu@sun.com> * em-folder-tree.c: (em_folder_tree_class_init), (real_popup_menu), (emft_popup_menu), (emft_tree_button_press): implement popup_menu so that popup menu can be shown with Shift+F10 on folder tree. * em-folder-view.c: (emfv_popup), (emfv_list_key_press): same as above. svn path=/trunk/; revision=27507
* put back in the attachment attaching code. Doesn't work for s/mime andNot Zed2004-10-071-2/+2
| | | | | | | | | | | | | | | | | | | | | 2004-09-28 Not Zed <NotZed@Ximian.com> * em-composer-utils.c (forward_non_attached): put back in the attachment attaching code. Doesn't work for s/mime and pgp, but why bother arguing about it. 2004-10-06 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (emft_get_folder_info__desc): fix busted cast. * *.c: e-popup api changes. 2004-10-06 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (emft_tree_button_press): remove some debug that made it in accidentally. svn path=/trunk/; revision=27487
* Merged notzed-eplugin-2-branch to head.Michael Zucci2004-09-201-160/+192
| | | | svn path=/trunk/; revision=27300
* ** See #61940.Not Zed2004-07-281-3/+3
| | | | | | | | | | | | | | | 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-281-12/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* ** See bug #61824.Not Zed2004-07-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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-231-1/+0
| | | | | | | | | | | | | | | | | | | 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
* Chck that the selection is active. Hopefully this will fix bug #61427.Jeffrey Stedfast2004-07-171-12/+10
| | | | | | | | | 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
* ** See #54030.Not Zed2004-06-231-10/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* ** See #60214.Not Zed2004-06-181-32/+60
| | | | | | | | | | | | | | | | 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
* Changed the second gtk_selection_add_target() to useJeffrey Stedfast2004-06-151-1/+1
| | | | | | | | | | 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
* check that we have content selected, not just a selection, before tryingNot Zed2004-06-101-20/+24
| | | | | | | | | | | | 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 the name of "stock_save-as" everywhereDan Winship2004-06-071-2/+2
| | | | svn path=/trunk/; revision=26237
* disable add sender to addressbook bar if it is also disabled. #58955.Not Zed2004-05-251-2/+2
| | | | | | | | | 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
* remove some debug.Not Zed2004-05-241-4/+0
| | | | | | | | | | | 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
* pull the message from the regen list before we check the list and pendingNot Zed2004-05-241-5/+9
| | | | | | | | | | | | | 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
* Listen to the tree selection change event directly & proxy out, so we canNot Zed2004-05-181-0/+10
| | | | | | | | | | 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
* don't emit new mail if its any vfolder, not just vtrash folder. #56350.Not Zed2004-05-181-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0/+1
| | | | | | | | | 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
* s/RESEND/EDIT/Jeffrey Stedfast2004-05-151-14/+12
| | | | | | | | | | | | | | 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
* Updated the #if 0'd code for the API chanegs made toJeffrey Stedfast2004-05-151-2/+2
| | | | | | | | | | | | | | | | | 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
* move ignore case outside of block. Stupid c language.Not Zed2004-05-131-1/+1
| | | | | | | | | | | | | | | | | | | | | 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-131-10/+13
| | | | | | | | | | | | | | | 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
* cleanup the view menus if they were created.Not Zed2004-05-101-20/+43
| | | | | | | | | | | | | | | | | | | | | | 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
* ** See bug #57935.Not Zed2004-05-071-5/+11
| | | | | | | | | | | | | | | | | | | 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
* ** See #58017.Not Zed2004-05-071-3/+2
| | | | | | | | | | | | | | | | | 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
* Removed. (rule_from_message): Removed the AUTO_THREAD bit.Jeffrey Stedfast2004-05-061-22/+1
| | | | | | | | | | | | | | 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-051-6/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* take fromuri and subject to set the basic headers/account.Not Zed2004-05-031-5/+5
| | | | | | | | | | | | | | | | 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-031-2/+3
| | | | | | | | | | | | | | 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
* use the right signal callback for the changed signal. Fixes #57246.Not Zed2004-04-211-1/+1
| | | | | | | | | 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
* added a needed #includeJeffrey Stedfast2004-04-201-0/+1
| | | | svn path=/trunk/; revision=25534
* Use E_ICON_SIZE_* enums for the menu/toolbar icon sizes.Jeffrey Stedfast2004-04-201-36/+36
| | | | | | | | | 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
* mail-component.cMichael Terry2004-04-191-51/+51
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* ugh, use the queued thread to get the folder, otherwise we can get foldersNot Zed2004-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* ** See bug #56149.Not Zed2004-04-141-6/+6
| | | | | | | | | | | | | | | | | | 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
* track the messagelist hidedeleted value since it looks it up when we setNot Zed2004-04-141-0/+15
| | | | | | | | | | | | | | | | | | | | | 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-131-0/+1
| | | | | | | | | | | | 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
* use %% for %%.Not Zed2004-04-131-10/+1
| | | | | | | | | | | | | | | | | | | | | | | | 2004-04-13 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_format_headers): use %% for %%. * em-folder-view.c (emfv_init, emfv_finalise, emfv_activate): revert dans' creatable items handler patch, moved to mail-component instead (which deals with the actual menu's). * mail-component.c (impl_createControls): setup a user creatable items handler on the view widget. (view_control_activate_cb): activate the user creatable items handler on the view widget. * em-folder-view.c (emfv_init): add a comment about jeff's last fix. * em-utils.c (forward_non_attached): Set attachments from forwardee before we set the body, otherwise images wont resolve properly. Related to #56566. svn path=/trunk/; revision=25428
* Need to set the session on the preview object. Fixes bug #56862.Jeffrey Stedfast2004-04-131-1/+3
| | | | | | | | | 2004-04-12 Jeffrey Stedfast <fejj@ximian.com> * em-folder-view.c (emfv_init): Need to set the session on the preview object. Fixes bug #56862. svn path=/trunk/; revision=25419
* Create an EUserCreatableItemsHandler for the view. (emfv_finalise): UnrefDan Winship2004-04-091-0/+10
| | | | | | | | | | | | * em-folder-view.c (emfv_init): Create an EUserCreatableItemsHandler for the view. (emfv_finalise): Unref it. (emfv_activate): Activate it * mail-component.c (impl__get_userCreatableItems): add object/folder flags to the items svn path=/trunk/; revision=25380
* VJUNK_FOLDER's dont exist, they're VTRASH folders now.Not Zed2004-04-081-14/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-08 Not Zed <NotZed@Ximian.com> * mail-folder-cache.c: (update_1folder): VJUNK_FOLDER's dont exist, they're VTRASH folders now. * em-folder-view.c: remove message_changed stuff from camel folder stuff. * mail-component.c (mail_component_init): don't setup the search context here, wait till its requested. Fixes #56672. 2004-04-07 Not Zed <NotZed@Ximian.com> * mail-component.c (view_changed_cb): hook to update the info label when the folderview changes. * em-folder-view.c (emfv_class_init): added 2 signals 'loaded' and 'changed'. For when a folder is set/cleared or when some state changes. (emfv_set_folder): emit LOADED signal when we set the folder. (emfv_list_message_selected): emit changed event. (emfv_gui_folder_changed): emit changed event. svn path=/trunk/; revision=25369
* Fix for bug #56538Jeffrey Stedfast2004-04-081-20/+23
| | | | | | | | | | | | | | 2004-04-07 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #56538 * em-folder-view.c (emfv_set_folder_uri): Don't set the preview empty here. (emfv_set_folder): If the folder is the same as the folder already on the emfv, just return. Otherwise clear the preview and continue setting the folder as normal. svn path=/trunk/; revision=25364
* ref the emfoldertree in our thread message. (em_folder_tree_set_selected):Not Zed2004-04-061-1/+1
| | | | | | | | | | | | | | | | | 2004-04-06 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (emft_tree_row_expanded): ref the emfoldertree in our thread message. (em_folder_tree_set_selected): same. (emft_get_folder_info__free): unref it. * mail-folder-cache.c (ping_store): use thread_queued_slow not thread_queued - we dont care when it runs. * em-folder-view.c (emfv_set_folder_uri): use thread_new for getting the folder, we do elsewhere, and it aids interactivity. svn path=/trunk/; revision=25330
* Fixes bug #53851Jeffrey Stedfast2004-04-031-6/+10
| | | | | | | | | | | | | | | | 2004-04-02 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #53851 * em-folder-view.c (emfv_popup_move_cb): Save the uri as the default for copy/move. (emfv_popup_move): Use the default copy/move uri. (emfv_popup_copy): Same. * em-folder-selection.c (em_select_folder): Select the uri *after* the dialog gets shown. svn path=/trunk/; revision=25306
* Cleaned up header inclusions and added plenty of forward declarations.Not Zed2004-03-311-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-31 Not Zed <NotZed@Ximian.com> * *.[ch]: Cleaned up header inclusions and added plenty of forward declarations. Sped up complete re-compilation by upto 20%. ** See bug #55950. * em-utils.c (em_utils_in_addressbook): utility for checking if an email address is in the addressbook. I can't tell if it works 'cause it crashes eds. * em-format-html.c (emfh_gethttp): handle addressbook checking. 2004-03-30 Not Zed <NotZed@Ximian.com> * mail-config.h: clean up the headers and use some forward decl's instead. * em-format-html.c (em_format_html_set_load_http): change state to an int 'style' instead. * em-folder-view.c (emfv_setting_notify): set the format load http option to the config value directly. ** See bug #56147. * message-list.c (clear_info): set the node data to NULL when we unref its data. (ml_get_save_id): use a different test for the root node, and return NULL if we don't have any data on the node (because we're cleaing it). ** See bug #54962. * em-folder-tree.c (emft_popup_new_folder_response): put back the old hack to open the vfolder editor if you try to create a folder under vfolders. ** See bug #55940. * mail-autofilter.c (mail_filter_rename_uri): map the uri to an email uri before passing to filter code. (mail_filter_delete_uri): same here. svn path=/trunk/; revision=25261
* remove junk learning thread, it's handled in camel-folder.c:folder_changedRadek Doulik2004-03-131-27/+9
| | | | | | | | | | | | | 2004-03-11 Radek Doulik <rodo@ximian.com> * mail-ops.c: remove junk learning thread, it's handled in camel-folder.c:folder_changed now * em-folder-view.c (emfv_popup_mark_junk): use em_folder_view_mark_selected, set junk, junk-learn and seen flags (emfv_popup_mark_nojunk): similar, reset junk, set junk-learn flags svn path=/trunk/; revision=25046
* new method, filter folder with FILTER_SOURCE_JUNKTEST type filterRadek Doulik2004-03-091-3/+18
| | | | | | | | | | | | | | 2004-03-08 Radek Doulik <rodo@ximian.com> * mail-ops.c (mail_filter_junk): new method, filter folder with FILTER_SOURCE_JUNKTEST type filter * em-folder-view.c: added Filter Junk command and junk icons to menus, added apply filters icon to popup menu (emfv_popup_filter_junk): new helper method, calls mail_filter_junk svn path=/trunk/; revision=24991
* If event == NULL, don't try to use event->key.timeJeffrey Stedfast2004-03-051-2/+2
| | | | | | | | | | | | | | 2004-03-04 Jeffrey Stedfast <fejj@ximian.com> * em-folder-view.c (emfv_popup): If event == NULL, don't try to use event->key.time * em-migrate.c (upgrade_vfolder_sources_1_4): New function to upgrade vfolder sources. (em_upgrade_xml_1_4): If the doc is vfolders.xml, upgrade the sources nodes. svn path=/trunk/; revision=24971
* If gconf_entry_get_value() returns NULL, then it means the key was unsetJeffrey Stedfast2004-02-281-11/+14
| | | | | | | | | | | | | | | | | | | | 2004-02-27 Jeffrey Stedfast <fejj@ximian.com> * em-folder-view.c (emfv_setting_notify): If gconf_entry_get_value() returns NULL, then it means the key was unset or something. Don't use g_return_if_fail() for that. First of the lockdown fixes... * em-composer-prefs.c (em_composer_prefs_construct): Same as below. * em-mailer-prefs.c (em_mailer_prefs_construct): Respect locked-down keys by disabling their sensitivity to the user. (settings_changed): Don't re-enable check_incoming_imap if the key is locked. svn path=/trunk/; revision=24911
* Fix for bug #54352Jeffrey Stedfast2004-02-271-9/+13
| | | | | | | | | | | | | | | | | 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
* Removed Delete/KP_Delete from here. Now handled via the bonobo-ui menuJeffrey Stedfast2004-02-261-4/+0
| | | | | | | | | 2004-02-25 Jeffrey Stedfast <fejj@ximian.com> * em-folder-view.c (emfv_list_key_press): Removed Delete/KP_Delete from here. Now handled via the bonobo-ui menu accels. Fixes bug #53504. svn path=/trunk/; revision=24870
* do not set DELETED52004-02-261-2/+2
| | | | | | | | 2004-02-25 <rodo@ximian.com> * em-folder-view.c (emfv_popup_mark_junk): do not set DELETED svn path=/trunk/; revision=24865
* Set the SEEN flag as well. (emfv_list_key_press): Removed theJeffrey Stedfast2004-02-251-13/+9
| | | | | | | | | | | | | | 2004-02-24 Jeffrey Stedfast <fejj@ximian.com> * em-folder-view.c (emfv_popup_mark_junk): Set the SEEN flag as well. (emfv_list_key_press): Removed the skip-to-next-message logic as this was already being handled in emfv_popup_delete(). Fixes bug #54471. (emfv_enable_menus): Re-enable MessageDelete here. Fixes bug #54770. svn path=/trunk/; revision=24849
* Delete key should always delete, never undelete (bug #53215). Also fixes aJeffrey Stedfast2004-02-211-7/+2
| | | | | | | | | | 2004-02-20 Jeffrey Stedfast <fejj@ximian.com> * em-folder-view.c (emfv_list_key_press): Delete key should always delete, never undelete (bug #53215). Also fixes a bug where uids->len was being accessed after uids had been free'd. svn path=/trunk/; revision=24822
* Fix for bug #53997Jeffrey Stedfast2004-02-211-1/+9
| | | | | | | | | | | | | 2004-02-20 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #53997 * em-folder-view.c (emfv_list_message_selected): Ref the emfv before spawning the async event. (emfv_list_done_message_selected): Check emfv->preview != NULL. Also unref the emfv when done. svn path=/trunk/; revision=24820
* Set the hide_deleted bool on EMFolderView.Jeffrey Stedfast2004-02-181-3/+3
| | | | | | | | | | | | | | 2004-02-17 Jeffrey Stedfast <fejj@ximian.com> * em-folder-browser.c (emfb_hide_deleted): Set the hide_deleted bool on EMFolderView. * em-folder-view.c (emfv_popup_delete): Fix Sarfraaz Ahmed's fix to only jump to the previous message if hide_deleted is set. Otherwise his fix gets extremely irritating. (emfv_list_key_press): Same. svn path=/trunk/; revision=24762
* ** See bug #54200.Not Zed2004-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | | 2004-02-17 Not Zed <NotZed@Ximian.com> ** See bug #54200. * em-popup.c (em_popup_target_new_select): add EM_POPUP_SELECT_FOLDER - to find out if we have a folder at all. Handle getting a NULL folder passed in. * em-folder-view.c (em_folder_view_get_popup_target): Added EM_FOLDER_VIEW_SELECT_FOLDER - to detect when we dont have a folder set on the emfolderview. * em-folder-browser.c (emfb_mark_all_read): if we don't have a folder, dont try and run. (emfb_enable_map[]): Disable a bunch of stuff we have no folder set. svn path=/trunk/; revision=24755
* added the code to get the previous mail in a list, if get_next_mail fails.Sarfraaz Ahmed2004-02-131-3/+7
| | | | | | | | | | | 2004-02-11 Sarfraaz Ahmed <asarfraaz@novell.com> * em-folder-view.c (emfv_popup_delete): added the code to get the previous mail in a list, if get_next_mail fails. This is a fix for #54195 (emfv_list_key_press): Same as above svn path=/trunk/; revision=24733
* move to the next message after mark not junk as wellRadek Doulik2004-02-071-0/+2
| | | | | | | | | | | | | | | | | | | | | 2004-02-06 Radek Doulik <rodo@ximian.com> * em-folder-view.c (emfv_popup_mark_nojunk): move to the next message after mark not junk as well * em-junk-filter.c (em_junk_sa_test_spamd): split into spamassassin and spamd tests (em_junk_sa_is_available): test spamd only if spamd usage enabled (pipe_to_sa_with_error): extended pipe_to_sa, last added parametr specifies return value if an error occured (em_junk_sa_check_junk): don't use /bin/sh -c when running spamassassin, it's not needed and we need to avoid getting 126,127 exit codes from the shell (em_junk_sa_check_junk): pass 0 rv_err to pipe_to_sa_with_error to avoid false positives in case someone removes/uninstalls SA while evolution runs svn path=/trunk/; revision=24651
* ** See bug #53258.Not Zed2004-02-061-6/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-06 Not Zed <NotZed@Ximian.com> ** See bug #53258. * em-format-html-display.c (efhd_find_handler): force any bonobo handler types to always be inline, even attachments. * em-format.c (em_format_is_inline): use handler flags for special cases, removing all hard-coded types. * em-format.h (EMFormatHandler): add a flags field, so far a flag to set default inline viewing of the content. 2004-02-06 Not Zed <NotZed@Ximian.com> * em-folder-properties.c: include string.h to kill warning. ** See bug #53627. * em-folder-view.c (emfv_popup_mark_junk): changed to work like delete does, jumping to the next message if required, and marking things immediately, then queuing up the junk marking job if required. * mail-ops.c (mail_mark_junk): ugh, this stuff totally can't go accessing messagelist from another thread!!!! Changed so this code only does the junk reporting, not setting flags. UGH! It should be doing this implictly on the folder when you set the flags, or at least when you sync the folder!!! Changed ot use the queued thread. * message-list.c (find_next_undeleted): changed to find next-unhidden, i.e. junk as well as deleted, if we're in hide-deleted mode. (build_tree): always call find_next_undeleted if we have a cursor. (build_flat): same. svn path=/trunk/; revision=24644
* Pass TRUE as wraparound (to both be consistant with prev_flagged and toJeffrey Stedfast2004-02-061-2/+2
| | | | | | | | | | 2004-02-05 Jeffrey Stedfast <fejj@ximian.com> * em-folder-view.c (emfv_mail_next_flagged): Pass TRUE as wraparound (to both be consistant with prev_flagged and to fix bug #48681. svn path=/trunk/; revision=24633
* Make displayed_uid public.Not Zed2004-01-201-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-20 Not Zed <NotZed@Ximian.com> * em-folder-view.c (EMFolderView): Make displayed_uid public. * em-folder-browser.c (em_folder_browser_show_preview): use em_folder_view_set_message rather than message_list_select_uid. When clearing, clear view->displayed_uid too. 2004-01-20 Not Zed <NotZed@Ximian.com> ** See bug #52965. * mail-component.c (mail_component_init): removed an epfixme, it already is an object. (impl_upgradeFromVersion): call mail_note_store after running the upgrade for local folders. * em-migrate.c (em_migrate): revert the vfolders.xml after we've imported them. * mail-vfolder.c (vfolder_revert): new api to re-load the vfolders file. svn path=/trunk/; revision=24322
* properly decode the mailto url rather than treating it as a simple string.Not Zed2004-01-191-3/+13
| | | | | | | | | | | | | 2004-01-19 Not Zed <NotZed@Ximian.com> * em-folder-view.c (emfv_on_url_cb): properly decode the mailto url rather than treating it as a simple string. * em-format-html.c (efh_format_address): if we have a name part, add it to the mailto part. As per rfc2368. So it isn't lost for clicking/etc. svn path=/trunk/; revision=24298
* ** See bug #52878.Not Zed2004-01-151-3/+15
| | | | | | | | | | | | 2004-01-15 Not Zed <NotZed@Ximian.com> ** See bug #52878. * em-folder-view.c (emfv_finalise): unhook message_changed too. (emfv_set_folder): hook/unhook message_changed too. (emfv_message_changed): implement, proxy to folder_changed. svn path=/trunk/; revision=24235
* ** See bugs #51609 and #43515.Not Zed2004-01-151-1/+1
| | | | | | | | | | | | | | | | | | 2004-01-15 Not Zed <NotZed@Ximian.com> ** See bugs #51609 and #43515. * em-format-html-display.c (efhd_format_prefix): output flag for followup details above the message. (efhd_write_image): added to output icon data. * em-format-html.c (efh_format_do): call format_prefix before outputting the message in normal display mode. * em-format.c (emf_format_prefix): method called to format data before the first message output. Default impl == noop. svn path=/trunk/; revision=24230
* ** See bug 51660.Not Zed2004-01-141-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-14 Not Zed <NotZed@Ximian.com> ** See bug 51660. * em-format-html-quote.c (efhq_multipart_related): setup part_id appropriately. * em-format-html-display.c (efhd_output_secure): use part_id in classid, and add .signed to part_id for subpart. (efhd_bonobo_unknown): use part_id in classid. (efhd_format_attachment): use part_id in classid's. * em-format-html.c (efh_multipart_related) (emfh_multipart_related_check): setup part_id for each subpart. (efh_output_secure): as above, and use the part_id for the classid. (em_format_html_add_pobject): use part_id for a generated classid. (efh_text_plain): setup pseudo-parts into part_id. * em-format.c (emf_format_clone): setup the part_id base, folder + uid. (emf_finalise): free the part_id gstring. (emf_init): allocate the part_id gstring. (em_format_add_puri): build the cid from the part_id rather than an arbitrary number, so it is more persistent. Also save the part_id in the puri for multipart/related use. (emf_multipart_mixed, emf_multipart_alternative) (emf_multipart_appledouble, emf_multipart_encrypted) (emf_multipart_related, emf_multipart_signed): Set the part_id for each subpart. (emf_clear_puri_node): free part_id. 2004-01-13 Not Zed <NotZed@Ximian.com> ** See bug 51660. * em-format-html-print.c (em_format_html_print_print): dont take message, get the message from the source formatter. * em-format.c (emf_format_clone): Added folder and uid parameters, changed camelmedium to a mimemessage. * em-format-html-display.c (efhd_attachment_button): check the icon image cache and if the image is there use it. * em-icon-stream.c (em_icon_stream_get_image): api to lookup finished images in cache. (em_icon_stream_new): add a cache key arg. (emis_sync_close): store the image in the cache once its completed. svn path=/trunk/; revision=24210
* Emit a hover-url signal when the user mouses over a URL, ...ERDI Gergo2004-01-071-0/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-04 ERDI Gergo <cactus@cactus.rulez.org> * em-folder-view.c (emfv_on_url_cb): Emit a hover-url signal when the user mouses over a URL, ... (emfv_hover_url_impl): ... and use BonoboUI to change the status bar message... (em_folder_view_set_statusbar): ... unless we are asked not to, ... * mail-component.c (impl_createControls): ... like in the case of the mail component, ... (view_hover_url_cb): ... that uses the ActivityHandler to do the same Add these together, and #127536 is neatly solved. 2004-01-05 ERDI Gergo <cactus@cactus.rulez.org> * e-task-bar.c (init): Create a separate label to the left of the progress messages... (e_task_bar_message): ...and allow components to set it... * e-activity-handler.c (e_activity_handler_message): ...through this new ActivityHandler method svn path=/trunk/; revision=24086
* Pass mail_thread_queued to mail_get_folder() instead of mail_thread_new soJeffrey Stedfast2004-01-061-2/+2
| | | | | | | | | | 2004-01-05 Jeffrey Stedfast <fejj@ximian.com> * em-folder-view.c (emfv_set_folder_uri): Pass mail_thread_queued to mail_get_folder() instead of mail_thread_new so that we eliminate a race when switching folders in the UI. svn path=/trunk/; revision=24045
* display x-evolution-mailer pseudo header irrespective of xmailer_mask.Grahame Bowland2003-12-111-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-11 Grahame Bowland <grahame@angrygoats.net> * em-format-html.c (efh_format_header): display x-evolution-mailer pseudo header irrespective of xmailer_mask. This is now handled by a header configuration dialog. * mail-config.glade: add tab to mail configuration dialog to allow custom headers to be specified for display. * em-mailer-prefs.h: modify struct _EMMailerPrefs to add widgets for custom header tab. Add defines for custom header flags. Add struct EMMailerCustomHeader to describe custom headers, and add function em_mailer_custom_headers_from_xml to allow XML from gconf key to be parsed into this structure. * em-folder-view.c (emfv_setting_notify): catch changes to custom header gconf key and update mail view to correspond * em-mailer-prefs.c (em_mailer_prefs_apply): save custom headers to gconf (header_list_enabled_toggled): toggle clicked toggle column (add_header): add header to custom header list if valid (remove_header): remove selected custom header (is_valid_header): return true if passed header is valid, otherwise false (entry_header_changed): call add_header_update_sensitivity (em_mailer_prefs_construct): initialise header selection tab. Load gconf data for header selection dialog. (em_mailer_custom_header_to_xml): load a header structure from XML document structure (em_mailer_custom_header_from_xml): load a header structure from a string containing valid XML. if any failure, the header.name is set to NULL. (header_list_row_selected): call remove_header_update_sensitivity (remove_header_update_sensitivity): set the sensitivity of the remove button to FALSE if the list is empty or nothing is selected. Otherwise, set it to TRUE. (add_header_update_sensitivity): set the sensitivity of the the add button to FALSE if the entry box is empty, contains a duplicate header, or contains an invalid header. Otherwise, set it to TRUE. * evolution-mail.schemas.in.in: add mail/display/headers svn path=/trunk/; revision=23924
* set junk toolbar buttons pixmapsRadek Doulik2003-12-051-2/+4
| | | | | | | | 2003-12-04 Radek Doulik <rodo@ximian.com> * em-folder-view.c: set junk toolbar buttons pixmaps svn path=/trunk/; revision=23633
* tedfast <fejj@ximian.com>Jeffrey Stedfast2003-12-041-0/+1
| | | | | | | | | tedfast <fejj@ximian.com> * em-folder-view.c (emfv_set_folder): Sync the folder before replacing it with the new folder. svn path=/trunk/; revision=23619
* changed to setup the rule part properly, it could never have worked. BugNot Zed2003-12-031-11/+12
| | | | | | | | | | | | | | | | | | | 2003-12-03 Not Zed <NotZed@Ximian.com> * mail-autofilter.c (rule_match_thread): changed to setup the rule part properly, it could never have worked. Bug #51601. * em-popup.c (emp_uri_popup_address_add): implement. * em-folder-view.c (emfv_popup_add_sender): implement. (emfv_add_sender_addressbook): hook up to above func. * em-utils.c (em_utils_add_address): implementation to add an email address to the addressbook. (emu_add_address_cb): callback required for funny api. Bug #51321. svn path=/trunk/; revision=23592
* set session on print formatter for signatures to work.Not Zed2003-11-251-0/+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
* Updated. (emfv_popup_copy): Updated.Jeffrey Stedfast2003-11-151-6/+6
| | | | | | | | | | | | | | | | | | 2003-11-14 Jeffrey Stedfast <fejj@ximian.com> * em-folder-view.c (emfv_popup_move): Updated. (emfv_popup_copy): Updated. * em-folder-tree.c (emft_popup_copy): Updated. (emft_popup_move): Updated. * em-folder-selection.c (create_dialog): New convenience function to construct the dialog contents for all three public functions. (em_folder_selection_run_dialog): Now longer takes a caption arg. (em_folder_selection_run_dialog_uri): Same. (em_select_folder): Here too. svn path=/trunk/; revision=23353
* merged spam filtering branchRadek Doulik2003-11-131-0/+20
| | | | svn path=/trunk/; revision=23302
* fixed the buildJeffrey Stedfast2003-11-041-2/+2
| | | | svn path=/trunk/; revision=23169
* setup filter-on-thread and vfolder-on-thread.Jeffrey Stedfast2003-11-011-2/+16
| | | | | | | | | | | 2003-11-01 Jeffrey Stedfast <fejj@ximian.com> * em-folder-view.c: setup filter-on-thread and vfolder-on-thread. * mail-autofilter.c (rule_from_message): handle AUTO_THREAD (rule_match_thread): new function to setup a filter on a msgid svn path=/trunk/; revision=23158
* Fixes bug #49816Jeffrey Stedfast2003-10-281-13/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-27 Jeffrey Stedfast <fejj@ximian.com> * Fixes bug #49816 * em-popup.c (emp_part_popup_reply_sender): No need to pass a parent window arg anymore. (emp_part_popup_reply_list): Same. (emp_part_popup_reply_all): Here too. (emp_part_popup_forward): Same. (emp_uri_popup_address_send): Here too. * em-folder-browser.c (emfb_mail_compose): No need to pass a parent window arg anymore. (emfb_mail_post): Same. * em-folder-view.c (emfv_message_reply): Don't pass a parent window argument anymore. (emfv_popup_forward): Same. (emfv_popup_resend): Same here. (em_folder_view_open_selected): Same. (emfv_message_forward_attached): Here too. (emfv_message_forward_inline): And here. (emfv_message_forward_quoted): Same. (emfv_message_redirect): Here too. (emfv_message_post_reply): And here. (emfv_format_link_clicked): ANd finally here. * em-utils.c (create_new_composer): Don't set_transient_for() anymore. (em_utils_compose_new_message): No longer takes a parent window argument. (em_utils_forward_attached): No longer takes a parent window arg. (em_utils_forward_inline): Same. (em_utils_forward_quoted): Same. (em_utils_forward_message): Same. (em_utils_forward_messages): Here too. (redirect_get_composer): Don't set_transient_for() here either. (em_utils_redirect_message): No longer takes a parent window arg. (em_utils_redirect_message_by_uid): Same. (reply_get_composer): Don't set_transient_for() here. (em_utils_reply_to_message): No longer takes a parent window arg. (em_utils_reply_to_message_by_uid): Same. (post_reply_to_message): Don't set_transient_for() here. (em_utils_post_reply_to_message_by_uid): No longer takes a parent window arg. (em_utils_compose_new_message_with_mailto): Don't set_transient_for() here. (em_utils_post_to_url): Same. (em_utils_edit_message): No longer takes a parent window arg. (em_utils_edit_messages): Same. svn path=/trunk/; revision=23092
* Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-221-2/+38
| | | | svn path=/trunk/; revision=22964
* Add a hide_mask to the create-rule-from-message bars so that we don'tJeffrey Stedfast2003-10-091-3/+3
| | | | | | | | | | 2003-10-08 Jeffrey Stedfast <fejj@ximian.com> * em-folder-view.c: Add a hide_mask to the create-rule-from-message bars so that we don't segfault when we right click with a multi-selection. svn path=/trunk/; revision=22822
* zero out last_part if we're clearing. Uh, this fixes, but shouldn't, partNot Zed2003-10-021-43/+15
| | | | | | | | | | | | | | | | | | 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
* remove gconf stuff. (em_format_html_set_xmailer_mask): new method to setNot Zed2003-09-301-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-09-30 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_init): remove gconf stuff. (em_format_html_set_xmailer_mask): new method to set the xmailer mask. * em-folder-view.c (emfv_display_keys[]): Added charset key to monitor/retrieve, and xmailer_mask. (emfv_setting_notify): Monitor charset setting, pass onto the formatter, as well as xmailer_mask. * mail-preferences.c (mail_preferences_construct): use the new charset key. (mail_preferences_apply): use the new charset key. * evolution-mail.schemas: Moved the mail/format/charset to mail/display/charset. 1. it makes more sense, and 2. it makes notification update easier in em-folder-view.c * em-format.c (emf_init): remove the gconf charset stuff, for bug #48791, and also actually fixes the fixme that jeff thought he fixed. (em_format_format_text): use default charset as fallback. (em_format_set_default_charset): New method to set the default charset. (gconf_charset_changed): removed. svn path=/trunk/; revision=22768
* removed, moved to em-folder-view, for now, it has access to an invisible.Not Zed2003-09-231-2/+61
| | | | | | | | | | | | | | 2003-09-22 Not Zed <NotZed@Ximian.com> * em-popup.c (emp_uri_popup_link_copy): removed, moved to em-folder-view, for now, it has access to an invisible. * em-folder-view.c (emfv_setting_notify): honour the load_http setting, at least the all setting. (emfv_format_popup_event): setup the popup menu item for copy link location here. svn path=/trunk/; revision=22652
* Fix for bug #48618.Jeffrey Stedfast2003-09-201-7/+44
| | | | | | | | | | | | | | 2003-09-19 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #48618. * em-folder-view.c (emfv_list_message_selected): See if we have already loaded the message uid that has just been selected, if so - don't bother re-loading it. (emfv_list_done_message_selected): Update loaded_uid and loading_uid. svn path=/trunk/; revision=22628
* updated for camel namespace changesJeffrey Stedfast2003-09-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-09-18 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c: updated for camel namespace changes * em-folder-view.c: updated for camel namespace changes * em-format-html-display.c: updated for camel namespace changes * em-format-html-quote.c: updated for camel namespace changes * em-format.c: updated for camel namespace changes * em-popup.c: updated for camel namespace changes * em-utils.c: updated for camel namespace changes * mail-autofilter.c: updated for camel namespace changes * mail-ops.c: updated for camel namespace changes * mail-session.c: updated for camel namespace changes * message-list.c: updated for camel namespace changes * message-tag-followup.c: updated for camel namespace changes * importers/evolution-mbox-importer.c: updated for camel namespace changes 2003-09-18 Jeffrey Stedfast <fejj@ximian.com> * em-popup.c (emp_standard_menu_factory): Don't forget to initialise/increment 'i' when using it as an object id in the for-loop. * em-format.c (em_format_format_text): Initialise charset to NULL or it may be used uninitialised. Also include gnome-vfs-mime-handlers.h for gnome_vfs_mime_type_get_description(). svn path=/trunk/; revision=22610
* cvs removed.Not Zed2003-09-181-0/+1866
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