From fe41945cb5bfea6c08263e85d4539349a559a402 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Tue, 26 Aug 2014 13:19:44 +0200 Subject: [PATCH] Set header subtitle to the chart name upon updating Fixes #61 --- src/ag-window.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ag-window.c b/src/ag-window.c index 2492e94..8aca174 100644 --- a/src/ag-window.c +++ b/src/ag-window.c @@ -526,6 +526,11 @@ ag_window_update_from_chart(AgWindow *window) ); } + gtk_header_bar_set_subtitle( + GTK_HEADER_BAR(priv->header_bar), + ag_chart_get_name(priv->chart) + ); + g_free(coordinates); ag_window_redraw_chart(window);