brasero r1425 - in trunk: . src



Author: philippr
Date: Sat Oct 25 18:50:25 2008
New Revision: 1425
URL: http://svn.gnome.org/viewvc/brasero?rev=1425&view=rev

Log:
	Try to fix #557833 â Brasero Graphical Interaface Disappears after simulate & during writing

	* src/brasero-burn-dialog.c (brasero_burn_dialog_dummy_success_cb):


Modified:
   trunk/ChangeLog
   trunk/src/brasero-burn-dialog.c

Modified: trunk/src/brasero-burn-dialog.c
==============================================================================
--- trunk/src/brasero-burn-dialog.c	(original)
+++ trunk/src/brasero-burn-dialog.c	Sat Oct 25 18:50:25 2008
@@ -1015,10 +1015,12 @@
 	gboolean hide;
 	gint id;
 
-	if (!GTK_WIDGET_VISIBLE (dialog)) {
+	if (!GTK_WIDGET_MAPPED (dialog)) {
 		gtk_widget_show (GTK_WIDGET (dialog));
 		hide = TRUE;
 	}
+	else
+		hide = FALSE;
 
 	g_timer_stop (dialog->priv->total_time);
 
@@ -1046,6 +1048,9 @@
 			    brasero_burn_dialog_dummy_success_timeout,
 			    message);
 
+	gtk_widget_show (GTK_WIDGET (dialog));
+	gtk_window_set_urgency_hint (GTK_WINDOW (dialog), TRUE);
+
 	answer = gtk_dialog_run (GTK_DIALOG (message));
 	gtk_widget_destroy (message);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]