[gnome-todo] window: reset title when showing stack switcher



commit 4311730db7d5fc656d3cc87db179e1d645b46de7
Author: Dimitrios Christidis <dimitrios christidis me>
Date:   Tue Jul 4 11:07:53 2017 +0200

    window: reset title when showing stack switcher
    
    Changing the header bar title has a side effect on the window title.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=784504

 src/gtd-window.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gtd-window.c b/src/gtd-window.c
index 3bdbba9..0c730b9 100644
--- a/src/gtd-window.c
+++ b/src/gtd-window.c
@@ -982,6 +982,7 @@ gtd_window_set_custom_title (GtdWindow   *window,
     }
   else
     {
+      gtk_header_bar_set_title (priv->headerbar, _("To Do"));
       gtk_header_bar_set_custom_title (priv->headerbar, GTK_WIDGET (priv->stack_switcher));
     }
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]