diff options
author | Iain Holmes <iain@src.gnome.org> | 2001-07-10 04:08:30 +0800 |
---|---|---|
committer | Iain Holmes <iain@src.gnome.org> | 2001-07-10 04:08:30 +0800 |
commit | 4138abc3ebb024c3f3b5c3063cca669a60147f6b (patch) | |
tree | a51992a3918155a6a3a57d83756a5e50bdc58e9c /my-evolution/e-summary-weather.c | |
parent | 7c4e516f1c74de3ce8c975b8965b086b447f39ef (diff) | |
download | gsoc2013-evolution-4138abc3ebb024c3f3b5c3063cca669a60147f6b.tar gsoc2013-evolution-4138abc3ebb024c3f3b5c3063cca669a60147f6b.tar.gz gsoc2013-evolution-4138abc3ebb024c3f3b5c3063cca669a60147f6b.tar.bz2 gsoc2013-evolution-4138abc3ebb024c3f3b5c3063cca669a60147f6b.tar.lz gsoc2013-evolution-4138abc3ebb024c3f3b5c3063cca669a60147f6b.tar.xz gsoc2013-evolution-4138abc3ebb024c3f3b5c3063cca669a60147f6b.tar.zst gsoc2013-evolution-4138abc3ebb024c3f3b5c3063cca669a60147f6b.zip |
Get a lovely icon from jimmac for the type of weather
svn path=/trunk/; revision=10929
Diffstat (limited to 'my-evolution/e-summary-weather.c')
-rw-r--r-- | my-evolution/e-summary-weather.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/my-evolution/e-summary-weather.c b/my-evolution/e-summary-weather.c index 164278fe50..47d077212a 100644 --- a/my-evolution/e-summary-weather.c +++ b/my-evolution/e-summary-weather.c @@ -86,9 +86,13 @@ weather_make_html (Weather *w) GString *string; ESummaryWeatherLocation *location; char *sky, *temp, *cond, *uri, *url, *s; + char *icon_name; - string = g_string_new ("<dd><img align=\"middle\" " - "src=\"es-weather.png\"> <b>"); + icon_name = icon_from_weather (w); + g_print ("icon_name: %s\n", icon_name); + string = g_string_new (""); + g_string_sprintf (string, "<dd><img align=\"middle\" " + "src=\"%s\"> <b>", icon_name); location = g_hash_table_lookup (locations_hash, w->location); if (location == NULL) { url = make_url (w->location, w->location); |