From 4794713603db035aa3b011efcb9e226ef7e5d6da Mon Sep 17 00:00:00 2001 From: Valentin Radu Date: Mon, 13 May 2024 10:48:13 +0300 Subject: [PATCH] GUI: Maintenance section --- ExplorerPatcher-L10N | 2 +- ep_gui/GUI.h | 2 +- ep_gui/resources/EPSettingsResources.h | 2 ++ ep_gui/resources/lang/ep_gui.en-US.rc | 2 ++ ep_gui/resources/settings.reg | 31 ++++++++++++------------- ep_gui/resources/settings10.reg | 32 +++++++++++++------------- 6 files changed, 37 insertions(+), 34 deletions(-) diff --git a/ExplorerPatcher-L10N b/ExplorerPatcher-L10N index a57caf1..515fd0d 160000 --- a/ExplorerPatcher-L10N +++ b/ExplorerPatcher-L10N @@ -1 +1 @@ -Subproject commit a57caf12f43374f53b7467cc7b1bc1b3aaa3edcf +Subproject commit 515fd0d484eaa44ce2d5d08c276f66aaa6540ab3 diff --git a/ep_gui/GUI.h b/ep_gui/GUI.h index f87ed2f..e1e76c6 100644 --- a/ep_gui/GUI.h +++ b/ep_gui/GUI.h @@ -49,7 +49,7 @@ extern HMODULE hModule; #define GUI_MAX_TABORDER 9999 #define GUI_PADDING 5 #define GUI_PADDING_LEFT GUI_PADDING * 3 -#define GUI_SIDEBAR_WIDTH 140 // 110 +#define GUI_SIDEBAR_WIDTH 150 // 110 #define GUI_PADDING_RIGHT GUI_PADDING * 3 #define GUI_PADDING_TOP GUI_PADDING #define GUI_PADDING_BOTTOM GUI_PADDING diff --git a/ep_gui/resources/EPSettingsResources.h b/ep_gui/resources/EPSettingsResources.h index 3cdc3c8..3b1da96 100644 --- a/ep_gui/resources/EPSettingsResources.h +++ b/ep_gui/resources/EPSettingsResources.h @@ -385,3 +385,5 @@ #define IDS_UNINSTALL_UNINSTALL 2102 #define IDS_FOOTER_RESTART 2201 + +#define IDS_MAINTENANCE 2301 diff --git a/ep_gui/resources/lang/ep_gui.en-US.rc b/ep_gui/resources/lang/ep_gui.en-US.rc index 8c548dd..4a9ac38 100644 --- a/ep_gui/resources/lang/ep_gui.en-US.rc +++ b/ep_gui/resources/lang/ep_gui.en-US.rc @@ -425,6 +425,8 @@ BEGIN IDS_ABOUT_EXPORT_SUCCESS "Settings have been exported successfully." IDS_ABOUT_RESET "Restore default settings" + IDS_MAINTENANCE "Settings and uninstall" + IDS_UNINSTALL "Uninstall" IDS_UNINSTALL_UNINSTALL "Uninstall ExplorerPatcher" diff --git a/ep_gui/resources/settings.reg b/ep_gui/resources/settings.reg index 45e1fce..9041d93 100644 --- a/ep_gui/resources/settings.reg +++ b/ep_gui/resources/settings.reg @@ -771,6 +771,21 @@ "XamlSounds"=dword:00000000 +;T %R:2301% +[HKEY_CURRENT_USER\Software\ExplorerPatcher] +;z 10001 %R:1533% +"Language"=dword:00000000 +;y %R:2011% 🡕 +;https://github.com/valinet/ExplorerPatcher/wiki/Settings-management +;u %R:2012% +;import +;u %R:2013% +;export +;u %R:2015% +;reset +;u %R:2102% +;uninstall + ;T %R:2001% ;e %R:201% @@ -789,22 +804,6 @@ ;https://github.com/valinet/ExplorerPatcher#donate ;y %R:2010% 🡕 ;https://github.com/valinet/ExplorerPatcher/wiki/Frequently-asked-questions -;y %R:2011% 🡕 -;https://github.com/valinet/ExplorerPatcher/wiki/Settings-management -[HKEY_CURRENT_USER\Software\ExplorerPatcher] -;z 10001 %R:1533% -"Language"=dword:00000000 -;u %R:2012% -;import -;u %R:2013% -;export -;u %R:2015% -;reset - - -;T %R:2101% -;u %R:2102% -;uninstall diff --git a/ep_gui/resources/settings10.reg b/ep_gui/resources/settings10.reg index f197c70..d6343e9 100644 --- a/ep_gui/resources/settings10.reg +++ b/ep_gui/resources/settings10.reg @@ -580,6 +580,22 @@ "XamlSounds"=dword:00000000 +;T %R:2301% +[HKEY_CURRENT_USER\Software\ExplorerPatcher] +;z 10001 %R:1533% +"Language"=dword:00000000 +;y %R:2011% 🡕 +;https://github.com/valinet/ExplorerPatcher/wiki/Settings-management +;u %R:2012% +;import +;u %R:2013% +;export +;u %R:2015% +;reset +;u %R:2102% +;uninstall + + ;T %R:2001% ;e %R:201% ;e %VERSIONINFORMATIONSTRING% @@ -597,22 +613,6 @@ ;https://github.com/valinet/ExplorerPatcher#donate ;y %R:2010% 🡕 ;https://github.com/valinet/ExplorerPatcher/wiki/Frequently-asked-questions -;y %R:2011% 🡕 -;https://github.com/valinet/ExplorerPatcher/wiki/Settings-management -[HKEY_CURRENT_USER\Software\ExplorerPatcher] -;z 10001 %R:1533% -"Language"=dword:00000000 -;u %R:2012% -;import -;u %R:2013% -;export -;u %R:2015% -;reset - - -;T %R:2101% -;u %R:2102% -;uninstall