From b621787d61869c6a2da0f33f74b7cc88654d930d Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Mon, 17 Sep 2001 21:05:51 +0000 Subject: Don't make the confusing URL for the station name svn path=/trunk/; revision=12911 --- my-evolution/e-summary-weather.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'my-evolution/e-summary-weather.c') diff --git a/my-evolution/e-summary-weather.c b/my-evolution/e-summary-weather.c index 6456d2a2ea..e1dd7b3061 100644 --- a/my-evolution/e-summary-weather.c +++ b/my-evolution/e-summary-weather.c @@ -97,7 +97,7 @@ weather_make_html (Weather *w) { GString *string; ESummaryWeatherLocation *location; - char *sky, *temp, *cond, *url, *s; + char *sky, *temp, *cond, *s; const char *icon_name; icon_name = icon_from_weather (w); @@ -105,14 +105,23 @@ weather_make_html (Weather *w) g_string_sprintf (string, "
 ", icon_name); location = g_hash_table_lookup (locations_hash, w->location); +#if 0 if (location == NULL) { url = make_anchor (w->location, w->location); } else { url = make_anchor (location->name, w->location); } +#endif + if (location == NULL) { + g_string_append (string, w->location); + } else { + g_string_append (string, location->name); + } +#if 0 g_string_append (string, url); g_free (url); +#endif g_string_append (string, ":
"); sky = (char *) weather_sky_string (w); -- cgit v1.2.3