Commit a907741d authored by Michael Natterer's avatar Michael Natterer 😴

Bug 692900 - Dragging left canvas border doesn't respect dock borders

Don't allow the single window's docks to shrink smaller than their
requisition, because that's horribly broken.
parent 0bbc2b62
......@@ -389,7 +389,7 @@ gimp_image_window_constructed (GObject *object)
private->dialog_factory,
private->menubar_manager);
gtk_paned_pack1 (GTK_PANED (private->left_hpane), private->left_docks,
FALSE, TRUE);
FALSE, FALSE);
gtk_widget_set_visible (private->left_docks, config->single_window_mode);
/* Create the right pane */
......@@ -419,7 +419,7 @@ gimp_image_window_constructed (GObject *object)
private->dialog_factory,
private->menubar_manager);
gtk_paned_pack2 (GTK_PANED (private->right_hpane), private->right_docks,
FALSE, TRUE);
FALSE, FALSE);
gtk_widget_set_visible (private->right_docks, config->single_window_mode);
g_signal_connect_object (config, "notify::single-window-mode",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment