[gtk+] assistant: set window title with page title
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] assistant: set window title with page title
- Date: Thu, 30 Jan 2014 01:57:06 +0000 (UTC)
commit 9698d73ade1948934a18c5790712578b9a5a16eb
Author: William Jon McCann <william jon mccann gmail com>
Date: Tue Jan 28 22:36:16 2014 -0500
assistant: set window title with page title
This will set the headerbar title when necessary
https://bugzilla.gnome.org/show_bug.cgi?id=723212
gtk/gtkassistant.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c
index 62e530c..80cb199 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 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]