brasero r1653 - in trunk: . src



Author: philippr
Date: Thu Dec 25 16:27:06 2008
New Revision: 1653
URL: http://svn.gnome.org/viewvc/brasero?rev=1653&view=rev

Log:
2008-12-25  Philippe Rouquier  <ykw localhost localdomain>

	Don't eject src medium when we're copying unless we really need to
	(to insert destination disc for example)

	* src/burn.c (brasero_burn_unlock_src_media):


Modified:
   trunk/ChangeLog
   trunk/src/burn.c

Modified: trunk/src/burn.c
==============================================================================
--- trunk/src/burn.c	(original)
+++ trunk/src/burn.c	Thu Dec 25 16:27:06 2008
@@ -1120,8 +1120,11 @@
 	priv->src_locked = 0;
 	brasero_drive_unlock (priv->src);
 
-	if (BRASERO_BURN_SESSION_EJECT (priv->session))
-		brasero_volume_eject (BRASERO_VOLUME (medium), FALSE, error);
+	/* Never eject the source if we don't need to. Let the user do that. For
+	 * one thing it avoids breaking other applications that are using it
+	 * like for example totem. */
+	/* if (BRASERO_BURN_SESSION_EJECT (priv->session))
+		brasero_volume_eject (BRASERO_VOLUME (medium), FALSE, error); */
 
 	priv->src = NULL;
 	return BRASERO_BURN_OK;



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