[PolicyKit-gnome] Do not show internal polkit.* detail key/value pairs



commit 1affc470118498bc505d847549ee52885b4ea49f
Author: David Zeuthen <davidz redhat com>
Date:   Mon Feb 21 17:14:35 2011 -0500

    Do not show internal polkit.* detail key/value pairs
    
    These were introduced with this commit
    
    http://cgit.freedesktop.org/PolicyKit/commit/?id=719585f1aecdc79598a6cecff936bd50e0f6a2f8
    
    Signed-off-by: David Zeuthen <davidz redhat com>

 src/polkitgnomeauthenticationdialog.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/polkitgnomeauthenticationdialog.c b/src/polkitgnomeauthenticationdialog.c
index 18f77a5..d443c8e 100644
--- a/src/polkitgnomeauthenticationdialog.c
+++ b/src/polkitgnomeauthenticationdialog.c
@@ -661,6 +661,9 @@ polkit_gnome_authentication_dialog_constructed (GObject *object)
           const gchar *key = keys[n];
           const gchar *value;
 
+          if (g_str_has_prefix (key, "polkit."))
+            continue;
+
           value = polkit_details_lookup (dialog->priv->details, key);
 
           label = gtk_label_new (NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]