Set header subtitle to the chart name upon updating

Fixes #61
This commit is contained in:
Gergely Polonkai 2014-08-26 13:19:44 +02:00
parent 3f14387018
commit fe41945cb5

View File

@ -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); g_free(coordinates);
ag_window_redraw_chart(window); ag_window_redraw_chart(window);