diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2003-01-18 05:57:08 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2003-01-18 05:57:08 +0800 |
commit | f4a7080e828f9ca386c80153af25ce5c9b564d91 (patch) | |
tree | 40f76d56fef4b62a51a1b3c19133f5dfb82e8150 /widgets/misc | |
parent | 9b1888365c523f0408d30473aad733abe1fd1750 (diff) | |
download | gsoc2013-evolution-f4a7080e828f9ca386c80153af25ce5c9b564d91.tar gsoc2013-evolution-f4a7080e828f9ca386c80153af25ce5c9b564d91.tar.gz gsoc2013-evolution-f4a7080e828f9ca386c80153af25ce5c9b564d91.tar.bz2 gsoc2013-evolution-f4a7080e828f9ca386c80153af25ce5c9b564d91.tar.lz gsoc2013-evolution-f4a7080e828f9ca386c80153af25ce5c9b564d91.tar.xz gsoc2013-evolution-f4a7080e828f9ca386c80153af25ce5c9b564d91.tar.zst gsoc2013-evolution-f4a7080e828f9ca386c80153af25ce5c9b564d91.zip |
(e_notice): Use gtk_dialog_run()
instead of gtk_widget_show() so we return only after the user
acknowledges the error.
svn path=/trunk/; revision=19504
Diffstat (limited to 'widgets/misc')
-rw-r--r-- | widgets/misc/e-gui-utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/widgets/misc/e-gui-utils.c b/widgets/misc/e-gui-utils.c index e91dfb5f9d..ff1157de4b 100644 --- a/widgets/misc/e-gui-utils.c +++ b/widgets/misc/e-gui-utils.c @@ -51,7 +51,8 @@ e_notice (GtkWindow *parent, GtkMessageType type, const char *format, ...) g_free (str); g_signal_connect_swapped (dialog, "response", G_CALLBACK (gtk_widget_destroy), dialog); - gtk_widget_show (dialog); + + gtk_dialog_run (GTK_DIALOG (dialog)); } static void |