summaryrefslogtreecommitdiff
path: root/gtk/gtkassistant.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2014-01-28 22:36:16 -0500
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2014-01-29 20:56:21 -0500
commit9698d73ade1948934a18c5790712578b9a5a16eb (patch)
treec76ef2c3da086e63454369b3d2836b4079cd740d /gtk/gtkassistant.c
parentb69ac965eaac7cf79f26dd57fab9edf3a83a3cf8 (diff)
downloadgtk+-9698d73ade1948934a18c5790712578b9a5a16eb.tar.gz
assistant: set window title with page title
This will set the headerbar title when necessary https://bugzilla.gnome.org/show_bug.cgi?id=723212
Diffstat (limited to 'gtk/gtkassistant.c')
-rw-r--r--gtk/gtkassistant.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c
index 62e530cb78..80cb1993d1 100644
--- a/gtk/gtkassistant.c
+++ b/gtk/gtkassistant.c
@@ -950,6 +950,8 @@ set_current_page (GtkAssistant *assistant,
update_title_state (assistant);
+ gtk_window_set_title (GTK_WINDOW (assistant), priv->current_page->title);
+
gtk_notebook_set_current_page (GTK_NOTEBOOK (priv->content), page_num);
/* update buttons state, flow may have changed */