[gtk+] GtkHeaderBar: Queue a resize when pack-type is changed
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] GtkHeaderBar: Queue a resize when pack-type is changed
- Date: Thu, 6 Nov 2014 06:05:59 +0000 (UTC)
commit 5a01208f55f382cd1baa80af118faff21ac6b07e
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Nov 6 01:04:13 2014 -0500
GtkHeaderBar: Queue a resize when pack-type is changed
Otherwise, buttons appear to stick to the wrong side in glade.
gtk/gtkheaderbar.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkheaderbar.c b/gtk/gtkheaderbar.c
index 20c6882..63c05b8 100644
--- a/gtk/gtkheaderbar.c
+++ b/gtk/gtkheaderbar.c
@@ -1697,6 +1697,7 @@ gtk_header_bar_set_child_property (GtkContainer *container,
case CHILD_PROP_PACK_TYPE:
child->pack_type = g_value_get_enum (value);
_gtk_header_bar_update_separator_visibility (bar);
+ gtk_widget_queue_resize (widget);
break;
case CHILD_PROP_POSITION:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]