git-gui: Set both 16x16 and 32x32 icons on X to pacify Xming.
PATCH 1/1 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.
--- git-gui.sh | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)
git-gui.sh +6 -1
@@ -729,7 +729,12 @@ if {[is_Windows]} { gitlogo put gray26 -to 5 15 11 16 gitlogo redither - wm iconphoto . -default gitlogo + # TODO: should use something equivalent to the 32x32 image in + # the .ico file + image create photo gitlogo32 -width 32 -height 32 + gitlogo32 copy gitlogo -zoom 2 2 + + wm iconphoto . -default gitlogo gitlogo32 } }
Signature · 1 line
1.7.6.3
Quoted 15 lines · Samuel Bronson
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.
---
git-gui.sh | 7 ++++++-1 files changed, 6 insertions(+), 1 deletions(-)git-gui.sh +0
-0@@ -729,7 +729,12 @@ if {[is_Windows]} {gitlogo put gray26 -to 5 15 11 16 gitlogo redither
Quoted 9 lines
- wm iconphoto . -default gitlogo
+ # TODO: should use something equivalent to the 32x32 image in
+ # the .ico file
+ image create photo gitlogo32 -width 32 -height 32
+ gitlogo32 copy gitlogo -zoom 2 2
+
+ wm iconphoto . -default gitlogo gitlogo32
}
}
Hmm. Nothing seems to have happened with this patch yet. Any suggestions on how to bring it to the attention of the git-gui people?
Quoted 3 lines · Samuel Bronson
Hmm. Nothing seems to have happened with this patch yet. Any suggestions on how to bring it to the attention of the git-gui people?
I got around to checking this with xmingw and it makes sense so it's committed now.
Thanks.
Signature · 2 lines
Pat Thoyts http://www.patthoyts.tk/ PGP fingerprint 2C 6E 98 07 2C 59 C8 97 10 CE 11 E6 04 E0 B9 DD