[brasero] Fix #602854 - Empty project not available Update control after any burn operation



commit 186dc45d5554cbc104dd1f9b2914370f3c833bfd
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Sat May 22 17:38:38 2010 +0200

    Fix #602854  - Empty project not available
    Update control after any burn operation

 src/brasero-project.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/brasero-project.c b/src/brasero-project.c
index ae8df1a..cc3aba3 100644
--- a/src/brasero-project.c
+++ b/src/brasero-project.c
@@ -1630,7 +1630,6 @@ brasero_project_burn (BraseroProject *project)
 	project->priv->current = NULL;
 
 	brasero_dest_selection_set_session (BRASERO_DEST_SELECTION (project->priv->selection), NULL);
-
 	brasero_project_setup_session (project, BRASERO_BURN_SESSION (project->priv->session));
 
 	/* This is to stop the preview widget from playing */
@@ -1646,11 +1645,12 @@ brasero_project_burn (BraseroProject *project)
 
 	project->priv->current = current_disc;
 	brasero_disc_set_session_contents (current_disc, BRASERO_BURN_SESSION (project->priv->session));
-
 	brasero_dest_selection_set_session (BRASERO_DEST_SELECTION (project->priv->selection),
 					    BRASERO_BURN_SESSION (project->priv->session));
 
 	project->priv->is_burning = 0;
+
+	brasero_project_update_controls (project);
 }
 
 /******************************** cover ****************************************/



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