aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-09-19 02:41:21 +0800
committerIain Holmes <iain@src.gnome.org>2001-09-19 02:41:21 +0800
commit00d81264c73eebb83e911f3a0b80e3f00cc3701e (patch)
tree48c3d6a11700e7d707707bfb53a3d16562929afe /my-evolution
parent5a5022fd46edd2064c05d9191b1a0b6b71688b31 (diff)
downloadgsoc2013-evolution-00d81264c73eebb83e911f3a0b80e3f00cc3701e.tar
gsoc2013-evolution-00d81264c73eebb83e911f3a0b80e3f00cc3701e.tar.gz
gsoc2013-evolution-00d81264c73eebb83e911f3a0b80e3f00cc3701e.tar.bz2
gsoc2013-evolution-00d81264c73eebb83e911f3a0b80e3f00cc3701e.tar.lz
gsoc2013-evolution-00d81264c73eebb83e911f3a0b80e3f00cc3701e.tar.xz
gsoc2013-evolution-00d81264c73eebb83e911f3a0b80e3f00cc3701e.tar.zst
gsoc2013-evolution-00d81264c73eebb83e911f3a0b80e3f00cc3701e.zip
Do appends instead of prepends in places.
Don't print a (null). svn path=/trunk/; revision=12941
Diffstat (limited to 'my-evolution')
-rw-r--r--my-evolution/ChangeLog12
-rw-r--r--my-evolution/e-summary-mail.c4
-rw-r--r--my-evolution/e-summary-rdf.c2
-rw-r--r--my-evolution/e-summary-tasks.c2
-rw-r--r--my-evolution/e-summary-weather.c2
5 files changed, 16 insertions, 6 deletions
diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog
index 43154b51d1..db5fc2aabb 100644
--- a/my-evolution/ChangeLog
+++ b/my-evolution/ChangeLog
@@ -1,3 +1,15 @@
+2001-09-18 Iain Holmes <iain@ximian.com>
+
+ * e-summary-weather.c (e_summary_weather_add_location): Append the
+ weather locations so they are in the right order.
+
+ * e-summary-tasks.c (generate_html): If the text is null, don't print
+ (null). Print "No description" instead.
+
+ * e-summary-rdf.c (e_summary_rdf_add_uri): Append here as well.
+
+ * e-summary-mail.c (maybe_add_to_shown): Append ici.
+
2001-09-17 Iain Holmes <iain@ximian.com>
* e-summary-weather.c (weather_make_html): Don't make the confusing
diff --git a/my-evolution/e-summary-mail.c b/my-evolution/e-summary-mail.c
index a8f6d28ba1..2d3c2ef0e2 100644
--- a/my-evolution/e-summary-mail.c
+++ b/my-evolution/e-summary-mail.c
@@ -273,8 +273,6 @@ mail_change_notify (BonoboListener *listener,
char *uri;
uri = g_strconcat ("file://", p->data, NULL);
-
- g_print ("uri: %s\t%s\n", uri, folder->path);
if (strcmp (uri, folder->path) == 0) {
/* Regen HTML */
e_summary_mail_generate_html (summary);
@@ -417,7 +415,7 @@ maybe_add_to_shown (gpointer key,
uri = g_strconcat ("file://", p->data, NULL);
if (strcmp (uri, folder->path) == 0) {
- mail->shown = g_list_prepend (mail->shown, folder);
+ mail->shown = g_list_append (mail->shown, folder);
}
g_free (uri);
diff --git a/my-evolution/e-summary-rdf.c b/my-evolution/e-summary-rdf.c
index abc4f918c3..712b19c76e 100644
--- a/my-evolution/e-summary-rdf.c
+++ b/my-evolution/e-summary-rdf.c
@@ -422,7 +422,7 @@ e_summary_rdf_add_uri (ESummary *summary,
r->summary = summary;
r->uri = g_strdup (uri);
r->shown = TRUE;
- summary->rdf->rdfs = g_list_prepend (summary->rdf->rdfs, r);
+ summary->rdf->rdfs = g_list_append (summary->rdf->rdfs, r);
}
static void
diff --git a/my-evolution/e-summary-tasks.c b/my-evolution/e-summary-tasks.c
index fe0f763e4f..a44b0dbae2 100644
--- a/my-evolution/e-summary-tasks.c
+++ b/my-evolution/e-summary-tasks.c
@@ -249,7 +249,7 @@ generate_html (gpointer data)
tmp = g_strdup_printf ("<img align=\"middle\" src=\"task.xpm\" "
"alt=\"\" width=\"16\" height=\"16\"> &#160; "
"<font size=\"-1\"><a href=\"evolution:/local/Tasks\">%s</a></font><br>",
- text.value);
+ text.value ? text.value : _("(No Description)"));
} else {
#if 0
tmp = g_strdup_printf ("<img align=\"middle\" src=\"task.xpm\" "
diff --git a/my-evolution/e-summary-weather.c b/my-evolution/e-summary-weather.c
index e1dd7b3061..1ab7a8c046 100644
--- a/my-evolution/e-summary-weather.c
+++ b/my-evolution/e-summary-weather.c
@@ -395,7 +395,7 @@ e_summary_weather_add_location (ESummary *summary,
w = g_new0 (Weather, 1);
w->summary = summary;
w->location = g_strdup (location);
- summary->weather->weathers = g_list_prepend (summary->weather->weathers, w);
+ summary->weather->weathers = g_list_append (summary->weather->weathers, w);
}
static gboolean