From 1bdf0ee31b742837f138f4b55ab3e7641d55d2f6 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Tue, 26 Aug 2014 18:51:01 +0200 Subject: [PATCH 1/5] Add a "retrograde" attribute to tags in the generated XML --- src/ag-chart.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/ag-chart.c b/src/ag-chart.c index 8a4273c..b88c74a 100644 --- a/src/ag-chart.c +++ b/src/ag-chart.c @@ -1682,6 +1682,16 @@ ag_chart_create_svg(AgChart *chart, gsize *length, GError **err) xmlNewProp(node, BAD_CAST "degree", BAD_CAST value); g_free(value); + xmlNewProp( + node, + BAD_CAST "retrograde", + BAD_CAST ( + gswe_planet_data_get_retrograde(planet_data) + ? "True" + : "False" + ) + ); + value = g_strdup_printf("%d", dist); xmlNewProp(node, BAD_CAST "dist", BAD_CAST value); g_free(value); From 12e3514ce24320b1d9fb1470a7a2414634f9b7ce Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Tue, 26 Aug 2014 19:16:36 +0200 Subject: [PATCH 2/5] Update chart-default.xsl to show retrograde mark --- src/resources/ui/chart-default.xsl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/resources/ui/chart-default.xsl b/src/resources/ui/chart-default.xsl index a01f465..c6954b6 100644 --- a/src/resources/ui/chart-default.xsl +++ b/src/resources/ui/chart-default.xsl @@ -569,6 +569,14 @@ + + + + + R + + + From bc6d5b65eeb063f71f3b6707c6147286ea66aecf Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Tue, 26 Aug 2014 22:14:32 +0200 Subject: [PATCH 3/5] Fix accel for chart edit For some reason it was the same as the gear menu --- src/ag-app.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ag-app.c b/src/ag-app.c index a50ad0d..916b6c3 100644 --- a/src/ag-app.c +++ b/src/ag-app.c @@ -308,7 +308,7 @@ const gchar *action_accels[] = { "app.help", "F1", NULL, "win.change-tab::chart", "F5", NULL, "win.change-tab::aspects", "F9", NULL, - "win.change-tab::edit", "F10", NULL, + "win.change-tab::edit", "F4", NULL, NULL }; From 7df99eb1da3ec01ceb4b43144ee973365e0ab822 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Tue, 26 Aug 2014 22:15:34 +0200 Subject: [PATCH 4/5] Updated libgd dependency --- libgd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgd b/libgd index 62f9b8b..4d0e605 160000 --- a/libgd +++ b/libgd @@ -1 +1 @@ -Subproject commit 62f9b8b92599b38d986bd26d5780edd400d318c9 +Subproject commit 4d0e605e81517beb550c212fd14d5060eefe321c From 09efcfeeb6370246d881e648eac75452c1035a6a Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Tue, 26 Aug 2014 23:55:29 +0200 Subject: [PATCH 5/5] Fix retrograde mark location --- src/resources/ui/chart-default.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources/ui/chart-default.xsl b/src/resources/ui/chart-default.xsl index c6954b6..99d0034 100644 --- a/src/resources/ui/chart-default.xsl +++ b/src/resources/ui/chart-default.xsl @@ -572,7 +572,7 @@ - + R