[brasero] Make the remove button work again in the audio project (it was always greyed out)



commit 3fcf5b1257a8753e09c0c2b9bf0f512cad9d78b8
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Wed Jul 15 21:14:15 2009 +0200

    Make the remove button work again in the audio project (it was always greyed out)

 src/brasero-project.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/brasero-project.c b/src/brasero-project.c
index 847e6ba..bf82612 100644
--- a/src/brasero-project.c
+++ b/src/brasero-project.c
@@ -350,8 +350,7 @@ brasero_project_set_remove_button_state (BraseroProject *project)
 	gboolean sensitive;
 
 	sensitive = (project->priv->has_focus &&
-	             project->priv->selected_uris &&
-		    !brasero_disc_is_empty (BRASERO_DISC (project->priv->current)));
+	             project->priv->selected_uris);
 
 	action = gtk_action_group_get_action (project->priv->project_group, "DeleteProject");
 	gtk_action_set_sensitive (action, sensitive);



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