git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pat Thoyts <patthoyts@users.sourceforge.net>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: git@vger.kernel.org, paulus@samba.org
Subject: Re: [PATCH] gitk: use themed tk widgets
Date: Fri, 17 Apr 2009 19:46:24 +0100	[thread overview]
Message-ID: <49E8CE80.9040308@users.sourceforge.net> (raw)
In-Reply-To: <alpine.DEB.1.00.0904171206290.6675@intel-tinevez-2-302>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Johannes Schindelin wrote:
> Hi,
> 
> On Fri, 17 Apr 2009, Pat Thoyts wrote:
> 
>>   With Tk 8.5+ use the themed widgets to improve the appearence
>>   on Windows and MacOSX. On X11 less difference is apparent but
>>   users can select alternate themes by setting *TkTheme in the
>>   resource database (eg: *TkTheme: clam)
>>
>>   With Tk 8.6 there is a built-in font selection dialog and this
>>   patch will make use of that when available as on Windows and
>>   MacOSX it calls the native font selection dialog.
> 
> I had several conflicts applying your patch, and I do not have object 
> a346bd5 here (not even fetching from Paul's repository), but I fixed them 
> all up.  (In function setoptions(), you seemed to remove a part asking 
> about the windowingsystem being "aqua", but my gitk did not have that.)
> 
> The end result can be marveled at in 4msysgit's 'ttk' branch.
> 
> I did not have time to go through your changes, though.
> 
> But can I place another wish with you?  It all looks nicer now, except the 
> text which is not anti-aliased...  Any chance to fix that?

Anti-aliased text is a feature of Tk 8.5 plus the support in your server
and the chosen fonts. Not much to be done about that except choose a
nice font. On Windows Tahoma and Consolas should look fine.

I suspect the reason you have conflicts is the patch is generated
against the gitk repository and not the git repository. There are some
commits in gitk that have not been merged to git yet and my patch lives
on top of those.

Pat Thoyts

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBSejOf2B90JXwhOSJAQI5LwQAkyP+975JkafktWYCe3Agd+i8tWrXqf0E
NJqB/yF/WCNvqF8sVYzSnUdlxNDGalxE5Ehnoudg3Ca3AYm0LGsIgmNOBFXK+t9w
hUKBIYwMfXInHzoJLVqzQ0n7Ql0o6XopgzyT8KW6ec5Vwkgosc3Y7PqX5VqOsCmo
eBU+8JkfnfE=
=GPY9
-----END PGP SIGNATURE-----

  reply	other threads:[~2009-04-17 18:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-17  0:24 [PATCH] gitk: use themed tk widgets Pat Thoyts
2009-04-17 10:10 ` Johannes Schindelin
2009-04-17 18:46   ` Pat Thoyts [this message]
2009-04-17 13:01 ` Paul Mackerras
2009-04-17 21:33   ` [PATCH] gitk: restore pane sizes when using ttk widgets Pat Thoyts
2009-04-30 23:47     ` Paul Mackerras

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=49E8CE80.9040308@users.sourceforge.net \
    --to=patthoyts@users.sourceforge.net \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    --cc=paulus@samba.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).