aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-09-18 05:05:51 +0800
committerIain Holmes <iain@src.gnome.org>2001-09-18 05:05:51 +0800
commitb621787d61869c6a2da0f33f74b7cc88654d930d (patch)
tree3c018e878356f692b2b6ef7b090e5308cdb69ba3
parent23583a50aa0dfe8e9a75bb3ed4f7d0132958ee8b (diff)
downloadgsoc2013-evolution-b621787d61869c6a2da0f33f74b7cc88654d930d.tar.gz
gsoc2013-evolution-b621787d61869c6a2da0f33f74b7cc88654d930d.tar.zst
gsoc2013-evolution-b621787d61869c6a2da0f33f74b7cc88654d930d.zip
Don't make the confusing URL for the station name
svn path=/trunk/; revision=12911
-rw-r--r--my-evolution/ChangeLog7
-rw-r--r--my-evolution/e-summary-weather.c11
2 files changed, 16 insertions, 2 deletions
diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog
index 49811c158f..43154b51d1 100644
--- a/my-evolution/ChangeLog
+++ b/my-evolution/ChangeLog
@@ -1,6 +1,11 @@
2001-09-17 Iain Holmes <iain@ximian.com>
- * e-summary-mail (mail_change_notify): Only redraw the display when
+ * e-summary-weather.c (weather_make_html): Don't make the confusing
+ url for the city name.
+
+2001-09-17 Iain Holmes <iain@ximian.com>
+
+ * e-summary-mail.c (mail_change_notify): Only redraw the display when
we receive a notify about a folder we are displaying
2001-09-17 Iain Holmes <iain@ximian.com>
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, "<dd><img align=\"middle\" "
"src=\"%s\">&#160;<b>", 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, "</b>:<blockquote><font size=\"-1\">");
sky = (char *) weather_sky_string (w);