GNOME Bugzilla – Bug 722334
Make gnome-shell-extension-prefs a binary executable
Last modified: 2014-01-16 14:34:31 UTC
Turns out extension-prefs have been broken for quite a while now ...
Created attachment 266461 [details] [review] Make gnome-shell-extension-prefs a binary executable Since commit 1ebb162a00bf6c4b0 moved JS sources into resources, the extension-prefs tool was broken. To fix it, we would either need to generate an external GResource in addition to the generated C code and teach gjs-console about loading it before evaluating the script, or turn gnome-shell-extension-prefs into a binary with the JS resources compiled in.
Review of attachment 266461 [details] [review]: Yeah, this looks good. My long-term plan is to have gjs-console learn how to load GResources, but for now this is fine. ::: src/gnome-shell-extension-prefs.c @@ +20,3 @@ + context = g_object_new (GJS_TYPE_CONTEXT, + "search-path", search_path, + "js-version", "1.8", js-version was removed upstream.
Attachment 266461 [details] pushed as 2dd7db4 - Make gnome-shell-extension-prefs a binary executable