Merge branch 'mjog/inspector-unusable-with-modals' into 'mainline'

Application.Client: Prevent app modal dialogs blocking inspector windows

Closes #932

See merge request GNOME/geary!553
This commit is contained in:
Michael Gratton 2020-08-22 01:10:41 +00:00
commit c5f34fa23b

View file

@ -712,6 +712,12 @@ public class Application.Client : Gtk.Application {
this.inspector.destroy.connect(() => {
this.inspector = null;
});
// Create a new window group for the inspector so it is
// not affected by the app's modal dialogs
var group = new Gtk.WindowGroup();
group.add_window(this.inspector);
this.inspector.show();
} else {
this.inspector.present();