[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
This commit is contained in:
@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user