[gnome-shell] cleanup: Fix style nits in last commit
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] cleanup: Fix style nits in last commit
- Date: Mon, 8 Jul 2019 18:18:15 +0000 (UTC)
commit 54736377368989c73fdb03cc0ad87e86350d43dd
Author: Florian Müllner <fmuellner gnome org>
Date: Mon Jul 8 20:14:35 2019 +0200
cleanup: Fix style nits in last commit
Missing space after catch and wrong double quotes.
js/ui/endSessionDialog.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/endSessionDialog.js b/js/ui/endSessionDialog.js
index f4950ba84..ead7eae78 100644
--- a/js/ui/endSessionDialog.js
+++ b/js/ui/endSessionDialog.js
@@ -353,8 +353,8 @@ 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);
- } catch(e) {
+ 'org.freedesktop.packagekit.trigger-offline-update', null, null);
+ } catch (e) {
log('No permission to trigger offline updates: %s'.format(e.toString()));
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]