[gedit/wip/redesign2: 4/13] Set "gedit" as title when no tabs
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit/wip/redesign2: 4/13] Set "gedit" as title when no tabs
- Date: Thu, 26 Dec 2013 13:45:54 +0000 (UTC)
commit 4509d8977deb7c3232e2952e42d73e7ba9943750
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Wed Nov 6 08:38:23 2013 +0100
Set "gedit" as title when no tabs
gedit/gedit-window.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gedit/gedit-window.c b/gedit/gedit-window.c
index d13dd38..52b72d3 100644
--- a/gedit/gedit-window.c
+++ b/gedit/gedit-window.c
@@ -1386,6 +1386,10 @@ set_title (GeditWindow *window)
gedit_app_set_window_title (GEDIT_APP (g_application_get_default ()),
window,
"gedit");
+ gtk_header_bar_set_title (GTK_HEADER_BAR (window->priv->headerbar),
+ "gedit");
+ gtk_header_bar_set_subtitle (GTK_HEADER_BAR (window->priv->headerbar),
+ NULL);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]