brasero r1305 - in trunk: . src



Author: philippr
Date: Wed Sep 24 12:44:07 2008
New Revision: 1305
URL: http://svn.gnome.org/viewvc/brasero?rev=1305&view=rev

Log:
	Fix problem with no message being displayed when session is not supported

	* src/brasero-burn-options.c (brasero_burn_options_valid_media_cb):


Modified:
   trunk/ChangeLog
   trunk/src/brasero-burn-options.c

Modified: trunk/src/brasero-burn-options.c
==============================================================================
--- trunk/src/brasero-burn-options.c	(original)
+++ trunk/src/brasero-burn-options.c	Wed Sep 24 12:44:07 2008
@@ -287,16 +287,12 @@
 		}
 	}
 	else if (valid == BRASERO_SESSION_NOT_SUPPORTED) {
-		GtkWidget *message;
-
-		if (priv->message_input) {
-			gtk_widget_show (priv->message_input);
-			message = brasero_notify_message_add (BRASERO_NOTIFY (priv->message_input),
-							      _("Please, replace the disc with a recordable CD or DVD."),
-							      _("The medium is not writable with the current set of plugins."),
-							      -1,
-							      BRASERO_NOTIFY_CONTEXT_SIZE);
-		}
+		gtk_widget_show (priv->message_input);
+		message = brasero_notify_message_add (BRASERO_NOTIFY (priv->message_output),
+						      _("Please, replace the disc with a recordable CD or DVD."),
+						      _("The medium is not writable with the current set of plugins."),
+						      -1,
+						      BRASERO_NOTIFY_CONTEXT_SIZE);
 	}
 	else if (valid == BRASERO_SESSION_OVERBURN_NECESSARY) {
 		GtkWidget *message;



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