diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-07-13 09:56:06 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-07-13 09:58:31 -0400 |
commit | 97b9d8e4aea19e414c96e13149b9d1e93b1c1bc5 (patch) | |
tree | 5e7affe3dd0153fa9e56c4686316f46bff08f2d1 | |
parent | 808705327db9957026ea7ca9500cd960cfbab231 (diff) | |
download | gtk+-97b9d8e4aea19e414c96e13149b9d1e93b1c1bc5.tar.gz |
GtkDialog: Set window titles in header bars
This is fallout from the recent dialog changes. We don't set the
headerbar as titlebar early enough anymore, so when the window title
gets set, it does not get passed on to the headerbar. So, re-set it
manually when the titlebar is put in place.
https://bugzilla.gnome.org/show_bug.cgi?id=733099
-rw-r--r-- | gtk/gtkdialog.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c index c8dd5829dd..3091f9f84c 100644 --- a/gtk/gtkdialog.c +++ b/gtk/gtkdialog.c @@ -460,6 +460,7 @@ gtk_dialog_constructed (GObject *object) GList *children, *l; gtk_window_set_titlebar (GTK_WINDOW (dialog), priv->headerbar); + gtk_window_set_title (GTK_WINDOW (dialog), gtk_window_get_title (GTK_WINDOW (dialog))); children = gtk_container_get_children (GTK_CONTAINER (priv->action_area)); for (l = children; l != NULL; l = l->next) |