[gimp] app: consider the label in GimpStatusbar's size negotiation
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: consider the label in GimpStatusbar's size negotiation
- Date: Sun, 10 Mar 2013 18:56:40 +0000 (UTC)
commit fc19348621a4003e5d8091f0966ce955708b8da1
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]