summaryrefslogtreecommitdiffstats
path: root/backend/tour_menuobject.py
diff options
context:
space:
mode:
authorRyan Rix <phrkonaleash@gmail.com>2009-12-04 23:52:38 -0700
committerRyan Rix <phrkonaleash@gmail.com>2009-12-04 23:52:38 -0700
commitfab7d56593afe9114b927759f56ab6d3ca2f7301 (patch)
tree77bc7a82270172595d82cb20f4e82de679dfc5e2 /backend/tour_menuobject.py
parentd228176beddc3c66664cf95956b58c6e49c1d922 (diff)
downloadfedora-tour-fab7d56593afe9114b927759f56ab6d3ca2f7301.tar.gz
fedora-tour-fab7d56593afe9114b927759f56ab6d3ca2f7301.tar.xz
fedora-tour-fab7d56593afe9114b927759f56ab6d3ca2f7301.zip
Updated the first mockup to use a blue foliage instead of green. Looks
a little cooler :)
Diffstat (limited to 'backend/tour_menuobject.py')
-rw-r--r--backend/tour_menuobject.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/backend/tour_menuobject.py b/backend/tour_menuobject.py
index 8ca7949..2a6a67e 100644
--- a/backend/tour_menuobject.py
+++ b/backend/tour_menuobject.py
@@ -32,6 +32,7 @@ class MenuObject:
activeNode = False
Icon = False
+ IconID = False
DocRoot = False
Locale = False
Priority = False
@@ -47,6 +48,8 @@ class MenuObject:
self.parser.EndElementHandler = self.parserEndElement
self.parser.ParseFile(open(package,"r"))
+
+ self.Icon = makeIcon(IconID)
def addNode(self,parent,nodeType):
node = MenuNode()
@@ -112,5 +115,8 @@ class MenuObject:
if name == "Page":
self.activeNode = self.activeNode.parent
+
+ def makeIcon(self, iconID):
+
print MenuObject("../data/package.xml").isValid \ No newline at end of file