diff --git a/js/ui/shellDBus.js b/js/ui/shellDBus.js index 2bc149c62..6dbb5aeb6 100644 --- a/js/ui/shellDBus.js +++ b/js/ui/shellDBus.js @@ -371,8 +371,10 @@ const GnomeShellExtensions = new Lang.Class({ LaunchExtensionPrefs: function(uuid) { let appSys = Shell.AppSystem.get_default(); let app = appSys.lookup_app('gnome-shell-extension-prefs.desktop'); - app.launch(global.display.get_current_time_roundtrip(), - ['extension:///' + uuid], -1, null); + let info = app.get_app_info(); + let timestamp = global.display.get_current_time_roundtrip(); + info.launch_uris(['extension:///' + uuid], + global.create_app_launch_context(timestamp, -1)); }, ReloadExtension: function(uuid) {