GNOME Bugzilla – Bug 643007
polkit: return error when authentication dialog is dismissed
Last modified: 2011-02-23 16:04:35 UTC
This allows PolicyKit applications to disambiguate between when the authentication dialog is dismissed versus when authentication fails (e.g. the wrong password has been entered). See https://bugs.freedesktop.org/show_bug.cgi?id=30653 for more information.
Created attachment 181645 [details] [review] Patch
This patch also works on polkit 0.100 - it does not depend on the patch from the fdo bug reference in comment 0. So it's safe to commit right away.
Review of attachment 181645 [details] [review]: Not a fan of functions taking multiple booleans 'doThis(false, true);', but within one module and not part of the API it's OK, not really worth making it fancy. (Probably what we'd do for an intermodule-api is use an object like { keepVisible: false, dismissed: true })
Comment on attachment 181645 [details] [review] Patch Committed. Thanks.