[evolution-patches] Error title fix



Hello,

turns out that the e-error code doesn't use the correct title. The
attached patch fixes this. Is it ok to commit?

Anders
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/widgets/misc/ChangeLog,v
retrieving revision 1.309
diff -p -u -r1.309 ChangeLog
--- ChangeLog	27 May 2004 18:23:57 -0000	1.309
+++ ChangeLog	28 May 2004 12:28:21 -0000
@@ -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)
Index: e-error.c
===================================================================
RCS file: /cvs/gnome/evolution/widgets/misc/e-error.c,v
retrieving revision 1.10
diff -p -u -r1.10 e-error.c
--- e-error.c	22 May 2004 00:15:05 -0000	1.10
+++ e-error.c	28 May 2004 12:28:21 -0000
@@ -472,7 +472,7 @@ e_error_newv(GtkWindow *parent, const ch
 
 	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));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]