[gedit] Set title/subtitle in fullscreen headerbar too
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Set title/subtitle in fullscreen headerbar too
- Date: Wed, 19 Feb 2014 08:11:44 +0000 (UTC)
commit 2954f5a3165dacfa1380993225ddad2dd94c779b
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Wed Feb 19 09:10:43 2014 +0100
Set title/subtitle in fullscreen headerbar too
gedit/gedit-window.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/gedit/gedit-window.c b/gedit/gedit-window.c
index c26dbb5..04b035c 100644
--- a/gedit/gedit-window.c
+++ b/gedit/gedit-window.c
@@ -1043,6 +1043,10 @@ set_title (GeditWindow *window)
"gedit");
gtk_header_bar_set_subtitle (GTK_HEADER_BAR (window->priv->headerbar),
NULL);
+ gtk_header_bar_set_title (GTK_HEADER_BAR (window->priv->fullscreen_headerbar),
+ "gedit");
+ gtk_header_bar_set_subtitle (GTK_HEADER_BAR (window->priv->fullscreen_headerbar),
+ NULL);
return;
}
@@ -1145,6 +1149,10 @@ set_title (GeditWindow *window)
title);
gtk_header_bar_set_subtitle (GTK_HEADER_BAR (window->priv->headerbar),
subtitle);
+ gtk_header_bar_set_title (GTK_HEADER_BAR (window->priv->fullscreen_headerbar),
+ title);
+ gtk_header_bar_set_subtitle (GTK_HEADER_BAR (window->priv->fullscreen_headerbar),
+ subtitle);
g_free (dirname);
g_free (name);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]