GNOME Bugzilla – Bug 781545
extensionPrefs: Avoid a runtime warning
Last modified: 2017-04-20 17:18:58 UTC
See patch.
Created attachment 350143 [details] [review] extensionPrefs: Avoid a runtime warning Since 5b3fb024be, the main window is only shown when not launched with a valid UUID. As GtkDialog isn't meant to be used standalone, we currently trigger a (harmless but annoying) warning in case the main window isn't shown; we can avoid the warning by setting up the preference dialog manually instead of using the GtkDialog convenience class.
Review of attachment 350143 [details] [review]: looks fine ::: js/extensionPrefs/main.js @@ +94,3 @@ } + let dialog = new Gtk.Window({ modal: true, modal could be set only in the !_skipMainWindow path
Attachment 350143 [details] pushed as 06fdf2f - extensionPrefs: Avoid a runtime warning