Thanks, Matthew, and no problem.  :)

For distinguishing the cases...I don't know of a way to do that.  For
any failed authentication, dbus returns the exception
'PermissionDeniedByPolicy', and with the patch, software-properties
catches that.  Maybe somewhere in dbus, a finer distinction could be
found, but that's just speculation.  What I know about this, I just
learned at the time of going after this bug.

I'll look next at the cleanest way to change the code, when it catches
that exception, to do a no-op, and not pop any dialog.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1058072

Title:
  Cancelling PolicyKit authorization produces silly error message

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1058072/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to