Changeset 34

Show
Ignore:
Timestamp:
02/07/04 18:47:09 (5 years ago)
Author:
ug
Message:

Bind selection of relevant region to Alt-B1 instead of B3 on Mac OS X

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 04/bugfix/kombilo.py

    r33 r34  
    6565        self.fixedColor = fixedColor 
    6666        self.smartFixedColor = smartFixedColor 
    67          
    68         self.bind('<Button-3>', self.selStart) 
    69         self.bind('<B3-Motion>', self.selDrag) 
     67 
     68        if sys.platform.startswith('darwin'): 
     69            self.bind('<M2-Button-1>', self.selStart) 
     70            self.bind('<M2-B1-Motion>', self.selDrag) 
     71        else: 
     72            self.bind('<Button-3>', self.selStart) 
     73            self.bind('<B3-Motion>', self.selDrag) 
    7074        self.bind('<Shift-1>', self.wildcard) 
    7175