aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/misc/ChangeLog4
-rw-r--r--widgets/misc/e-error.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog
index 8958888e1d..517ef88241 100644
--- a/widgets/misc/ChangeLog
+++ b/widgets/misc/ChangeLog
@@ -1,3 +1,7 @@
+2004-05-28 Anders Carlsson <andersca@gnome.org>
+
+ * e-error.c (e_error_newv): Use the constructed title string.
+
2004-05-27 Rodney Dawes <dobey@novell.com>
* Makefile.am (EXTRA_DIST): Add $(error_i18n)
diff --git a/widgets/misc/e-error.c b/widgets/misc/e-error.c
index 3ced3adfa7..b18d602b85 100644
--- a/widgets/misc/e-error.c
+++ b/widgets/misc/e-error.c
@@ -472,7 +472,7 @@ e_error_newv(GtkWindow *parent, const char *tag, const char *arg0, va_list ap)
if (e->title) {
ee_build_label(out, _(e->title), args);
- gtk_window_set_title((GtkWindow *)dialog, _(e->title));
+ gtk_window_set_title((GtkWindow *)dialog, out->str);
g_string_truncate(out, 0);
} else
gtk_window_set_title((GtkWindow *)dialog, _(type_map[e->type].title));