diff options
Diffstat (limited to 'plugins/YAPP')
-rw-r--r-- | plugins/YAPP/src/services.cpp | 2 | ||||
-rw-r--r-- | plugins/YAPP/src/yapp.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/YAPP/src/services.cpp b/plugins/YAPP/src/services.cpp index 772b7aaff3..121f2b6d4d 100644 --- a/plugins/YAPP/src/services.cpp +++ b/plugins/YAPP/src/services.cpp @@ -433,7 +433,7 @@ void InitServices() CreateServiceFunction(MS_POPUP_SHOWMESSAGE"W", ShowMessageW);
CreateServiceFunction(MS_POPUP_SHOWHISTORY, Popup_ShowHistory);
- CreateServiceFunction("Popup/ToggleEnabled", TogglePopups);
+ CreateServiceFunction("Popup/EnableDisableMenuCommand", TogglePopups);
}
void DeinitServices()
diff --git a/plugins/YAPP/src/yapp.cpp b/plugins/YAPP/src/yapp.cpp index 9f7bb8ee2f..b7a64d9f4d 100644 --- a/plugins/YAPP/src/yapp.cpp +++ b/plugins/YAPP/src/yapp.cpp @@ -90,7 +90,7 @@ int IconsChanged(WPARAM, LPARAM) int TTBLoaded(WPARAM, LPARAM)
{
TTBButton ttb = { sizeof(ttb) };
- ttb.pszService = "Popup/ToggleEnabled";
+ ttb.pszService = "Popup/EnableDisableMenuCommand";
ttb.lParamUp = 1;
ttb.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP | TTBBF_ASPUSHBUTTON;
if (db_get_b(0, "Popup", "ModuleIsEnabled", 1))
@@ -201,7 +201,7 @@ void InitMenuItems(void) hMenuItemHistory = Menu_AddMainMenuItem(&mi);
mi.hIcon = IcoLib_GetIcon(isEnabled ? ICO_POPUP_ON : ICO_POPUP_OFF, 0);
- mi.pszService = "Popup/ToggleEnabled";
+ mi.pszService = "Popup/EnableDisableMenuCommand";
mi.ptszName = (isEnabled ? LPGENT("Disable Popups") : LPGENT("Enable Popups"));
hMenuItem = Menu_AddMainMenuItem(&mi);
}
|