git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "gh acct via GitGitGadget" <gitgitgadget@gmail.com>
To: git@vger.kernel.org
Cc: gh acct <tony@viulogix.com>, ghacct <tony@viulogix.com>
Subject: [PATCH] gitk: fix selection color not persistent
Date: Fri, 02 Apr 2021 19:22:54 +0000	[thread overview]
Message-ID: <pull.926.git.1617391375445.gitgitgadget@gmail.com> (raw)

From: ghacct <tony@viulogix.com>

Dear git community,
Is it possible please for the gitk selection color setting to be persistent?  Since 2015 this has been working for me.
Thank you for considering!

Signed-off-by: tgomez <tgomez@usa.wtbts.net>
Signed-off-by: ghacct <tony@viulogix.com>
---
    gitk: fix selection color not persistent
    
    Dear git community, Is it possible please for the gitk selection color
    setting to be persistent? Since 2015 this has been working for me. Thank
    you for considering!

Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-926%2Fghacct%2Fpatch-1-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-926/ghacct/patch-1-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/926

 gitk-git/gitk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gitk-git/gitk b/gitk-git/gitk
index 23d9dd1fe0d0..d255654b02fd 100755
--- a/gitk-git/gitk
+++ b/gitk-git/gitk
@@ -2412,6 +2412,7 @@ proc makewindow {} {
     text $ctext -background $bgcolor -foreground $fgcolor \
         -state disabled -undo 0 -font textfont \
         -yscrollcommand scrolltext -wrap none \
+        -selectbackground $selectbgcolor -selectforeground $fgcolor \
         -xscrollcommand ".bleft.bottom.sbhorizontal set"
     if {$have_tk85} {
         $ctext conf -tabstyle wordprocessor

base-commit: a65ce7f831aa5fcc596c6d23fcde543d98b39bd7
-- 
gitgitgadget

             reply	other threads:[~2021-04-02 19:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-02 19:22 gh acct via GitGitGadget [this message]
2021-04-03  9:59 ` [PATCH] gitk: fix selection color not persistent Bagas Sanjaya
2021-04-04  2:13 ` 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=pull.926.git.1617391375445.gitgitgadget@gmail.com \
    --to=gitgitgadget@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=tony@viulogix.com \
    /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).