Commit 0a10a4d2 authored by Ole Aamot's avatar Ole Aamot 💬

gnome-internet-radio-locator version 1.0.0

parent 4f75be99
=============
Version 1.0.0
=============
GUI
* src/gnome-internet-radio-locator-markers.c: Check for U.S. states
* src/gnome-internet-radio-locator.xml: Add locality of U.S. states
=============
Version 0.9.0
=============
......
......@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
AC_INIT(gnome-internet-radio-locator,0.9.0)
AC_INIT(gnome-internet-radio-locator,1.0.0)
AM_INIT_AUTOMAKE([-Wno-portability 1.11 no-dist-gzip dist-xz tar-ustar subdir-objects])
AM_MAINTAINER_MODE
AC_CONFIG_SRCDIR([src/gnome-internet-radio-locator.c])
......
......@@ -71,6 +71,9 @@ fi
%{_mandir}/man1/%{name}.1*
%changelog
* Sat Sep 16 2017 Ole Aamot <ole@gnome.org> - 1.0.0-1
- gnome-internet-radio-locator 1.0.0 build on Fedora Linux 26
* Sat Sep 02 2017 Ole Aamot <ole@gnome.org> - 0.9.0-1
- gnome-internet-radio-locator 0.9.0 build on Fedora Linux 26
......
......@@ -101,7 +101,7 @@ create_marker_layer (G_GNUC_UNUSED ChamplainView *view, ChamplainPathLayer **pat
#endif
marker = champlain_label_new_from_file ("icons/emblem-generic.png", NULL);
champlain_label_set_text (CHAMPLAIN_LABEL (marker), "Berkeley, CA");
champlain_label_set_text (CHAMPLAIN_LABEL (marker), "Berkeley, California");
champlain_location_set_location (CHAMPLAIN_LOCATION (marker), 37.873093, -122.303769);
champlain_marker_layer_add_marker (layer, CHAMPLAIN_MARKER (marker));
/* champlain_path_layer_add_node (*path, CHAMPLAIN_LOCATION (marker)); */
......@@ -115,7 +115,7 @@ create_marker_layer (G_GNUC_UNUSED ChamplainView *view, ChamplainPathLayer **pat
g_signal_connect(CHAMPLAIN_LOCATION(marker), "button-press", G_CALLBACK(marker_function), NULL);
marker = champlain_label_new_from_file ("icons/emblem-generic.png", NULL);
champlain_label_set_text (CHAMPLAIN_LABEL (marker), "Washington, DC");
champlain_label_set_text (CHAMPLAIN_LABEL (marker), "Washington, District of Columbia");
champlain_location_set_location (CHAMPLAIN_LOCATION (marker), 38.8949549, -77.0366456);
champlain_marker_layer_add_marker (layer, CHAMPLAIN_MARKER (marker));
/* champlain_path_layer_add_node (*path, CHAMPLAIN_LOCATION (marker)); */
......
......@@ -133,6 +133,9 @@ mouse_click_cb (ClutterActor *actor, ClutterButtonEvent *event, ChamplainView *v
place_country = geocode_reverse_resolve (reverse_country, error);
name_city = geocode_place_get_town (place_city);
name_country = geocode_place_get_country (place_country);
if (!g_strcmp0(name_country, "United States of America")) {
name_country = geocode_place_get_state (place_country);
}
marker = champlain_label_new_from_file ("icons/emblem-generic.png", NULL);
name = g_strconcat(name_city, ", ", name_country, NULL);
champlain_label_set_text (CHAMPLAIN_LABEL (marker), (gchar *)name);
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment