diff src/audtool/audtool.c @ 2747:8b7e1929aec1 trunk

[svn] - change the appearance that backtraces are presented as
author nenolod
date Fri, 11 May 2007 19:31:36 -0700
parents b189991f7417
children
line wrap: on
line diff
--- a/src/audtool/audtool.c	Fri May 11 19:31:07 2007 -0700
+++ b/src/audtool/audtool.c	Fri May 11 19:31:36 2007 -0700
@@ -121,7 +121,7 @@
 	connection = dbus_g_bus_get(DBUS_BUS_SESSION, &error);
 
 	if (connection == NULL)
-		mowgli_error_context_display_with_error(e, "\n  * ", g_strdup_printf("D-Bus Error: %s", error->message));
+		mowgli_error_context_display_with_error(e, ":\n  * ", g_strdup_printf("D-Bus Error: %s", error->message));
 
 	mowgli_error_context_pop(e);
 
@@ -146,7 +146,7 @@
 	mowgli_error_context_push(e, "While processing the commandline");
 
 	if (argc < 2)
-		mowgli_error_context_display_with_error(e, "\n  * ", "not enough parameters, use audtool --help for more information.");
+		mowgli_error_context_display_with_error(e, ":\n  * ", "not enough parameters, use audtool --help for more information.");
 
 	for (i = 0; handlers[i].name != NULL; i++)
 	{
@@ -159,7 +159,7 @@
 		}
 	}
 
-	mowgli_error_context_display_with_error(e, "\n  * ", g_strdup_printf("Unknown command `%s' encountered, use audtool --help for a command list.", argv[1]));
+	mowgli_error_context_display_with_error(e, ":\n  * ", g_strdup_printf("Unknown command `%s' encountered, use audtool --help for a command list.", argv[1]));
 
 	return 0;
 }