{"thread":{"id":"8454","subject":"[PATCH] New selection indication and softer colors","startedAt":"2007-06-05T21:50:02Z","lastAt":"2007-06-06T05:24:42Z","messageCount":2,"participants":["Matthijs Melchior","Shawn O. Pearce"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"44105","messageId":"11810802023668-git-send-email-mmelchior@xs4all.nl","threadId":"8454","inReplyTo":null,"subject":"[PATCH] New selection indication and softer colors","fromName":"Matthijs Melchior","fromEmail":"mmelchior@xs4all.nl","sentAt":"2007-06-05T21:50:02Z","receivedAt":"2007-06-05T21:50:02Z","isPatch":true,"sender":{"key":"mmelchior@xs4all.nl","avatar":null},"body":"The default font was already bold, so marking the selected file with bold\nfont did not work.  Change that to lightgray background.\nAlso, the header colors are now softer, giving better readability.\n\nSigned-off-by: Matthijs Melchior <mmelchior@xs4all.nl>\n---\n\nThis gives better colors on my Debian Gnome desktop.\n\nI hope you like it too.\n\n git-gui.sh |   18 ++++++++----------\n 1 files changed, 8 insertions(+), 10 deletions(-)\n\ndiff --git a/git-gui.sh b/git-gui.sh\nindex d4ad73c..e33ee03 100755\n--- a/git-gui.sh\n+++ b/git-gui.sh\n@@ -1764,7 +1764,7 @@ pack .vpane -anchor n -side top -fill both -expand 1\n #\n frame .vpane.files.index -height 100 -width 200\n label .vpane.files.index.title -text {Staged Changes (Will Be Committed)} \\\n-\t-background green\n+\t-background lightgreen\n text $ui_index -background white -borderwidth 0 \\\n \t-width 20 -height 10 \\\n \t-wrap none \\\n@@ -1784,7 +1784,7 @@ pack $ui_index -side left -fill both -expand 1\n #\n frame .vpane.files.workdir -height 100 -width 200\n label .vpane.files.workdir.title -text {Unstaged Changes (Will Not Be Committed)} \\\n-\t-background red\n+\t-background lightsalmon\n text $ui_workdir -background white -borderwidth 0 \\\n \t-width 20 -height 10 \\\n \t-wrap none \\\n@@ -1801,10 +1801,8 @@ pack $ui_workdir -side left -fill both -expand 1\n .vpane.files add .vpane.files.workdir -sticky nsew\n \n foreach i [list $ui_index $ui_workdir] {\n-\t$i tag conf in_diff -font font_uibold\n-\t$i tag conf in_sel \\\n-\t\t-background [$i cget -foreground] \\\n-\t\t-foreground [$i cget -background]\n+\t$i tag conf in_diff -background lightgray\n+\t$i tag conf in_sel  -background lightgray\n }\n unset i\n \n@@ -1962,18 +1960,18 @@ proc trace_current_diff_path {varname args} {\n }\n trace add variable current_diff_path write trace_current_diff_path\n \n-frame .vpane.lower.diff.header -background orange\n+frame .vpane.lower.diff.header -background gold\n label .vpane.lower.diff.header.status \\\n-\t-background orange \\\n+\t-background gold \\\n \t-width $max_status_desc \\\n \t-anchor w \\\n \t-justify left\n label .vpane.lower.diff.header.file \\\n-\t-background orange \\\n+\t-background gold \\\n \t-anchor w \\\n \t-justify left\n label .vpane.lower.diff.header.path \\\n-\t-background orange \\\n+\t-background gold \\\n \t-anchor w \\\n \t-justify left\n pack .vpane.lower.diff.header.status -side left\n-- \n1.5.2.1\n"},{"id":"44122","messageId":"20070606052442.GG9513@spearce.org","threadId":"8454","inReplyTo":"11810802023668-git-send-email-mmelchior@xs4all.nl","subject":"Re: [PATCH] New selection indication and softer colors","fromName":"Shawn O. Pearce","fromEmail":"spearce@spearce.org","sentAt":"2007-06-06T05:24:42Z","receivedAt":"2007-06-06T05:24:42Z","isPatch":true,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"Matthijs Melchior <mmelchior@xs4all.nl> wrote:\n> The default font was already bold, so marking the selected file with bold\n> font did not work.  Change that to lightgray background.\n> Also, the header colors are now softer, giving better readability.\n\nThanks, this is actually kind of nice.  I've applied it to my\nmaint and pushed it out.  I feel a gitgui-0.7.3 coming real soon\n(maint has 8 new commits on it already).\n\n-- \nShawn.\n"}]}