• P
    git-gui: use themed tk widgets with Tk 8.5 · c80d7be5
    Pat Thoyts 提交于
    This patch enables the use of themed Tk widgets with Tk 8.5 and above.
    These make a significant difference on Windows in making the
    application appear native. On Windows and MacOSX ttk defaults to the
    native look as much as possible. On X11 the user may select a theme
    using the TkTheme XRDB resource class by adding an line to the
    .Xresources file. The set of installed theme names is available using
    the Tk command 'ttk::themes'. The default on X11 is similar to the current
    un-themed style - a kind of thin bordered motif look.
    
    A new git config variable 'gui.usettk' may be set to disable this if
    the user prefers the classic Tk look. Using Tk 8.4 will also avoid the
    use of themed widgets as these are only available since 8.5.
    
    Some support is included for Tk 8.6 features (themed spinbox and native
    font chooser for MacOSX and Windows).
    Signed-off-by: NPat Thoyts <patthoyts@users.sourceforge.net>
    Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
    c80d7be5
git-gui.sh 90.6 KB