/[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 1004 by johnpye, Wed Dec 13 23:53:57 2006 UTC revision 1005 by johnpye, Mon Jan 1 23:35:40 2007 UTC
# Line 202  class Browser: Line 202  class Browser:
202          if self.options.library_path != None:          if self.options.library_path != None:
203              _path = os.path.abspath(self.options.library_path)              _path = os.path.abspath(self.options.library_path)
204              _pathsrc = "command line options"              _pathsrc = "command line options"
205              # when a special path is specified, use that as the file-open location              # when a special path is specified, use the last path component as the file-open location
206              self.fileopenpath = _path              if platform.system()=="Windows":
207                    self.fileopenpath = _path.split(":").pop()
208                else:
209                    self.fileopenpath = _path.split(":").pop()
210          else:          else:
211              if _prefpath:              if _prefpath:
212                  _path = _prefpath                  _path = _prefpath

Legend:
Removed from v.1004  
changed lines
  Added in v.1005

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