diff options
author | Robert Pösel <robyer@seznam.cz> | 2017-01-07 09:40:11 +0100 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2017-01-07 09:44:36 +0100 |
commit | e6fa840e2054dd4a286e1175b7f133e3b7719e66 (patch) | |
tree | 215b8361b2cc5c73bfccd8227003798be3a8393c | |
parent | 1bbd7e92d8f03ced5a3401eb04316920309e0185 (diff) |
SimpleStatusMsg: Move startup status options to subpage
This commit is also useful for conflict with other plugin(s) that also want to add page directly to "Status" page. Because there wasn't specified "tab", it then consumed whole "Status" page for itself and didn't show tabs of plugins loaded afterwards.
Another solution to this conflict is to just set "tab" for this page. But it makes more sense to have separate page for this "Startup status" options.
-rw-r--r-- | plugins/SimpleStatusMsg/src/options.cpp | 3 | ||||
-rw-r--r-- | plugins/SimpleStatusMsg/src/version.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/SimpleStatusMsg/src/options.cpp b/plugins/SimpleStatusMsg/src/options.cpp index 9eedcc3e5f..fb3c1d931e 100644 --- a/plugins/SimpleStatusMsg/src/options.cpp +++ b/plugins/SimpleStatusMsg/src/options.cpp @@ -1654,7 +1654,8 @@ int InitOptions(WPARAM wParam, LPARAM) odp.flags = ODPF_BOLDGROUPS;
if (!ServiceExists(MS_SS_GETPROFILECOUNT)) {
- odp.szTitle.a = LPGEN("Status");
+ odp.szTitle.a = LPGEN("Startup status");
+ odp.szGroup.a = LPGEN("Status");
odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_STATUS);
odp.pfnDlgProc = DlgStatusOptionsProc;
Options_AddPage(wParam, &odp);
diff --git a/plugins/SimpleStatusMsg/src/version.h b/plugins/SimpleStatusMsg/src/version.h index a888247a47..9ead42738d 100644 --- a/plugins/SimpleStatusMsg/src/version.h +++ b/plugins/SimpleStatusMsg/src/version.h @@ -1,7 +1,7 @@ #define __MAJOR_VERSION 1 #define __MINOR_VERSION 9 #define __RELEASE_NUM 0 -#define __BUILD_NUM 5 +#define __BUILD_NUM 6 #include <stdver.h> |