Changeset 1462 for trunk/peppy/frame.py

Show
Ignore:
Timestamp:
07/07/08 07:41:10 (5 months ago)
Author:
rob
Message:

Fixed vfs uri handling to properly decode fragments in windows path urls
* makeTabActive now attempts to match on normalized URLs
* added testcase for windows urls with fragments

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/peppy/frame.py

    r1457 r1462  
    690690        @return: True if URL was found, False if not. 
    691691        """ 
    692         mode = self.tabs.moveSelectionToURL(url) 
     692        normalized = vfs.normalize(url) 
     693        self.dprint("url=%s normalized=%s" % (url, normalized)) 
     694        mode = self.tabs.moveSelectionToURL(normalized) 
    693695        if mode: 
    694             url = vfs.normalize(url) 
    695             mode.showInitialPosition(url) 
     696            mode.showInitialPosition(normalized) 
    696697        return mode is not None 
    697698