16 |
# write to the Free Software Foundation, Inc., 59 Temple Place |
# write to the Free Software Foundation, Inc., 59 Temple Place |
17 |
# - Suite 330, Boston, MA 02111-1307, USA. |
# - Suite 330, Boston, MA 02111-1307, USA. |
18 |
# |
# |
19 |
# Copyright 2000, 2001, 2002 Free Software Foundation |
# Copyright 2000-2002 Free Software Foundation |
20 |
# |
# |
21 |
# FILE: |
# FILE: |
22 |
# GMenu.py |
# GMenu.py |
70 |
|
|
71 |
def fireMenuItem(self): |
def fireMenuItem(self): |
72 |
print "You're fired!" |
print "You're fired!" |
73 |
|
|
74 |
###### |
###### |
75 |
# |
# |
76 |
# Used by client GParsers to automatically pull supported xml tags |
# Used by client GParsers to automatically pull supported xml tags |
108 |
'Typecast': GTypecast.text }, |
'Typecast': GTypecast.text }, |
109 |
'enabled': { |
'enabled': { |
110 |
'Typecast': GTypecast.boolean, |
'Typecast': GTypecast.boolean, |
111 |
'Default': 0 }, |
'Default': 0 } }, |
112 |
'ParentTags': None }, |
'ParentTags': None , |
113 |
} |
}} |
|
} |
|
114 |
|
|
115 |
for alteration in updates.keys(): |
for alteration in updates.keys(): |
116 |
xmlElements[alteration].update(updates[alteration]) |
xmlElements[alteration].update(updates[alteration]) |