[gnome-media] Make confirmation dialog application modal instead of system modal
- From: Marc-Andre Lureau <malureau src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-media] Make confirmation dialog application modal instead of system modal
- Date: Tue, 22 Jun 2010 22:01:15 +0000 (UTC)
commit 0450d9019312edd55feb138e2b5cbec9b0235896
Author: Tomas Frydrych <tf linux intel com>
Date: Fri Apr 9 10:13:29 2010 +0100
Make confirmation dialog application modal instead of system modal
This is necessary for WM to maintain correct relative position of the dialog
to the application.
https://bugzilla.gnome.org/show_bug.cgi?id=615273
grecord/src/gsr-window.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/grecord/src/gsr-window.c b/grecord/src/gsr-window.c
index 84e718d..df92ef3 100644
--- a/grecord/src/gsr-window.c
+++ b/grecord/src/gsr-window.c
@@ -855,7 +855,7 @@ gsr_discard_confirmation_dialog (GSRWindow *window, gboolean closing)
gchar *utf8_filename = NULL;
gboolean ret = TRUE;
- confirmation_dialog = gtk_message_dialog_new_with_markup (NULL,
+ confirmation_dialog = gtk_message_dialog_new_with_markup (GTK_WINDOW (window),
GTK_DIALOG_MODAL,
GTK_MESSAGE_WARNING,
GTK_BUTTONS_NONE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]