[gimp/soc-2011-seamless-clone2] app: consider the label in GimpStatusbar's size negotiation
- From: Clayton Walker <claytonw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/soc-2011-seamless-clone2] app: consider the label in GimpStatusbar's size negotiation
- Date: Wed, 8 May 2013 15:04:50 +0000 (UTC)
commit 558e27a9c562d93fa25351e8c4b7320df2fddca4
Author: Michael Natterer <mitch gimp org>
Date: Sun Mar 10 19:54:42 2013 +0100
app: consider the label in GimpStatusbar's size negotiation
doesn't change anything, except perhaps for weird themes.
app/display/gimpstatusbar.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/app/display/gimpstatusbar.c b/app/display/gimpstatusbar.c
index 99e49cc..97686c8 100644
--- a/app/display/gimpstatusbar.c
+++ b/app/display/gimpstatusbar.c
@@ -324,6 +324,10 @@ gimp_statusbar_hbox_size_request (GtkWidget *widget,
requisition->height = MAX (requisition->height,
child_requisition.height);
+ gtk_widget_size_request (statusbar->label, &child_requisition);
+ requisition->height = MAX (requisition->height,
+ child_requisition.height);
+
gtk_widget_size_request (statusbar->cancel_button, &child_requisition);
requisition->height = MAX (requisition->height,
child_requisition.height);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]