[brasero] Fix another window stacking problem (burn dialog was not always appearing in task bar)



commit e03974bdbf84543e5da41254feb8709ca1c8d65f
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Mon Sep 7 16:15:25 2009 +0200

    Fix another window stacking problem (burn dialog was not always appearing in task bar)

 libbrasero-burn/brasero-burn-dialog.c |    3 +++
 src/brasero-app.c                     |    2 --
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/libbrasero-burn/brasero-burn-dialog.c b/libbrasero-burn/brasero-burn-dialog.c
index bdcf5e9..72e8081 100644
--- a/libbrasero-burn/brasero-burn-dialog.c
+++ b/libbrasero-burn/brasero-burn-dialog.c
@@ -2275,6 +2275,9 @@ brasero_burn_dialog_run (BraseroBurnDialog *dialog,
 	}
 
 	do {
+		if (!GTK_WIDGET_VISIBLE (dialog))
+			gtk_widget_show (GTK_WIDGET (dialog));
+
 		result = brasero_burn_dialog_record_session (dialog, media);
 	} while (result == BRASERO_BURN_RETRY);
 
diff --git a/src/brasero-app.c b/src/brasero-app.c
index c22217f..78452c7 100644
--- a/src/brasero-app.c
+++ b/src/brasero-app.c
@@ -957,8 +957,6 @@ brasero_app_set_toplevel (BraseroApp *app, GtkWindow *window)
 		}
 	}
 	else {
-		gtk_window_set_transient_for (GTK_WINDOW (window), GTK_WINDOW (priv->mainwin));
-
 		/* hide main dialog if it is shown */
 		gtk_widget_hide (GTK_WIDGET (priv->mainwin));
 



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