From be96cb929150d3a26f90649b8f20a396c16fc8d9 Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Mon, 20 Dec 2010 15:06:16 -0500 Subject: [PATCH] Make gnome-shell-clock-preferences work again Thanks Owen and Colin for debugging this: does anyone have a clue about this cryptic error message: http://fpaste.org/aWgh/ ? davidz: well, I'd guess some sort of syntax error... hmm possibly but unlikely fallout from my js versioning oh, it's happening here too walters: exactly Adding --js-version=1.8 to the wrapper script fixes walters: I thought you were defaulting to allowing extensions? actually, let's do that now anyways Signed-off-by: David Zeuthen --- src/gnome-shell-clock-preferences.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gnome-shell-clock-preferences.in b/src/gnome-shell-clock-preferences.in index b2f94986c..76391a8e0 100644 --- a/src/gnome-shell-clock-preferences.in +++ b/src/gnome-shell-clock-preferences.in @@ -18,7 +18,7 @@ uiFile="$uiDir/clock-preferences.ui" export GJS_PATH="$jsDir" export GSETTINGS_SCHEMA_DIR="$schemaDir" -@GJS_CONSOLE@ -c "const ClockPreferences = imports.prefs.clockPreferences; +@GJS_CONSOLE@ --js-version 1.8 -c "const ClockPreferences = imports.prefs.clockPreferences; ClockPreferences.main({ progName: '$progName', uiFile: '$uiFile', localeDir: '$localeDir' });"