summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/main.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-05-30 11:37:54 +0000
committerRobert Pösel <robyer@seznam.cz>2014-05-30 11:37:54 +0000
commit7b40d91a4f81cbba63ae7cabc263af69539bd22b (patch)
tree8fae732011bf7f5138092b97f3c8fcedf3990095 /plugins/Popup/src/main.cpp
parent98b1830b0bef5b46ce8d023b6aeef5e6d02350bf (diff)
Unify Popup's and YAPP's value to check if they are enabled; YAPP's version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@9369 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Popup/src/main.cpp')
-rw-r--r--plugins/Popup/src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Popup/src/main.cpp b/plugins/Popup/src/main.cpp
index eba19300b5..144b7cc9e5 100644
--- a/plugins/Popup/src/main.cpp
+++ b/plugins/Popup/src/main.cpp
@@ -164,7 +164,7 @@ INT_PTR svcEnableDisableMenuCommand(WPARAM, LPARAM)
//The module is enabled.
//The action to do is "disable popups" (show disabled) and we must write "enable popup" in the new item.
PopupOptions.ModuleIsEnabled = FALSE;
- db_set_b(NULL, MODULNAME, "ModuleIsEnabled", FALSE);
+ db_set_b(NULL, "Popup", "ModuleIsEnabled", FALSE);
mi.ptszName = LPGENT("Enable Popups");
mi.hIcon = IcoLib_GetIcon(ICO_POPUP_OFF,0);
}
@@ -172,7 +172,7 @@ INT_PTR svcEnableDisableMenuCommand(WPARAM, LPARAM)
//The module is disabled.
//The action to do is enable popups (show enabled), then write "disable popup" in the new item.
PopupOptions.ModuleIsEnabled = TRUE;
- db_set_b(NULL, MODULNAME, "ModuleIsEnabled", TRUE);
+ db_set_b(NULL, "Popup", "ModuleIsEnabled", TRUE);
mi.ptszName = LPGENT("Disable Popups");
mi.hIcon = IcoLib_GetIcon(ICO_POPUP_ON,0);
}