[gaim-migrate @ 9002]

Tue, 17 Feb 2004 06:13:00 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Tue, 17 Feb 2004 06:13:00 +0000
changeset 8278
5fecd24d863c
parent 8277
5be1c3a1eec2
child 8279
d295c871bd2d

[gaim-migrate @ 9002]
Mooga booga

src/gtknotify.c file | annotate | diff | comparison | revisions
--- a/src/gtknotify.c	Tue Feb 17 04:46:53 2004 +0000
+++ b/src/gtknotify.c	Tue Feb 17 06:13:00 2004 +0000
@@ -408,19 +408,21 @@
 	GError *error = NULL;
 	gint ret = 0;
 
+	gaim_debug_misc("gtknotify", "Executing %s\n", command);
+
 	if (!gaim_program_is_valid(command)) {
-		gchar *tmp = g_strdup_printf(_("The browser \"%s\" is invalid."), 
-						command);
+		gchar *tmp = g_strdup_printf(_("The browser command \"%s\" is invalid."), 
+									 command);
 		gaim_notify_error(NULL, NULL, _("Unable to open URL"), tmp);
+
 		g_free(tmp);
 
 	} else if (sync) {
 		gint status;
  
 		if (!g_spawn_command_line_sync(command, NULL, NULL, &status, &error)) {
-			char *tmp = g_strdup_printf(
-				_("Error launching \"command\": %s"),
-				error->message);
+			char *tmp = g_strdup_printf(_("Error launching \"%s\": %s"),
+										command, error->message);
 
 			gaim_notify_error(NULL, NULL, _("Unable to open URL"), tmp);
 
@@ -432,9 +434,8 @@
 
 	} else {
 		if (!g_spawn_command_line_async(command, &error)) {
-			char *tmp = g_strdup_printf(
-				_("Error launching \"command\": %s"),
-				error->message);
+			char *tmp = g_strdup_printf(_("Error launching \"%s\": %s"),
+										command, error->message);
 
 			gaim_notify_error(NULL, NULL, _("Unable to open URL"), tmp);
 

mercurial