Changeset 2479

Show
Ignore:
Timestamp:
11/06/08 01:57:47 (2 months ago)
Author:
bzr
Message:

virtual buffers: Slight (probably unnoticeable) optimisation regarding quick navigation and auto pass through.

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk

    • Property bzr:revision-info
      •  

        old new  
        1 timestamp: 2008-11-06 11:50:31.431999922 +1000 
         1timestamp: 2008-11-06 11:52:33.486999989 +1000 
        22committer: James Teh <jamie@jantrid.net> 
        33properties:  
        44        branch-nick: main 
        5         rebase-of: jamie@jantrid.net-20081106015031-gxdydb2ahhxrw42o 
         5        rebase-of: jamie@jantrid.net-20081106015233-048o0urht0g81sz1 
    • Property bzr:revision-id:v3-list-QlpoOTFBWSZTWbrL2vUAAB1VgAAQABCAQDrrnqAgAFCgaaGRkxBoTIJ6mmaNRwhndFAoNhZjh_YY4a01fOg1ulgNNC2UrzPdXXEnDpX8XckU4UJC6y9r1A..
      •  

        old new  
        2482482276 peter.v@datagate.sk-20081105160505-3jj656lr2zivmaga 
        2492492277 jamie@jantrid.net-20081106015031-98r459o2jwr0xsl1 
         2502278 jamie@jantrid.net-20081106015233-2mgmt8vvp27m7gur 
  • trunk/source/virtualBuffers/__init__.py

    r2478 r2479  
    367367                        # This check relates to auto pass through and auto pass through is disabled, so don't change the pass through state. 
    368368                        return self.passThrough 
     369                if reason == self.REASON_QUICKNAV: 
     370                        return False 
    369371                states = obj.states 
    370372                if controlTypes.STATE_FOCUSABLE not in states or controlTypes.STATE_READONLY in states: 
    371373                        return False 
    372374                role = obj.role 
    373                 if reason == self.REASON_QUICKNAV: 
    374                         return False 
    375375                if reason == speech.REASON_CARET: 
    376376                        return role == controlTypes.ROLE_EDITABLETEXT