aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view-menu.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-09-14 07:46:03 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-09-14 07:46:03 +0800
commit638ad0ba0b02766c7e48a92d72366cf6fc39e4c1 (patch)
tree85510393655da2e0a6dd58a0d94e47444619ca48 /shell/e-shell-view-menu.c
parent1c75ae8c60d794793ee66dd0d8139776db9e9c8e (diff)
downloadgsoc2013-evolution-638ad0ba0b02766c7e48a92d72366cf6fc39e4c1.tar.gz
gsoc2013-evolution-638ad0ba0b02766c7e48a92d72366cf6fc39e4c1.tar.zst
gsoc2013-evolution-638ad0ba0b02766c7e48a92d72366cf6fc39e4c1.zip
[Fix #5990, Remembering Evolution window geometry.]
* e-shell.c (impl_Shell_createNewView): gtk_widget_show() the new view returned by `e_shell_create_view()'. (e_shell_restore_from_settings): Same here, after loading the settings. * e-shell-view.c (activate_shortcut_cb): gtk_widget_show() the new view returned by `e_shell_create_view()'. * e-shell-view-menu.c (command_open_folder_in_new_window): gtk_widget_show() the view returned by `e_shell_create_view()'. * e-shell-folder-commands.c (e_shell_command_open_folder_in_other_window): gtk_widget_show() the view returned by `e_shell_create_view()'. * e-shell.c (e_shell_create_view): Don't show the view automatically anymore. * e-shell-view.c (e_shell_view_save_settings): Save the width and height of the window. (e_shell_view_load_settings): Restore the width and the height and gtk_window_set_default_size() based on them. svn path=/trunk/; revision=12816
Diffstat (limited to 'shell/e-shell-view-menu.c')
-rw-r--r--shell/e-shell-view-menu.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c
index 1d4d4c1671..5f3520993f 100644
--- a/shell/e-shell-view-menu.c
+++ b/shell/e-shell-view-menu.c
@@ -308,7 +308,7 @@ command_open_folder_in_new_window (BonoboUIComponent *uih,
gpointer data,
const char *path)
{
- EShellView *shell_view;
+ EShellView *shell_view, *new_view;
EShell *shell;
const char *current_uri;
@@ -316,7 +316,8 @@ command_open_folder_in_new_window (BonoboUIComponent *uih,
shell = e_shell_view_get_shell (shell_view);
current_uri = e_shell_view_get_current_uri (shell_view);
- e_shell_create_view (shell, current_uri);
+ new_view = e_shell_create_view (shell, current_uri);
+ gtk_widget_show (GTK_WIDGET (new_view));
}