projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21c70ae
)
On creating a new window in Shell, switch to it.
author
Jose Dapena Paz
<jdapena@igalia.com>
Tue, 1 Dec 2009 10:07:58 +0000
(11:07 +0100)
committer
Jose Dapena Paz
<jdapena@igalia.com>
Tue, 1 Dec 2009 12:22:23 +0000
(13:22 +0100)
src/gtk/modest-shell.c
patch
|
blob
|
history
diff --git
a/src/gtk/modest-shell.c
b/src/gtk/modest-shell.c
index
cb9ddb0
..
951a70e
100644
(file)
--- a/
src/gtk/modest-shell.c
+++ b/
src/gtk/modest-shell.c
@@
-195,6
+195,8
@@
modest_shell_add_window (ModestShell *shell, ModestWindow *window)
priv = MODEST_SHELL_GET_PRIVATE (shell);
gtk_notebook_append_page (GTK_NOTEBOOK (priv->notebook), GTK_WIDGET (window), NULL);
+ gtk_widget_show (GTK_WIDGET (window));
+ gtk_notebook_set_current_page (GTK_NOTEBOOK (priv->notebook), -1);
modest_shell_window_set_shell (MODEST_SHELL_WINDOW (window), shell);
update_title (shell);
}