aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/shell.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/shell.c b/shell/shell.c
index 913a7084..9d0e88ba 100644
--- a/shell/shell.c
+++ b/shell/shell.c
@@ -1033,6 +1033,9 @@ static void set_view_type(ShellViewType viewtype, gboolean reload)
gtk_widget_show(shell->moreinfo->scroll);
gtk_notebook_set_page(GTK_NOTEBOOK(shell->notebook), 0);
gtk_widget_show(shell->notebook);
+
+ gtk_paned_set_position(GTK_PANED(shell->vpaned),
+ shell->hpaned->allocation.height / 2);
break;
case SHELL_VIEW_LOAD_GRAPH:
gtk_widget_show(shell->info->scroll);