aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-component.c
Commit message (Collapse)AuthorAgeFilesLines
* Alternate fix for bug #467599 (also bug #467883).Matthew Barnes2007-08-201-20/+17
| | | | | | | | | | 2007-08-20 Matthew Barnes <mbarnes@redhat.com> * mail/mail-component.c (enable_folder_tree): Alternate fix for bug #467599 (also bug #467883). svn path=/trunk/; revision=34047
* Fix for bug #467599.Johnny Jacob2007-08-201-12/+16
| | | | svn path=/trunk/; revision=34039
* ** Fix for bug #467198Srinivasa Ragavan2007-08-161-0/+3
| | | | svn path=/trunk/; revision=34016
* Fix from Lucky to expand newly created folderSrinivasa Ragavan2007-08-021-5/+5
| | | | svn path=/trunk/; revision=33926
* ** Fix for bug #307410Srinivasa Ragavan2007-07-091-0/+1
| | | | svn path=/trunk/; revision=33776
* ** Fix for bug #271864 from Hiroyuki IkezoeSrinivasa Ragavan2007-07-091-39/+26
| | | | svn path=/trunk/; revision=33775
* Fix compilation warnings in mail folder (#437935).Matthew Barnes2007-06-031-2/+2
| | | | svn path=/trunk/; revision=33628
* Improved offline support optionsSrinivasa Ragavan2007-05-161-1/+2
| | | | svn path=/trunk/; revision=33548
* Fix for bug #344966Srinivasa Ragavan2007-05-141-1/+20
| | | | svn path=/trunk/; revision=33522
* Massive code cleanup (bug #429422)Matthew Barnes2007-04-201-1/+1
| | | | svn path=/trunk/; revision=33432
* ** Fixes bug #383953Matthew Barnes2007-04-071-4/+5
| | | | | | | | | | | | | | | 2007-04-06 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #383953 * em-folder-properties.c (emfp_get_folder_item): Show unread messages before total messages. * mail-component.c (view_changed): Show unread or selected messages before total messages. svn path=/trunk/; revision=33396
* Add pluggable junk filter code and move SA options to the plugins.Srinivasa Ragavan2007-04-031-0/+30
| | | | svn path=/trunk/; revision=33367
* ** Fixes bug #419524Matthew Barnes2007-03-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 2007-03-20 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #419524 * Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>. * e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list): * mail/em-migrate.c (emm_setup_initial): * shell/e-component-registry.c (query_components): * shell/e-shell-settings-dialog.c (load_pages): * shell/e-shell-window-commands.c (command_quick_reference): * tools/killev.c (main): Use g_get_language_names() instead of gnome_i18n_get_language_list(). * e-util/e-util.c: Remove e_gettext(). * e-util/Makefile.am: Remove e-i18n.h. svn path=/trunk/; revision=33319
* Do not attempt to prune GW proxies on startup as this handled by theHarish Krishnaswamy2006-12-041-1/+0
| | | | | | | | | | 2006-12-03 Harish Krishnaswamy <kharish@novell.com> * mail-component.c: (mc_startup): Do not attempt to prune GW proxies on startup as this handled by the plugin now. svn path=/trunk/; revision=33036
* Fixes #360815Chenthill Palanisamy2006-10-161-1/+3
| | | | svn path=/trunk/; revision=32897
* Fixes a crash on exit-time issue. Resolves #334966Nickolay V. Shmyrev2006-09-041-3/+25
| | | | | | | | | | 2006-09-04 Nickolay V. Shmyrev <nshmyrev@yandex.ru> * mail-component.c: (impl_dispose) (view_changed_timeout_remove) (view_changed_timeout): Fixes a crash on exit-time issue. Resolves #334966 svn path=/trunk/; revision=32736
* Fix for bug #348164Srinivasa Ragavan2006-08-021-2/+2
| | | | svn path=/trunk/; revision=32458
* Enhanced search functionality. patch submitted by Johnny Jacob ReviewedHarish Krishnaswamy2006-06-301-0/+40
| | | | | | | | | 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
* Fix for bug#260354 comment 35: set the window title to reflect theArvind_evo2006-06-271-1/+1
| | | | | | | | | | 2006-06-27 Arvind_evo <sa.phoenix@gmail.com> Fix for bug#260354 comment 35: * mail-component.c: set the window title to reflect the localized folder names svn path=/trunk/; revision=32198
* Ref the store before removing the store from our hash and cache. ShouldJeffrey Stedfast2006-05-171-2/+2
| | | | | | | | | | 2006-05-04 Jeffrey Stedfast <fejj@novell.com> * mail-component.c (mail_component_remove_store): Ref the store before removing the store from our hash and cache. Should fix Novell bug #166987. svn path=/trunk/; revision=31994
* s/int/guint/g for 1-bit bitfield. Remove cruft use guint for 1-bitKjartan Maraas2006-02-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* remove shortcut keys (UI Hackfest - SeeHarish Krishnaswamy2006-01-161-1/+1
| | | | | | | | | | 2006-01-16 Harish Krishnaswamy <kharish@novell.com> * mail-component.c: (impl__get_userCreatableItems): remove shortcut keys (UI Hackfest - See http://go-evolution.org/Shortcut_Keys_Review). svn path=/trunk/; revision=31217
* Use e_util_mkdir_hier() instead of e_mkdir_hier().Simon Zheng2006-01-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-10 Simon Zheng <simon.zheng@sun.com> * em-composer-utils.c: * em-folder-tree-model.c: (em_folder_tree_model_save_state): * em-format-html.c: * em-migrate.c: (cp_r), (em_migrate_folder), (em_migrate_pop_uid_caches_1_4), (em_migrate_folder_expand_state_1_4), (em_migrate_folder_view_settings_1_4), (em_migrate_imap_cmeta_1_4), (em_migrate_1_4), (emm_setup_initial), (em_migrate): * em-popup.c: * em-utils.c: (em_utils_save_part_to_file): * mail-component.c: (mail_component_init): * mail-config.c: * mail-folder-cache.c: * mail-mt.c: * mail-ops.c: * mail-tools.c: (mail_tool_get_local_movemail_path): Use e_util_mkdir_hier() instead of e_mkdir_hier(). Use e_util_strstrcase() instead of e_strstrcasea(). use e_strftime() in evolution-data-server/ libedataserver/e-data-server-util.c instead of the copy in evolution/e-util/e-util.c. use e_filename_make_safe() in evolution-data-server/ libedataserver/e-data-server-util.c instead of the copy in evolution/e-util/e-util.c. use e_utf8_strftime() in evolution-data-server/ libedataserver/e-data-server-util.c instead of the copy in evolution/e-util/e-util.c. svn path=/trunk/; revision=31118
* Evolution is now Network Aware, the day of complete awareness beckons, TheShreyas Srinivasan2005-12-221-1/+31
| | | | | | | | | | | 2005-12-22 Shreyas Srinivasan <sshreyas@novell.com> * Evolution is now Network Aware, the day of complete awareness beckons, The machines are taking over... * Network Manager support for evolution svn path=/trunk/; revision=30926
* *** empty log message ***Parthasarathi Susarla2005-12-211-1/+1
| | | | svn path=/trunk/; revision=30917
* committed these files to fix http://bugzilla.gnome.org/show_bug.cgi?id=260354Parthasarathi Susarla2005-12-211-27/+35
| | | | | | | | | | | | | | ChangeLog addressbook/ChangeLog addressbook/gui/component/addressbook-component.c calendar/ChangeLog calendar/gui/calendar-component.c calendar/gui/memos-component.c calendar/gui/tasks-component.c mail/ChangeLog mail/Evolution-Mail.idl mail/mail-component.c shell/ChangeLog shell/Evolution-Component.idl shell/Evolution-Shell.idl shell/Evolution.idl shell/Makefile.am shell/e-shell-window.c shell/e-shell-window.h shell/e-shell.c svn path=/trunk/; revision=30915
* em-folder-browser.c em-folder-view.c em-format-html.cTor Lillqvist2005-12-181-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* ** See #312668.Not Zed2005-08-221-1/+6
| | | | | | | | | | | | 2005-08-19 Not Zed <NotZed@Ximian.com> ** See #312668. * mail-component.c (setline_done, impl_setLineStatus): change the camel-session online status before (if we're going online) or after (if we're going offline) actually doing offline processing. svn path=/trunk/; revision=30184
* ** See #312668.Not Zed2005-08-181-5/+70
| | | | | | | | | | | | | 2005-08-16 Not Zed <NotZed@Ximian.com> ** See #312668. * mail-component.c (impl_setLineStatus): new offline interface. (setline_check, setline_done): and implementation. * mail-offline-handler.[ch]: destroyed, burnt, dissolved in acid. svn path=/trunk/; revision=30155
* ** See #271985.Not Zed2005-08-111-0/+1
| | | | | | | | | | | | | | | | 2005-08-10 Not Zed <NotZed@Ximian.com> ** See #271985. * mail-config.c (mail_config_write_on_exit) (mail_config_get_account_by_source_url) (mail_config_get_account_by_transport_url) (mail_config_get_default_transport): * mail-component.c (load_accounts): check url for content before using it. svn path=/trunk/; revision=30081
* Add new functions to remove proxy accounts and proxies created by theShreyas Srinivasan2005-07-101-0/+2
| | | | | | | | | | | | | | 2005-07-10 Shreyas Srinivasan <sshreyas@novell.com> * mail-config.[ch]: Add new functions to remove proxy accounts and proxies created by the account. * mail-compnent.c: Remove proxy accounts at startup * mail.error.xml: Add warnings for proxy disable and removal of a proxy when its parents are removed. * em-account-prefs.c: Add checks not to display proxies and handling of parent removal/ disabling. svn path=/trunk/; revision=29698
* Added "forward" command-line option for mails.Veerapuram Varadhan2005-07-061-1/+23
| | | | | | * Added "forward" command-line option for mails. svn path=/trunk/; revision=29639
* 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-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* make this run a timeout so we don't update too often and suck loads of cpuNot Zed2005-06-081-1/+39
| | | | | | | | | 2005-06-08 Not Zed <NotZed@Ximian.com> * mail-component.c (view_changed_cb): make this run a timeout so we don't update too often and suck loads of cpu time. svn path=/trunk/; revision=29471
* only let this be included once.Not Zed2005-06-021-2/+8
| | | | | | | | | | | | 2005-06-02 Not Zed <NotZed@Ximian.com> * Evolution-Mail.idl: only let this be included once. * mail-component.c (mail_component_class_init): Setup a test function, and fix the bonobo init function so we're actually a mailcomponent and not just an evolutioncomponent. svn path=/trunk/; revision=29446
* change this to sub-class evolution-component, not bonobo-object.Not Zed2005-06-021-2/+5
| | | | | | | | | | | | | 2005-06-02 Not Zed <NotZed@Ximian.com> * mail-component.c: change this to sub-class evolution-component, not bonobo-object. * Evolution-Mail.idl: Made the mail component sub-class Evolution.Component so it can add new interfaces for remote gui mail operations. svn path=/trunk/; revision=29444
* Remove this unused method (emfs_response): Remove unused variableRodney Dawes2005-05-251-0/+1
| | | | | | | | | | | | | | 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
* add helper for plugins to get mail session.Not Zed2005-05-201-0/+7
| | | | | | | | | 2005-05-20 Not Zed <NotZed@Ximian.com> * mail-component.c (mail_component_peek_session): add helper for plugins to get mail session. svn path=/trunk/; revision=29396
* fix rodney's name choices. fix multiple-inclusion. fix forward references.Not Zed2005-05-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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-26/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* ** See bug #71003, again.Not Zed2005-03-171-2/+2
| | | | | | | | | | 2005-03-16 Not Zed <NotZed@Ximian.com> ** See bug #71003, again. * mail-component.c (impl_quit): fix sense of 'can quit' logic. svn path=/trunk/; revision=29044
* ** See bug #71003Not Zed2005-02-251-3/+11
| | | | | | | | | | | 2005-02-21 Not Zed <NotZed@Ximian.com> ** See bug #71003 * mail-component.c (impl_quit): add a new state MC_QUIT_THREADS to wait for all mail threads to finish before quitting. svn path=/trunk/; revision=28884
* ** See bug #34153 and no doubt duplicatesNot Zed2005-02-251-1/+3
| | | | | | | | | | | 2005-02-21 Not Zed <NotZed@Ximian.com> ** See bug #34153 and no doubt duplicates * mail-component.c (impl_requestQuit): use the VISIBLE count not the TOTAL count to check if there are unsent emails. svn path=/trunk/; revision=28883
* ** See bug #72337Not Zed2005-02-231-8/+30
| | | | | | | | | | | | | | 2005-02-21 Not Zed <NotZed@Ximian.com> ** See bug #72337 * mail-component.c (store_info_new, store_info_unref): refcount the storeinfo's. (mc_add_store_done): noop if removed. (store_hash_free, mail_component_remove_store): mark storeinfo removed. svn path=/trunk/; revision=28855
* ** See bug #65329.Not Zed2005-02-011-1/+6
| | | | | | | | | | | 2005-02-01 Not Zed <NotZed@Ximian.com> ** See bug #65329. * mail-component.c (view_changed_cb): translate special names on the local store. svn path=/trunk/; revision=28655
* See bug #69815.Not Zed2005-01-281-0/+2
| | | | | | | | | | | | | | | 2005-01-27 Not Zed <NotZed@Ximian.com> * See bug #69815. * mail-component.c (impl_quit): shutdown vfolders as first step. * mail-vfolder.c (vfolder_setup_do): if we're shutdown during processing, just noop. (vfolder_adduri_do): same. (mail_vfolder_shutdown): set the shutdown flag. svn path=/trunk/; revision=28592
* handle the "reply" parameter, if set.Not Zed2005-01-051-7/+22
| | | | | | | | | | | | | 2005-01-05 Not Zed <NotZed@Ximian.com> * mail-component.c (handleuri_got_folder): handle the "reply" parameter, if set. * em-composer-utils.c (em_utils_reply_to_message): only ref the source if supplied. (reply_to_message): only unref the source if supplied. svn path=/trunk/; revision=28241
* Use stock_new-dir instead of stock_folder for "New Folder" creationRodney Dawes2004-12-091-1/+1
| | | | | | | | | | 2004-12-08 Rodney Dawes <dobey@novell.com> * em-folder-tree.c: * mail-component.c (impl__get_userCreatableItems): Use stock_new-dir instead of stock_folder for "New Folder" creation svn path=/trunk/; revision=28089
* and put them here instead so they're available even when the mailer isn'tNot Zed2004-12-081-13/+0
| | | | | | | | | | | | 2004-12-08 Not Zed <NotZed@Ximian.com> * mail-component-factory.c (make_factory): and put them here instead so they're available even when the mailer isn't activated yet. * mail-component.c (mc_startup): remove plugin hook registrations. svn path=/trunk/; revision=28083
* ** Merge in notzed-messageinfo-branch.Not Zed2004-11-121-1/+21
| | | | | | | | 2004-11-12 Not Zed <NotZed@Ximian.com> ** Merge in notzed-messageinfo-branch. svn path=/trunk/; revision=27899
* register the formatter types before registering the formatter hook.Not Zed2004-10-111-1/+1
| | | | | | | | | 2004-10-11 Not Zed <NotZed@Ximian.com> * mail-component.c (mc_startup): register the formatter types before registering the formatter hook. svn path=/trunk/; revision=27532
* dont init the base plugin system here anymore, only register the hookNot Zed2004-10-071-7/+0
| | | | | | | | | 2004-10-07 Not Zed <NotZed@Ximian.com> * mail-component.c (mc_startup): dont init the base plugin system here anymore, only register the hook types for mail hooks. svn path=/trunk/; revision=27491
* ** See bug #65329.Not Zed2004-09-241-4/+5
| | | | | | | | | | | | | | | 2004-09-20 Not Zed <NotZed@Ximian.com> ** See bug #65329. * em-folder-tree-model.c (emft_is_special_local_folder): added helper for finding local folders for translation. (em_folder_tree_model_set_folder_info): translate the special local folder names. * mail-component.c: mark standard folder names for translation. svn path=/trunk/; revision=27359
* Merged notzed-eplugin-2-branch to head.Michael Zucci2004-09-201-1/+21
| | | | svn path=/trunk/; revision=27300
* only open the trash or junk if they're vfolders here. Some stores thatNot Zed2004-08-261-2/+6
| | | | | | | | | | 2004-08-25 Not Zed <NotZed@Ximian.com> * mail-component.c (store_info_new): only open the trash or junk if they're vfolders here. Some stores that implement their own trash folders are unacceptably slow to open otherwise. svn path=/trunk/; revision=27027
* dont call e_error_default parent here, we dont have access to the toplevelNot Zed2004-07-261-2/+0
| | | | | | | | | | 2004-07-22 Not Zed <NotZed@Ximian.com> * mail-component.c (impl_createControls): dont call e_error_default parent here, we dont have access to the toplevel yet. svn path=/trunk/; revision=26728
* ** See #59885.Not Zed2004-06-171-12/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Include gtk[hv]box.h so we can use them (emfp_dialog_got_folder): Fix theRodney Dawes2004-06-171-1/+1
| | | | | | | | | | | | | | | | | | | 2004-06-16 Rodney Dawes <dobey@novell.com> * em-folder-properties.c: Include gtk[hv]box.h so we can use them (emfp_dialog_got_folder): Fix the border widths and spacings for the internal widgets and the dialog's vbox and action area to be compliant with the HIG Fix the general layout of the dialog to be HIG-compliant as well Use ngettext for the row labels for number of messages Add a cancel button, since we are not instant-apply Align the message counts to the right Part of this patch is from Christian Neumair <chris@gnome-de.org> * mail-component.c (view_changed_cb): Fix a typo for the sent folder send is not a pluralization of sent svn path=/trunk/; revision=26369
* Fixes bug #58825. Ugh. Really Gross Hack (tm).Jeffrey Stedfast2004-06-111-6/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-06-10 Jeffrey Stedfast <fejj@novell.com> Fixes bug #58825. Ugh. Really Gross Hack (tm). * em-folder-tree.c (emft_tree_row_expanded): If the store that we are expanding matches the uri that we've been requested to select (e.g. from before the store was added to the tree), then give the uri to the get_folder_info_op. (em_folder_tree_set_selected): If the store for the uri isn't in the tree yet, save the uri for later. * mail-component.c (folder_selected_cb): Set the selected state of the folder-tree and save it. (impl_createControls): Restore the selected state on the folder-tree. * em-folder-tree-model.c (em_folder_tree_model_set_selected): New function to set the selected-uri saved state. (em_folder_tree_model_get_selected): New function to get the selected uri saved state. (em_folder_tree_model_save_state): Renamed. * em-folder-tree.c (emft_update_model_expanded_state): Don't let path be NULL if the node is a store node (path == NULL for any other case is a bug). (emft_maybe_expand_row): Same. svn path=/trunk/; revision=26294
* Use ngettext for message count information.Christian Neumair2004-06-051-8/+8
| | | | | | | | | 2004-06-05 Christian Neumair <chris@gnome-de.org> * mail-component.c (view_changed_cb): Use ngettext for message count information. svn path=/trunk/; revision=26226
* put this back in, local folders not being noted properly all the time.Not Zed2004-06-031-1/+13
| | | | | | | | | 2004-06-02 Not Zed <NotZed@Ximian.com> * mail-component.c (mc_add_local_store_done): put this back in, local folders not being noted properly all the time. svn path=/trunk/; revision=26165
* set the default selection to inbox.Not Zed2004-05-261-16/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-26 Not Zed <NotZed@Ximian.com> * importers/evolution-mbox-importer.c (create_control_fn): set the default selection to inbox. * importers/evolution-outlook-importer.c (folder_selected) (create_control_fn): copied from mbox importer. fixes a crash & lets you choose the target folder. 2004-05-25 Not Zed <NotZed@Ximian.com> * mail-component.c (mc_add_local_store_done): removed, now redundant. * em-folder-tree.c (em_folder_tree_set_selected): fix for path changes. * em-folder-tree-model.c (em_folder_tree_model_set_unread_count): change to use full name rather than path name. * em-folder-tree-model.h: renamed path_hash to full_hash. * em-folder-tree-model.c (folder_subscribed): dont use g_path_get_dirname here, it is os dependent, we want / always. (full_hash_free): rename from path_hash free. svn path=/trunk/; revision=26090
* ** Another unread count bug, #58814.Not Zed2004-05-221-0/+2
| | | | | | | | | | | | | | | | | | 2004-05-22 Not Zed <NotZed@Ximian.com> ** Another unread count bug, #58814. * mail-vfolder.c (context_rule_added): * mail-tools.c (mail_tool_uri_to_folder): * mail-component.c (mc_add_local_store_done): don't call mail note folder anymore, fix up headers. * mail-folder-cache.c (store_folder_opened) (mail_note_store_remove, mail_note_store): handle the new store:folder_opened signal. Don't need the mail_note_folder hack anymore, mail_tool_uri_to_folder slowly does less. svn path=/trunk/; revision=26042
* add marshaller for p_ppppp call.Not Zed2004-05-211-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-21 Not Zed <NotZed@Ximian.com> * mail-mt.c (do_call): add marshaller for p_ppppp call. * mail-session.c (get_password): fix for camel api changes. (forget_password): same. ** See #58376. * message-list.c (mail_regen_list): do some timeout foo so we don't keep doing list regnerations if we're getting called too often. God knows what this will break. (message_list_set_selected): removede bug printf. (regen_list_free): move the message-list poking stuff into regen_list_regened. (message_list_set_folder): call mail_regen_cancel to cancel any regen stuff. (mail_regen_cancel): cancel/clear outstanding regenerations. (message_list_destroy): do it here too. (message_list_select_uid): also set the pending select uid if we have a timeout pending. * mail-component.c (impl_createControls): set the defualt parent to the main folderview as soon as its created. * em-folder-tree.c (emft_popup_copy_folder_selected): use get_toplevel rather than get_ancestor. seems the more reliable one. also we're always parented so we shoudl always find a toplevel window. (em_folder_tree_create_folder): same. (emft_popup_delete_response): set error parent. (emft_popup_delete_folder, emft_popup_rename_folder) (emft_popup_rename_folder, emft_popup_rename_folder): svn path=/trunk/; revision=26030
* fixed up the empty trash on exit thing, to update for all stores, notNot Zed2004-05-191-13/+15
| | | | | | | | | | 2004-05-19 Not Zed <NotZed@Ximian.com> * mail-component.c (mc_quit_sync): fixed up the empty trash on exit thing, to update for all stores, not update the timestamp on the first store synced. svn path=/trunk/; revision=25966
* Add a stripsig filter. Fixes bug #52767.Jeffrey Stedfast2004-05-131-2/+2
| | | | | | | | | | | | 2004-05-13 Jeffrey Stedfast <fejj@novell.com> * em-format-quote.c (emfq_text_plain): Add a stripsig filter. Fixes bug #52767. * em-stripsig-filter.[c,h]: New filter class to strip signatures. Useful when generating forwards/replies. svn path=/trunk/; revision=25902
* added "email" to the uri_schema's attribute.Not Zed2004-05-131-0/+33
| | | | | | | | | | | | | | 2004-05-13 Not Zed <NotZed@Ximian.com> * GNOME_Evolution_Mail.server.in.in: added "email" to the uri_schema's attribute. * mail-component.c (impl_handleURI): handle email: uri's, specify opening a message on a folder. (handleuri_got_folder): open the message. For some 1337 s3Kr3t ha0x. svn path=/trunk/; revision=25893
* enable threading option type on the search bar.Not Zed2004-05-121-0/+2
| | | | | | | | | 2004-05-12 Not Zed <NotZed@Ximian.com> * mail-component.c (setup_search_context): enable threading option type on the search bar. svn path=/trunk/; revision=25878
* add for translators.Not Zed2004-05-121-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-05-12 Not Zed <NotZed@Ximian.com> * mail-errors.xml.h: add for translators. * Makefile.am (%.xml.h): fix for xml i18n stuff. * mail-errors.xml: moved from the .xml.in file. 2004-05-11 Not Zed <NotZed@Ximian.com> * em-utils.c (em_uri_from_camel): pass an exception to provider_get, it relies on one. * em-migrate.c (em_migrate_1_4): fix some error messages, and fail with fatal errors properly. (em_migrate_local_folders_1_4): EEP! Who cares if this fails! Well I do. Setup exceptions and return codes. (em_migrate_dir): and here too. Sloppy! (em_migrate_dir): change the code slightly, 1.4 would recurse all folders, even if the parent folder doesn't have a folder-metadata.xml. Make sure we copy that mode. (get_local_store_uri): Make it copy the 1.4 behaviour properly. Any error -> use defaults. (em_migrate_dir): lots of changes. (mbox_build_filename): take the output string as an arg. (cp): add an argument to overwrite/append or require a unique empty file. (cp_r): add mode arg here too. (em_migrate_folder): split the folder copy stuff from em_migrate dir entirely. blah. (em_upgrade_accounts_1_4): can't fail, remove return code, etc. (em_upgrade_xml_1_4): removed this rather redundant odd api. (upgrade_xml_uris): this can't fail, remove return codes etc. (em_upgrade_xml_1_0): another oddly redundant function. (em_migrate_pop_uid_caches_1_4): error messages, blah blah. (em_migrate_folder_expand_state_1_4): no fatal states here. (em_migrate_folder_view_settings_1_4): nor here. (emm_setup_initial): do i18n 'better', using gnome_i18n_get_language_list, rather than hacky code. 2004-05-10 Not Zed <NotZed@Ximian.com> * mail-tools.c: remove e-meta.h, not used anymore. svn path=/trunk/; revision=25870
* Remove the mail folder control factoryDan Winship2004-05-121-68/+0
| | | | | | | | | | | | | * GNOME_Evolution_Mail.server.in.in: Remove the mail folder control factory * mail-component-factory.c (factory): Remove support for the mail folder control * mail-component.c: Remove the property bag stuff (mail_control_new): Gone svn path=/trunk/; revision=25858
* Check that the folder is selectable using the new flags argument.Jeffrey Stedfast2004-05-071-2/+2
| | | | | | | | | | | | | | | | 2004-05-06 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (folder_selected_cb): Check that the folder is selectable using the new flags argument. * em-folder-selector.c (folder_selected_cb): Updated for below changes. * em-folder-tree.c (emft_tree_selection_changed): Updated to pass a flags argument to the folder_selected signal. (emft_tree_row_activated): Same. svn path=/trunk/; revision=25816
* take fromuri and subject to set the basic headers/account.Not Zed2004-05-031-2/+2
| | | | | | | | | | | | | | | | 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-0/+1
| | | | | | | | | | | | | | 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
* ** Changed error messages to use EError.Not Zed2004-04-281-15/+5
| | | | | | | | 2004-04-28 Not Zed <NotZed@Ximian.com> ** Changed error messages to use EError. svn path=/trunk/; revision=25653
* force check of autosaved messages as soon as the mailer starts up (well,Not Zed2004-04-221-1/+18
| | | | | | | | | | | 2004-04-22 Not Zed <NotZed@Ximian.com> * mail-component.c (view_control_activate_cb): force check of autosaved messages as soon as the mailer starts up (well, after a delay, this seems wrong). #57093. svn path=/trunk/; revision=25576
* display selected count instead of unread if we have >1 selected. AlsoNot Zed2004-04-221-3/+27
| | | | | | | | | | 2004-04-22 Not Zed <NotZed@Ximian.com> * mail-component.c (view_changed_cb): display selected count instead of unread if we have >1 selected. Also don't do special case drafts/sent/outbox stuff if folders are inbox or re-used. svn path=/trunk/; revision=25575
* fix for e_user_creatable_items api changes. (create_item): split out theNot Zed2004-04-211-20/+38
| | | | | | | | | | | | 2004-04-21 Not Zed <NotZed@Ximian.com> * mail-component.c (impl_createControls): fix for e_user_creatable_items api changes. (create_item): split out the code to create the item. (create_local_item_cb): new callback for local item creation. (impl_requestCreateItem): call create_item to do the work. svn path=/trunk/; revision=25545
* mail-component.cMichael Terry2004-04-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* remove debug comment.Not Zed2004-04-141-2/+0
| | | | | | | | | | | | | | | | | | 2004-04-14 Not Zed <NotZed@Ximian.com> * mail-component.c (impl_createControls): remove debug comment. ** See #56641. * em-format-html-display.c (efhd_format_secure): fix a small memleak. (efhd_bonobo_unknown, efhd_format_attachment): close the <object> tag properly, and <br> it as well to make sure its separated. * em-sync-stream.c: add some runtime and compile time stream logging stuff. svn path=/trunk/; revision=25457
* We don't actually want to disallow clicking on \NoSelect folders. Fixes aJeffrey Stedfast2004-04-141-1/+1
| | | | | | | | | | 2004-04-13 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (impl_createControls): We don't actually want to disallow clicking on \NoSelect folders. Fixes a bug campd has been complaining to me about :-) svn path=/trunk/; revision=25449
* track the messagelist hidedeleted value since it looks it up when we setNot Zed2004-04-141-9/+35
| | | | | | | | | | | | | | | | | | | | | 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
* use %% for %%.Not Zed2004-04-131-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Create an EUserCreatableItemsHandler for the view. (emfv_finalise): UnrefDan Winship2004-04-091-0/+2
| | | | | | | | | | | | * 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-6/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* ref the store before running the async disconnect, otherwise we unref oneNot Zed2004-03-191-1/+2
| | | | | | | | | | 2004-03-19 Not Zed <NotZed@Ximian.com> * mail-component.c (mail_component_remove_store): ref the store before running the async disconnect, otherwise we unref one too many times. svn path=/trunk/; revision=25124
* started writing this, but i couldn't be fucked right now - apparentlyNot Zed2004-03-181-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-18 Not Zed <NotZed@Ximian.com> * mail-config.c (mail_config_writable): started writing this, but i couldn't be fucked right now - apparently gnome is supposed to use the gconf thing which just doens't work. i'll waste a few hours trying to get it to work again first before i keep going with this. 2004-03-17 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_message_deliverystatus): format as plain text too. * em-format.c (emf_message_deliverystatus): format delivery status messages as plain text, rather than as messages. since they wont be CamelMimeMessages. Maybe they should be silently hidden. * mail-offline-handler.c (store_go_online): split this, only call add_store/note_store once we've actually set the store online. (store_went_online): set the store up once we're fully online. Works around a deadlock in #55618. * em-account-prefs.c (account_cursor_change): disable editing/adding/removing accounts etc if accounts aren't editable. (em_account_prefs_construct): call above after setup. * mail-component.c (mc_quit_sync): if we have empty on exit days, check that. keep track of the last empty on exit time. * em-mailer-prefs.c (emmp_empty_trash_init): init the trash stuff here. (em_mailer_prefs_apply): save empty trash on exit frequency. svn path=/trunk/; revision=25110
* Fix for bug #55358.Jeffrey Stedfast2004-03-171-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-16 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #55358. * em-folder-tree.c (emft_expand_node): Changed to be the callback function for em_folder_tree_model_expand_foreach(). (emft_maybe_expand_row): Renamed from emft_loading_row_cb(). We now handle both "loading-row" an "loaded-row" signals. Also updated for slight change in key generation. (em_folder_tree_new_with_model): Connect to the "loaded-row" signal. (emft_update_model_expanded_state): Updated for slight change in key generation. * em-folder-tree-model.c (em_folder_tree_model_add_store): Emit the "loaded-row" signal for the newly added store. (em_folder_tree_model_set_folder_info): Emit "loaded-row" for the row we've just set the info on (but only after we've added a child node if there is one, so the signal handler can expand the newly added row if appropriate). (em_folder_tree_model_class_init): Setup the "loaded-row" signal. (em_folder_tree_model_finalize): The tree-state is now an xml file and not a binary file, so change the expanded free func. (em_folder_tree_model_load_state): Load the expand-state xml file. If one doesn't exist, setup some defaults. (em_folder_tree_model_get_expanded): Scan the XML tree for the node. (em_folder_tree_model_set_expanded): Same. (em_folder_tree_model_save_expanded): Save the expand-state xml tree to disk. (em_folder_tree_model_expand_foreach): New function to iterate over all xml nodes and call the callback if the expand state is "true". svn path=/trunk/; revision=25094
* Don't focus the name_entry widget here.Jeffrey Stedfast2004-03-171-3/+1
| | | | | | | | | | | | 2004-03-16 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (impl_requestCreateItem): Don't focus the name_entry widget here. * em-folder-selector.c (em_folder_selector_create_new): Focus the name_entry widget here rather than in mail-component.c svn path=/trunk/; revision=25091
* change stores hash to point to a structure, in which we maintain theNot Zed2004-03-111-21/+66
| | | | | | | | | | | 2004-03-11 Not Zed <NotZed@Ximian.com> * mail-component.c: change stores hash to point to a structure, in which we maintain the vtrash and vjunk folders for the entirety of the session. memory use be damned i guess. #55417 and partially #55391. svn path=/trunk/; revision=25022
* pass the raw header in instead of name and value. (efh_format_headers): ifNot Zed2004-03-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-11 Not Zed <NotZed@Ximian.com> * em-format-html.c (efh_format_header): pass the raw header in instead of name and value. (efh_format_headers): if we have specific headers to show, iterate over all headers and print out all matching ones, so duplicate headers are properly displayed. Related to #55298. * em-folder-selector.c (em_folder_selector_construct): dont set this to be modal. otherwise you can't click on error popups. duh. 2004-03-08 Not Zed <NotZed@Ximian.com> * em-folder-selection-button.c (em_folder_selection_button_clicked): don't let the user select virtual/vtrash folders or non-selectable folders. * mail-component.c (impl_createControls): disable selection of non-select rows. * em-folder-selector.c (em_folder_selector_create_new): exclude folders with noinferiors set. * em-folder-tree.c (folder_tree_new): add folder tree arg, hook onto the selection funciton for the tree selection. (emft_select_func): selection override function. allow certain things to be excluded. (em_folder_tree_set_excluded): api to set what is excluded from the selectability. (emft_tree_row_activated): call emft_select_func check to see if this row is excluded before emitting an activated signal. * em-folder-tree-model.c (em_folder_tree_model_set_folder_info): save folder info->flags in the tree store. * mail-folder-cache.c (create_folders): use tail recursion. (get_folders): tail recurse. * (*): Fixed for api changes in camel. svn path=/trunk/; revision=25020
* ** See bug #54121.Not Zed2004-03-031-8/+48
| | | | | | | | | | | | | | 2004-03-03 Not Zed <NotZed@Ximian.com> ** See bug #54121. * mail-component.c (impl_requestCreateItem) (emc_new_folder_response): Hack in a nastish implementation of create folder for the new menu. (impl__get_userCreatableItems): add 'new mail folder' to new button. svn path=/trunk/; revision=24945
* if we have the folder opened already, and its the outbox, then use theNot Zed2004-03-031-25/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-03 Not Zed <NotZed@Ximian.com> * em-inline-filter.c (emif_scan): * em-folder-tree-model.c (em_folder_tree_model_set_folder_info): if we have the folder opened already, and its the outbox, then use the total count instead of unread count. Bit of hack, but copies mail-folder-cache stuff. * mail-component.c (mc_add_store): renamed from mail_component_add_store, internal call. Added a done callback. (mc_add_local_store): renamed from mc_add_store, callback for local store. (mail_component_add_store): call mc_add_store to do the work. (mc_add_local_store_done): ugh, the target of all this shit - note all the default folders now they should be setup. * mail-folder-cache.c (mail_note_folder): clean up the logic a bit. was gonna do osmething else but it didn't work. 2004-03-02 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (mail_send): if we're already sending, up the again count to tell it we need to re-send again. (receive_done): if we've been asked to run a send again while we were already running it, run it again to make sure we didn't miss any new messages. See bug #46839. * em-mailer-prefs.c (em_mailer_prefs_construct): update check_incoming_imap changes for merge conflicts. (settings_changed): i have no idea what these changes jeff did do, but check_incoming_imap is no longer needed, so i've deleted most of it. 2004-02-27 Not Zed <NotZed@Ximian.com> * em-format.c (emf_multipart_encrypted, emf_multipart_signed): If validation fails, display as multipart/mixed rather than unkown attachment type, and make the error a little clearer that its an error. See #52939. 2004-02-26 Not Zed <NotZed@Ximian.com> * message-list.c (regen_list_regened): NOOP if the folder has changed. * mail-session.c (mail_session_check_junk_notify): remove check_incoming_imap test. (mail_session_init): " * evolution-mail.schemas.in.in: Remove check_incoming_imap option. * mail-config.glade: Remove check incoming imap checkbox. * em-mailer-prefs.c (em_mailer_prefs_construct): remove check_incoming_imap test. (em_mailer_prefs_apply): " (settings_changed): " svn path=/trunk/; revision=24944
* Remove the debug message here.Dan Winship2004-02-211-6/+1
| | | | | | * mail-component.c (set_prop): Remove the debug message here. svn path=/trunk/; revision=24818
* fix camel provider api changes.Not Zed2004-02-191-2/+2
| | | | | | | | | | | | | | | | | 2004-02-19 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (get_receive_type): * mail-config.c (mail_config_get_account_by_source_url) (mail_config_get_account_by_transport_url): * mail-component.c (mail_component_load_store_by_uri): * mail-account-gui.c (mail_account_gui_setup) (mail_account_gui_save): * em-utils.c (em_utils_empty_trash, em_uri_from_camel): * em-folder-tree-model.c (account_changed): * em-folder-selector.c (em_folder_selector_get_selected_uri): fix camel provider api changes. svn path=/trunk/; revision=24795
* Fix for bug #54060 (except for the "don't let users copy/move messages toJeffrey Stedfast2004-02-181-1/+10
| | | | | | | | | | | | | | | | | | | | | | | 2004-02-17 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #54060 (except for the "don't let users copy/move messages to Outbox" bit). * em-folder-tree.c (emft_drop_target): Rearranged a little. We can check for special dest folders right away. Also added a check for the default local folders (Drafts/Inbox/Outbox/Sent) since we don't want to be able to move them anywhere else (copying is ok). (emft_popup_copy_folder_selected): Don't allow moving any of the default local folders to be consistant with drag&drop changes. (emft_popup_rename_folder): Don't allow the user to rename a default local folder. (emft_popup_delete_folder): Don't allow deletion of special local folders. * mail-component.c (mail_component_peek_local_store): New function to peek the local store. svn path=/trunk/; revision=24765
* Disable the bonobo-ui-component statusbar when using the EMFolderBrowserJeffrey Stedfast2004-02-121-1/+2
| | | | | | | | | | | 2004-02-11 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (mail_control_new): Disable the bonobo-ui-component statusbar when using the EMFolderBrowser outside of the mail component. This prevents the Connector component from having 2 status bars. svn path=/trunk/; revision=24717
* "On this computer" -> "On This Computer".Christian Neumair2004-02-121-1/+1
| | | | svn path=/trunk/; revision=24713
* Basically rewrote this, the import tasks run in another thread. It tellsNot Zed2004-02-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-11 Not Zed <NotZed@Ximian.com> * importers/pine-importer.c: Basically rewrote this, the import tasks run in another thread. It tells you more about what's going on, and its cancellable. (pine_store_settings): changed the meaning of the settings slightly, if set it means we've processed them already. * mail-component-factory.c (factory): hook in importer factory callback. 2004-02-10 Not Zed <NotZed@Ximian.com> * importers/*-importer.c: removed module init, just provide a new method. Updates for api changes. * Makefile.am: link mail importers in directly. * mail-importer.c: changed to do stuff in-memory with linked stuff, moved to importers/. * importers/GNOME_Evolution_Mail_Importers.server.in.in: merge all importer .server info's here, point them all to the mailer factory. Removed the others. * importers/Makefile.am: remove Mailer.idl stuff. Move all importers to a single library. svn path=/trunk/; revision=24701
* call abort before we unref, aid debugging if we hit it.Not Zed2004-02-051-1/+1
| | | | | | | | | | | | 2004-02-05 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (em_folder_tree_create_folder): call abort before we unref, aid debugging if we hit it. * mail-vfolder.c (uri_is_spethal): check for vfolder/vtrash folders. Based on name check and store options. svn path=/trunk/; revision=24626
* ** See bug #53683.Not Zed2004-02-041-3/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-04 Not Zed <NotZed@Ximian.com> ** See bug #53683. * mail-ops.c (mail_sync_store): new async op to call CamelStore::sync. * mail-component.c (impl_requestQuit): implement, check to see if we can quit, or have open or unsent messages (and are in online mode). (impl_quit): implement. Trigger off a sync of all open stores, and return FALSE until its done. (impl_upgradeFromVersion): fixed the signature to match the idl, killed that warning at last. ** 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. ** 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=24608
* ** See bug #53558 (plus other fixes/cleanups)Not Zed2004-01-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-30 Not Zed <NotZed@Ximian.com> ** See bug #53558 (plus other fixes/cleanups) * em-format.c (emf_format_secure): default implementation, handle output of inner part, but dont output any sign/encrypt info. (emf_multipart_signed, emf_multipart_encrypted): replaced with implementations from em-format-html.c, which now call em_format_format_secure to output guts. (emf_class_init): hook-up virtual method format_secure. * em-format.[ch]: add a virtual method for outputing secured parts. Moved all validity stuff from em-format-html.[ch] to here. * mail-component.c (impl_createControls): set the session interactive too. * em-format-html-display.c: make smime stuff dependent on HAVE_NSS. (efhd_multipart_signed, efhd_application_xpkcs7mime): removed, now handled by root class. (efhd_output_secure): renamed to efhd_format_secure, and use EMFormat::format_secure to kick off. (efhd_class_init): setup format_secure virtual method. * em-format-html.c (efh_multipart_encrypted): We need to handle this here so we can properly keep track of the ciphervalidity stuff. Also do it directly using the context, not multipartencrypted part. (efh_multipart_signed): with unsupported signature format, format as multipart/mixed, not as an attachment. (efh_multipart_signed): make the smime stuff optional. (efh_multipart_signed, efh_multipart_encrypted): Moved to em-format.c. (efh_application_xpkcs7mime): moved to em-format.c (efh_output_secure): renamed to efh_format_secure, linked into virtual method. call parent class to do the validation foo then output the info if needed. (efh_format_message): fixed access to validity stuff to parent object. (efh_class_init): hook up format_secure virtual method. (*): removed some now-unused headers. svn path=/trunk/; revision=24531
* removed CAMEL_PROVIDER_IS_EXTERNAL check likewise likewiseNicel KM2004-01-291-4/+2
| | | | | | | | | 2004-01-29 Nicel KM <mnicel@novell.com> * mail-component.c: removed CAMEL_PROVIDER_IS_EXTERNAL check * mail-account-gui.c: likewise * mail-offline-handler.c: likewise svn path=/trunk/; revision=24517
* ** See bug #53179Not Zed2004-01-281-4/+8
| | | | | | | | | | | | | | | 2004-01-28 Not Zed <NotZed@Ximian.com> ** See bug #53179 * mail-tools.c (mail_tool_get_local_movemail_path): Fix the movemail path. * mail-component.c (load_accounts): hack alert! * mail-send-recv.c (get_receive_type): hack alert! hardcode mbox: to be a movemail source. svn path=/trunk/; revision=24486
* ** See bug #53084 and others.Not Zed2004-01-271-244/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-27 Not Zed <NotZed@Ximian.com> ** See bug #53084 and others. * em-migrate.c (em_migrate): remove the vfolder_revert hack. * em-composer-utils.c (ask_confirm_for_only_bcc): removed unused vars. * mail-tools.c (mail_tool_get_local_inbox): removed, handled by mail_component_get_folder now. * mail-component.c (mail_component_*): Changed the api slightly. Using NULL as the component argument automatically implies you want the default component. (em_uri_from_camel, em_uri_to_camel): moved to em-utils.[ch]. Ok so it isn't namespaced right ... *shrug*. (mail_component_get_local_inbox): removed. (mail_component_get_folder): single entry point for getting standard folders. This is MT-Safe. (mail_component_get_folder_uri): single entry point for getting standard folder uri's. This is MT-Safe. (add_store): removed, moved to mail_component_add_store. (mail_component_load_store_by_uri): call mail_component_add_store directly rather than copying its code. (default_*_folder*): Removed, use accessor methods instead, fixed all callers. (setup_local_store): renamed to mc_setup_local_store, use proper url encoding too. make run-once and thread-safe. (MailComponentPrivate): Added a lock. (mail_control_new): exported properly to kill warnings. (mail_component_init): dont setup_local_store or add accounts here. (impl_createControls): setup local store/accounts here. (mail_component_peek): dont setup vfolder storage here. (mc_startup): internal function to startup stuff needed for gui operation. (setup_search_context): make run-once. (mail_component_peek_search_context): call setup_search_context incase it isn't setup yet. (impl_upgradeFromVersion): remove the local store setup hack. svn path=/trunk/; revision=24462
* fix the parent-finding logic.Not Zed2004-01-271-40/+5
| | | | | | | | | | | | | | | | | | | 2004-01-27 Not Zed <NotZed@Ximian.com> * em-folder-tree-model.c (folder_renamed): fix the parent-finding logic. 2004-01-23 Not Zed <NotZed@Ximian.com> * mail-component.c (mail_component_init): add the offline handler interface to the component. (store_go_online, go_online): removed, handled by the offline handler. * mail-offline-handler.c (store_go_online): add the store to the tree model when we go online. svn path=/trunk/; revision=24459
* Make displayed_uid public.Not Zed2004-01-201-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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 #52990.Not Zed2004-01-201-1/+1
| | | | | | | | | | | 2004-01-20 Not Zed <NotZed@Ximian.com> ** See bug #52990. * mail-component.c (mail_component_init): re-enable auto-send-recv setup. svn path=/trunk/; revision=24318
* if we can't open the pop3 cache dir, because it doesn't exist, it is notNot Zed2004-01-191-116/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-19 Not Zed <NotZed@Ximian.com> * em-migrate.c (em_upgrade_pop_uid_caches_1_4): if we can't open the pop3 cache dir, because it doesn't exist, it is not an error. ** See bug #52983. * mail-component.c (em_uri_from_camel, em_uri_to_camel): Handle vfolder: uri's properly. And make sure local uri's are properly encoded. (mail_component_get_folder_from_evomail_uri) (mail_component_evomail_uri_from_folder): removed, no longer used. (em_uri_from_camel): don't leak the camelurl. (d): disable debug * mail-vfolder.c (vfolder_load_storage): move the vfolder storage location to ~/.evolution/mail/vfolder rather than ~/.evolution/mail (this is currently unused anyway). (uri_is_ignore): short-circuit exit if we find a match. (mail_vfolder_add_uri): dont exit immediately if we have a vfolder uri, but don't add it to local/remove either. (mail_vfolder_delete_uri): remove any uri from the local/remote source list while we're at it. svn path=/trunk/; revision=24300
* Handle upgrading from 1.0.x and 1.2.x (code basically moved verbatim fromJeffrey Stedfast2004-01-141-13/+7
| | | | | | | | | | | | 2004-01-13 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.c (em_migrate): Handle upgrading from 1.0.x and 1.2.x (code basically moved verbatim from e_config_upgrade). * mail-component.c (impl_upgradeFromVersion): Move all the major/minor/revision logic into em_migrate(). svn path=/trunk/; revision=24206
* fix up the controls factory location.Larry Ewing2004-01-131-0/+79
| | | | | | | | | | | | | | 2004-01-12 Larry Ewing <lewing@ximian.com> * GNOME_Evolution_Mail.server.in.in: fix up the controls factory location. * mail-component.c (mail_control_new): add new interface for getting a mail control with a folder_uri property bag. (get_prop): pbag get method. (set_prop): pbag set method. svn path=/trunk/; revision=24171
* ** See bug 52696.Not Zed2004-01-091-2/+2
| | | | | | | | | | | | | | 2004-01-09 Not Zed <NotZed@Ximian.com> ** See bug 52696. * mail-component.c (setup_search_context): move the searches to ~/.evolution/mail/searches.xml (migration?). (setup_search_context): fix a merge error, vfoldertypes.xml->searchtypes.xml since it includes the system searches now. svn path=/trunk/; revision=24127
* ** See bug #50786Not Zed2004-01-081-0/+6
| | | | | | | | | | | | | | | 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
* Don't migrate stuff here anymore.Jeffrey Stedfast2004-01-081-23/+0
| | | | | | | | | | | | | | | | | | | | | | | | 2004-01-07 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (mail_component_init): Don't migrate stuff here anymore. * mail-ops.c (uid_cachename_hack): Removed a hack that checked for the really old uid cache location and make the uid cache live in a better location (why have mail/pop/<account> and mail/pop3/cache-<account>? simply put the cache file in mail/pop/<account>/uid-cache). * em-migrate.c (em_migrate_dir): When copying over mbox folders, don't abort if we fail to copy over a summary file (big whoop). Also, if indexing was turned on in the evolution 1.4 version of the folder, turn on indexing for that folder in the migrated mbox folder as well. (em_migrate_pop_uid_caches): Migrate the pop3 uid-cache files. Fixes bug #52464. (em_migrate): Call em_migrate_pop_uid_caches(). svn path=/trunk/; revision=24094
* Emit a hover-url signal when the user mouses over a URL, ...ERDI Gergo2004-01-071-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fixed a leak.Jeffrey Stedfast2003-12-111-1/+25
| | | | | | | | | | 2003-12-10 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.c (get_local_store): Fixed a leak. * mail-component.c (impl_upgradeFromVersion): Implemented. svn path=/trunk/; revision=23914
* Update the unread count in the model if the folder got new mail.Jeffrey Stedfast2003-12-111-2/+1
| | | | | | | | | | | | | | | | | | | 2003-12-10 Jeffrey Stedfast <fejj@ximian.com> * mail-folder-cache.c (real_flush_updates): Update the unread count in the model if the folder got new mail. * em-folder-selection.c (em_select_folder): Updated. * em-folder-selection-button.c (em_folder_selection_button_clicked): Updated. * em-folder-tree-model.c (em_folder_tree_model_set_unread_count): New function to update the unread count for a folder. * mail-component.c (mail_component_peek_tree_model): Don't ref the model. Also renamed s/get/peek/ svn path=/trunk/; revision=23910
* separeate view_menu unreffing from view_instance. fixes a runtime warning.Not Zed2003-12-101-7/+10
| | | | | | | | | | | | | | 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
* Moved here. (drop_folder): Moved here. (import_message_rfc822): MovedJeffrey Stedfast2003-12-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-02 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (drop_uid_list): Moved here. (drop_folder): Moved here. (import_message_rfc822): Moved here. (drop_message_rfc822): Moved here. (drop_text_uri_list): Moved here. (model_drag_data_received): Moved the logic from em-folder-tree.c into here. (model_row_drop_possible): Same. (model_row_draggable): Same. (drag_text_uri_list): Moved here. (model_drag_data_get): Moved logic here. (model_drag_data_delete): Moved logic here. * em-folder-tree.c (drag_data_get_cb): Pass the full_name to camel_store_get_folder() rather than the path. (drag_data_received_cb): Same. (drop_uid_list): Removed. (drop_folder): Removed. (import_message_rfc822): Removed. (drop_message_rfc822): Removed. (drop_text_uri_list): Removed. (drag_data_received_cb): Removed. (row_drop_possible_cb): Removed. (row_draggable_cb): Removed. (drag_text_uri_list): Removed. (drag_data_get_cb): Removed. (drag_data_delete_cb): Removed. (em_folder_tree_enable_drag_and_drop): Don't connect to any of the drag & drop signals, they don't exist anymore. * mail-component.c (impl_createControls): Enable drag-and-drop. * em-folder-tree.c (em_folder_tree_new_with_model): Connect to the loading row signal. (loading_row_cb): Expand the path if needed. (em_folder_tree_destroy): Disconnect from the loading-row signal. (em_folder_tree_enable_drag_and_drop): New function to enable drag-and-drop. (em_folder_tree_new): Remove drag-and-drop setup code. * em-folder-tree-model.c (em_folder_tree_model_class_init): Define the loading-row signal. (em_folder_tree_model_set_folder_info): emit the loading-row signal. svn path=/trunk/; revision=23590
* Fixed to pass the evolution dir into em_folder_tree_model_new().Jeffrey Stedfast2003-12-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 2003-12-02 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (em_folder_tree_new): Fixed to pass the evolution dir into em_folder_tree_model_new(). (model_save_state): Removed. (em_folder_tree_save_state): Moved all the saving logic into em_folder_tree_model_save_expanded(). * em-folder-tree-model.c (em_folder_tree_model_new): Load the expanded state off disk. (em_folder_tree_model_save_expanded): New function to save expanded state. (em_folder_tree_model_get_expanded): new function to get if a node should be expanded. (em_folder_tree_model_set_expanded): new function to set the expanded state of a node. * mail-component.c (mail_component_init): Pass the evo dir to em_folder_tree_model_new() which now requires it. svn path=/trunk/; revision=23585
* New member activity_handler. (mail_component_init): Initialize.Ettore Perazzoli2003-12-021-12/+25
| | | | | | | | | | | | | | | | | | | | | | * mail-component.c (struct _MailComponentPrivate): New member activity_handler. (mail_component_init): Initialize. (impl_dispose): Unref. (mail_component_peek_activity_handler): New. (impl_createControls): Create an ETaskBar, attach it to the ActivityHandler, and return it to the caller as the statusbar control. * e-activity-handler.c (e_activity_handler_operation_finished): Argh, renamed from e_activity_client_operation_finished(). (e_activity_handler_operation_started): Don't unref the pixbuf. * e-shell-window.c (setup_widgets): Hide the menu hint label. * e-activity-handler.c (init): Init to next_activity_id to 1 so callers can rely on it being nonzero. svn path=/trunk/; revision=23556
* Pass a label for the status bar control for now.Ettore Perazzoli2003-12-021-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gui/component/addressbook-component.c (impl_createControls): Pass a label for the status bar control for now. * gui/calendar-component.c (impl_createControls): Pass a label for the status bar control for now. * gui/tasks-component.c (impl_createControls): Pass a label for the status bar control for now. * mail-component.c (impl_createControls): Pass a label for the status bar control for now. * e-shell.c (struct _EShellPrivate): Remove member activity_handler. (setup_activity_interface): Remove. (e_shell_init): Don't call. (create_window): Don't attach the task bar to the activity handler. * e-shell-window.c (struct _ComponentView): New member statusbar_widget. (struct _EShellWindowPrivate): Remove member task_bar. (init_view): Get the status bar control from createControls and put it in the ComponentView struct. (setup_task_bar): New. (setup_statusbar_notebook): New. (switch_view): Switch the statusbar notebook too. (impl_dispose): Add missing GTK_OBJECT() cast. (e_shell_window_peek_task_bar): Remove. * Evolution-Component.idl (Component::createControls): New out arg "statusbar_control"; this way components can provide their own status bar. * e-activity-handler.c, e-activity-handler.h: Turn into a plain GObject; translate all the CORBA methods into plain C methods. * Makefile.am: Move e-activity-handler to libeshell instead of it being in the shell. svn path=/trunk/; revision=23555
* Updated to call em_folder_tree_model_set_folder_info().Jeffrey Stedfast2003-12-021-11/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-01 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (em_folder_tree_get_folder_info__got): Updated to call em_folder_tree_model_set_folder_info(). (folder_subscribed_cb): Removed. (folder_unsubscribed_cb): Removed. (folder_created_cb): Removed. (folder_deleted_cb): Removed. (folder_renamed_cb): Removed. * em-folder-tree-model.c (em_folder_tree_store_set_folder_info): New function to replace tree_store_set_folder_info() which had been in em-folder-tree.c (em_folder_tree_model_remove_uri): Made private. (em_folder_tree_model_remove_store_info): Made private. (em_folder_tree_model_remove_folders): New function to replace remove_folders() from em-folder-tree.c (em_folder_tree_model_new): No longer takes any args. * em-folder-tree.c (em_folder_tree_new): Updated. * mail-component.c (add_store): Add the store to the model rather than the treeview. (impl_createControls): create a new treeview based on the already-instantiated model. (mail_component_init): Create a new tree model. (mail_component_remove_store): Remove the store from the model directly. (mail_component_get_tree_model): Updated. * em-folder-tree.c (folder_unsubscribed_cb): Call em_folder_tree_model_remove_folders() rather than the deprecated internal remove_folders() function. (folder_renamed_cb): Same. (em_folder_tree_remove_store): Removed. (em_folder_tree_add_store): Removed. (remove_folders): Removed. svn path=/trunk/; revision=23545
* Implemented. (mail_component_class_init): Overload the handleURI method.Jeffrey Stedfast2003-11-211-8/+15
| | | | | | | | | 2003-11-20 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (impl_handleURI): Implemented. (mail_component_class_init): Overload the handleURI method. svn path=/trunk/; revision=23464
* if we're setting the fragment, strip leading /'s.Not Zed2003-11-191-2/+2
| | | | | | | | | | | | | | | 2003-11-19 Not Zed <NotZed@Ximian.com> * mail-component.c (em_uri_to_camel): if we're setting the fragment, strip leading /'s. * mail-tools.c (mail_tool_get_meta_data) (mail_tool_delete_meta_data, meta_data_key): old stuff killed. (mail_tool_uri_to_folder): handle email: uri's specially. this is a bit of a hack, the filter callbacks should manage this itself since filters are the only bits which use those uri's. svn path=/trunk/; revision=23437
* thin wrapper on mail_component_get_local_inbox.Not Zed2003-11-171-0/+5
| | | | | | | | | | | | | | | | 2003-11-17 Not Zed <NotZed@Ximian.com> * mail-tools.c (mail_tool_get_local_inbox): thin wrapper on mail_component_get_local_inbox. * mail-component.c (mail_component_get_local_inbox): helper to get the default local inbox. * mail-ops.c (fetch_mail_fetch): if we can't get the inbox, make sure we still unref the filter driver here by using hte same exit code. Fixes a crash. svn path=/trunk/; revision=23377
* Removed.Jeffrey Stedfast2003-11-151-5/+33
| | | | | | | | | | | | | | | | 2003-11-14 Jeffrey Stedfast <fejj@ximian.com> * folder-browser-factory.[c,h]: Removed. * mail-component.c (folder_selected_cb): Don't create a new view anymore, simply set the new folder uri on the folder browser. This makes the mailer use a lot less memory than in 1.x (view_control_activate_cb): Moved here from folder-browser-factory.c (impl_createControls): Connect to the activate signal on the view control. svn path=/trunk/; revision=23360
* oops, fixed for when path is a store nodeJeffrey Stedfast2003-11-151-3/+3
| | | | svn path=/trunk/; revision=23359
* Don't create a new view anymore, simply set the new folder uri on theJeffrey Stedfast2003-11-151-58/+6
| | | | | | | | | | 2003-11-14 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (folder_selected_cb): Don't create a new view anymore, simply set the new folder uri on the folder browser. This makes the mailer use a lot less memory than in 1.x svn path=/trunk/; revision=23358
* Use em_folder_tree_get_model() since an emft is not a GtkTreeView.Jeffrey Stedfast2003-11-141-1/+1
| | | | | | | | | | | | 2003-11-13 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (mail_component_get_tree_model): Use em_folder_tree_get_model() since an emft is not a GtkTreeView. * em-folder-tree.c (em_folder_tree_get_model): New function to get the tree model. svn path=/trunk/; revision=23347
* Updated for function name changes in mail-component.cJeffrey Stedfast2003-11-141-52/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-13 Jeffrey Stedfast <fejj@ximian.com> * mail-vfolder.c (vfolder_load_storage): Updated for function name changes in mail-component.c * mail-offline-handler.c: Updated for function name changes in mail-component.c * mail-account-gui.c (add_new_store): Fixed to not use EStorage. (mail_account_gui_save): Updated for function name changes. * em-account-prefs.c (account_delete_clicked): Updated for function name changes. (account_able_clicked): Same. (account_able_toggled): Same. * mail-component.c: Renamed mail_component_*storage*() functions to mail_component_*store*() since we are no longer dealing with storages, but instead with CamelStore's. (create_view_widget): If the user selects a store node, don't try to open it as a folder. svn path=/trunk/; revision=23340
* If the user selects a store node, don't try to open it as a folder.Jeffrey Stedfast2003-11-141-6/+12
| | | | | | | | | 2003-11-13 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (create_view_widget): If the user selects a store node, don't try to open it as a folder. svn path=/trunk/; revision=23336
* (impl_sendAndReceive): New, implementation forEttore Perazzoli2003-11-141-0/+8
| | | | | | | Evolution.Component.sendAndReceive. (mail_component_class_init): Install. svn path=/trunk/; revision=23335
* Modified to not use EStorage* functions. I don't even think it *needs* toJeffrey Stedfast2003-11-141-0/+6
| | | | | | | | | | | 2003-11-13 Jeffrey Stedfast <fejj@ximian.com> * mail-vfolder.c (context_rule_removed): Modified to not use EStorage* functions. I don't even think it *needs* to remove the folder from the mail-component, the mail-component should just pick it up automagically via CamelStore events. svn path=/trunk/; revision=23333
* New folder-tree widget that replaces the shell's folder-tree widget.Jeffrey Stedfast2003-11-141-1410/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-13 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.[c,h]: New folder-tree widget that replaces the shell's folder-tree widget. * em-folder-tree-model.[c,h]: New source files subclassing GtkTreeStore for handling the mess that is drag&drop. * em-folder-selection-button.c: Ported to use EMFolderTree. * em-folder-selection.c: Ported to use EMFolderTree. * em-folder-selector.c: Ported to use EMFolderTree. * mail-component.c: Ported to use EMFolderTree. * mail-offline-handler.c (storage_go_online): Updated to not pass a storage argument. * mail-folder-cache.c: Removed storage stuff. * mail-send-recv.c (receive_update_got_store): Don't do EStorage* stuff anymore. svn path=/trunk/; revision=23331
* (impl__get_userCreatableItems): New,Ettore Perazzoli2003-11-131-1/+40
| | | | | | | | | implementation for the Component.userCreatableItems attribute. (impl_requestCreateItem): New, implementation for the Component.requestCreateItem() method. (mail_component_class_init): Install. svn path=/trunk/; revision=23321
* merged spam filtering branchRadek Doulik2003-11-131-0/+11
| | | | svn path=/trunk/; revision=23302
* User vfolder rules should be in ${evolution_dir}/mail/vfolders.xml ratherJeffrey Stedfast2003-11-071-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-06 Jeffrey Stedfast <fejj@ximian.com> * mail-vfolder.c (mail_vfolder_delete_uri): User vfolder rules should be in ${evolution_dir}/mail/vfolders.xml rather than ${evolution_dir}/vfolders.xml (mail_vfolder_rename_uri): Same. (store_folder_deleted): Here too. (store_folder_renamed): And here. (vfolder_load_storage): Again here. (vfolder_editor_response): Same. (edit_rule_response): And here. (new_rule_clicked): Here too. * mail-session.c (main_get_filter_driver): User filter rules should be in ${evolution_dir}/mail/filters.xml rather than ${evolution_dir}/filters.xml * mail-autofilter.c (filter_gui_add_from_message): Same. (mail_filter_rename_uri): And here. (mail_filter_delete_uri): Here too. * em-utils.c (filter_editor_response): Again here. (em_utils_edit_filters): Same. * em-migrate.c (em_migrate_filter_file): Same (also for vfolders.xml) 2003-11-05 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.[c,h]: New source files to migrate from the old mail directory to the new mail directory. * mail-component.c (mail_component_init): Changed to use ~/.evolution and added code to migrate the old mail folders over if ~/.evolution/mail does not yet exist. svn path=/trunk/; revision=23201
* New source files to migrate from the old mail directory to the new mailJeffrey Stedfast2003-11-061-48/+39
| | | | | | | | | | | | | 2003-11-05 Jeffrey Stedfast <fejj@ximian.com> * em-migrate.[c,h]: New source files to migrate from the old mail directory to the new mail directory. * mail-component.c (mail_component_init): Changed to use ~/.evolution and added code to migrate the old mail folders over if ~/.evolution/mail does not yet exist. svn path=/trunk/; revision=23193
* added a #includeJeffrey Stedfast2003-11-011-0/+1
| | | | svn path=/trunk/; revision=23156
* show application/x-pkcs7-mime inline always by default.Not Zed2003-10-301-0/+13
| | | | | | | | | | | | | | | | | | | | | | 2003-10-30 Not Zed <NotZed@Ximian.com> * em-format.c (em_format_is_inline): show application/x-pkcs7-mime inline always by default. 2003-10-30 Not Zed <NotZed@Ximian.com> * em-format.c (emf_multipart_signed): handle application/x-pkcs7-signature. 2003-10-29 Not Zed <NotZed@Ximian.com> * em-format-html.c (em_format_html_multipart_signed_sign): handle application/x-pkcs7-signature. * em-format.c (emf_application_xpkcs7mime): Handle application/x-pkcs7-mime. svn path=/trunk/; revision=23129
* Removed, use em_utils_selection_get_uidlist() instead. (drop_uid_list):Jeffrey Stedfast2003-10-231-33/+11
| | | | | | | | | | | | | | | | | | | 2003-10-22 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (parse_uid_list): Removed, use em_utils_selection_get_uidlist() instead. (drop_uid_list): Use em_utils_selection_get_uidlist() to parse the x-uid-list selection data and use mail_tool_uri_to_folder() directly since we have the uri (originally we expected the first component of the selection data to be the e-storage-set-view folder path rather than the uri). (folder_receive_drop_cb): Call gtk_drag_finish() here. * message-list.c: s/x-evolution-message/x-uid-list/ * em-utils.c: Same. svn path=/trunk/; revision=23004
* Use e_storage_browser_peek_widget_scrolled() to retrieve the scrolledEttore Perazzoli2003-10-231-2/+4
| | | | | | | | | | | | | | | * mail-component.c (impl_createControls): Use e_storage_browser_peek_widget_scrolled() to retrieve the scrolled window that the EStorageSetView is contained in. * e-storage-browser.c (struct _EStorageBrowserPrivate): New member "storage_set_view_scrolled". (e_storage_browser_new): Put the storage_set_view in a scrolled window. Set priv->storage_set_view_scrolled to this scrolled window. (e_storage_browser_peek_tree_widget_scrolled): New. svn path=/trunk/; revision=22993
* handle destination of "" properly. (emc_popup_copy_folder_selected):Not Zed2003-10-221-15/+48
| | | | | | | | | | | | | | 2003-10-22 Not Zed <NotZed@Ximian.com> * mail-component.c (em_copy_folders): handle destination of "" properly. (emc_popup_copy_folder_selected): handle url->path properly, strip leading /. (em_copy_folders): if we just created a new folder on a subscribable store, subscribe to it. (em_copy_folders): handle nonselectable folders specially. svn path=/trunk/; revision=22973
* New functions to handle drag & drop to/from the folder tree.Jeffrey Stedfast2003-10-221-0/+489
| | | | | | | | | | | | 2003-10-21 Jeffrey Stedfast <fejj@ximian.com> * mail-component.c (drag_text_uri_list, folder_dragged_cb) (drop_uid_list, drop_folder, import_message_rfc822) (drop_message_rfc822, drop_text_uri_list, folder_receive_drop_cb): New functions to handle drag & drop to/from the folder tree. (impl_createControls): Setup drag & drop support. svn path=/trunk/; revision=22970
* compiler fixesJeffrey Stedfast2003-10-221-17/+15
| | | | svn path=/trunk/; revision=22967
* Merge new-ui-branch to the trunk.Ettore Perazzoli2003-10-221-0/+1625
| | | | svn path=/trunk/; revision=22964
* This seems to be cruft. Nuke it.Dan Winship2000-05-181-50/+0
| | | | | | * mail-component.c: This seems to be cruft. Nuke it. svn path=/trunk/; revision=3115
* More changes than a man can remember.Bertrand Guiheneuf2000-03-061-0/+2
| | | | | | The UI works now. svn path=/trunk/; revision=2074
* Make Evolution compile with the latest Bonobo changes.Arturo Espinosa2000-01-261-1/+1
| | | | | | | | Make Evolution compile with the latest Bonobo changes. Miguel. svn path=/trunk/; revision=1636
* More workArturo Espinosa2000-01-251-0/+48
svn path=/trunk/; revision=1628