diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2004-04-13 04:21:37 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-04-13 04:21:37 +0800 |
commit | ec7893f39fd19e48881491c6b577a98ab125f8a7 (patch) | |
tree | fd17d710c22e1271393e7e7d975847eec7ea35a3 /mail | |
parent | ce0f8cd06e231e2fc125401a4339b5e628cd9ffd (diff) | |
download | gsoc2013-evolution-ec7893f39fd19e48881491c6b577a98ab125f8a7.tar gsoc2013-evolution-ec7893f39fd19e48881491c6b577a98ab125f8a7.tar.gz gsoc2013-evolution-ec7893f39fd19e48881491c6b577a98ab125f8a7.tar.bz2 gsoc2013-evolution-ec7893f39fd19e48881491c6b577a98ab125f8a7.tar.lz gsoc2013-evolution-ec7893f39fd19e48881491c6b577a98ab125f8a7.tar.xz gsoc2013-evolution-ec7893f39fd19e48881491c6b577a98ab125f8a7.tar.zst gsoc2013-evolution-ec7893f39fd19e48881491c6b577a98ab125f8a7.zip |
Need to set the session on the preview object. Fixes bug #56862.
2004-04-12 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-view.c (emfv_init): Need to set the session on the
preview object. Fixes bug #56862.
svn path=/trunk/; revision=25419
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 3 | ||||
-rw-r--r-- | mail/em-folder-view.c | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 2e57296605..56840d091a 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,8 @@ 2004-04-12 Jeffrey Stedfast <fejj@ximian.com> + * em-folder-view.c (emfv_init): Need to set the session on the + preview object. Fixes bug #56862. + * em-folder-tree.c (em_folder_tree_set_selected): Scroll to the auto-selected folder. Fixes bug #56707. diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c index c45c4f8cc2..e275d822bd 100644 --- a/mail/em-folder-view.c +++ b/mail/em-folder-view.c @@ -141,7 +141,8 @@ emfv_init(GObject *o) { EMFolderView *emfv = (EMFolderView *)o; struct _EMFolderViewPrivate *p; - + extern CamelSession *session; + gtk_box_set_homogeneous (GTK_BOX (emfv), FALSE); p = emfv->priv = g_malloc0(sizeof(struct _EMFolderViewPrivate)); @@ -162,6 +163,7 @@ emfv_init(GObject *o) g_signal_connect(emfv->list->tree, "key_press", G_CALLBACK(emfv_list_key_press), emfv); emfv->preview = (EMFormatHTMLDisplay *)em_format_html_display_new(); + em_format_set_session ((EMFormat *) emfv->preview, session); g_signal_connect(emfv->preview, "link_clicked", G_CALLBACK(emfv_format_link_clicked), emfv); g_signal_connect(emfv->preview, "popup_event", G_CALLBACK(emfv_format_popup_event), emfv); g_signal_connect (emfv->preview, "on_url", G_CALLBACK (emfv_on_url_cb), emfv); |