[brasero/gnome-2-28] When we probed the inside of a drive and found a medium while we were already having one make sure w
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero/gnome-2-28] When we probed the inside of a drive and found a medium while we were already having one make sure w
- Date: Sat, 3 Oct 2009 12:01:17 +0000 (UTC)
commit dfda4377fb5ca5f61f5de0bc7ee8b8e5cd1151f7
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Tue Sep 29 20:22:05 2009 +0200
When we probed the inside of a drive and found a medium while we were already having one make sure we mark it as probed
libbrasero-media/brasero-drive.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/libbrasero-media/brasero-drive.c b/libbrasero-media/brasero-drive.c
index 3d66e76..514933b 100644
--- a/libbrasero-media/brasero-drive.c
+++ b/libbrasero-media/brasero-drive.c
@@ -796,8 +796,11 @@ brasero_drive_probed_inside (gpointer data)
g_mutex_unlock (priv->mutex);
if (priv->has_medium) {
- if (priv->medium)
+ if (priv->medium) {
+ priv->probed = TRUE;
+ BRASERO_MEDIA_LOG ("Already a medium. Skipping");
return FALSE;
+ }
BRASERO_MEDIA_LOG ("Probing new medium");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]