git-commit-vandalism/lib
Pat Thoyts c80d7be5e1 git-gui: use themed tk widgets with Tk 8.5
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: Pat Thoyts <patthoyts@users.sourceforge.net>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
2010-01-27 17:13:52 -08:00
..
about.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
blame.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
branch_checkout.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
branch_create.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
branch_delete.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
branch_rename.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
branch.tcl git-gui: Always use absolute path to all git executables 2007-07-09 01:17:09 -04:00
browser.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
checkout_op.tcl git-gui: run post-checkout hook on checkout 2009-04-05 12:58:26 -07:00
choose_font.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
choose_repository.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
choose_rev.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
class.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
commit.tcl git-gui: When calling post-commit hook wrong variable was cleared. 2009-04-05 12:45:40 -07:00
console.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
database.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
date.tcl git-gui: Localize commit/author dates when displaying them 2007-09-10 01:54:16 -04:00
diff.tcl git-gui: Support applying a range of changes at once 2010-01-23 15:14:15 -08:00
encoding.tcl git-gui: Optimize encoding name resolution using a lookup table. 2008-09-24 12:48:32 -07:00
error.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
git-gui.ico git-gui: Improve the application icon on Windows. 2007-12-02 23:05:10 -05:00
index.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
logo.tcl git-gui: Refactor Henrik Nyh's logo into its own procedure 2007-10-10 01:12:15 -04:00
merge.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
mergetool.tcl git-gui: Ensure consistent usage of mergetool.keepBackup 2009-04-08 07:40:58 -07:00
option.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
remote_add.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
remote_branch_delete.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
remote.tcl git-gui: Fix removing non-pushable remotes 2008-09-30 12:59:37 -07:00
search.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
shortcut.tcl git-gui: update shortcut tools to use _gitworktree 2010-01-23 15:15:55 -08:00
spellcheck.tcl git-gui: Remove space from the end of aspell's reply before processing 2008-09-30 12:59:18 -07:00
sshkey.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
status_bar.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
themed.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
tools_dlg.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
tools.tcl git-gui: minor spelling fix and string factorisation. 2009-03-24 16:17:30 -07:00
transport.tcl git-gui: use themed tk widgets with Tk 8.5 2010-01-27 17:13:52 -08:00
win32_shortcut.js git-gui: Use proper Windows shortcuts instead of bat files 2007-10-12 23:07:58 -04:00
win32.tcl git-gui: Use proper Windows shortcuts instead of bat files 2007-10-12 23:07:58 -04:00