[Xfce4-commits] [xfce/xfce4-settings] 40/67: display: Make confirmation dialog modal
noreply at xfce.org
noreply at xfce.org
Sat Sep 22 11:23:31 CEST 2018
This is an automated email from the git hooks/post-receive script.
o c h o s i p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfce4-settings.
commit eaa4c8869882bb1e79a539b656d08ff1ba2ac90b
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Sun Aug 26 23:52:40 2018 +0200
display: Make confirmation dialog modal
---
dialogs/display-settings/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dialogs/display-settings/main.c b/dialogs/display-settings/main.c
index 44eeb33..ee42647 100644
--- a/dialogs/display-settings/main.c
+++ b/dialogs/display-settings/main.c
@@ -287,7 +287,6 @@ display_setting_timed_confirmation (GtkBuilder *main_builder)
/* Lock the main UI */
main_dialog = gtk_builder_get_object (main_builder, "display-dialog");
- gtk_widget_set_sensitive (GTK_WIDGET (main_dialog), FALSE);
builder = gtk_builder_new ();
@@ -304,6 +303,7 @@ display_setting_timed_confirmation (GtkBuilder *main_builder)
dialog = gtk_builder_get_object (builder, "dialog1");
gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (main_dialog));
+ gtk_window_set_modal (GTK_WINDOW (dialog), TRUE);
source_id = g_timeout_add_seconds (1, (GSourceFunc) display_settings_update_time_label,
confirmation_dialog);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list