/[ascend]/trunk/pygtk/interface/gtkbrowser.py
ViewVC logotype

Diff of /trunk/pygtk/interface/gtkbrowser.py

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

revision 300 by johnpye, Fri Feb 17 08:04:04 2006 UTC revision 307 by johnpye, Wed Feb 22 07:48:17 2006 UTC
# Line 38  import ascend Line 38  import ascend
38    
39  GLADE_FILE = "/home/john/src/ascend/trunk/pygtk/interface/glade/ascend.glade"  GLADE_FILE = "/home/john/src/ascend/trunk/pygtk/interface/glade/ascend.glade"
40    
41    VERSION = "0.9.6-dev"
42    
43  ESCAPE_KEY = 65307  ESCAPE_KEY = 65307
44    
45  HELP_ROOT = None  HELP_ROOT = None
# Line 892  class Browser: Line 894  class Browser:
894          self.autotoggle.set_active(self.is_auto)          self.autotoggle.set_active(self.is_auto)
895    
896      def on_help_about_click(self,*args):      def on_help_about_click(self,*args):
897          _xml = gtk.glade.XML(GLADE_FILE,"aboutdialog");          _xml = gtk.glade.XML(GLADE_FILE,"aboutdialog")
898          _dialog = _xml.get_widget("aboutdialog")          _about = _xml.get_widget("aboutdialog")
899          _dialog.run()          _about.set_version(VERSION)
900          _dialog.destroy()          _about.run()
901            _about.destroy()
902    
903      def on_help_contents_click(self,*args):      def on_help_contents_click(self,*args):
904          _help = Help(HELP_ROOT)          _help = Help(HELP_ROOT)

Legend:
Removed from v.300  
changed lines
  Added in v.307

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22