Closed GoogleCodeExporter closed 9 years ago
If you happen to know how to load an icon and stick it on a window, I'd
appreciate
some sample code.
Original comment by andy.koppe
on 3 Jul 2009 at 8:30
How about a patch instead of some sample code? ;)
Original comment by ir0nh...@gmail.com
on 4 Jul 2009 at 12:11
Attachments:
I should have provided more detail about the patch:
- I added the --icon/-i option to specify an icon
- the specified icon is in *nix path format (i.e. /path/to/icon.ico)
- using cygwin_conv_path it converts it to Windows path format in order to use
LoadImage
- my vimrc formats code to the GNU standard, hence the additional changes in
the file
(if this is an issue, I can generate a new patch)
Original comment by ir0nh...@gmail.com
on 4 Jul 2009 at 3:43
... and the patch was generated off the branches/0.4 branch.
Original comment by ir0nh...@gmail.com
on 4 Jul 2009 at 3:45
Thanks Chris, that made it a doddle. Implemented in r411 on 0.4 branch.
I considered adding a control sequence for this as well, but decided not to,
for the
following reasons:
- It doesn't make much sense remotely.
- There's no good way to provide error messages.
- It's a security risk. At least it could be used to clobber file access times,
but
enterprising souls might find other ways to do harm through this.
Original comment by andy.koppe
on 4 Jul 2009 at 10:04
Original comment by andy.koppe
on 12 Jul 2009 at 9:20
Original issue reported on code.google.com by
ir0nh...@gmail.com
on 3 Jul 2009 at 6:42