[gnome-media] Make confirmation dialog application modal instead of system modal



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]