[gnome-todo] window: change title when in overview



commit df6018593a609742f23d83cd1f90874a3c2224c8
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Jul 14 16:33:48 2015 -0300

    window: change title when in overview
    
    Don't keep the old list name when the list is
    not visible anymore.

 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 271eef8..85f96f9 100644
--- a/src/gtd-window.c
+++ b/src/gtd-window.c
@@ -294,6 +294,7 @@ gtd_window__back_button_clicked (GtkButton *button,
 
   gtk_stack_set_visible_child_name (priv->main_stack, "overview");
   gtk_header_bar_set_custom_title (priv->headerbar, GTK_WIDGET (priv->stack_switcher));
+  gtk_header_bar_set_title (priv->headerbar, _("To Do"));
   gtk_widget_hide (GTK_WIDGET (priv->back_button));
   gtk_widget_hide (GTK_WIDGET (priv->color_button));
 }


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