From: Pat Thoyts <patthoyts@googlemail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: Johannes Schindelin <Johannes.Schindelin@gmx.de>,
Pat Thoyts <patthoyts@users.sourceforge.net>,
git@vger.kernel.org, "Shawn O. Pearce" <spearce@spearce.org>,
msysgit@googlegroups.com
Subject: Re: [msysGit] [PATCH] git-gui: use themed tk widgets with Tk 8.5
Date: Sun, 20 Dec 2009 20:25:02 +0000 [thread overview]
Message-ID: <a5b261830912201225q7d596b55qb54676922301954e@mail.gmail.com> (raw)
In-Reply-To: <7vws0ha2mt.fsf@alter.siamese.dyndns.org>
2009/12/20 Junio C Hamano <gitster@pobox.com>:
>
> On X, does the "default: thin borders, kind of windows98ish" look very
> different from the non-themed classic Tk style?
>
Here is a big set of screenshots then:
Unmodified or with Tk 8.4:
original windows: http://www.patthoyts.tk/screenshots/git-gui-old.png
original unix: http://www.patthoyts.tk/screenshots/git-gui-x11.png
With Tk 8.5 and using themed widgets:
unix default: http://www.patthoyts.tk/screenshots/git-gui-default.png
unix alt: http://www.patthoyts.tk/screenshots/git-gui-alt.png
unix classic: http://www.patthoyts.tk/screenshots/git-gui-classic.png
unix clam: http://www.patthoyts.tk/screenshots/git-gui-clam.png
unix tileqt: http://www.patthoyts.tk/screenshots/git-gui-tileqt.png
(experimental)
windows7: http://www.patthoyts.tk/screenshots/git-gui-win32.png
> What I am trying to get at is to gain enough information so that I can
> suggest a rewrite of these two lines (quoted at the beginning by Dscho)
> like this:
>
> Ttk defaults to the native look as much as possible on Windows and
> MacOSX; the default on X is the _________ look.
>
> The user may choose a theme by:
>
> - on Windows, doing ________;
> - on MacOSX, doing _________;
> - on X, selecting a theme using the TkTheme XRDB resource class;
>
> which I think would be much easier to read.
You write better than I do. The theme used globally by themed Tk can
be selected on at least Ubuntu's GNOME desktop by adding the following
line into ~/.Xresources:
*TkTheme: clam
It is also possible to add a Theme menu or selection combobox onto the
options dialog and record a theme selection along with the other
git-gui saved options. Then a user could use 'git config gui.theme
clam'. The set of available themes can be extended with packages and
is somewhat platform dependent (ie: xpnative can only be present on
Windows XP and above).
Pat Thoyts.
next prev parent reply other threads:[~2009-12-20 20:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-20 0:46 [PATCH] git-gui: use themed tk widgets with Tk 8.5 Pat Thoyts
2009-12-20 13:16 ` [msysGit] " Johannes Schindelin
2009-12-20 15:23 ` Pat Thoyts
2009-12-20 19:04 ` Junio C Hamano
2009-12-20 20:25 ` Pat Thoyts [this message]
2009-12-20 21:05 ` [msysGit] " Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a5b261830912201225q7d596b55qb54676922301954e@mail.gmail.com \
--to=patthoyts@googlemail.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=msysgit@googlegroups.com \
--cc=patthoyts@users.sourceforge.net \
--cc=spearce@spearce.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).