Somewhat improve the layout of args in inspect.
authorWim Taymans <wim.taymans@gmail.com>
Tue, 5 Jun 2001 17:45:52 +0000 (17:45 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Tue, 5 Jun 2001 17:45:52 +0000 (17:45 +0000)
Original commit message from CVS:
Somewhat improve the layout of args in inspect.

tools/gstreamer-inspect.c

index 0896162037ded228b39292bf10e782e05337aaed..3b4a82c58aa5f07040a4f8483a17530e03ca7c69 100644 (file)
@@ -264,7 +264,7 @@ print_element_info (GstElementFactory *factory)
 // FIXME should say whether it's read-only or not
     gtk_object_getv (GTK_OBJECT (element), num_args, args2);
 
-    printf("  %s: ",args[i].name);
+    printf("  %-40.40s: ",args[i].name);
     switch (args[i].type) {
       case GTK_TYPE_STRING: printf("String (Default \"%s\")", GTK_VALUE_STRING (args2[i]));break;
       case GTK_TYPE_BOOL: printf("Boolean (Default %s)", (GTK_VALUE_BOOL (args2[i])?"true":"false"));break;