Commit 1ca7c6df authored by Gilles Rochefort's avatar Gilles Rochefort Committed by Martin Nordholts

Bug 613841 - Reducing toolbox width in single window mode

Allow to resize left and right dock areas arbitrarilly small.
parent e3b0bda9
......@@ -337,7 +337,7 @@ gimp_image_window_constructor (GType type,
private->dialog_factory,
private->menubar_manager);
gtk_paned_pack1 (GTK_PANED (private->left_hpane), private->left_docks,
FALSE, FALSE);
FALSE, TRUE);
gtk_widget_set_visible (private->left_docks, config->single_window_mode);
/* Create the right pane */
......@@ -366,7 +366,7 @@ gimp_image_window_constructor (GType type,
private->dialog_factory,
private->menubar_manager);
gtk_paned_pack2 (GTK_PANED (private->right_hpane), private->right_docks,
FALSE, FALSE);
FALSE, TRUE);
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