[gnome-internet-radio-locator] GNOME Internet Radio Locator version 2.0.8



commit 2a640bf5c1e46241d357ea4606396c851c5aea12
Author: Ole Aamot <ole gnome org>
Date:   Mon Oct 7 19:19:07 2019 +0200

    GNOME Internet Radio Locator version 2.0.8

 NEWS                                       | 12 ++++++++++++
 configure.ac                               |  2 +-
 src/gnome-internet-radio-locator-markers.c | 11 +++++++++++
 3 files changed, 24 insertions(+), 1 deletion(-)
---
diff --git a/NEWS b/NEWS
index 905d05d..8e4c096 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,15 @@
+=============
+Version 2.0.8
+=============
+
+GUI
+
+       * src/gnome-internet-radio-locator-markers.c: Add Bern, Switzerland
+
+Translations
+
+       * Marek Černocký (cs)
+
 =============
 Version 2.0.7
 =============
diff --git a/configure.ac b/configure.ac
index 41699ec..5b0242f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.59)
-AC_INIT(gnome-internet-radio-locator,2.0.7)
+AC_INIT(gnome-internet-radio-locator,2.0.8)
 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])
diff --git a/src/gnome-internet-radio-locator-markers.c b/src/gnome-internet-radio-locator-markers.c
index 3cd68d6..4d8dfc7 100644
--- a/src/gnome-internet-radio-locator-markers.c
+++ b/src/gnome-internet-radio-locator-markers.c
@@ -176,6 +176,17 @@ create_marker_layer (G_GNUC_UNUSED ChamplainView *view, ChamplainPathLayer **pat
        /* champlain_path_layer_add_node (*path, CHAMPLAIN_LOCATION (marker)); */
        g_signal_connect(CHAMPLAIN_LOCATION(marker), "button-press", G_CALLBACK(marker_function), station);
        marker = champlain_label_new_from_file ("icons/emblem-generic.png", NULL);
+       station = g_strdup("Bern, Switzerland\n<span size=\"small\">Radio NRJ Bern</span>");
+       champlain_label_set_text (CHAMPLAIN_LABEL (marker), station);
+       champlain_label_set_use_markup (CHAMPLAIN_LABEL (marker), TRUE);
+       champlain_label_set_color (CHAMPLAIN_LABEL (marker), &city_c_color);
+       champlain_label_set_text_color (CHAMPLAIN_LABEL (marker), &text_color);
+       champlain_location_set_location (CHAMPLAIN_LOCATION (marker), 46.9482713, 7.4514512);
+       champlain_marker_layer_add_marker (layer, CHAMPLAIN_MARKER (marker));
+       champlain_marker_animate_in(CHAMPLAIN_MARKER (marker));
+       /* champlain_path_layer_add_node (*path, CHAMPLAIN_LOCATION (marker)); */
+       g_signal_connect(CHAMPLAIN_LOCATION(marker), "button-press", G_CALLBACK(marker_function), station);
+       marker = champlain_label_new_from_file ("icons/emblem-generic.png", NULL);
        station = g_strdup("WBUR, Boston, Massachusetts\n<span size=\"small\">WBUR</span>");
        champlain_label_set_text (CHAMPLAIN_LABEL (marker), station);
        champlain_label_set_use_markup (CHAMPLAIN_LABEL (marker), TRUE);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]