diff options
Diffstat (limited to 'src/fileselection.c')
-rw-r--r-- | src/fileselection.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fileselection.c b/src/fileselection.c index 349ff32d..cf82f028 100644 --- a/src/fileselection.c +++ b/src/fileselection.c @@ -67,6 +67,9 @@ void zenity_fileselection (ZenityData *data, ZenityFileData *file_data) zenity_util_set_window_icon (dialog, data->window_icon, ZENITY_IMAGE_FULLPATH ("zenity-file.png")); + if (data->modal) + gtk_window_set_modal (GTK_WINDOW (dialog), TRUE); + if (file_data->uri) { dir = g_path_get_dirname (file_data->uri); |