aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree-model.c
Commit message (Collapse)AuthorAgeFilesLines
* Bug 626724 - Folder tree mistakes "mark as unread" as new mailMatthew Barnes2010-08-121-3/+39
|
* EMFolderTreeModel cleanups.Matthew Barnes2010-08-121-31/+33
|
* Migrate from CamelException to GError.Matthew Barnes2010-07-091-9/+3
|
* Merge branch 'express2'Matthew Barnes2010-05-271-0/+31
|\
| * Coding style and whitespace cleanup.Matthew Barnes2010-05-251-3/+6
| |
| * Listen for account added signal from the EAccountList. Helps to refreshSrinivasa Ragavan2010-04-271-0/+29
| | | | | | | | account while loading from the capplet externally.
* | Adapt to Camel API changes.Matthew Barnes2010-05-081-24/+30
| | | | | | | | | | This also removes the boxed CamelObject GType, since CamelObject is an honest-to-goodness GObject now.
* | Camel is now GObject-based.Matthew Barnes2010-04-241-12/+12
| |
* | Only #include Camel's top-level header.Matthew Barnes2010-04-031-5/+0
|/
* Shell and UI manager cleanups.Matthew Barnes2010-03-141-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | Replace the EVO_EXPRESS environment variable with an --express command line option. (Note, this adds a new translatable string for --help.) Add an EUIManager class with an "express-mode" property and custom load functions that use our new "express" preprocessor. This replaces the UI manager functions in e-utils.c. (Also going to see if I can get GTK+ to add an "add_ui_from_string" method to GtkUIManagerClass that we can override. Then we could just call gtk_ui_manager_add_ui_from_string() and the preprocessor would automatically do its thing and chain up.) Add an "express-mode" read-only GObject property to EShell. Add e_shell_configure_ui_manager() to e-shell-utils.c. For now this just creates a one-way property binding: EShell:express-mode -> EUIManager:express-mode Call this immediately after e_ui_manager_new(). (EUIManager can't do this itself because it lives too low in the dependency hierarchy and doesn't know about EShell.)
* In express mode, give the accounts first place than on this computer.Srinivasa Ragavan2010-03-141-8/+26
|
* Coding style and whitespace cleanup.Matthew Barnes2010-01-041-10/+20
|
* Replace alloca() with g_alloca().Matthew Barnes2009-12-281-1/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2009-12-201-1/+1
|
* MailFolderCache: add signal for updated unread countsJonathon Jongsma2009-12-161-55/+67
| | | | | | | | Emit a signal when we have an updated unread count for a folder rather than pushing the update directly to a particular treemodel. This doesn't yet remove the dependency on EMFolderTreeModel, but it's a first step. https://bugzilla.gnome.org/show_bug.cgi?id=604627
* Make the mail folder cache a proper GObjectJonathon Jongsma2009-12-161-1/+2
| | | | | | | | | | | mail-folder-cache previously was a bit of a pseudo object (sort of a singleton) that operated on some file static data. This commit re-factors things so that it is a proper class named MailFolderCache. At the moment, this doesn't gain us much, but in the future, it will allow us to add signals, etc so that we can de-couple a lot of the interdependencies in here. This is essentially a pre-requisite to splitting up a lot of the mail backend stuff. https://bugzilla.gnome.org/show_bug.cgi?id=604627
* Bug #339628 - Non-default Draft folders are Draft folders tooMilan Crha2009-10-161-20/+9
|
* Bug #594015 - Keeps "Loading..." node on the first fetchMilan Crha2009-09-301-0/+1
|
* Fix return typesKjartan Maraas2009-08-271-3/+3
|
* Fix excessive whitespace.Matthew Barnes2009-07-141-1/+0
|
* Split store and local folder management out from shell backend.Matthew Barnes2009-06-241-67/+13
|
* Fix similar weak pointer issues throughout.Matthew Barnes2009-06-201-0/+6
|
* Thought of a better way to copy folder tree state.Matthew Barnes2009-06-141-2/+91
| | | | | | Revert the expanded tree model column and add a "selection"property to EMFolderTreeModel, which the sidebar sets. If set, all new EMFolderTree instances will automatically mimic its expanded and selected state.
* Clean up EMFolderTreeModel.Matthew Barnes2009-06-141-310/+364
|
* Use key files for tracking widget states.Matthew Barnes2009-06-131-437/+8
| | | | | | | | | | | | | | | | | Each EShellView now maintains a GKeyFile for recording disposable widget state such as tree view path expansion, scroll bar positions, combo box selections, etc. The EShellView records changes to the key file to ~/.evolution/<shell-backend>/config/state, and automatically restores the GKeyFile at startup. Currently only the mailer uses the key file, but it's intended to serve all shell views. It replaces the use of Camel "cmeta" files, as well as "et-expanded-*" and "folder-tree-expand-state.xml" files. Also, the mailer's folder tree model now includes a column for tracking which sidebar folders are expanded. Folder tree widgets appearing in dialog windows can copy the sidebar's expanded state using em_folder_tree_clone_expanded().
* Fix whitespace errors in mail/Makefile.amMatthew Barnes2009-06-091-1/+1
|
* Bug #362907 - Give icons to Drafts/Sent/Templates foldersMilan Crha2009-06-091-2/+29
|
* Bug 584154 – custom icon folder hook does not workLucian Langa2009-06-021-0/+5
|
* More code cleanup.Matthew Barnes2009-06-021-1/+1
|
* Bug 323037 – Folder emblem to show new mail arrivalMilan Crha2009-06-011-15/+36
|
* Prefer GLib basic types over C types.Matthew Barnes2009-05-271-77/+77
|
* Merge branch 'master' into kill-bonoboMatthew Barnes2009-05-271-1/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: a11y/widgets/ea-combo-button.c a11y/widgets/ea-combo-button.h addressbook/gui/component/addressbook-component.c addressbook/gui/component/addressbook-component.h addressbook/gui/component/addressbook-view.c addressbook/gui/component/addressbook-view.h addressbook/gui/component/component-factory.c addressbook/gui/widgets/e-addressbook-view.c addressbook/gui/widgets/eab-contact-display.c addressbook/gui/widgets/eab-gui-util.h addressbook/gui/widgets/eab-menu.c addressbook/gui/widgets/eab-menu.h addressbook/gui/widgets/eab-popup-control.c addressbook/gui/widgets/eab-popup-control.h addressbook/gui/widgets/eab-popup.c addressbook/gui/widgets/eab-popup.h calendar/gui/cal-search-bar.c calendar/gui/calendar-commands.c calendar/gui/calendar-component.c calendar/gui/comp-editor-factory.c calendar/gui/comp-editor-factory.h calendar/gui/control-factory.c calendar/gui/dialogs/comp-editor.c calendar/gui/e-cal-component-memo-preview.c calendar/gui/e-cal-component-memo-preview.h calendar/gui/e-calendar-table.c calendar/gui/e-memo-table.c calendar/gui/e-memos.c calendar/gui/e-tasks.c calendar/gui/gnome-cal.c calendar/gui/gnome-cal.h calendar/gui/itip-bonobo-control.c calendar/gui/itip-bonobo-control.h calendar/gui/main.c calendar/gui/memos-component.c calendar/gui/memos-control.c calendar/gui/memos-control.h calendar/gui/migration.c calendar/gui/migration.h calendar/gui/tasks-component.c calendar/gui/tasks-control.c calendar/importers/main.c composer/Makefile.am composer/e-composer-header-table.c composer/e-composer-header.c composer/e-composer-header.h composer/e-composer-name-header.c composer/e-composer-private.c composer/e-composer-text-header.c composer/e-msg-composer.c composer/e-msg-composer.h e-util/e-corba-utils.h e-util/e-logger.c e-util/e-logger.h e-util/e-util-labels.c e-util/e-util-labels.h em-format/em-format.c mail/Makefile.am mail/e-mail-shell-migrate.c mail/em-account-editor.c mail/em-account-editor.h mail/em-composer-prefs.c mail/em-composer-utils.c mail/em-composer-utils.h mail/em-folder-browser.c mail/em-folder-tree-model.c mail/em-folder-tree.c mail/em-folder-tree.h mail/em-folder-utils.c mail/em-folder-utils.h mail/em-folder-view.c mail/em-format-html-display.c mail/em-format-html.c mail/em-mailer-prefs.c mail/em-mailer-prefs.h mail/em-message-browser.c mail/em-message-browser.h mail/em-network-prefs.h mail/em-popup.c mail/em-utils.c mail/importers/Makefile.am mail/mail-component-factory.c mail/mail-component.c mail/mail-config-factory.c mail/mail-config-factory.h mail/mail-config.c mail/mail-dialogs.glade mail/mail-types.h plugins/calendar-weather/calendar-weather.c plugins/mail-account-disable/mail-account-disable.c plugins/select-one-source/select-one-source.c po/POTFILES.in shell/e-component-registry.c shell/e-component-registry.h shell/e-component-view.c shell/e-component-view.h shell/e-corba-config-page.c shell/e-corba-config-page.h shell/e-shell-constants.h shell/e-shell-settings-dialog.c shell/e-shell-settings-dialog.h shell/e-shell-window-commands.c shell/e-shell-window.c shell/e-shell.h shell/e-sidebar.c shell/e-sidebar.h shell/e-user-creatable-items-handler.c shell/e-user-creatable-items-handler.h shell/es-menu.c shell/es-menu.h shell/evolution-component.h shell/evolution-config-control.c shell/evolution-config-control.h shell/evolution-listener.c shell/evolution-listener.h shell/evolution-shell-component-utils.c shell/evolution-shell-component-utils.h shell/importer/evolution-importer-client.c shell/importer/evolution-importer-client.h shell/importer/evolution-importer-listener.c shell/importer/evolution-importer-listener.h shell/importer/evolution-importer.c shell/importer/evolution-importer.h shell/importer/evolution-intelligent-importer.c shell/importer/evolution-intelligent-importer.h shell/importer/intelligent.c shell/main.c shell/test/evolution-test-component.c shell/test/evolution-test-component.h widgets/menus/gal-view-instance.c widgets/menus/gal-view-menus.c widgets/menus/gal-view-menus.h widgets/misc/Makefile.am widgets/misc/e-activity-handler.c widgets/misc/e-activity-handler.h widgets/misc/e-charset-picker.c widgets/misc/e-combo-button.c widgets/misc/e-combo-button.h widgets/misc/e-config-page.h widgets/misc/e-dropdown-button.c widgets/misc/e-dropdown-button.h widgets/misc/e-filter-bar.c widgets/misc/e-info-label.c widgets/misc/e-info-label.h widgets/misc/e-multi-config-dialog.c widgets/misc/e-multi-config-dialog.h widgets/misc/e-search-bar.c widgets/misc/e-search-bar.h widgets/misc/e-task-bar.c widgets/misc/e-task-bar.h widgets/misc/e-task-widget.c widgets/misc/e-task-widget.h widgets/misc/test-dropdown-button.c widgets/misc/test-error.c widgets/misc/test-info-label.c widgets/table/e-table-example-1.c
| * Remove trailing whitespace, again.Matthew Barnes2009-05-271-1/+1
| |
| * Fix compiler warnings in mail.Matthew Barnes2009-05-261-1/+2
| |
| * Use named icons in the folder tree instead of pixbufs.Matthew Barnes2009-05-251-23/+39
| |
| * Fix several types of pedantic compiler warnings.Matthew Barnes2009-05-171-1/+1
| |
| * Bug 577929 – Consolidate marshallersMatthew Barnes2009-04-231-4/+4
| | | | | | | | | | | | Consolidate all marshalling specifications to e-util/e-marshal.list. This reduces code duplication and makes it slightly easier to locate unused marshallers.
| * ** Fix for bug #563369Milan Crha2008-12-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-12-09 Milan Crha <mcrha@redhat.com> ** Fix for bug #563369 * em-folder-properties.c: (emfp_dialog_got_folder_quota): * em-folder-tree-model.c: (em_folder_tree_model_set_folder_info): * mail-component.c: (view_changed): Translate "Templates" folder name. svn path=/trunk/; revision=36856
| * Change license from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-191-14/+14
| | | | | | | | svn path=/trunk/; revision=36381
| * ** Fix for bug #543532Milan Crha2008-07-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | 2008-07-28 Milan Crha <mcrha@redhat.com> ** Fix for bug #543532 * em-folder-tree-model.c: (em_folder_tree_model_remove_store_info): Let free memory when we are done with it, not before. svn path=/trunk/; revision=35850
| * ** Fix for bug #543411Srinivasa Ragavan2008-07-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | 2008-07-28 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #543411 * mail/em-folder-tree-model.c: Dont load known folders. * mail/em-folder-tree.c: Move iter to the last entry. svn path=/trunk/; revision=35841
* | Fix most of the compiler warnings in mail.Matthew Barnes2009-05-081-5/+7
| |
* | Adapt mail to EShellBackend changes.Matthew Barnes2009-05-081-33/+35
| | | | | | | | | | Again, builds but not tested. Lots of compiler warnings to clean up, but I don't have the energy for it. This was pretty grueling.
* | Split EAccountList and ESignatureList management out of the mail module.Matthew Barnes2009-01-271-1/+2
| | | | | | | | | | | | | | This reduces the dependency of the composer on the mail module, which is currently a circular dependency. svn path=/branches/kill-bonobo/; revision=37135
* | Make the sidebar icon follow the folder icon.Matthew Barnes2009-01-251-22/+37
| | | | | | | | | | | | Fix more runtime warnings. svn path=/branches/kill-bonobo/; revision=37130
* | Merge revisions 36811:36865 from trunk.Matthew Barnes2008-12-111-0/+2
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36867
* | Get the mail folder tree compiling, though I'm not yet sure why it's notMatthew Barnes2008-10-171-194/+320
| | | | | | | | | | | | showing anything. Probably something stupid. Also enabled the composer. svn path=/branches/kill-bonobo/; revision=36623
* | Merge revisions 36016:36533 from trunk.Matthew Barnes2008-10-021-14/+14
| | | | | | | | svn path=/branches/kill-bonobo/; revision=36534
* | Merge revisions 35747:35930 from trunk.Matthew Barnes2008-08-081-1/+6
|/ | | | svn path=/branches/kill-bonobo/; revision=35931
* fixed copyright noticesJeffrey Stedfast2008-06-211-1/+1
| | | | svn path=/trunk/; revision=35663
* ** Fix for bug #534039Milan Crha2008-06-201-18/+0
| | | | | | | | | | | | | | | | | | | | 2008-06-20 Milan Crha <mcrha@redhat.com> ** Fix for bug #534039 * em-folder-tree-model.h: (em_folder_tree_model_signal_block): * em-folder-tree-model.c: (em_folder_tree_model_signal_block): Removed obsolete function. * mail-vfolder.c: (vfolder_load_storage): Add storage to the tree model when everything is loaded, thus everything will be shown when enabling the Search Folders on demand. Also ensure the Search Folders to be enabled next start. * mail-vfolder.c: (mail_vfolder_add_uri), (mail_vfolder_delete_uri): Track folders even when Search Folders disabled, to have them known when enabling Search Folders on demand. svn path=/trunk/; revision=35658
* ** Fix for bug #514744Milan Crha2008-03-171-2/+8
| | | | | | | | | | | | 2008-03-17 Milan Crha <mcrha@redhat.com> ** Fix for bug #514744 * em-folder-tree-model.c: (em_folder_tree_model_load_state): Check also for proper root node and use default if not the right one. svn path=/trunk/; revision=35209
* ** Fix for bug #511488Srinivasa Ragavan2008-01-281-0/+17
| | | | | | | | | | | | | | | | 2008-01-24 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #511488 * em-folder-tree-model.c: (em_folder_tree_model_signal_block): * em-folder-tree-model.h: Function to block folder-created function. * mail-vfolder.c: (vfolder_load_storage): Block the signal handler when loading. svn path=/trunk/; revision=34905
* Send the folder name along with the new mail event.Srinivasa Ragavan2008-01-021-0/+36
| | | | | | | | | | | | | 2008-01-02 Srinivasa Ragavan <sragavan@novell.com> * em-event.c: (eme_target_free): * em-event.h: * em-folder-tree-model.c: (em_folder_tree_model_get_folder_name): * em-folder-tree-model.h: * mail-folder-cache.c: (real_flush_updates): Send the folder name along with the new mail event. svn path=/trunk/; revision=34744
* Just remove the mail-remote plugin altogether so we stop going back andMatthew Barnes2007-12-161-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-12-15 Matthew Barnes <mbarnes@redhat.com> * configure.in: * plugins/mail-remote: Just remove the mail-remote plugin altogether so we stop going back and forth over whether the translatable files should be added to POTFILES.in. We can always add it back once we get it working again. * po/POTFILES.in: Remove the mail-remote files for good this time. * mail/em-folder-tree-model.c (emft_model_unread_count_changed), (emfolder_tree_model_set_unread_count): Fix recently introduced compiler warnings. * plugins/mail-remote: Remove this plugin until it can be fixed. * ui/evolution.xml: Fix capitalization of "Download Messages..." (HIG 8.3.2). svn path=/trunk/; revision=34706
* Moving some code from tree to model where it belongs. Fixes some CPU usageSankar P2007-12-141-0/+28
| | | | | | | | | | | | | | | | 2007-12-14 Sankar P <psankar@novell.com> * em-folder-tree-model.c: (emft_model_unread_count_changed), (em_folder_tree_model_init), (em_folder_tree_model_set_unread_count): * em-folder-tree.c: (em_folder_tree_construct): Moving some code from tree to model where it belongs. Fixes some CPU usage issue whenever (un)read count is updated. Hopefully no regresssions. svn path=/trunk/; revision=34698
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-167/+167
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* ** Fix for bug #343011 (restore collapse state of selected folder afterMilan Crha2007-11-051-0/+94
| | | | | | | | | | | | | | | | | | | | | 2007-11-05 Milan Crha <mcrha@redhat.com> ** Fix for bug #343011 (restore collapse state of selected folder after start) * em-folder-tree.c: (emft_maybe_expand_row): Do not expand subtree of a node, only make it visible. * em-folder-tree-model.h: (em_folder_tree_model_get_expanded_uri), (em_folder_tree_model_set_expanded_uri): * em-folder-tree-model.c: (em_folder_tree_model_get_expanded_uri), (em_folder_tree_model_set_expanded_uri): Same as ..._get/_set_expanded, but using 'uri', instead of 'key'. * em-folder-tree-model.c: (emftm_uri_to_key): New helper function. * mail-component.c: (impl_createView): Restore collapsed state after selecting last selected folder, if necessary. svn path=/trunk/; revision=34503
* ** Fix for bug #484635Bharath Acharya2007-10-091-1/+0
| | | | | | | | | | | | | 2007-10-09 Bharath Acharya <abharath@novell.com> ** Fix for bug #484635 * em-folder-tree-model.c: (em_folder_tree_model_remove_store_info): Destroy functions in GHashTables to simplify memory management already free the store info. So do no free it again in this function. svn path=/trunk/; revision=34365
* ** Fixes bug #469657Matthew Barnes2007-10-021-48/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-02 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #469657 * addressbook/importers/evolution-ldif-importer.c: * calendar/gui/comp-editor-factory.c: * composer/e-msg-composer.c: * e-util/e-config-listener.c: * mail/em-composer-prefs.c: * mail/em-folder-tree-model.c: * mail/em-format.c: * mail/em-format-html.c: * mail/em-migrate.c: * mail/em-subscribe-editor.c: * mail/mail-component.c: * mail/mail-send-recv.c: * mail/message-list.c: * mail/importers/elm-importer.c: * plugins/exchange-operations/exchange-folder-size-display.c: * plugins/mono/mono-plugin.c: * shell/e-shell-settings-dialog.c: * tools/killev.c: * widgets/table/e-table-extras.c: * widgets/table/e-table-selection-model.c: Use destroy functions in GHashTables to simplify memory management. svn path=/trunk/; revision=34344
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-1/+1
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* ** Move away from g_assert to g_return* calls Srinivasa Ragavan2007-08-311-2/+2
| | | | svn path=/trunk/; revision=34143
* ** Fix for bug #464312Srinivasa Ragavan2007-08-071-0/+4
| | | | svn path=/trunk/; revision=33965
* ** Fix for bug #437935 from Gilles Dartiguelongue Srinivasa Ragavan2007-06-181-6/+6
| | | | svn path=/trunk/; revision=33698
* Fix compilation warnings in mail folder (#437935).Matthew Barnes2007-06-031-32/+32
| | | | svn path=/trunk/; revision=33628
* Improvements to the new mail hook.Srinivasa Ragavan2007-05-031-0/+41
| | | | svn path=/trunk/; revision=33470
* Massive code cleanup (bug #429422)Matthew Barnes2007-04-201-1/+1
| | | | svn path=/trunk/; revision=33432
* ** 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
* ** Fixes 333243 For null uri, don't need remove it.Jeff Cai2006-04-101-1/+2
| | | | | | | | | | 2006-04-10 Jeff Cai <jeff.cai@sun.com> ** Fixes 333243 * em-folder-tree-model.c: (em_folder_tree_model_remove_folders): For null uri, don't need remove it. svn path=/trunk/; revision=31795
* 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
* ** See bug 234008Parthasarathi Susarla2005-12-201-0/+14
| | | | | | | | | | | | | 2005-12-20 Parthasarathi Susarla <sparthasarathi@novell.com> ** See bug 234008 * em-folder-tree-model.c: * mail-folder-cache.c: Make sure that the Draft folder highlights the number of messages in it svn path=/trunk/; revision=30891
* em-folder-browser.c em-folder-view.c em-format-html.cTor Lillqvist2005-12-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-12-18 Tor Lillqvist <tml@novell.com> * em-folder-browser.c * em-folder-view.c * em-format-html.c * em-format-html-display.c * em-mailer-prefs.c * em-message-browser.c * em-migrate.c * em-subscribe-editor.c * em-sync-stream.c * em-utils.c * em-vfolder-editor.c * em-vfolder-rule.c * mail-autofilter.c * mail-component.c * mail-config.c * mail-folder-cache.c: Use gstdio wrappers. Construct pathnames of glade, xml, etspec and png files at run-time. Use g_filename_{to,from}_uri(). * em-folder-browser.c (emfb_init) * em-folder-view.c (emfv_finalise) * em-message-browser.c (emmb_init): As EMFolderView::ui_files now always is a list of filenames constructed with g_build_filename(), use g_free() on each list entry before calling g_slist_free() on the list. * em-folder-tree-model.c (em_folder_tree_model_load_state): Use e_xml_parse_file(). * em-migrate.c: Bypass all the code for upgrading from 1.x on Win32. (emm_setup_initial): Use GDir instead of dirent. * em-sync-stream.c * mail-folder-cache.c: Use pthread_equal() to compare pthread_t values. * em-vfs-stream.c: No EINPROGRESS or ELOOP on Win32. svn path=/trunk/; revision=30854
* Added enum and the code to change the icon for sent items folder. FixesSankar P2005-09-201-0/+1
| | | | | | | | | | 2005-09-15 Sankar P <psankar@novell.com> * em-folder-tree-model.c (em_folder_tree_model_set_folder_info): * em-folder-tree.c (render_pixbuf): Added enum and the code to change the icon for sent items folder. Fixes #257321 svn path=/trunk/; revision=30365
* check if the account is enabled, before adding the store ** Fixes #313057Vivek Jain2005-08-111-1/+2
| | | | | | | | | | 2005-08-11 Vivek Jain <jvivek@novell.com> * em-folder-tree-model.c: (account_changed) check if the account is enabled, before adding the store ** Fixes #313057 svn path=/trunk/; revision=30087
* Change instances of "vfolder" that appear in the UI to use the termRodney Dawes2005-08-081-4/+4
| | | | | | | | | | | | | | | | | | | | | | 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
* if we get a null default, then set "" on the entry. (emae_option_entry):Not Zed2005-07-211-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-21 Not Zed <NotZed@Ximian.com> * em-account-editor.c (emae_option_entry): if we get a null default, then set "" on the entry. (emae_option_entry): set the default value on the url if it doesn't exist already. 2005-07-20 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (refresh_folders_desc, refresh_folders_get) (refresh_folders_got, refresh_folders_free, get_folders) (receive_update_got_folderinfo, receive_update_got_store): refresh all the folders manually and directly. * mail-folder-cache.c (setup_folder): propagate even -1 unread counts, they get ignored later. * em-composer-utils.c (emu_handle_receipt_message) (em_utils_handle_receipt): use getmessagex too, so we can always clear any error. * em-folder-view.c (emfv_message_selected_timeout) (emfv_list_done_message_selected): use getmessagex and do something meaninful with the error. * mail-ops.c (mail_get_messagex): added new get message which returns an exception. 2005-07-19 Not Zed <NotZed@Ximian.com> * mail-tools.c (mail_tool_uri_to_folder): dont get the service connected, it will connect if it needs to. * mail-ops.c (get_folderinfo_get): * em-folder-utils.c (emft_copy_folders__copy) (emfu_delete_folders): * em-folder-tree.c (emft_get_folder_info__get): Always request subscribed folders, if the backend doesn't implement it it will ignore it. 2005-07-13 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (mail_autoreceive_init, auto_online): listen to session online events, and if we are online, trigger an auto-receive of all auto-check accounts. 2005-07-11 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (auto_account_commit): force an update immediately if we're setting up the timeout to start with. * em-folder-tree-model.c (em_folder_tree_model_set_unread_count): noop if the unread count < 0. (em_folder_tree_model_set_folder_info): only set the unread count if we actually have one. * em-folder-tree.c (emft_tree_row_expanded): get the folder list 'fast'. * mail-ops.c (get_folderinfo_get): get the folder list 'fast'. svn path=/trunk/; revision=29822
* Retired GAL from Head. The relevant files have moved inside evolution.Kaushal Kumar2005-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Replace "_Virtual Folder" with "_vFolder" for the search menu to create aRodney Dawes2005-02-021-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-01 Rodney Dawes <dobey@novell.com> * em-folder-browser.c: Replace "_Virtual Folder" with "_vFolder" for the search menu to create a vfolder from a search * em-folder-tree-model.c (sort_cb): s/VFolders/vFolders/ for sorting in the folder tree (em_folder_tree_model_load_state): s/VFolders/vFolders/ in a comment * em-folder-view.c: s/VFolder/vFolder/ for the popup menu * em-vfolder-editor.c (em_vfolder_editor_new): Replace the string "Virtual _Folders" with "v_Folders" for the label * em-vfolder-rule.c (em_vfolder_editor_sourcelist_new): Repalce the string "VFolder source" with "vFolder source" * mail-errors.xml: * mail-errors.xml.h: Replace "virtual folder" with "vFolder" in an error string * mail-vfolder.c (vfolder_setup_desc): s/vfolder/vFolder/ (vfolder_setup_do): s/vfolder/vFolder/ (vfolder_load_storage): s/VFolders/vFolders/ (vfolder_edit_rule): s/VFolder/vFolder/ (vfolder_gui_add_rule): s/VFolder/vFolder/ Fixes #68137 svn path=/trunk/; revision=28664
* use the type hint to sort for inbox, not the name.Not Zed2005-02-011-19/+23
| | | | | | | | | | | | | | | | | | | | | 2005-02-01 Not Zed <NotZed@Ximian.com> * em-folder-tree-model.c (sort_cb): use the type hint to sort for inbox, not the name. (emft_is_special_local_folder): removed. (em_folder_tree_model_set_folder_info): special-case the local-store case, handle translated names and the name hints. * em-folder-tree.c (render_pixbuf): use the camel folderinfo folder type to determine the icon, don't hardcode based on name. ** See bug #71310 * em-composer-prefs.c (sig_add_script_response): force a save of the signatures as soon as they change. Also save the script name if we were just editing it, not just the signature name. svn path=/trunk/; revision=28653
* ** See bug #65329.Not Zed2004-09-241-2/+17
| | | | | | | | | | | | | | | 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
* Fix a typo setting the root node.David Malcolm2004-09-211-1/+1
| | | | | | | | | 2004-09-21 David Malcolm <dmalcolm@redhat.com> * em-folder-tree-model.c (em_folder_tree_model_set_selected): Fix a typo setting the root node. svn path=/trunk/; revision=27311
* Merged notzed-eplugin-2-branch to head.Michael Zucci2004-09-201-2/+2
| | | | svn path=/trunk/; revision=27300
* store the select-uri on the view not in the thread message.Not Zed2004-08-241-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-08-23 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (em_folder_tree_set_selected): store the select-uri on the view not in the thread message. (emft_get_folder_info__free): (emft_get_folder_info__got): select_uri removed. (em_folder_tree_set_selected_list): don't set each selected separately, do it as a list. (emft_maybe_expand_row): if this is a selected row, select it too. (emft_get_folder_info__got): do no pending set selection stuff here. (em_folder_tree_set_selected): just call set_selected_list with one item. (emft_expand_node): if this is a selected row, select it too. (emft_get_folder_info__got): no longer need to track lost folders. (emft_tree_row_activated): clear the pending select list. (emft_tree_selection_changed): and here too. (em_folder_tree_get_selected_uris): get the lost folders from the un-applied selected ones now. also fixes a list appending error. (emft_tree_user_event): find out when the user hits a key or mouse button to override any pending single-user select and don't override the cursor setting either. (emft_tree_row_expanded): set the 'load subdirs' false before we load it, so we don't try to load it again if its still being loaded. (emft_get_folder_info__got): don't check the loaded flag here, it should be set by the callee, also check the exception return. svn path=/trunk/; revision=27002
* Return NULL not FALSE on error.Jeffrey Stedfast2004-08-111-1/+1
| | | | | | | | | 2004-08-06 Jeffrey Stedfast <fejj@novell.com> * em-folder-tree-model.c (em_folder_tree_model_get_selected): Return NULL not FALSE on error. svn path=/trunk/; revision=26864
* call folder_subscribed directly from the async function notNot Zed2004-06-291-2/+2
| | | | | | | | | | | 2004-06-29 Not Zed <NotZed@Ximian.com> * em-folder-tree-model.c (folder_created_cb): call folder_subscribed directly from the async function not foldre_subscribed_cb, otherwise we run out of order. Part of #60775. svn path=/trunk/; revision=26547
* Same as below. (em_folder_tree_model_remove_folders): Same.Jeffrey Stedfast2004-06-231-20/+30
| | | | | | | | | 2004-06-22 Jeffrey Stedfast <fejj@novell.com> * em-folder-tree-model.c (sort_cb): Same as below. (em_folder_tree_model_remove_folders): Same. svn path=/trunk/; revision=26458
* revert previous change. Stupid emftm.Not Zed2004-06-111-1/+1
| | | | | | | | | 2004-06-11 Not Zed <NotZed@Ximian.com> * em-folder-tree-model.c (em_folder_tree_model_add_store): revert previous change. Stupid emftm. svn path=/trunk/; revision=26306
* handle a null path or fragment.Not Zed2004-06-111-1/+1
| | | | | | | | | | | | 2004-06-11 Not Zed <NotZed@Ximian.com> * em-utils.c (em_uri_from_camel): handle a null path or fragment. * em-folder-tree-model.c (em_folder_tree_model_add_store): set the full name of the store to "". Fixes #59925 and probably other issues. Related to the removal of folderinfo->path. svn path=/trunk/; revision=26305
* Fixes bug #58825. Ugh. Really Gross Hack (tm).Jeffrey Stedfast2004-06-111-21/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Set the store's FULL_NAME to NULL here. Fixes the crash in bug #59713.Jeffrey Stedfast2004-06-081-1/+1
| | | | | | | | | 2004-06-07 Jeffrey Stedfast <fejj@novell.com> * em-folder-tree-model.c (em_folder_tree_model_add_store): Set the store's FULL_NAME to NULL here. Fixes the crash in bug #59713. svn path=/trunk/; revision=26238
* Disable debug here too - all this code has been working fine.Jeffrey Stedfast2004-05-291-2/+2
| | | | | | | | | | | | | | | | | | | | | 2004-05-28 Jeffrey Stedfast <fejj@novell.com> * em-folder-tree.c (d): Disable debug here too - all this code has been working fine. * em-folder-selector.c (d): Disable debug spew here too (not that this debug was ever seen since it never hit those conditions). * mail-folder-cache.c (d): Disable debug here too. * em-folder-tree-model.c: Disable debug spewage that we don't need anymore. The amount of debug spewage on the console is getting to be too much to find anything. * em-folder-tree.c (emft_expand_node): Use p+1 as the full_name rather than p. Fixes bug #59187. svn path=/trunk/; revision=26125
* set the default selection to inbox.Not Zed2004-05-261-41/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Fix for bug #57152.Jeffrey Stedfast2004-05-081-6/+7
| | | | | | | | | | | | | | | | | | | | 2004-05-07 Jeffrey Stedfast <fejj@ximian.com> Fix for bug #57152. * em-folder-tree.c (emft_get_folder_info__got): If we queried for a recursive folder-info listing, then pass fully_loaded as TRUE to set_folder_info(). (emft_get_folder_info__got): If we find that a folder doesn't have children, set the expanded state to FALSE. * em-folder-tree-model.c (em_folder_tree_model_set_folder_info): Now takes a "fully_loaded" argument to hint to set_folder_info whether or not folder-info's without child nodes can possibly have children (eg. if fully_loaded is set and fi->child is NULL, then 'load' will be FALSE no matter what fi->flags contains). svn path=/trunk/; revision=25826
* removed.Not Zed2004-05-031-0/+3
| | | | | | | | | | | | | | 2004-05-03 Not Zed <NotZed@Ximian.com> * mail-send-recv.c (receive_update_done): removed. * em-mailer-prefs.h: * message-tag-followup.h: * mail-config-druid.h: * mail-tools.h: clean up & use forward decls. Fix users with busted includes. svn path=/trunk/; revision=25745
* Sort the VFolders. Fixes bug #56636.Jeffrey Stedfast2004-04-291-29/+1
| | | | | | | | | 2004-04-28 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (sort_cb): Sort the VFolders. Fixes bug #56636. svn path=/trunk/; revision=25672
* Duh. If the lookup of si fails, don't use si->display_name in the warningJeffrey Stedfast2004-04-291-4/+1
| | | | | | | | | | | | | | | | | 2004-04-28 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (em_folder_tree_model_remove_store): Duh. If the lookup of si fails, don't use si->display_name in the warning message. Actually, don't bother with a warning message at all, this is a perfectly valid situation. Fixes bug #57746. * mail-ops.c (mail_send_message): Don't set the Date header here anymore. It has either already been set (when written to the Outbox) or will automagially be set to the current time if a Date hasn't already been set when the transport sends it. Fixes bug #57599. svn path=/trunk/; revision=25670
* enabled some unread-count debug spewageJeffrey Stedfast2004-04-141-1/+1
| | | | svn path=/trunk/; revision=25439
* Fixes bug #37416Jeffrey Stedfast2004-04-031-2/+12
| | | | | | | | | | | | | | | | 2004-04-02 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #37416 * mail-folder-cache.c (update_1folder): Same as below. Also add vJunk fodlers to the list of folders that we display the total count for (as discussed on the mailing lists). * em-folder-tree-model.c (em_folder_tree_model_set_folder_info): Use 'total - deleted' as the count for Outbox rather than just the total count. svn path=/trunk/; revision=25305
* Fixed some logic bugs.Jeffrey Stedfast2004-03-241-10/+7
| | | | | | | | | 2004-03-23 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (em_folder_tree_model_set_expanded): Fixed some logic bugs. svn path=/trunk/; revision=25164
* Fix for bug #55358.Jeffrey Stedfast2004-03-171-88/+211
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* when we sort, handle not having the node in the tree. otherwise we alwaysNot Zed2004-03-111-3/+5
| | | | | | | | | | | 2004-03-11 Not Zed <NotZed@Ximian.com> * em-folder-tree-model.c (sort_cb): when we sort, handle not having the node in the tree. otherwise we always compare against "" which puts it at the head of the branch, rather than the tail. See #55428. svn path=/trunk/; revision=25024
* pass the raw header in instead of name and value. (efh_format_headers): ifNot Zed2004-03-111-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Partial fix for bug #53862Jeffrey Stedfast2004-03-111-0/+14
| | | | | | | | | | | | | | | | | 2004-03-10 Jeffrey Stedfast <fejj@ximian.com> Partial fix for bug #53862 * em-folder-selector.c (emfs_response): Connect to the newly added "folder-added" signal and save a created_uri string so that we can be sure to only listen for the creation of the folder the user created in *our* create-folder dilog (and not from some other place). * em-folder-tree-model.c (folder_subscribed): Emit a new "folder-added" signal. svn path=/trunk/; revision=25013
* if we have the folder opened already, and its the outbox, then use theNot Zed2004-03-031-6/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* fix camel provider api changes.Not Zed2004-02-191-2/+1
| | | | | | | | | | | | | | | | | 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 the weird-arsed e-contact list api. and fix a small memleak.Not Zed2004-02-171-2/+2
| | | | | | | | | 2004-02-17 Not Zed <NotZed@Ximian.com> * importers/pine-importer.c (import_contact): fix for the weird-arsed e-contact list api. and fix a small memleak. svn path=/trunk/; revision=24753
* "On this computer" -> "On This Computer".Christian Neumair2004-02-121-2/+2
| | | | svn path=/trunk/; revision=24713
* merged in code from em_folder_tree_model_drag_data_delete.Not Zed2004-02-091-596/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-09 Not Zed <NotZed@Ximian.com> * em-folder-tree.c (tree_drag_data_delete): merged in code from em_folder_tree_model_drag_data_delete. (tree_drag_data_get): similar. (tree_drag_data_received): similar. (drag_text_uri_list): removed, use em_utils_selection_set_urilist in tree_drag_data_get instead. (em_folder_tree_enable_drag_and_drop): merged in em_folder_tree_model_set_drag_drop_types. (tree_drag_motion): merge in drop_possible, handle qualifiers, and return the right type. (em_folder_tree_model_row_drop_target): rename to emft_drop_target, and make private. Beefed up substantially, handles illogical drops, dropping on to special folders and properly handling vfolder uri's (at least within the same tree instance). * em-folder-tree-model.c: Moved all of the DND stuff to em-folder-tree, where it belongs, made it all static. Should allow for some sharing of code too. svn path=/trunk/; revision=24679
* Now takes a GdkContext arg... will need this later when we want toJeffrey Stedfast2004-02-061-8/+11
| | | | | | | | | | 2004-02-05 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (em_folder_tree_model_row_drop_target): Now takes a GdkContext arg... will need this later when we want to re-enable dnd of vfolders. svn path=/trunk/; revision=24637
* hmm, another well tested bit of code ... if you launch another thread youNot Zed2004-02-051-109/+124
| | | | | | | | | | | | | | | | | | | | | | | | 2004-02-05 Not Zed <NotZed@Ximian.com> * em-folder-tree-model.c (em_folder_tree_model_drag_data_received): hmm, another well tested bit of code ... if you launch another thread you gotta copy the selection since it wont hang around until we're done with it. So copy/parse the selection data into appropriate structures. (drop_folder): just take the async message as an argument, rather than copying half of it to the stack. (drop_text_uri_list, drop_uid_list): replace most args with the thread message. (drop_message_rfc822): removed, now trivial. (emftm_drag_data_received_async__drop): change for changed args, and fix a memleak. (emftm_drag_data_received_async__free): fixed for changed structure. * em-folder-tree.c (em_folder_tree_create_folder): call abort before we unref, aid debugging if we hit it. svn path=/trunk/; revision=24629
* Don't allow dropping into a vfolder (store). Fixes bug #53757.Jeffrey Stedfast2004-02-051-11/+15
| | | | | | | | | 2004-02-04 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (em_folder_tree_model_row_drop_target): Don't allow dropping into a vfolder (store). Fixes bug #53757. svn path=/trunk/; revision=24623
* oops, don't ref/unref the gtk_selection_dataJeffrey Stedfast2004-02-041-2/+0
| | | | svn path=/trunk/; revision=24596
* Modified slightly. The model now calls gtk_drag_finish() for us when it isJeffrey Stedfast2004-02-041-70/+121
| | | | | | | | | | | | | | | | 2004-02-03 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (tree_drag_data_received): Modified slightly. The model now calls gtk_drag_finish() for us when it is done. * em-folder-tree-model.c (em_folder_tree_model_drag_data_received): Make this perform camel operations in another thread so we don't block. (em_folder_tree_model_drag_data_get): Updated args to be consistant with drag_data_received. svn path=/trunk/; revision=24595
* Fixes for bug #53348Jeffrey Stedfast2004-01-311-1/+67
| | | | | | | | | | | | | | | | | | | | | | 2004-01-30 Jeffrey Stedfast <fejj@ximian.com> Fixes for bug #53348 * mail-account-gui.c (mail_account_gui_save): Only add the new store to the mail-component if the mail-component doesn't already know about it (ie. only if we are adding a new account). * em-folder-tree-model.c (em_folder_tree_model_add_store): Hash our store-info based on account here. (em_folder_tree_model_init): Listen for account_changed/account_removed signals. (em_folder_tree_model_finalize): Disconnect above handlers. (account_changed): Tear down the account store node and replace it with the new store (assuming it belongs in the tree after the changes). (account_removed): Remove the account store from the tree. svn path=/trunk/; revision=24551
* ** See bug #53123.Not Zed2004-01-301-35/+33
| | | | | | | | | | | | | | 2004-01-30 Not Zed <NotZed@Ximian.com> ** See bug #53123. * em-folder-tree-model.c (drop_folder): changed to take store and dest folder as arg, to handle the case of the parent folder being "" properly. (em_folder_tree_model_drag_data_received): special case dropping a folder, and don't allow dropping to "" for any other types. svn path=/trunk/; revision=24533
* If the store is already in the model, remove it and then re-add it. FixesJeffrey Stedfast2004-01-291-14/+2
| | | | | | | | | | 2004-01-28 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (em_folder_tree_model_add_store): If the store is already in the model, remove it and then re-add it. Fixes bug #53422. svn path=/trunk/; revision=24498
* And thus completes the fixes for bug #52766.Jeffrey Stedfast2004-01-291-7/+13
| | | | | | | | | | | | | | | | | | | 2004-01-28 Jeffrey Stedfast <fejj@ximian.com> And thus completes the fixes for bug #52766. * em-folder-tree.c (tree_drag_drop): Don't call gtk_drag_get_data() manually here or we end up getting 2 drag-data-received callbacks which is Not Good (tm). * em-folder-tree-model.c (drop_folder): Now takes a moved argument to specify whether or not the contents were moved (the move argument is just a hint). (drop_uid_list): Same. (em_folder_tree_model_drag_data_received): Updated for the above api changes. svn path=/trunk/; revision=24497
* fix the parent-finding logic.Not Zed2004-01-271-4/+4
| | | | | | | | | | | | | | | | | | | 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
* Set priv->drag_row.Jeffrey Stedfast2004-01-271-5/+16
| | | | | | | | 2004-01-26 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (tree_drag_begin): Set priv->drag_row. svn path=/trunk/; revision=24447
* removed some debugging printfsJeffrey Stedfast2004-01-271-4/+1
| | | | svn path=/trunk/; revision=24441
* Removed the drag & drop interfaces, apparently these aren't good enoughJeffrey Stedfast2004-01-241-494/+513
| | | | | | | | | | | | | | | | | | | | | | | | 2004-01-23 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (em_folder_tree_model_get_type): Removed the drag & drop interfaces, apparently these aren't good enough for what we need. Gotta implement this all the Hard Way (tm). (em_folder_tree_model_drag_data_received): Helper function called by the drag_data_received signal callback in em-folder-tree.c (em_folder_tree_model_row_drop_possible): Same idea. (em_folder_tree_model_row_drop_target): Again. (em_folder_tree_model_row_draggable): You get the idea... (em_folder_tree_model_drag_data_get): And again. (em_folder_tree_model_drag_data_delete): Same. (em_folder_tree_model_set_drag_drop_types): Setup the drag & drop types on the widget (since the target drag & drop types are now internal to the model code rathr than the tree code). * em-folder-tree.c (em_folder_tree_enable_drag_and_drop): Rewritten. Connect to all the drag & drop signals and implemnent them. svn path=/trunk/; revision=24393
* change this to check the store using the provider url_cmp and just lookupNot Zed2004-01-161-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | 2004-01-16 Not Zed <NotZed@Ximian.com> * mail-folder-cache.c (storeinfo_find_folder_info): change this to check the store using the provider url_cmp and just lookup the folder name directly. folder_compare can't be used for uri's, this stuff was so broken, my fault :( ** See bug #52467. * em-folder-tree-model.c (sort_cb): handle null path (root?). * mail-vfolder.c (mail_vfolder_add_uri): map uri to euri before processing. (rule_changed): map uri to camel uri before looking up. (mail_vfolder_delete_uri): handle as euri internally. (mail_vfolder_rename_uri): " * mail-autofilter.c (vfolder_rule_from_message): map camel uri to euri before setting as vfolder source. svn path=/trunk/; revision=24266
* Make vfolder_store 'global'.Jeffrey Stedfast2004-01-161-4/+32
| | | | | | | | | | | | 2004-01-15 Jeffrey Stedfast <fejj@ximian.com> * mail-vfolder.c: Make vfolder_store 'global'. * em-folder-tree-model.c (sort_cb): Fix bug #12600 by not sorting VFolders (ie. show them in the same order they appear in the editor). svn path=/trunk/; revision=24257
* Fixes bug #52888Jeffrey Stedfast2004-01-161-0/+46
| | | | | | | | | | | | | 2004-01-15 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #52888 * em-folder-tree-model.c (sort_cb): New sort function for the folder-tree. (em_folder_tree_model_init): Set the default sort func. (em_folder_tree_model_new): Set the default sort column. svn path=/trunk/; revision=24255
* Make the model sorted. Fixes bug #52888.Jeffrey Stedfast2004-01-161-9/+36
| | | | | | | | | 2004-01-15 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (em_folder_tree_model_new): Make the model sorted. Fixes bug #52888. svn path=/trunk/; revision=24254
* Clone the CamelRenameInfo and ref the store before emitting the asyncJeffrey Stedfast2004-01-061-47/+82
| | | | | | | | | | | | | | | | | 2004-01-05 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (folder_renamed_cb): Clone the CamelRenameInfo and ref the store before emitting the async event. (folder_deleted_cb): Same idea but for CamelFolderInfo's. (folder_created_cb): Here too. (folder_subscribed_cb): Same. (folder_unsubscribed_cb): And here. (folder_renamed): Split out from folder_rename_cb(), free the CamelRenameInfo and unref the store when done. (folder_unsubscribed): Same idea. (folder_subscribed): Same. svn path=/trunk/; revision=24062
* If we aren't in the main thread, proxy it over to the main thread.Jeffrey Stedfast2004-01-061-0/+26
| | | | | | | | | | | | | | | | | 2004-01-05 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (folder_subscribed_cb): If we aren't in the main thread, proxy it over to the main thread. (folder_unsubscribed_cb): Same. (folder_created_cb): Here too. (folder_deleted_cb): And here. (folder_renamed_cb): Again here. * em-folder-view.c (emfv_set_folder_uri): Pass mail_thread_queued to mail_get_folder() instead of mail_thread_new so that we eliminate a race when switching folders in the UI. svn path=/trunk/; revision=24050
* Add INFO_FAST here as we don't need it to get unread counts.Jeffrey Stedfast2003-12-111-2/+1
| | | | | | | | | | | | | 2003-12-10 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (em_folder_tree_set_selected): Add INFO_FAST here as we don't need it to get unread counts. (tree_row_expanded): Here too. * em-folder-tree-model.c (em_folder_tree_model_set_folder_info): Check CAMEL_FOLDER_NOCHILDREN. svn path=/trunk/; revision=23912
* Update the unread count in the model if the folder got new mail.Jeffrey Stedfast2003-12-111-0/+33
| | | | | | | | | | | | | | | | | | | 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
* ** See bug #51899.Not Zed2003-12-091-1/+2
| | | | | | | | | | | | 2003-12-09 Not Zed <NotZed@Ximian.com> ** See bug #51899. * em-folder-tree-model.c (em_folder_tree_model_set_folder_info): CAMEL_FOLDER_CHILDREN is only advisory, some servers don't give it to you. svn path=/trunk/; revision=23890
* Make sure folder_path is non-NULL ("Loading..." nodes will have a NULLJeffrey Stedfast2003-12-051-1/+1
| | | | | | | | | | 2003-12-04 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (em_folder_tree_model_remove_folders): Make sure folder_path is non-NULL ("Loading..." nodes will have a NULL path). Fixes bug #51731. svn path=/trunk/; revision=23638
* Fixes bug #51605.Jeffrey Stedfast2003-12-051-1/+1
| | | | | | | | | | | | | | | 2003-12-04 Jeffrey Stedfast <fejj@ximian.com> Fixes bug #51605. * em-folder-selector.c (emfs_response): Handle creating a new folder (pop up a create-folder-selector dialog). * em-folder-tree.c (emft_popup_new_folder_response): Moved all the logic into em_folder_tree_create_folder(). (em_folder_tree_create_folder): New function to create a folder. svn path=/trunk/; revision=23635
* Fixed a FIXME by using the CamelProvider url flags to determine if the urlJeffrey Stedfast2003-12-041-3/+2
| | | | | | | | | | 2003-12-03 Jeffrey Stedfast <fejj@ximian.com> * em-folder-selector.c (em_folder_selector_get_selected_uri): Fixed a FIXME by using the CamelProvider url flags to determine if the url used url->fragment or url->path as the folder path. svn path=/trunk/; revision=23604
* Moved here. (drop_folder): Moved here. (import_message_rfc822): MovedJeffrey Stedfast2003-12-031-74/+397
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Connect to the loading row signal. (loading_row_cb): Expand the path ifJeffrey Stedfast2003-12-031-0/+16
| | | | | | | | | | | | | | | 2003-12-02 Jeffrey Stedfast <fejj@ximian.com> * 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-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=23589
* more fixesJeffrey Stedfast2003-12-031-4/+4
| | | | svn path=/trunk/; revision=23587
* fixed some mem leaks in my codeJeffrey Stedfast2003-12-031-44/+7
| | | | svn path=/trunk/; revision=23586
* Fixed to pass the evolution dir into em_folder_tree_model_new().Jeffrey Stedfast2003-12-031-1/+129
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Updated to call em_folder_tree_model_set_folder_info().Jeffrey Stedfast2003-12-021-3/+409
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Swap the retval varargs value to the last argument instead of the first.Jeffrey Stedfast2003-11-241-5/+5
| | | | | | | | | | | 2003-11-22 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree-model.c (model_drag_data_received) (model_row_drop_possible, model_row_draggable) (model_drag_data_get, model_drag_data_delete): Swap the retval varargs value to the last argument instead of the first. svn path=/trunk/; revision=23469
* Only set OK to sensitive if the selected node is not a store node.Jeffrey Stedfast2003-11-151-1/+80
| | | | | | | | | | | | | | 2003-11-14 Jeffrey Stedfast <fejj@ximian.com> * em-folder-selection.c (folder_selected_cb): Only set OK to sensitive if the selected node is not a store node. * em-folder-tree-model.c: Moved the store_hash and uri_hash from EMFolderTreePrivate into here instead. * em-folder-tree.c: Updated for above changes. svn path=/trunk/; revision=23355
* New folder-tree widget that replaces the shell's folder-tree widget.Jeffrey Stedfast2003-11-141-0/+284
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