Commit 4e7eead7 authored by Michael Natterer's avatar Michael Natterer 😴

app: set all GtkPaned widgets to have wide handles

the narrow handles' event areas did overlap with our own widgets close
to the handle.
parent 40760332
......@@ -438,6 +438,7 @@ gimp_image_window_constructed (GObject *object)
/* Create the left pane */
private->left_hpane = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);
gtk_paned_set_wide_handle (GTK_PANED (private->left_hpane), TRUE);
gtk_box_pack_start (GTK_BOX (private->hbox), private->left_hpane,
TRUE, TRUE, 0);
gtk_widget_show (private->left_hpane);
......@@ -453,6 +454,7 @@ gimp_image_window_constructed (GObject *object)
/* Create the right pane */
private->right_hpane = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);
gtk_paned_set_wide_handle (GTK_PANED (private->right_hpane), TRUE);
gtk_paned_pack2 (GTK_PANED (private->left_hpane), private->right_hpane,
TRUE, FALSE);
gtk_widget_show (private->right_hpane);
......
......@@ -133,6 +133,7 @@ gimp_color_display_editor_init (GimpColorDisplayEditor *editor)
GTK_ORIENTATION_VERTICAL);
paned = gtk_paned_new (GTK_ORIENTATION_VERTICAL);
gtk_paned_set_wide_handle (GTK_PANED (paned), TRUE);
gtk_box_pack_start (GTK_BOX (editor), paned, TRUE, TRUE, 0);
gtk_widget_show (paned);
......
......@@ -586,6 +586,7 @@ gimp_paned_box_add_widget (GimpPanedBox *paned_box,
/* GtkPaned is abstract :( */
orientation = gtk_orientable_get_orientation (GTK_ORIENTABLE (paned_box));
paned = gtk_paned_new (orientation);
gtk_paned_set_wide_handle (GTK_PANED (paned), TRUE);
if (GTK_IS_PANED (parent))
{
......
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