cleanup: Fix style nits in last commit
Missing space after catch and wrong double quotes.
This commit is contained in:
parent
bb6d9734e4
commit
5473637736
@ -353,7 +353,7 @@ class EndSessionDialog extends ModalDialog.ModalDialog {
|
||||
// It only makes sense to check for this permission if PackageKit is available.
|
||||
try {
|
||||
this._updatesPermission = Polkit.Permission.new_sync(
|
||||
"org.freedesktop.packagekit.trigger-offline-update", null, null);
|
||||
'org.freedesktop.packagekit.trigger-offline-update', null, null);
|
||||
} catch (e) {
|
||||
log('No permission to trigger offline updates: %s'.format(e.toString()));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user