Make file chooser and open URI dialogs modal

This commit is contained in:
Rafostar
2020-11-05 20:19:26 +01:00
parent da21c2fafc
commit 42c208d1df
2 changed files with 2 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ class ClapperFileChooser extends Gtk.FileChooserNative
{
super._init({
transient_for: window,
modal: true,
});
let filter = new Gtk.FileFilter({

View File

@@ -9,6 +9,7 @@ class ClapperUriDialog extends Gtk.Dialog
transient_for: window,
title: 'Open URI',
default_width: 460,
modal: true,
});
let box = new Gtk.Box({