vendor_url = polkit_action_description_get_vendor_url (action);
icon = polkit_action_description_get_icon (action);
- g_print ("action_id: %s\n", polkit_action_description_get_action_id (action));
- g_print ("description: %s\n", polkit_action_description_get_description (action));
- g_print ("message: %s\n", polkit_action_description_get_message (action));
+ g_print ("%s:\n", polkit_action_description_get_action_id (action));
+ g_print (" description: %s\n", polkit_action_description_get_description (action));
+ g_print (" message: %s\n", polkit_action_description_get_message (action));
if (vendor != NULL)
- g_print ("vendor: %s\n", vendor);
+ g_print (" vendor: %s\n", vendor);
if (vendor_url != NULL)
- g_print ("vendor_url: %s\n", vendor_url);
+ g_print (" vendor_url: %s\n", vendor_url);
if (icon != NULL)
{
gchar *s;
s = g_icon_to_string (icon);
- g_print ("icon: %s\n", s);
+ g_print (" icon: %s\n", s);
g_free (s);
}
key = annotation_keys[n];
value = polkit_action_description_get_annotation (action, key);
- g_print ("annotation: %s -> %s\n", key, value);
+ g_print (" annotation: %s -> %s\n", key, value);
}
}