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:
commit
c5f34fa23b
1 changed files with 6 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue