[gnome-boxes] Revert "media-manager: Ignore CDROM devices"
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] Revert "media-manager: Ignore CDROM devices"
- Date: Fri, 29 Aug 2014 23:52:34 +0000 (UTC)
commit 48c9e6e6669357429fdce09f432400fde9791246
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Sat Aug 30 00:43:21 2014 +0100
Revert "media-manager: Ignore CDROM devices"
This reverts commit a65b4b6859839f005f84c8003963cd78f535d64c.
Turns out that I misunderstood elarmco and this only affects RHEL 7.
src/media-manager.vala | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/media-manager.vala b/src/media-manager.vala
index f52857a..0c7f419 100644
--- a/src/media-manager.vala
+++ b/src/media-manager.vala
@@ -92,9 +92,8 @@ private class Boxes.MediaManager : Object {
enumerator.add_match_property ("DEVTYPE", "disk");
foreach (var device in enumerator.execute ()) {
- if ((device.get_property ("ID_FS_BOOT_SYSTEM_ID") == null &&
- !device.get_property_as_boolean ("OSINFO_BOOTABLE")) ||
- device.get_property_as_boolean ("ID_CDROM")) // Qemu has issues with CD-ROM devices
+ if (device.get_property ("ID_FS_BOOT_SYSTEM_ID") == null &&
+ !device.get_property_as_boolean ("OSINFO_BOOTABLE"))
continue;
var path = device.get_device_file ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]