[brasero/gnome-2-30] Fix #620589 - Disk project doesn't save the disk title
- From: Philippe Rouquier <philippr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [brasero/gnome-2-30] Fix #620589 - Disk project doesn't save the disk title
- Date: Sat, 5 Jun 2010 16:26:59 +0000 (UTC)
commit a772d960e6e8eaedc50469f3271e6d2a5e84c854
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Sat Jun 5 17:36:01 2010 +0200
Fix #620589 - Disk project doesn't save the disk title
src/brasero-project-name.c | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/src/brasero-project-name.c b/src/brasero-project-name.c
index 9b18f34..fc32ff5 100644
--- a/src/brasero-project-name.c
+++ b/src/brasero-project-name.c
@@ -478,8 +478,15 @@ brasero_project_name_set_type (BraseroProjectName *self)
}
priv->type = type;
- priv->label_modified = FALSE;
+ if (brasero_burn_session_get_label (priv->session)) {
+ priv->label_modified = TRUE;
+ g_signal_handlers_block_by_func (self, brasero_project_name_label_changed, NULL);
+ gtk_entry_set_text (GTK_ENTRY (self), brasero_burn_session_get_label (priv->session));
+ g_signal_handlers_unblock_by_func (self, brasero_project_name_label_changed, NULL);
+ return;
+ }
+ priv->label_modified = FALSE;
title_str = brasero_project_name_get_default_label (self);
g_signal_handlers_block_by_func (self, brasero_project_name_label_changed, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]