summaryrefslogtreecommitdiffstats
path: root/vmchooser/readXmlDir.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vmchooser/readXmlDir.cxx')
-rw-r--r--vmchooser/readXmlDir.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/vmchooser/readXmlDir.cxx b/vmchooser/readXmlDir.cxx
index 70b3d0c..d3a2f70 100644
--- a/vmchooser/readXmlDir.cxx
+++ b/vmchooser/readXmlDir.cxx
@@ -241,6 +241,15 @@ DataEntry* get_entry(xmlDoc * doc)
}
tempc = NULL;
+ tempc = getAttribute(doc,(char *) "icon");
+ if (tempc != NULL ) {
+ de->icon = tempc;
+ }
+ else {
+ de->icon = "vmware";
+ }
+ tempc = NULL;
+
de->xml = doc;
return de;