Skip to content

Commit 215d4fd

Browse files
SamBpatthoyts
authored andcommitted
git-gui: Set both 16x16 and 32x32 icons on X to pacify Xming.
It would be better if the 32x32 icon was equivalent to the one used on Windows (in git-gui.ico), but I'm not sure how that would best be done, so I copied this code from gitk instead. Signed-off-by: Samuel Bronson <[email protected]> Signed-off-by: Pat Thoyts <[email protected]>
1 parent af86768 commit 215d4fd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

git-gui.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,10 @@ if {[is_Windows]} {
729729
gitlogo put gray26 -to 5 15 11 16
730730
gitlogo redither
731731
732-
wm iconphoto . -default gitlogo
732+
image create photo gitlogo32 -width 32 -height 32
733+
gitlogo32 copy gitlogo -zoom 2 2
734+
735+
wm iconphoto . -default gitlogo gitlogo32
733736
}
734737
}
735738

0 commit comments

Comments
 (0)