aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-folder-commands.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-folder-commands.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-folder-commands.c')
-rw-r--r--shell/e-shell-folder-commands.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/shell/e-shell-folder-commands.c b/shell/e-shell-folder-commands.c
index b1cc047f85..a9bc540ca3 100644
--- a/shell/e-shell-folder-commands.c
+++ b/shell/e-shell-folder-commands.c
@@ -256,11 +256,15 @@ void
e_shell_command_open_folder_in_other_window (EShell *shell,
EShellView *shell_view)
{
+ EShellView *view;
+
g_return_if_fail (shell != NULL);
g_return_if_fail (E_IS_SHELL (shell));
g_return_if_fail (shell_view != NULL && E_IS_SHELL_VIEW (shell_view));
- e_shell_create_view (shell, e_shell_view_get_current_uri (shell_view));
+ view = e_shell_create_view (shell, e_shell_view_get_current_uri (shell_view));
+
+ gtk_widget_show (GTK_WIDGET (view));
}