[gimp] Bug 679256 - SWM image tabs must have a minimum width
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 679256 - SWM image tabs must have a minimum width
- Date: Mon, 9 Jul 2012 20:54:19 +0000 (UTC)
commit 2c54f4b340ce9878f32fcd92b2eeb13bd086b88a
Author: Michael Natterer <mitch gimp org>
Date: Mon Jul 9 22:53:17 2012 +0200
Bug 679256 - SWM image tabs must have a minimum width
Set all tabs to the same width so very narrow images' tabs stay
clickable.
app/display/gimpimagewindow.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/app/display/gimpimagewindow.c b/app/display/gimpimagewindow.c
index 8021a58..057187c 100644
--- a/app/display/gimpimagewindow.c
+++ b/app/display/gimpimagewindow.c
@@ -1904,6 +1904,7 @@ gimp_image_window_create_tab_label (GimpImageWindow *window,
view = gimp_view_new_by_types (gimp_get_user_context (shell->display->gimp),
GIMP_TYPE_VIEW, GIMP_TYPE_IMAGE,
GIMP_VIEW_SIZE_LARGE, 0, FALSE);
+ gtk_widget_set_size_request (view, GIMP_VIEW_SIZE_LARGE, -1);
gtk_box_pack_start (GTK_BOX (hbox), view, FALSE, FALSE, 0);
gtk_widget_show (view);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]