/[ascend]/trunk/pygtk/diagnose.py
ViewVC logotype

Diff of /trunk/pygtk/diagnose.py

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

revision 532 by johnpye, Mon Apr 24 02:23:08 2006 UTC revision 533 by johnpye, Mon Apr 24 05:54:11 2006 UTC
# Line 22  class DiagnoseWindow: Line 22  class DiagnoseWindow:
22          self.window = _xml.get_widget("diagnosewin")          self.window = _xml.get_widget("diagnosewin")
23          self.window.set_transient_for(self.browser.window)          self.window.set_transient_for(self.browser.window)
24    
25          _icon = gtk.Image()          try:
26          _iconpath = browser.assets_dir+'diagnose'+config.ICON_EXTENSION              _icon = gtk.Image()
27          _icon.set_from_file(_iconpath)              _iconpath = browser.assets_dir+'diagnose'+config.ICON_EXTENSION
28          self.window.set_icon(_icon)              print "ICON PATH =",_iconpath
29                _icon.set_from_file(_iconpath)
30                print "ICON = ",_icon
31                self.window.set_icon(_icon)
32            except:
33                pass
34                    
35          self.imagescroll = _xml.get_widget("imagescroll")          self.imagescroll = _xml.get_widget("imagescroll")
36          self.image = _xml.get_widget("image")          self.image = _xml.get_widget("image")

Legend:
Removed from v.532  
changed lines
  Added in v.533

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