summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2009-06-12 12:22:12 -0400
committerDavid Zeuthen <davidz@redhat.com>2009-06-12 12:22:12 -0400
commit58adb82001be26c72ff216506fc87fcf1c3ed7a0 (patch)
treeda1399635f483cb541ad9db5c0dbb8c49dd3a716
parente93df0133f5c6068a0d319cdbc2d9068fa21b02f (diff)
downloadgvfs-58adb82001be26c72ff216506fc87fcf1c3ed7a0.tar.gz
Bug 583494 – Audio CD isn't automounting when inserted
-rw-r--r--monitor/gdu/ggduvolumemonitor.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/monitor/gdu/ggduvolumemonitor.c b/monitor/gdu/ggduvolumemonitor.c
index df42249b..5c80f646 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);