diff options
Diffstat (limited to 'my-evolution')
-rw-r--r-- | my-evolution/ChangeLog | 8 | ||||
-rw-r--r-- | my-evolution/e-summary-tasks.c | 3 | ||||
-rw-r--r-- | my-evolution/e-summary-weather.c | 5 | ||||
-rw-r--r-- | my-evolution/e-summary.c | 22 |
4 files changed, 28 insertions, 10 deletions
diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog index f53d3aa184..8d5cab4a1c 100644 --- a/my-evolution/ChangeLog +++ b/my-evolution/ChangeLog @@ -1,5 +1,13 @@ 2001-07-18 Iain Holmes <iain@ximian.com> + * e-summary-weather.c (weather_make_html): Remove the (more) link. + + * e-summary.c (e_summary_draw): Don't append NULL to the GString. + + * e-summary-tasks.c: Remove spewage. + +2001-07-18 Iain Holmes <iain@ximian.com> + * e-summary-weather.c (weather_make_html): Remove spewage. 2001-07-18 Iain Holmes <iain@ximian.com> diff --git a/my-evolution/e-summary-tasks.c b/my-evolution/e-summary-tasks.c index 8e75245f38..27ef1a4cbe 100644 --- a/my-evolution/e-summary-tasks.c +++ b/my-evolution/e-summary-tasks.c @@ -164,9 +164,6 @@ get_todays_uids (CalClient *client, if (endt >= todays_start && endt <= todays_end) { today = g_list_append (today, g_strdup (uid)); } - g_print ("Check da mic\n"); - } else { - g_print ("Duff\n"); } } diff --git a/my-evolution/e-summary-weather.c b/my-evolution/e-summary-weather.c index 0f3299e002..b64408b76b 100644 --- a/my-evolution/e-summary-weather.c +++ b/my-evolution/e-summary-weather.c @@ -121,13 +121,16 @@ weather_make_html (Weather *w) g_free (s); g_free (temp); +#if 0 g_string_append (string, "<font size=\"-1\">"); uri = g_strdup_printf ("<a href=\"weather://%p\">", w); g_string_append (string, uri); g_free (uri); g_string_append (string, "(More)</a></font></font></blockquote></dd>"); - +#else + g_string_append (string, "</font></blockquote></dd>"); +#endif if (w->html != NULL) { g_free (w->html); } diff --git a/my-evolution/e-summary.c b/my-evolution/e-summary.c index 79b42cb23e..0de680557a 100644 --- a/my-evolution/e-summary.c +++ b/my-evolution/e-summary.c @@ -153,21 +153,31 @@ e_summary_draw (ESummary *summary) /* Weather and RDF stuff here */ html = e_summary_weather_get_html (summary); - g_string_append (string, html); + if (html != NULL) { + g_string_append (string, html); + } html = e_summary_rdf_get_html (summary); - g_string_append (string, html); + if (html != NULL) { + g_string_append (string, html); + } g_string_append (string, HTML_4); html = (char *) e_summary_mail_get_html (summary); - - g_string_append (string, html); + if (html != NULL) { + g_string_append (string, html); + } html = (char *) e_summary_calendar_get_html (summary); - g_string_append (string, html); + if (html != NULL) { + g_string_append (string, html); + } + html = (char *) e_summary_tasks_get_html (summary); - g_string_append (string, html); + if (html != NULL) { + g_string_append (string, html); + } g_string_append (string, HTML_5); |