[gnome-shell] Make gnome-shell-clock-preferences work again



commit be96cb929150d3a26f90649b8f20a396c16fc8d9
Author: David Zeuthen <davidz redhat com>
Date:   Mon Dec 20 15:06:16 2010 -0500

    Make gnome-shell-clock-preferences work again
    
    Thanks Owen and Colin for debugging this:
    
    <davidz> does anyone have a clue about this cryptic error message: http://fpaste.org/aWgh/ ?
    <owen> davidz: well, I'd guess some sort of syntax error...
    <walters> hmm
     possibly but unlikely fallout from my js versioning
    <owen> 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?
    <walters> actually, let's do that now anyways
    
    Signed-off-by: David Zeuthen <davidz redhat com>

 src/gnome-shell-clock-preferences.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-shell-clock-preferences.in b/src/gnome-shell-clock-preferences.in
index b2f9498..76391a8 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' });"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]