brasero r2200 - in trunk: . libbrasero-burn
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r2200 - in trunk: . libbrasero-burn
- Date: Wed, 1 Apr 2009 18:45:10 +0000 (UTC)
Author: philippr
Date: Wed Apr 1 18:45:10 2009
New Revision: 2200
URL: http://svn.gnome.org/viewvc/brasero?rev=2200&view=rev
Log:
2009-04-01 Philippe Rouquier <bonfire-app wanadoo fr>
Fix #573859 â Several 'Make Cover' buttons in Disc Copy dialog
Patch by Alexey Putilov
* libbrasero-burn/brasero-burn-dialog.c
(brasero_burn_dialog_notify_success):
Modified:
trunk/ChangeLog
trunk/libbrasero-burn/brasero-burn-dialog.c
Modified: trunk/libbrasero-burn/brasero-burn-dialog.c
==============================================================================
--- trunk/libbrasero-burn/brasero-burn-dialog.c (original)
+++ trunk/libbrasero-burn/brasero-burn-dialog.c Wed Apr 1 18:45:10 2009
@@ -1771,6 +1771,7 @@
BraseroDrive *drive;
gchar *primary = NULL;
GtkWidget *make_another = NULL;
+ GtkWidget *create_cover = NULL;
drive = brasero_burn_session_get_burner (dialog->priv->session);
if (dialog->priv->input.type != BRASERO_TRACK_TYPE_DISC)
@@ -1849,8 +1850,9 @@
|| (dialog->priv->input.type == BRASERO_TRACK_TYPE_DISC
&& (dialog->priv->input.subtype.media & BRASERO_MEDIUM_HAS_AUDIO))) {
/* since we succeed offer the possibility to create cover if that's an audio disc */
- gtk_dialog_add_button (GTK_DIALOG (dialog),
- _("_Create Cover"), GTK_RESPONSE_CLOSE);
+ create_cover = gtk_dialog_add_button (GTK_DIALOG (dialog),
+ _("_Create Cover"),
+ GTK_RESPONSE_CLOSE);
}
res = brasero_burn_dialog_success_run (dialog);
@@ -1858,6 +1860,9 @@
if (make_another)
gtk_widget_destroy (make_another);
+ if (create_cover)
+ gtk_widget_destroy (create_cover);
+
return res;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]