[evolution] Bug 579598 - Change in view types (from Menu) is not working
- From: Matthew Barnes <mbarnes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution] Bug 579598 - Change in view types (from Menu) is not working
- Date: Mon, 31 Aug 2009 22:12:02 +0000 (UTC)
commit 2bc231df3e10889ae7745311c6cde6ae0bb98b8e
Author: Milan Crha <mcrha redhat com>
Date: Mon Aug 31 18:11:36 2009 -0400
Bug 579598 - Change in view types (from Menu) is not working
modules/mail/e-mail-shell-content.c | 2 +-
modules/mail/e-mail-shell-view-private.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/modules/mail/e-mail-shell-content.c b/modules/mail/e-mail-shell-content.c
index 20c9df7..0f4a933 100644
--- a/modules/mail/e-mail-shell-content.c
+++ b/modules/mail/e-mail-shell-content.c
@@ -1018,7 +1018,7 @@ e_mail_shell_content_update_view_instance (EMailShellContent *mail_shell_content
g_free (state_filename);
}
- g_signal_connect (
+ g_signal_connect_swapped (
view_instance, "display-view",
G_CALLBACK (mail_shell_content_display_view_cb),
mail_shell_content);
diff --git a/modules/mail/e-mail-shell-view-private.c b/modules/mail/e-mail-shell-view-private.c
index 7e27aaa..067900b 100644
--- a/modules/mail/e-mail-shell-view-private.c
+++ b/modules/mail/e-mail-shell-view-private.c
@@ -271,7 +271,7 @@ mail_shell_view_notify_view_id_cb (EMailShellView *mail_shell_view)
const gchar *view_id;
mail_shell_content = mail_shell_view->priv->mail_shell_content;
- view_instance = NULL; /* FIXME */
+ view_instance = e_mail_shell_content_get_view_instance (mail_shell_content);
view_id = e_shell_view_get_view_id (E_SHELL_VIEW (mail_shell_view));
/* A NULL view ID implies we're in a custom view. But you can
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]