/[papo]/gnue/common/src/GMenu.py
ViewVC logotype

Diff of /gnue/common/src/GMenu.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by charlie, Tue Aug 27 18:15:51 2002 UTC revision 1.4 by styxman, Fri Nov 15 15:32:54 2002 UTC
# Line 16  Line 16 
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
# Line 70  class GMenu(GObjects.GObj): Line 70  class GMenu(GObjects.GObj):
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
# Line 108  def getXMLelements(updates={}): Line 108  def getXMLelements(updates={}):
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])

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26