From 5b60edc135496fa4bdc9f1623a7b22501adb77a9 Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Thu, 27 Sep 2007 13:46:29 -0400 Subject: [PATCH] make polkit-list-actions print information about --- tools/polkit-list-actions.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/polkit-list-actions.c b/tools/polkit-list-actions.c index 1342e6d..54e381d 100644 --- a/tools/polkit-list-actions.c +++ b/tools/polkit-list-actions.c @@ -67,22 +67,26 @@ _print_details_for_entry (PolKitPolicyFileEntry *pfe) { const char *action_id; PolKitPolicyDefault *def; + PolKitResult default_any; PolKitResult default_inactive; PolKitResult default_active; action_id = polkit_policy_file_entry_get_id (pfe); def = polkit_policy_file_entry_get_default (pfe); + default_any = polkit_policy_default_get_allow_any (def); default_inactive = polkit_policy_default_get_allow_inactive (def); default_active = polkit_policy_default_get_allow_active (def); printf ("action_id: %s\n" "description: %s\n" "message: %s\n" + "default_any: %s\n" "default_inactive: %s\n" "default_active: %s\n", action_id, polkit_policy_file_entry_get_action_description (pfe), polkit_policy_file_entry_get_action_message (pfe), + polkit_result_to_string_representation (default_any), polkit_result_to_string_representation (default_inactive), polkit_result_to_string_representation (default_active)); -- 2.7.4