[gnome-boxes] Get OS info from purely live real media
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] Get OS info from purely live real media
- Date: Fri, 25 Nov 2011 23:04:12 +0000 (UTC)
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]