[brasero] Reset oversized value if a user emptied the project after he got the message (your project is oversi
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero] Reset oversized value if a user emptied the project after he got the message (your project is oversi
- Date: Mon, 7 Sep 2009 14:21:25 +0000 (UTC)
commit c910f3641751ffb7c8e01c06355bff9697bbe781
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Sun Sep 6 15:31:04 2009 +0200
Reset oversized value if a user emptied the project after he got the message (your project is oversized ...)
src/brasero-project.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/brasero-project.c b/src/brasero-project.c
index 825fe72..c01ed13 100644
--- a/src/brasero-project.c
+++ b/src/brasero-project.c
@@ -368,7 +368,7 @@ brasero_project_set_add_button_state (BraseroProject *project)
GtkWidget *toplevel;
sensitive = ((!project->priv->current_source || !project->priv->has_focus) &&
- !project->priv->oversized && !project->priv->chooser );
+ !project->priv->oversized && !project->priv->chooser);
action = gtk_action_group_get_action (project->priv->project_group, "Add");
gtk_action_set_sensitive (action, sensitive);
@@ -943,6 +943,7 @@ brasero_project_is_valid (BraseroSessionCfg *session,
if (valid == BRASERO_SESSION_EMPTY) {
project->priv->empty = TRUE;
+ project->priv->oversized = FALSE;
}
else if (valid == BRASERO_SESSION_INSUFFICIENT_SPACE) {
goffset min_disc_size;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]