Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions src/MainWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -541,12 +541,8 @@ namespace Scratch {
content_stack.add (welcome_view);
content_stack.visible_child = view_grid; // Must be visible while restoring

// Set a proper position for ThinPaned widgets
int width, height;
get_size (out width, out height);

// The pane position is restored from settings
vp = new Gtk.Paned (Gtk.Orientation.VERTICAL);
vp.position = (height - 150);
vp.pack1 (content_stack, true, false);
vp.pack2 (terminal, false, false);

Expand Down
Loading