aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-browser.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixed mark junk, keybinding to focus search widget.Srinivasa Ragavan2005-10-181-0/+10
| | | | | | | | 2005-10-18 Srinivasa Ragavan <sragavan@novell.com> * Fixed mark junk, keybinding to focus search widget. svn path=/trunk/; revision=30520
* return the target in any case. It will be an empty target and not NULL.Parthasarathi Susarla2005-08-111-1/+2
| | | | | | | | | | | 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
* ** See #312715.Not Zed2005-08-101-2/+2
| | | | | | | | | | | | | | | | | | | 2005-08-09 Not Zed <NotZed@Ximian.com> ** See #312715. * em-folder-tree.c (emft_drop_folder_rec): removed. (emft_drop_folder): call em_folder_utils_copy_folders to perform the operation rather than: doing it sync when it shouldn't be, and 2; copying code redundantly. * em-folder-utils.c (em_folder_utils_move_folder): remove this redundant api. (em_folder_utils_copy_folder): add delete flag. (em_folder_utils_copy_folders): export this function. fix strange argument order. svn path=/trunk/; revision=30066
* Change instances of "vfolder" that appear in the UI to use the termRodney Dawes2005-08-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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-1/+0
| | | | | | | | | | | | | | | 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
* reverted dobey's busted view->hide* menu stuff.Not Zed2005-07-211-12/+5
| | | | | | | | | | | | | | 2005-07-21 Not Zed <NotZed@Ximian.com> * em-folder-browser.c: reverted dobey's busted view->hide* menu stuff. * 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. svn path=/trunk/; revision=29826
* 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
* Update these methods to use the listener method of access from bonobo asRodney Dawes2005-06-011-5/+12
| | | | | | | | | | | | | | | 2005-05-31 Rodney Dawes <dobey@novell.com> * em-folder-browser.c (emfb_view_hide_read, emfb_view_show_selected): (emfb_view_show_all): Update these methods to use the listener method of access from bonobo as they are radio buttons now (emfb_verbs): Comment out the verbs for the above methods, as they are configured through add_listener now (emfb_enable_map): s/ViewHideSelected/ViewShowSelected/ (emfb_activate): Add the listeners for the radio buttons for filtering the message list for unread, selected, or all messages svn path=/trunk/; revision=29432
* fix rodney's name choices. fix multiple-inclusion. fix forward references.Not Zed2005-05-191-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-05-19 Not Zed <NotZed@Ximian.com> * em-folder-utils.h: fix rodney's name choices. fix multiple-inclusion. fix forward references. fix all callers. add many fixme's for the busted api's. * em-format-quote.c (emfq_format_clone): use pseudo mime type to find message formatter. * em-format-html-display.c (efhd_format_message): remove, it didn't do anything. * em-format-html.c (efh_format_message): make this a handler callback. * em-format.c (emf_message_rfc822): make this use the pseudo mime-type x-evolution/message/rfc822 instead of the hardcoded format_message callback. * em-format-html-display.c (efhd_message_prefix): make this use a pseudo-mime-type handler rather than hard-coded, so it can be overridden by a plugin. svn path=/trunk/; revision=29382
* Add profiler so that it gets disted properlyRodney Dawes2005-05-141-27/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* remove a call to refresh folder from here call mail_refresh_folder hereParthasarathi Susarla2005-04-281-0/+3
| | | | | | | | | | | 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
* reverted Mengjie's patch for 72545.Not Zed2005-02-281-8/+2
| | | | | | | | 2005-02-28 Not Zed <NotZed@Ximian.com> * em-folder-browser.c: reverted Mengjie's patch for 72545. svn path=/trunk/; revision=28910
* make the 'select all' work in all conditions.Mengjie Yu2005-02-251-2/+8
| | | | | | | | | | | 2005-02-25 Mengjie Yu <meng-jie.yu@sun.com> * em-folder-browser.c: (emfb_edit_select_all):make the 'select all' work in all conditions. Fixes #72545 svn path=/trunk/; revision=28887
* Replace "_Virtual Folder" with "_vFolder" for the search menu to create aRodney Dawes2005-02-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 #70768.Not Zed2005-01-181-2/+2
| | | | | | | | | | | | | | | 2005-01-18 Not Zed <NotZed@Ximian.com> ** See bug #70768. * em-folder-browser.c (emfb_mark_all_read): get the uid list from the message-list (view) rather than folder (model). * message-list.c (message_list_foreach): removed, no longer used. (message_list_get_uids): new function replacing ml_foreach, get visible uids's of messages. svn path=/trunk/; revision=28425
* Moved various things from e-util to libedataserver.Not Zed2004-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | | 2004-11-15 Not Zed <NotZed@Ximian.com> * *.c: Moved various things from e-util to libedataserver. * GNOME_Evolution_Mail.server.in.in: remove the startup wizard stuff. * mail-config-druid.[ch]: * mail-account-editor.[ch]: * mail-account-gui.[ch]: removed & deleted. * mail-session.c (mail_session_init): and here too. * em-migrate.c (em_migrate_1_4): init camel-provider library too. (e_path_to_physical): copy from e-util/e-path.c. * Makefile.am (libevolution_mail_la_LIBADD): link to new libcamel provider too. svn path=/trunk/; revision=28047
* ** See bug #68958.Not Zed2004-12-011-5/+50
| | | | | | | | | | | | | | 2004-11-30 Not Zed <NotZed@Ximian.com> ** See bug #68958. * em-folder-browser.c (emfb_list_built): if the pending selected uid isn't in the folder (yet), don't clear it, just keep it around. Hook/unhook folder_changed events. (emfb_folder_changed, emfb_gui_folder_changed): if a select_uid is set, and the message is now available, then select it. svn path=/trunk/; revision=28022
* added hook docs, and cleaned up some of the hook point names.Not Zed2004-10-281-0/+7
| | | | | | | | | | | | | | | | | | | | 2004-10-28 Not Zed <NotZed@Ximian.com> * mail-folder-cache.c (real_flush_updates): * em-message-browser.c (em_message_browser_new): * em-mailer-prefs.c (em_mailer_prefs_construct): * em-format-html-display.c (efhd_attachment_popup): * em-folder-view.c (emfv_popup, emfv_list_done_message_selected) (emfv_format_popup_event): * em-folder-tree.c (emft_popup): * em-folder-properties.c (emfp_dialog_got_folder): * em-folder-browser.c (em_folder_browser_new): * em-composer-utils.c (em_utils_reply_to_message): * em-composer-prefs.c (em_composer_prefs_construct): * em-account-editor.c (em_account_editor_construct): added hook docs, and cleaned up some of the hook point names. svn path=/trunk/; revision=27749
* convert to org.gnome hook namesJP Rosevear2004-10-201-1/+1
| | | | | | | | | | | | | 2004-10-19 JP Rosevear <jpr@novell.com> * em-account-editor.c, em-composer-prefs.c, em-config.c, em-event.c, em-folder-browser.c, em-folder-properties.c, em-folder-tree.c, em-folder-view.c, em-format-hook.c, em-format-html-display.c, em-mailer-prefs.c, em-menu.c, em-message-browser.c, em-popup.c, message-list.c: convert to org.gnome hook names svn path=/trunk/; revision=27635
* Merged notzed-eplugin-2-branch to head.Michael Zucci2004-09-201-0/+5
| | | | svn path=/trunk/; revision=27300
* only call expunge if the folder is set. (emfb_enable_map[]): only enableNot Zed2004-07-101-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-09 Not Zed <NotZed@Ximian.com> * em-folder-browser.c (emfb_folder_expunge): only call expunge if the folder is set. (emfb_enable_map[]): only enable expunge menu item if we have a valid folder set. ** See bug #60900. * em-format-html.c: convert the text_inline_parts hash to be keyed off the partid. (efh_free_inline_parts): -> efh_free_cache and fix to do it. * em-format.c (emf_free_cache): make the inline table cache other info too based on partid, this frees the structure. (emf_clone_inlines): copy all of the cache data. (em_format_is_inline): use the new data structure to determine state. (em_format_set_inline): same for setting. (emf_multipart_signed): cache/lookup the cached part. (emf_insert_cache): helper to add a cache entry. (emf_multipart_encrypted): cache decrypted part. (emf_application_xpkcs7mime): same. 2004-07-08 Not Zed <NotZed@Ximian.com> ** See bug #60900 (related only). * em-format-html-display.c (efhd_attachment_show): let set_inline do the redraw itself if required. kill some dead code. * em-format.c (em_format_set_inline): trigger a redraw here like the other em_format_set methods, if the state changed. * em-format.c (emf_format_clone): free inline table keys & setup string hash table. * em-format-quote.c (emfq_format_attachment): * em-format-html-display.c (efhd_format_attachment): * em-format-html.c (efh_format_attachment): is_inline api changes. * em-format-html-display.c (efhd_attachment_show): set_inline api changes. * em-format.c (em_format_is_inline): make this use the partid rather than the part address as a key, which may change. (emf_init): make the inline talbe a string hashtable. (emf_finalise): free inline keys. (emf_clone_inlines): copy the key string. svn path=/trunk/; revision=26614
* ** See #59885.Not Zed2004-06-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-17 Not Zed <NotZed@Ximian.com> ** See #59885. ** Moved all of the mail specific filtering stuff from filter/* to here. Renamed appropriately into em* space, etc. * em-filter-folder-element.c (emff_copy_value): implement for folders. * em-vfolder-rule.c (get_widget): read the vfolder glade from mail-config.glade. * mail-config.glade: moved the vfolder source selector here. * em-search-context.c: new mail search specific rule context. * mail-component.c (setup_search_context): use the new em_search_context. * vfolder-rule.c (validate): change error to mail context. * filter-folder.c (validate): change error to mail context. * Makefile.am (em-filter-i18n.h): added rule for i18n of mail filter type stuff. (libevolution_mail_la_SOURCES): added in the filter and vfolder rule stuff specific to mail. ** See #59885. * em-format-html-quote.[ch]: remove and remove from build, not used. * Makefile.am (libevolution_mail_la_LIBADD): add libeabutil and evolutionsmime. * mail-component-factory.c (factory): there is no mail_config anymore. svn path=/trunk/; revision=26380
* ** See #56479.Not Zed2004-06-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-16 Not Zed <NotZed@Ximian.com> ** See #56479. * em-utils.c (em_utils_in_addressbook): use the main thread to setup the addressbook list. (em_utils_in_addressbook): only check against the "completion" sources, not all of them. 2004-06-15 Not Zed <NotZed@Ximian.com> * em-folder-browser.c (emfb_mail_stop): call mail_cancel_all to implement the stop button. * em-utils.c (emu_addr_sources_refresh): don't unref the group list, otherwise the sources become broken now (?). (em_utils_in_addressbook): add some locking. add cancellation. this is almost certainly going to cause issues. * mail-mt.c (mail_cancel_hook_add, mail_cancel_hook_remove) (mail_cancel_all): new functions to implement a global mailer stop button. svn path=/trunk/; revision=26363
* don't nomarkseen when we restore the message when we show the preview.Not Zed2004-05-181-1/+1
| | | | | | | | | | 2004-05-18 Not Zed <NotZed@Ximian.com> * em-folder-browser.c (em_folder_browser_show_preview): don't nomarkseen when we restore the message when we show the preview. #58387. svn path=/trunk/; revision=25956
* cleanup the view menus if they were created.Not Zed2004-05-101-39/+1
| | | | | | | | | | | | | | | | | | | | | | 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-2/+2
| | | | | | | | | | | | | | | | | | | 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 bug #57720.Not Zed2004-05-051-148/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-05 Not Zed <NotZed@Ximian.com> ** See bug #57720. * em-folder-browser.c (emfb_create_view_menus): removed some stuff done in create_view_instance in the superclass. * em-folder-view.c (emfv_create_view_instance): moved here from em-folder-browser, setup the view instance for the folder. (emfv_set_folder): if the folder is set, create the view instance. * em-folder-browser.c: moved the galview instance and menu pointers to EMFolderView, since they're basically meta-data on the messagelist @ to fix issues. * em-folder-view.c (em_folder_view_open_selected): copy over the threaded list value when the message browser is brought up. ** some clean up * evolution-mail.schemas.in.in: removed xmailer_mask stuff. * em-migrate.c (mail_display_map[]): Removed xmailer_mask stuff. * em-folder-view.c (emfv_setting_notify): removed xmailer_mask stuff. * em-format-html.c (em_format_html_set_xmailer_mask): removed. This isn't used anymore. ** Fixes the double-draw on separate mail view. * message-list.c (on_cursor_activated_cmd): noop if the cursor and uid match for all cases (clearing uid). (on_selection_changed_cmd): noop if the cursor and new selection hasn't changed & fix a memleak. svn path=/trunk/; revision=25806
* Fix for bug #55303, but ideally there would be a nicer way of doing this -Jeffrey Stedfast2004-05-051-14/+82
| | | | | | | | | | | | | | | | | | | | | 2004-05-04 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #55303, but ideally there would be a nicer way of doing this - likely with some added ETree API but that's not likely to happen anytime soon. * em-folder-browser.c (scroll_idle_cb): Recall the saved scrollbar position state and set it, then reconnect to the message_list_scrolled signal. (emfb_list_built): Calculate a default scrollbar position for scroll_idle_cb to use if there's no saved state. (emfb_set_folder): Disconnect from the message_list_scrolled signal and the idle_scroll_id. (emfb_list_scrolled): Save the scrollbar position state. (emfb_destroy): Disconnect from list_scrolled_id and idle_scroll_id. svn path=/trunk/; revision=25794
* take fromuri and subject to set the basic headers/account.Not Zed2004-05-031-2/+4
| | | | | | | | | | | | | | | | 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-1/+5
| | | | | | | | | | | | | | 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
* dont desensitise HideDeleted just 'cause we have no folder, it needs toNot Zed2004-04-211-2/+10
| | | | | | | | | | | | 2004-04-21 Not Zed <NotZed@Ximian.com> * em-folder-browser.c (emfb_activate): dont desensitise HideDeleted just 'cause we have no folder, it needs to depend on Trash folder only. (emfb_set_folder): set the hidedeleted sensitivity based on whether we have a trash folder or not. Fixed #57226. svn path=/trunk/; revision=25551
* dded a needed #includeJeffrey Stedfast2004-04-201-0/+1
| | | | svn path=/trunk/; revision=25535
* Use E_ICON_SIZE_* enums for the menu icon sizes.Jeffrey Stedfast2004-04-201-5/+5
| | | | | | | | | 2004-04-19 Jeffrey Stedfast <fejj@ximian.com> * em-folder-browser.c: Use E_ICON_SIZE_* enums for the menu icon sizes. svn path=/trunk/; revision=25531
* mail-component.cMichael Terry2004-04-191-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | 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/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-8/+4
| | | | | | | | | | | | | | | | | | | | | 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
* Cleaned up header inclusions and added plenty of forward declarations.Not Zed2004-03-311-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Instead of comparing sstate[0] to '1', compare it against '0' like all theJeffrey Stedfast2004-03-301-1/+1
| | | | | | | | | | 2004-03-29 Jeffrey Stedfast <fejj@ximian.com> * em-folder-browser.c (emfb_activate): Instead of comparing sstate[0] to '1', compare it against '0' like all the other code does. svn path=/trunk/; revision=25227
* No-op if emfv->folder is NULL (this means we are looking at a storeJeffrey Stedfast2004-03-131-1/+1
| | | | | | | | | | 2004-03-12 Jeffrey Stedfast <fejj@ximian.com> * em-folder-browser.c (emfb_search_search_activated): No-op if emfv->folder is NULL (this means we are looking at a store folder? or else the folder hasn't loaded yet). Fixes bug #55293. svn path=/trunk/; revision=25052
* Reverted signal blocking stuff. Doesn't work and is unneeded with theJeffrey Stedfast2004-03-121-11/+2
| | | | | | | | | 2004-03-11 Jeffrey Stedfast <fejj@ximian.com> * em-folder-browser.c (emfb_set_folder): Reverted signal blocking stuff. Doesn't work and is unneeded with the proper fix. svn path=/trunk/; revision=25034
* a really gross hack, disable all search handlers before setting the searchNot Zed2004-03-111-19/+52
| | | | | | | | | | | | | | | 2004-03-11 Not Zed <NotZed@Ximian.com> * em-folder-browser.c (emfb_set_folder): a really gross hack, disable all search handlers before setting the search and set hte search manually rather than going through the callbacks. Partial fix for #55267, and ugly as it is. (emfb_init): save the search signal id's. (emfb_set_folder): ugh, properly set the defaults if the settings haven't been stored on the folder, and properly move them upstream to the bonobo menus. svn path=/trunk/; revision=25027
* Set the hide_deleted bool on EMFolderView.Jeffrey Stedfast2004-02-181-1/+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/+8
| | | | | | | | | | | | | | | | | | | | | 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
* Always set the search_state, even if it is NULL (NULL means default/unsetJeffrey Stedfast2004-02-061-4/+3
| | | | | | | | | 2004-02-05 Jeffrey Stedfast <fejj@ximian.com> * em-folder-browser.c (emfb_set_folder): Always set the search_state, even if it is NULL (NULL means default/unset state). svn path=/trunk/; revision=24634
* ** See bug #53832.Not Zed2004-02-041-1/+2
| | | | | | | | | | | | 2004-02-04 Not Zed <NotZed@Ximian.com> ** See bug #53832. * em-folder-browser.c (emfb_folder_properties): only show this if we have a uri set. Strictly, the menu item shouldn't be activated. svn path=/trunk/; revision=24605
* ** See bug #53131.Not Zed2004-02-041-2/+6
| | | | | | | | | | | | 2004-02-04 Not Zed <NotZed@Ximian.com> ** See bug #53131. * em-folder-browser.c (em_folder_browser_show_preview): copy the message list's cursor_uid before calling set_message, since it can get freed during setting the message. svn path=/trunk/; revision=24601
* ** See bug #52994.Not Zed2004-02-021-3/+4
| | | | | | | | | | | | | | | | | | | | | 2004-02-02 Not Zed <NotZed@Ximian.com> ** See bug #52994. * em-folder-properties.c (em_folder_properties_show): redirect vFolder uri's to the vFolder editor. ** See bug #53502. * em-folder-browser.c (emfb_folder_properties): implement. * em-folder-tree.c (emft_popup_properties): fixed for change below. * em-folder-properties.[ch]: Moved the folder properties window from em-folder-tree.c to its own file. svn path=/trunk/; revision=24564
* Fix for bug #53195.Jeffrey Stedfast2004-01-311-7/+18
| | | | | | | | | | | 2004-01-30 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #53195. * em-folder-browser.c (emfb_set_folder): Restore search_state. (emfb_search_search_activated): Save search_state. svn path=/trunk/; revision=24543
* Make displayed_uid public.Not Zed2004-01-201-1/+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
* ** See bug #52885.Not Zed2004-01-201-6/+18
| | | | | | | | | | | | | | 2004-01-20 Not Zed <NotZed@Ximian.com> ** See bug #52885. * em-folder-browser.c (emfb_create_view_menus): unref the view instance/menu's rather than asserting, if they exist. (emfb_set_folder): call create_view_menu's rather than create_view_instance, so the view menu's are properly setup. (emfb_set_folder): call superclass first. svn path=/trunk/; revision=24320
* get the toplevel widget here too, similar to bug 52161.Not Zed2004-01-191-1/+1
| | | | | | | | | | | | | | | | | | 2004-01-19 Not Zed <NotZed@Ximian.com> * em-folder-browser.c (emfb_folder_expunge): get the toplevel widget here too, similar to bug 52161. ** See bug #52956 * em-composer-prefs.c (sig_edit_cb): The fileentry_add_script_script widget is a GnomeFileEntry not a GtkEntry. (sig_add_script_response): use get_full_path rather than snooping the gtkentry. Also, don't close/quit the script dialogue on a bad name. svn path=/trunk/; revision=24301
* Don't select the first unread mesg in the case where no mesg wasJeffrey Stedfast2004-01-161-1/+2
| | | | | | | | | | | | | | | | 2004-01-15 Jeffrey Stedfast <fejj@ximian.com> * em-folder-browser.c (emfb_list_built): Don't select the first unread mesg in the case where no mesg was previously selected. Fixes bug #52887 until we are able to add a user preference (for 2.2?). * em-migrate.c (cp): Only abort the copy if the dest folder both exists and contains data. Fixes bug #52880. (em_migrate): Abort if config.xmldb cannot be loaded. Fixes bug #52886. svn path=/trunk/; revision=24252
* removed ForgetPasswords verb. (emfb_forget_passwords): removed.Rodrigo Moya2004-01-161-8/+0
| | | | | | | | | 2004-01-15 Rodrigo Moya <rodrigo@ximian.com> * em-folder-browser.c: removed ForgetPasswords verb. (emfb_forget_passwords): removed. svn path=/trunk/; revision=24245
* Pass the parent window, fixing a crasher. Bug #52161.Ross Burton2004-01-141-2/+2
| | | | | | | | | 2004-01-13 Ross Burton <ross@burtonini.com> * em-folder-browser.c (emfb_empty_trash): Pass the parent window, fixing a crasher. Bug #52161. svn path=/trunk/; revision=24209
* support for posting both to mail and to (multiple) foldersMeilof Veeningen2004-01-131-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-12 Meilof Veeningen <meilof@wanadoo.nl> * em-composer-utils.c: support for posting both to mail and to (multiple) folders * em-folder-browser.c: use em_utils_post_to_folder (works with NNTP) * em-folder-selection-button.[ch]: added multiple selection mode * em-folder-selector.[ch]: idem * em-folder-tree.[ch]: added multiple selection mode, no longer show disabled accounts * em-utils.c: various changes to allow posting to (multiple) folders * em-subscribe-editor.c: double-clicking a node in the editor updates it directly * mail-ops.c: for appending messages, set the "X-Mailer" header svn path=/trunk/; revision=24182
* ** See bug #50786Not Zed2004-01-081-0/+3
| | | | | | | | | | | | | | | 2004-01-08 Not Zed <NotZed@Ximian.com> ** See bug #50786 * GNOME_Evolution_Mail.server.in.in: Remove :: from startup wizard iid, and put the mail wizard into the right factory. * mail-component.c (impl_requestCreateItem, impl_handleURI): * em-folder-browser.c (emfb_mail_compose): check we have an account before trying to send mail. svn path=/trunk/; revision=24104
* as belowRadek Doulik2004-01-071-1/+1
| | | | | | | | | | | 2004-01-07 Radek Doulik <rodo@ximian.com> * em-message-browser.c (emmb_init): as below * em-folder-browser.c (emfb_init): always show vertical scrollbar, we do the same for message list and it avoids ugly flicker svn path=/trunk/; revision=24088
* Check that the folder isn't NULL (ie. no folder is selected). Fixes bugJeffrey Stedfast2004-01-061-0/+3
| | | | | | | | | | | | 2004-01-05 Jeffrey Stedfast <fejj@ximian.com> * em-folder-browser.c (emfb_list_message_selected): Check that the folder isn't NULL (ie. no folder is selected). Fixes bug #52207. * message-list.c (message_list_set_folder): Remove the cursor-activated idle callback. svn path=/trunk/; revision=24054
* Fixes bug #1717.Jeffrey Stedfast2003-12-121-23/+51
| | | | | | | | | | | | | | | | | | | | 2003-12-11 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #1717. * em-folder-browser.c (emfb_list_built): If we have a uid to select, select that instead of selecting the first unread. (emfb_set_folder): CamelObject::meta_get() actually returns a strdup'd buffer, so we need to free it. Get the last selected uid and set that up as the uid to select when the message-list finishes building. (emfb_list_message_selected): Save the selected uid. (emfb_init): Connect to the message-list's message_selected signal so that we can save selected state (don't want to do this in EMFolderView or MessageList because we don't want the state to be saved for the EMMessageBrowser). svn path=/trunk/; revision=23928
* separeate view_menu unreffing from view_instance. fixes a runtime warning.Not Zed2003-12-101-0/+3
| | | | | | | | | | | | | | 2003-12-10 Not Zed <NotZed@Ximian.com> * em-folder-browser.c (emfb_activate): separeate view_menu unreffing from view_instance. fixes a runtime warning. ** See bug #51718. * mail-component.c (em_uri_to_camel): handle an e-uri which has an account uid which isn't in user@host format. svn path=/trunk/; revision=23897
* Updated to add use mail subdirs. (mail_config_uri_renamed): UpdatedJeffrey Stedfast2003-12-041-77/+117
| | | | | | | | | | | | | | | | 2003-12-03 Jeffrey Stedfast <fejj@ximian.com> * mail-config.c (uri_to_evname): Updated to add use mail subdirs. (mail_config_uri_renamed): Updated cachenames[] (mail_config_folder_to_cachename): Fixed to use the correct path. * em-folder-browser.c (emfb_create_view_menus): Updated the galview path to point to the evo-1.5 location. (emfb_set_folder): Update the galview view_instance. (emfb_create_view_instance): Split out from emfb_create_view_menus() (emfb_create_view_menus): Reduced code, call emfb_create_view_instance() svn path=/trunk/; revision=23624
* override the em-folder-view impl, and handle the search bar properly. ForNot Zed2003-12-011-0/+43
| | | | | | | | | | | | | 2003-12-01 Not Zed <NotZed@Ximian.com> * em-folder-browser.c (emfb_edit_cut, emfb_edit_copy) (emfb_edit_paste): override the em-folder-view impl, and handle the search bar properly. For #48746. * mail-security.glade: added some padding to the security details frames. svn path=/trunk/; revision=23514
* Fixes bug #49816Jeffrey Stedfast2003-10-281-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+1
| | | | svn path=/trunk/; revision=22964
* Disable the selection of the first unread message for now. This isJeffrey Stedfast2003-10-031-1/+3
| | | | | | | | | | 2003-10-03 Jeffrey Stedfast <fejj@ximian.com> * em-folder-browser.c (emfb_set_folder): Disable the selection of the first unread message for now. This is actually annoying the fuck out of me, Radek, and a few other people. svn path=/trunk/; revision=22794
* removed subscribe-dialog.etspec and added another FIXME to em-folder-browser.cJeffrey Stedfast2003-09-301-0/+1
| | | | svn path=/trunk/; revision=22756
* added a FIXME commentJeffrey Stedfast2003-09-301-1/+2
| | | | svn path=/trunk/; revision=22749
* cvs removed.Not Zed2003-09-181-0/+933
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