[brasero/gnome-2-30] Fix #627687 - Rhythmbox create audio CD does not work



commit c65cf9fe4145b8efa5312b6ebbc1ad19b2f53687
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Mon Aug 30 15:31:43 2010 +0200

    Fix #627687 - Rhythmbox create audio CD does not work

 src/main.c |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index 6deb3bc..989d401 100644
--- a/src/main.c
+++ b/src/main.c
@@ -348,12 +348,17 @@ brasero_app_parse_options (BraseroApp *app)
 			return;
 	}
 	else if (burn_project_uri) {
-		brasero_app_open_project (app,
-					  burner,
-					  burn_project_uri,
-					  FALSE,
-					  TRUE,
-					  burn_immediately != 0 /* This is to keep the current behavior which is open main window */);
+		gboolean res;
+
+		res = brasero_app_open_project (app,
+		                                burner,
+		                                burn_project_uri,
+		                                FALSE,
+		                                TRUE,
+		                                FALSE /* This is to keep the current behavior which is open main window */);
+		if (res)
+			brasero_app_run_mainwin (app);
+
 		if (g_remove (burn_project_uri) != 0) {
 			gchar *path;
 



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