From: Johannes Sixt <j.sixt@viscovery.net>
To: Paul Mackerras <paulus@samba.org>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] gitk: Use check-buttons' -text property instead of separate labels
Date: Thu, 18 Dec 2008 11:41:36 +0100 [thread overview]
Message-ID: <494A28E0.2010009@viscovery.net> (raw)
In-Reply-To: <200812022142.16095.j6t@kdbg.org>
Johannes Sixt schrieb:
> Previously the check-buttons' labels in the Preferences were separate
> widgets. This had the disadvantage that in order to toggle the check-button
> with the mouse the check-box had to be clicked. With this change the
> check-box can also be toggled by clicking the label.
Did you consider this patch?
-- Hannes
> Signed-off-by: Johannes Sixt <j6t@kdbg.org>
> ---
> gitk | 30 ++++++++++--------------------
> 1 files changed, 10 insertions(+), 20 deletions(-)
>
> diff --git a/gitk b/gitk
> index 64a873d..ee1941c 100755
> --- a/gitk
> +++ b/gitk
> @@ -10079,15 +10079,11 @@ proc doprefs {} {
> -font optionfont
> spinbox $top.maxpct -from 1 -to 100 -width 4 -textvariable maxgraphpct
> grid x $top.maxpctl $top.maxpct -sticky w
> - frame $top.showlocal
> - label $top.showlocal.l -text [mc "Show local changes"] -font optionfont
> - checkbutton $top.showlocal.b -variable showlocalchanges
> - pack $top.showlocal.b $top.showlocal.l -side left
> + checkbutton $top.showlocal -text [mc "Show local changes"] \
> + -font optionfont -variable showlocalchanges
> grid x $top.showlocal -sticky w
> - frame $top.autoselect
> - label $top.autoselect.l -text [mc "Auto-select SHA1"] -font optionfont
> - checkbutton $top.autoselect.b -variable autoselect
> - pack $top.autoselect.b $top.autoselect.l -side left
> + checkbutton $top.autoselect -text [mc "Auto-select SHA1"] \
> + -font optionfont -variable autoselect
> grid x $top.autoselect -sticky w
>
> label $top.ddisp -text [mc "Diff display options"]
> @@ -10095,20 +10091,14 @@ proc doprefs {} {
> label $top.tabstopl -text [mc "Tab spacing"] -font optionfont
> spinbox $top.tabstop -from 1 -to 20 -width 4 -textvariable tabstop
> grid x $top.tabstopl $top.tabstop -sticky w
> - frame $top.ntag
> - label $top.ntag.l -text [mc "Display nearby tags"] -font optionfont
> - checkbutton $top.ntag.b -variable showneartags
> - pack $top.ntag.b $top.ntag.l -side left
> + checkbutton $top.ntag -text [mc "Display nearby tags"] \
> + -font optionfont -variable showneartags
> grid x $top.ntag -sticky w
> - frame $top.ldiff
> - label $top.ldiff.l -text [mc "Limit diffs to listed paths"] -font optionfont
> - checkbutton $top.ldiff.b -variable limitdiffs
> - pack $top.ldiff.b $top.ldiff.l -side left
> + checkbutton $top.ldiff -text [mc "Limit diffs to listed paths"] \
> + -font optionfont -variable limitdiffs
> grid x $top.ldiff -sticky w
> - frame $top.lattr
> - label $top.lattr.l -text [mc "Support per-file encodings"] -font optionfont
> - checkbutton $top.lattr.b -variable perfile_attrs
> - pack $top.lattr.b $top.lattr.l -side left
> + checkbutton $top.lattr -text [mc "Support per-file encodings"] \
> + -font optionfont -variable perfile_attrs
> grid x $top.lattr -sticky w
>
> entry $top.extdifft -textvariable extdifftool
--
DI Johannes Sixt
Leiter Softwareentwicklung
Viscovery Software GmbH
Landstrasse 11
A-4020 Linz, Austria
T: +43-1-532 0570-51
M: +43-676-8494 9571
F: +43-1-532 0570-33
j.sixt@viscovery.net
www.viscovery.net
t u r n y o u r d a t a i n t o r e a l v a l u e !
prev parent reply other threads:[~2008-12-18 10:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-02 20:42 [PATCH] gitk: Use check-buttons' -text property instead of separate labels Johannes Sixt
2008-12-18 10:41 ` Johannes Sixt [this message]
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=494A28E0.2010009@viscovery.net \
--to=j.sixt@viscovery.net \
--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).