diff options
Diffstat (limited to 'src/scale.c')
-rw-r--r-- | src/scale.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/scale.c b/src/scale.c index 11d95887..21f820eb 100644 --- a/src/scale.c +++ b/src/scale.c @@ -75,6 +75,9 @@ zenity_scale (ZenityData *data, ZenityScaleData *scale_data) if (data->width > -1 || data->height > -1) gtk_window_set_default_size (GTK_WINDOW (dialog), data->width, data->height); + + if (data->modal) + gtk_window_set_modal (GTK_WINDOW (dialog), TRUE); if (data->ok_label) { button = GTK_WIDGET (gtk_builder_get_object (builder, "zenity_scale_ok_button")); |