diff options
author | Rohit D Borkar <rohitborkar00@gmail.com> | 2021-04-06 10:24:50 +0000 |
---|---|---|
committer | Alexander Schwinn <alexxcons@xfce.org> | 2021-04-06 14:07:48 +0200 |
commit | 075f708a99a05c6e84f2515102b8114a329a261b (patch) | |
tree | fac8eb2f3e343d3207e1b584c223e4be59d28856 /thunar/thunar-device-monitor.c | |
parent | 194f15259ce4b621fb65cdc4850102d6ae6b7842 (diff) | |
download | thunar-075f708a99a05c6e84f2515102b8114a329a261b.tar.gz |
CDDA appears twice in side pane (Issue #486)
Fixes #486
MR !91
Diffstat (limited to 'thunar/thunar-device-monitor.c')
-rw-r--r-- | thunar/thunar-device-monitor.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/thunar/thunar-device-monitor.c b/thunar/thunar-device-monitor.c index 0e827276..c79ce8c4 100644 --- a/thunar/thunar-device-monitor.c +++ b/thunar/thunar-device-monitor.c @@ -510,9 +510,10 @@ thunar_device_monitor_mount_added (GVolumeMonitor *volume_monitor, if (G_UNLIKELY (location == NULL)) return; - /* skip gphoto and mtp locations, since those also have a volume */ + /* skip gphoto, mtp and cdda locations, since those also have a volume */ if (g_file_has_uri_scheme (location, "gphoto2") - || g_file_has_uri_scheme (location, "mtp")) + || g_file_has_uri_scheme (location, "mtp") + || g_file_has_uri_scheme (location, "cdda")) { g_object_unref (location); return; |