Index: launcher.c
===================================================================
RCS file: /cvs/gnome/gnome-panel/gnome-panel/launcher.c,v
retrieving revision 1.240
diff -u -r1.240 launcher.c
--- launcher.c	26 May 2003 16:44:24 -0000	1.240
+++ launcher.c	9 Jun 2003 02:56:59 -0000
@@ -167,11 +167,16 @@
 		panel_ditem_launch (
 			item, NULL, 0, launcher_get_screen (launcher), &error);
 		if (error) {
+			gchar *msg = g_strdup_printf ("<b>%s</b>\n\n%s: %s",
+				_("Cannot launch icon"),
+				_("Details"), error->message);
+
 			panel_error_dialog (
 				launcher_get_screen (launcher),
 				"cannot_launch_icon",
-				_("<b>Cannot launch icon</b>\n\n"
-				"Details: %s"), error->message);
+				msg);
+
+			g_free (msg);
 			g_clear_error (&error);
 		}
 	}
@@ -1080,11 +1085,16 @@
 				launcher->ditem, "X-GNOME-DocPath");
 	panel_show_gnome_kde_help (screen, docpath, &error);
 	if (error) {
+		gchar *msg = g_strdup_printf ("<b>%s</b>\n\n%s: %s",
+			_("Cannot display help document"),
+			_("Details"), error->message);
+
 		panel_error_dialog (
 			screen,
 			"cannot_show_gnome_kde_help",
-			_("<b>Cannot display help document</b>\n\nDetails: %s"),
-			error->message);
+			msg);
+
+		g_free (msg);
 		g_error_free (error);
 	}
 }
