[anjal] Show settings by default post druid first time.



commit eeb896df4571107f5b5c38ccef3ffe99a402bb64
Author: Srinivasa Ragavan <sragavan novell com>
Date:   Wed May 6 18:08:40 2009 +0530

    Show settings by default post druid first time.
---
 src/mail-shell.c |    1 +
 src/mail-view.c  |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/mail-shell.c b/src/mail-shell.c
index c059cc1..9a509b9 100644
--- a/src/mail-shell.c
+++ b/src/mail-shell.c
@@ -258,6 +258,7 @@ static void
 ms_show_post_druid (MailViewChild *mfv, MailShell *shell)
 {
 	gtk_widget_show (((MailView *) shell->mail_component->mail_view)->folder_tree);
+	mail_view_add_page (shell->mail_component->mail_view, MAIL_VIEW_SETTINGS);
 }
 
 void
diff --git a/src/mail-view.c b/src/mail-view.c
index cf94f02..06b08f7 100644
--- a/src/mail-view.c
+++ b/src/mail-view.c
@@ -346,7 +346,7 @@ mail_view_add_account (MailView *mv)
 	mv->priv->current_view = msv;
 	mv->priv->children = g_list_append (mv->priv->children,  msv);
 	position = gtk_notebook_append_page (mv, msv, mail_account_view_get_tab_widget(msv));
-	g_signal_connect (msv, "view-close", G_CALLBACK(mv_close_mcv), mv);
+	g_signal_connect_after (msv, "view-close", G_CALLBACK(mv_close_mcv), mv);
 	gtk_notebook_set_tab_reorderable (mv, msv, TRUE);
 	gtk_notebook_set_current_page (mv, position);
 	gtk_notebook_set_tab_label_packing (mv, msv, FALSE, FALSE, 0);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]