git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] gitk: fix selection color not persistent

From
GGgh acct via GitGitGadget <gitgitgadget@gmail.com>
Date
Apr 2, 2021, 19:22 UTC
Message-ID
<pull.926.git.1617391375445.gitgitgadget@gmail.com>
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
Next: Bagas Sanjaya
Message 1 of 3 in “gitk: fix selection color not persistent”
  1. gitk: fix selection color not persistentgh acct via GitGitGadget, Apr 2, 2021
  2. Bagas SanjayaApr 3, 2021
  3. Junio C HamanoApr 4, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.