aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/em-folder-view.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index dc32352e8d..6b7948625e 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2007-06-05 Matthew Barnes <mbarnes@redhat.com>
+
+ * em-folder-view.c (emfv_on_url_cb):
+ Duplicate a translated string since we free it later.
+
2007-06-05 Daniel Nylander <po@danielnylander.se>
* default/Makefile.am: Added sv to SUBDIRS
diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c
index 21233bd623..af075dd436 100644
--- a/mail/em-folder-view.c
+++ b/mail/em-folder-view.c
@@ -2929,7 +2929,7 @@ emfv_on_url_cb (GObject *emitter, const char *url, EMFolderView *emfv)
camel_url_free(curl);
camel_object_unref(cia);
} else if (!strncmp (url, "##", 2)) {
- nice_url = _("Click to hide/unhide addresses");
+ nice_url = g_strdup (_("Click to hide/unhide addresses"));
} else
nice_url = g_strdup_printf (_("Click to open %s"), url);
}