aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);