aboutsummaryrefslogtreecommitdiffstats
path: root/mail/component-factory.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-03-08 02:34:14 +0800
committerDan Winship <danw@src.gnome.org>2002-03-08 02:34:14 +0800
commitd6f174ad5110ce2b86f5a4eb45d658b13735b26d (patch)
tree6ab0a115dfbf42e2b7a7c606d0fbcf47038da7b1 /mail/component-factory.c
parent127d736b662ef0015bdc6591bbc3bfe99037b413 (diff)
downloadgsoc2013-evolution-d6f174ad5110ce2b86f5a4eb45d658b13735b26d.tar.gz
gsoc2013-evolution-d6f174ad5110ce2b86f5a4eb45d658b13735b26d.tar.zst
gsoc2013-evolution-d6f174ad5110ce2b86f5a4eb45d658b13735b26d.zip
Update for storage changes: explicitly create a root folder.
* component-factory.c (add_storage): Update for storage changes: explicitly create a root folder. * mail-display.c (mail_display_render): Fix the "don't scroll back to the top of the HTML widget when opening an attachment" hack again by moving it here from mail_display_redisplay(). (It has to happen after the gtk_html_begin.) (mail_display_redisplay): Pass reset_scroll arg to mail_display_render. * mail-callbacks.c (do_mail_print): Pass reset_scroll (TRUE) to mail_display_render. svn path=/trunk/; revision=15967
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r--mail/component-factory.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c
index aa664ded39..4f5c886e3d 100644
--- a/mail/component-factory.c
+++ b/mail/component-factory.c
@@ -1209,7 +1209,8 @@ add_storage (const char *name, const char *uri, CamelService *store,
EvolutionStorage *storage;
EvolutionStorageResult res;
- storage = evolution_storage_new (name, uri, "mailstorage");
+ storage = evolution_storage_new (name);
+ evolution_storage_new_folder (storage, "/", name, "mailstorage", uri, "", 0);
gtk_signal_connect (GTK_OBJECT (storage), "create_folder", storage_create_folder, store);
gtk_signal_connect (GTK_OBJECT (storage), "remove_folder", storage_remove_folder, store);
gtk_signal_connect ((GtkObject *)storage, "xfer_folder", storage_xfer_folder, store);