[gedit/wip/redesign2: 40/46] Set "gedit" as title when no tabs



commit c1f74cca3056db774e7d475839b2131e0449df91
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]