From 25914141c25a8a33539a36dae7c99e2e56796826 Mon Sep 17 00:00:00 2001 From: "Gergely POLONKAI (W00d5t0ck)" Date: Wed, 18 Sep 2013 00:45:00 +0200 Subject: [PATCH] Now setting chart name based on edit form --- src/ag-window.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ag-window.c b/src/ag-window.c index fe1228c..311eaa8 100644 --- a/src/ag-window.c +++ b/src/ag-window.c @@ -135,6 +135,7 @@ recalculate_chart(AgWindow *window) if (priv->chart == NULL) { // TODO: make house system configurable priv->chart = ag_chart_new_full(priv->timestamp, longitude, latitude, 380.0, GSWE_HOUSE_SYSTEM_PLACIDUS); + ag_chart_set_name(priv->chart, gtk_entry_get_text(GTK_ENTRY(priv->name))); g_signal_connect(priv->chart, "changed", G_CALLBACK(chart_changed), window); ag_window_update_from_chart(window); } else {