[gvfs] Bug 583494 – Audio CD isn't automounting when inserted
- From: David Zeuthen <davidz src gnome org>
- To: svn-commits-list gnome org
- Subject: [gvfs] Bug 583494 – Audio CD isn't automounting when inserted
- Date: Fri, 12 Jun 2009 12:25:26 -0400 (EDT)
commit 58adb82001be26c72ff216506fc87fcf1c3ed7a0
Author: David Zeuthen <davidz redhat com>
Date: Fri Jun 12 12:22:12 2009 -0400
Bug 583494 â?? Audio CD isn't automounting when inserted
monitor/gdu/ggduvolumemonitor.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/monitor/gdu/ggduvolumemonitor.c b/monitor/gdu/ggduvolumemonitor.c
index df42249..5c80f64 100644
--- a/monitor/gdu/ggduvolumemonitor.c
+++ b/monitor/gdu/ggduvolumemonitor.c
@@ -879,6 +879,14 @@ should_drive_be_ignored (GduPool *pool, GduDrive *d, GList *fstab_mount_points)
ignored = TRUE;
}
+ /* special case for audio discs: don't ignore the drive since we'll create
+ * a cdda:// mount for the drive
+ */
+ if (gdu_device_is_optical_disc (device) && gdu_device_optical_disc_get_num_audio_tracks (device) > 0)
+ {
+ ignored = FALSE;
+ }
+
out:
g_list_foreach (enclosed, (GFunc) g_object_unref, NULL);
g_list_free (enclosed);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]