aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2008-03-12 20:25:24 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-03-12 20:25:24 +0800
commitcc692562f528115284d338dea12f8809d1efd17f (patch)
tree07150f4269ee1125a5c867fbd7dc72de81520873 /mail/em-format-html.c
parentda53bb3e1f23f696e1245676b71fe617a5f4a48a (diff)
downloadgsoc2013-evolution-cc692562f528115284d338dea12f8809d1efd17f.tar.gz
gsoc2013-evolution-cc692562f528115284d338dea12f8809d1efd17f.tar.zst
gsoc2013-evolution-cc692562f528115284d338dea12f8809d1efd17f.zip
** Fixes breakage caused by bug #513951
2008-03-12 Matthew Barnes <mbarnes@redhat.com> ** Fixes breakage caused by bug #513951 * mail-autofilter.c (filter_gui_add_from_message), (mail_filter_rename_uri), (mail_filter_delete_uri): * mail-tools.c (mail_tool_get_local_movemail_path): * mail-vfolder.c (mail_vfolder_delete_uri), (mail_vfolder_rename_uri), (store_folder_deleted), (store_folder_renamed), (vfolder_load_storage), (vfolder_revert), (em_vfolder_editor_response), (edit_rule_response), (new_rule_clicked): * em-folder-browser.c (emfb_search_search_activated): * em-folder-tree.c (em_folder_tree_new): * mail-ops.c (uid_cachename_hack), (empty_trash_exec): * em-folder-view.c (emfv_setup_view_instance): * em-utils.c (em_filter_editor_response), (em_utils_edit_filters): * importers/mail-importer.c (import_folders_rec): * mail-folder-cache.c (rename_folders): * em-format-html.c (em_format_html_get_type): * mail-session.c (main_get_filter_driver): * mail-config.c (gconf_mime_types_changed), (uri_to_evname), (mail_config_folder_to_cachename), (get_new_signature_filename): Adapt to new meaning of mail_component_peek_base_directory(). * mail-component.c (mail_component_init): Add back initialization of priv->base_directory. Accidentally removed it somehow in last commit. svn path=/trunk/; revision=35179
Diffstat (limited to 'mail/em-format-html.c')
-rw-r--r--mail/em-format-html.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index a1faece46a..fd54e08696 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -254,9 +254,12 @@ em_format_html_get_type(void)
sizeof(EMFormatHTML), 0,
(GInstanceInitFunc)efh_init
};
- const char *base_directory = mail_component_peek_base_directory (mail_component_peek ());
+ const char *base_directory = e_get_user_data_dir ();
char *path;
+ /* Trigger creation of mail component. */
+ mail_component_peek ();
+
efh_parent = g_type_class_ref(em_format_get_type());
type = g_type_register_static(em_format_get_type(), "EMFormatHTML", &info, 0);