[gnome-boxes] Get OS info from purely live real media



commit 51a2bcf28708616eddd1caeb0d91f7a819de5b81
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Thu Nov 24 04:11:56 2011 +0200

    Get OS info from purely live real media
    
    https://bugzilla.gnome.org/show_bug.cgi?id=664766

 src/installer-media.vala |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/installer-media.vala b/src/installer-media.vala
index 9581266..83417de 100644
--- a/src/installer-media.vala
+++ b/src/installer-media.vala
@@ -95,7 +95,8 @@ private class Boxes.InstallerMedia : Object {
 
         label = device.get_property ("ID_FS_LABEL");
 
-        var os_id = device.get_property ("OSINFO_INSTALLER");
+        var os_id = device.get_property ("OSINFO_INSTALLER") ?? device.get_property ("OSINFO_LIVE");
+
         if (os_id != null) {
             os = os_db.get_os_by_id (os_id);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]