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

Diff of /trunk/pygtk/gtkbrowser.py

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

revision 859 by johnpye, Mon Sep 25 15:04:48 2006 UTC revision 860 by johnpye, Tue Sep 26 01:27:03 2006 UTC
# Line 144  class Browser: Line 144  class Browser:
144    
145          if assetspath==None:          if assetspath==None:
146              assetspath=config.PYGTK_ASSETS              assetspath=config.PYGTK_ASSETS
         if librarypath==None:  
             librarypath=config.LIBRARY_PATH  
147    
148          #--------          #--------
149          # load the file referenced in the command line, if any          # load the file referenced in the command line, if any
# Line 202  class Browser: Line 200  class Browser:
200                    
201          if self.options.library_path != None:          if self.options.library_path != None:
202              _path = os.path.abspath(self.options.library_path)              _path = os.path.abspath(self.options.library_path)
203              _pathsrc = "command line"              _pathsrc = "command line options"
204              # when a special path is specified, use that as the file-open location              # when a special path is specified, use that as the file-open location
205              self.fileopenpath = _path              self.fileopenpath = _path
206          else:          else:
# Line 423  class Browser: Line 421  class Browser:
421                  self.window.set_icon(_iconpbuf)                  self.window.set_icon(_iconpbuf)
422                  self.icon = _iconpbuf                  self.icon = _iconpbuf
423              except Exception, e:              except Exception, e:
424                    print "FAILED TO SET APPLICATION ICON PATH '%s': %s" % (_iconpath,str(e))
425                  self.reporter.reportError("FAILED to set application icon '%s': %s"                  self.reporter.reportError("FAILED to set application icon '%s': %s"
426                       % (_iconpath,str(e))                       % (_iconpath,str(e))
427                  )                  )

Legend:
Removed from v.859  
changed lines
  Added in v.860

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