[gedit/wip/redesign2: 4/12] 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/12] Set "gedit" as title when no tabs
- Date: Wed, 25 Dec 2013 22:00:42 +0000 (UTC)
commit 0c9a72636f33dcde5c3e88e04755d8c3df5b21d3
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]