1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

Add weird XML manifest resources, to enable WinXP skins to work

within PuTTY's dialog boxen.

[originally from svn r1530]
This commit is contained in:
Simon Tatham 2002-01-08 09:32:50 +00:00
parent 4bcdf2ab2e
commit ff1e19f285
6 changed files with 78 additions and 0 deletions

19
pageant.mft Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="x86"
name="Pageant"
type="win32" />
<description>SSH authentication agent for PuTTY.</description>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
publicKeyToken="6595b64144ccf1df"
language="*"
processorArchitecture="x86"/>
</dependentAssembly>
</dependency>
</assembly>

View File

@ -3,6 +3,11 @@
#include <winresrc.h>
#endif
/* Some systems don't define this, so I do it myself if necessary */
#ifndef RT_MANIFEST
#define RT_MANIFEST 24
#endif
200 ICON "pageant.ico"
201 ICON "pageants.ico"
@ -82,3 +87,5 @@ BEGIN
LTEXT "OTHER DEALINGS IN THE SOFTWARE.", 1022, 10, 218, 206, 8
END
1 RT_MANIFEST "pageant.mft"

19
putty.mft Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="x86"
name="PuTTY"
type="win32" />
<description>A free SSH and Telnet client.</description>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
publicKeyToken="6595b64144ccf1df"
language="*"
processorArchitecture="x86"/>
</dependentAssembly>
</dependency>
</assembly>

19
puttygen.mft Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="x86"
name="PuTTYgen"
type="win32" />
<description>SSH key generator for PuTTY.</description>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
publicKeyToken="6595b64144ccf1df"
language="*"
processorArchitecture="x86"/>
</dependentAssembly>
</dependency>
</assembly>

View File

@ -3,6 +3,11 @@
#include <winresrc.h>
#endif
/* Some systems don't define this, so I do it myself if necessary */
#ifndef RT_MANIFEST
#define RT_MANIFEST 24
#endif
200 ICON "puttygen.ico"
201 DIALOG DISCARDABLE 0, 0, 318, 270
@ -75,3 +80,5 @@ BEGIN
LTEXT "OTHER DEALINGS IN THE SOFTWARE.", 1022, 10, 218, 206, 8
END
1 RT_MANIFEST "puttygen.mft"

View File

@ -8,6 +8,11 @@
#define TCS_MULTILINE 0x0200
#endif
/* Likewise */
#ifndef RT_MANIFEST
#define RT_MANIFEST 24
#endif
#ifdef MINGW32_FIX
#define EDITTEXT EDITTEXT "",
#endif
@ -103,3 +108,5 @@ BEGIN
LTEXT "OTHER DEALINGS IN THE SOFTWARE.", 1022, 10, 218, 206, 8
END
1 RT_MANIFEST "putty.mft"