GNOME Bugzilla – Bug 694858
open preferences for a specific extension doesn't work
Last modified: 2013-02-28 14:48:45 UTC
I tried to bring up the preferences of system-monitor@paradoxxx.zero.gmail.com, but it opens the preferences window without any extension selected in the combobox. I tried from both tweak tool and from the extension itself.
Created attachment 237597 [details] [review] extensionUtil: Add ExtensionFinder::extensions-loaded signal Consumers might want to defer work until the initial loading of extensions has finished, so add an appropriate signal.
Created attachment 237598 [details] [review] extensionPrefs: Fix opening extension preferences on startup gnome-shell-extension-prefs supports opening a specific extension's preferences directly from the command line by passing the UUID. However this broke when extension loading was changed to be processed asynchronously, as no extension has been loaded when the command line argument is processed. Fix by deferring opening the extension's preferences until all extensions have been loaded.
The issue has already been reported as bug 690653, but I'm not a fan of the attached patch there, so I'm attaching an alternative approach here ...
Review of attachment 237598 [details] [review]: OK.
Review of attachment 237597 [details] [review]: OK.
Attachment 237597 [details] pushed as e99d69b - extensionUtil: Add ExtensionFinder::extensions-loaded signal Attachment 237598 [details] pushed as 6e89d2f - extensionPrefs: Fix opening extension preferences on startup
*** Bug 690653 has been marked as a duplicate of this bug. ***