gnome-lirc-properties r70 - in trunk: . gnome_lirc_properties
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-lirc-properties r70 - in trunk: . gnome_lirc_properties
- Date: Wed, 22 Oct 2008 13:56:39 +0000 (UTC)
Author: hadess
Date: Wed Oct 22 13:56:38 2008
New Revision: 70
URL: http://svn.gnome.org/viewvc/gnome-lirc-properties?rev=70&view=rev
Log:
2008-10-22 Bastien Nocera <hadess hadess net>
* gnome_lirc_properties/policykit.py: Use
"authorizes == yes" to make sure we don't tell the program
we're authorised when the answer is auth_self_keep_always
or similar (Closes: #556745)
Modified:
trunk/ChangeLog
trunk/gnome_lirc_properties/policykit.py
Modified: trunk/gnome_lirc_properties/policykit.py
==============================================================================
--- trunk/gnome_lirc_properties/policykit.py (original)
+++ trunk/gnome_lirc_properties/policykit.py Wed Oct 22 13:56:38 2008
@@ -43,7 +43,7 @@
authorized = self.policy_kit.IsProcessAuthorized(action_id, pid, False)
logging.debug('%s: authorized=%r', action_id, authorized)
- return ('no' != authorized)
+ return ('yes' == authorized)
def obtain_authorization(self, widget, action_id=config.POLICY_KIT_ACTION):
'''
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]