From 02cbecff6450f37498c558c1352550d647bffdfa Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sat, 20 Dec 2014 14:59:57 +0100 Subject: Windows: Add a donation menu entry --- src/Common/Language.xml | 1 + src/Mount/Mount.c | 6 ++++++ src/Mount/Mount.rc | 1 + src/Mount/Resource.h | 3 ++- 4 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/Common/Language.xml b/src/Common/Language.xml index 2ced0359..c4ea0562 100644 --- a/src/Common/Language.xml +++ b/src/Common/Language.xml @@ -200,6 +200,7 @@ Create Rescue Disk... Create New Volume... Default Keyfiles... + Donate now... Encrypt System Partition/Drive... Frequently Asked Questions User's Guide diff --git a/src/Mount/Mount.c b/src/Mount/Mount.c index f6fa82fa..969b43dc 100644 --- a/src/Mount/Mount.c +++ b/src/Mount/Mount.c @@ -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); diff --git a/src/Mount/Mount.rc b/src/Mount/Mount.rc index 8851646e..c0626df5 100644 --- a/src/Mount/Mount.rc +++ b/src/Mount/Mount.rc @@ -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 diff --git a/src/Mount/Resource.h b/src/Mount/Resource.h index bf64cee2..5426d2ae 100644 --- a/src/Mount/Resource.h +++ b/src/Mount/Resource.h @@ -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 -- cgit v1.2.3