diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-01-06 10:31:34 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-01-06 10:32:18 -0500 |
commit | f723113127ae5d61cbd53dae4404f4f7a4f9c05c (patch) | |
tree | 713cd1a8b6d0200f4ff1f83708345013e14b4ec4 /gtk/gtkheaderbar.c | |
parent | 360f89d251409d9f788367d3cff1041a9fa01e08 (diff) | |
download | gtk+-f723113127ae5d61cbd53dae4404f4f7a4f9c05c.tar.gz |
GtkHeaderBar: Refresh window buttons when settings change
We already do this when the shell-shows-menu settings changes,
but we forgot to do the same for the decoration layout.
Diffstat (limited to 'gtk/gtkheaderbar.c')
-rw-r--r-- | gtk/gtkheaderbar.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkheaderbar.c b/gtk/gtkheaderbar.c index d1f3fa4188..f466cafb70 100644 --- a/gtk/gtkheaderbar.c +++ b/gtk/gtkheaderbar.c @@ -1722,6 +1722,8 @@ gtk_header_bar_realize (GtkWidget *widget) settings = gtk_widget_get_settings (widget); g_signal_connect_swapped (settings, "notify::gtk-shell-shows-app-menu", 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)); } |