From 31feb29bdf6b323516d57ecd4fdb4def72e5dbdd Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 3 Jan 2005 17:40:36 +0000 Subject: [PATCH] Some clarification regarding modality. (#112903, Dave Bordoley) 2005-01-03 Matthias Clasen * gtk/gtkdialog.c (gtk_dialog_run): Some clarification regarding modality. (#112903, Dave Bordoley) --- ChangeLog | 3 +++ ChangeLog.pre-2-10 | 3 +++ ChangeLog.pre-2-6 | 3 +++ ChangeLog.pre-2-8 | 3 +++ gtk/gtkdialog.c | 6 ++++++ 5 files changed, 18 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8c11f9367c..2fe7e7f1c3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2005-01-03 Matthias Clasen + * gtk/gtkdialog.c (gtk_dialog_run): Some clarification + regarding modality. (#112903, Dave Bordoley) + * gtk/gtkfixed.c (gtk_fixed_set_has_window): Add a little motivation. (#145556, Tommi Komulainen) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 8c11f9367c..2fe7e7f1c3 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,8 @@ 2005-01-03 Matthias Clasen + * gtk/gtkdialog.c (gtk_dialog_run): Some clarification + regarding modality. (#112903, Dave Bordoley) + * gtk/gtkfixed.c (gtk_fixed_set_has_window): Add a little motivation. (#145556, Tommi Komulainen) diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 8c11f9367c..2fe7e7f1c3 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,5 +1,8 @@ 2005-01-03 Matthias Clasen + * gtk/gtkdialog.c (gtk_dialog_run): Some clarification + regarding modality. (#112903, Dave Bordoley) + * gtk/gtkfixed.c (gtk_fixed_set_has_window): Add a little motivation. (#145556, Tommi Komulainen) diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 8c11f9367c..2fe7e7f1c3 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,5 +1,8 @@ 2005-01-03 Matthias Clasen + * gtk/gtkdialog.c (gtk_dialog_run): Some clarification + regarding modality. (#112903, Dave Bordoley) + * gtk/gtkfixed.c (gtk_fixed_set_has_window): Add a little motivation. (#145556, Tommi Komulainen) diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c index 13c1530d65..e0effeea83 100644 --- a/gtk/gtkdialog.c +++ b/gtk/gtkdialog.c @@ -967,6 +967,12 @@ run_destroy_handler (GtkDialog *dialog, gpointer data) * gtk_widget_destroy (dialog); * * + * Note that even though the recursive main loop gives the effect of a + * modal dialog (it prevents the user from interacting with other + * windows while the dialog is run), callbacks such as timeouts, + * IO channel watches, DND drops, etc, will be + * triggered during a gtk_dialog_run() call. + * * Return value: response ID **/ gint