[gtk+] gtkheaderbar: update window buttons also on realize
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtkheaderbar: update window buttons also on realize
- Date: Fri, 1 Jan 2016 13:56:14 +0000 (UTC)
commit a90926c7f02390ac7b671bb7ba23fa4cd38d4fdd
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Mon Dec 28 20:46:23 2015 +0200
gtkheaderbar: update window buttons also on realize
After bb34db6 _gtk_header_bar_update_window_buttons function is
called before application menu is set. This caused regression -
app menu button is initially hidden.
https://bugzilla.gnome.org/show_bug.cgi?id=756618
gtk/gtkheaderbar.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkheaderbar.c b/gtk/gtkheaderbar.c
index c981468..988bfcf 100644
--- a/gtk/gtkheaderbar.c
+++ b/gtk/gtkheaderbar.c
@@ -1819,6 +1819,7 @@ gtk_header_bar_realize (GtkWidget *widget)
G_CALLBACK (_gtk_header_bar_update_window_buttons), widget);
g_signal_connect_swapped (settings, "notify::gtk-decoration-layout",
G_CALLBACK (_gtk_header_bar_update_window_buttons), widget);
+ _gtk_header_bar_update_window_buttons (GTK_HEADER_BAR (widget));
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]