1. 15 12月, 2010 9 次提交
  2. 14 12月, 2010 12 次提交
  3. 13 12月, 2010 18 次提交
  4. 12 12月, 2010 1 次提交
    • S
      gitk: Make text selectable on Mac · 4adcbea0
      Stefan Haller 提交于
      Stolen from git-gui, 23effa79 (original log message by
      Shawn O. Pearce <spearce@spearce.org> follows):
      
          git-gui: Force focus to the diff viewer on mouse click.
      
          Apparently a "feature" of Tcl/Tk on Mac OS X is that a disabled text
          widget cannot receive focus or receive a selection within it.  This
          makes the diff viewer almost useless on that platform as you cannot
          select individual parts of the buffer.
      
          Now we force focus into the diff viewer when its clicked on with
          button 1.  This works around the feature and allows selection to
          work within the viewer just like it does on other less sane systems,
          like Microsoft Windows.
      Signed-off-by: NStefan Haller <stefan@haller-berlin.de>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      4adcbea0