[gimp/gimp-2-8] Bug 705797 - Empty right panel cannot be completely closed
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] Bug 705797 - Empty right panel cannot be completely closed
- Date: Sun, 3 Nov 2013 15:07:05 +0000 (UTC)
commit ec5a879001ff06fcd53c540f26650796efded4fb
Author: Michael Natterer <mitch gimp org>
Date: Sun Nov 3 16:04:58 2013 +0100
Bug 705797 - Empty right panel cannot be completely closed
Reduce the minimum width of the "You can drop foo here" label to one
pixel, so it can be hidden as completely as possible while keeping the
label visible.
(cherry picked from commit fbfaa960e1265a0093a07f1cf6e218c1013c4b47)
app/widgets/gimppanedbox.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimppanedbox.c b/app/widgets/gimppanedbox.c
index d7c8890..a00a735 100644
--- a/app/widgets/gimppanedbox.c
+++ b/app/widgets/gimppanedbox.c
@@ -146,7 +146,7 @@ gimp_paned_box_init (GimpPanedBox *paned_box)
gtk_label_set_line_wrap (GTK_LABEL (paned_box->p->instructions), TRUE);
gtk_label_set_justify (GTK_LABEL (paned_box->p->instructions),
GTK_JUSTIFY_CENTER);
- gtk_widget_set_size_request (paned_box->p->instructions, 16, DROP_AREA_SIZE);
+ gtk_widget_set_size_request (paned_box->p->instructions, 1, DROP_AREA_SIZE);
gimp_label_set_attributes (GTK_LABEL (paned_box->p->instructions),
PANGO_ATTR_STYLE, PANGO_STYLE_ITALIC,
-1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]