mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +02:00
Make file chooser and open URI dialogs modal
This commit is contained in:
@@ -7,6 +7,7 @@ class ClapperFileChooser extends Gtk.FileChooserNative
|
|||||||
{
|
{
|
||||||
super._init({
|
super._init({
|
||||||
transient_for: window,
|
transient_for: window,
|
||||||
|
modal: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
let filter = new Gtk.FileFilter({
|
let filter = new Gtk.FileFilter({
|
||||||
|
@@ -9,6 +9,7 @@ class ClapperUriDialog extends Gtk.Dialog
|
|||||||
transient_for: window,
|
transient_for: window,
|
||||||
title: 'Open URI',
|
title: 'Open URI',
|
||||||
default_width: 460,
|
default_width: 460,
|
||||||
|
modal: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
let box = new Gtk.Box({
|
let box = new Gtk.Box({
|
||||||
|
Reference in New Issue
Block a user