Windows: Add a donation menu entry

This commit is contained in:
Mounir IDRASSI 2014-12-20 14:59:57 +01:00
parent fbe1bbaffd
commit 02cbecff64
4 changed files with 10 additions and 1 deletions

View File

@ -200,6 +200,7 @@
<control lang="en" key="IDM_CREATE_RESCUE_DISK">Create Rescue Disk...</control>
<control lang="en" key="IDM_CREATE_VOLUME">Create New Volume...</control>
<control lang="en" key="IDM_DEFAULT_KEYFILES">Default Keyfiles...</control>
<control lang="en" key="IDM_DONATE">Donate now...</control>
<control lang="en" key="IDM_ENCRYPT_SYSTEM_DEVICE">Encrypt System Partition/Drive...</control>
<control lang="en" key="IDM_FAQ">Frequently Asked Questions</control>
<control lang="en" key="IDM_HELP">User's Guide</control>

View File

@ -6274,6 +6274,12 @@ BOOL CALLBACK MainDialogProc (HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPa
return 1;
}
if (lw == IDM_DONATE)
{
Applink ("donate", TRUE, "");
return 1;
}
if (lw == IDM_LICENSE)
{
TextInfoDialogBox (TC_TBXID_LEGAL_NOTICES);

View File

@ -609,6 +609,7 @@ BEGIN
MENUITEM SEPARATOR
MENUITEM "Analyze a System Crash...", IDM_ANALYZE_SYSTEM_CRASH
MENUITEM SEPARATOR
MENUITEM "Donate now...", IDM_DONATE
MENUITEM "Contact", IDM_CONTACT
MENUITEM "Legal Notices", IDM_LICENSE
MENUITEM "About", IDM_ABOUT

View File

@ -223,6 +223,7 @@
#define IDM_ADD_VOLUME_TO_SYSTEM_FAVORITES 40061
#define IDM_PERFORMANCE_SETTINGS 40062
#define IDM_ANALYZE_SYSTEM_CRASH 40063
#define IDM_DONATE 40064
// Next default values for new objects
//
@ -230,7 +231,7 @@
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NO_MFC 1
#define _APS_NEXT_RESOURCE_VALUE 118
#define _APS_NEXT_COMMAND_VALUE 40064
#define _APS_NEXT_COMMAND_VALUE 40065
#define _APS_NEXT_CONTROL_VALUE 1140
#define _APS_NEXT_SYMED_VALUE 101
#endif