[gimp/gtk3-port: 388/457] app: set all GtkPaned widgets to have wide handles
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gtk3-port: 388/457] app: set all GtkPaned widgets to have wide handles
- Date: Sat, 19 May 2018 18:36:16 +0000 (UTC)
commit afb2a5264d288cff48a2c60cd17015173650e294
Author: Michael Natterer <mitch gimp org>
Date: Wed May 9 12:51:31 2018 +0200
app: set all GtkPaned widgets to have wide handles
the narrow handles' event areas did overlap with our own widgets close
to the handle.
app/display/gimpimagewindow.c | 2 ++
app/widgets/gimpcolordisplayeditor.c | 1 +
app/widgets/gimppanedbox.c | 1 +
3 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/app/display/gimpimagewindow.c b/app/display/gimpimagewindow.c
index 765a7f9..37bb417 100644
--- a/app/display/gimpimagewindow.c
+++ b/app/display/gimpimagewindow.c
@@ -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);
diff --git a/app/widgets/gimpcolordisplayeditor.c b/app/widgets/gimpcolordisplayeditor.c
index 5cf8667..04823db 100644
--- a/app/widgets/gimpcolordisplayeditor.c
+++ b/app/widgets/gimpcolordisplayeditor.c
@@ -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);
diff --git a/app/widgets/gimppanedbox.c b/app/widgets/gimppanedbox.c
index 8ec6d08..f9828e7 100644
--- a/app/widgets/gimppanedbox.c
+++ b/app/widgets/gimppanedbox.c
@@ -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))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]