From 3451cdfa838937bfbb9b1c696e77fdaf98b2c405 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sun, 19 May 2013 13:54:35 +0000 Subject: Reverted some broken plugins settings. git-svn-id: http://svn.miranda-ng.org/main/trunk@4732 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/BuddyExpectator/src/options.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'plugins/BuddyExpectator') diff --git a/plugins/BuddyExpectator/src/options.cpp b/plugins/BuddyExpectator/src/options.cpp index 1df594b9ed..5f09e17638 100644 --- a/plugins/BuddyExpectator/src/options.cpp +++ b/plugins/BuddyExpectator/src/options.cpp @@ -36,19 +36,19 @@ void LoadOptions() options.iAbsencePeriod2 = db_get_dw(NULL, MODULE_NAME, "iAbsencePeriod2", 30 * 3); options.iSilencePeriod = db_get_dw(NULL, MODULE_NAME, "iSilencePeriod", 30); - options.iShowPopup = db_get_b(NULL, MODULE_NAME, "iShowPopup", 1); + options.iShowPopup = db_get_b(NULL, MODULE_NAME, "iShowPopUp", 1); options.iShowEvent = db_get_b(NULL, MODULE_NAME, "iShowEvent", 0); options.iShowUDetails = db_get_b(NULL, MODULE_NAME, "iShowUDetails", 0); options.iShowMessageWindow = db_get_b(NULL, MODULE_NAME, "iShowMessageWindow", 1); - options.iPopupColorBack = db_get_dw(NULL, MODULE_NAME, "iPopupColorBack", DEF_COLOR_BACK); - options.iPopupColorFore = db_get_dw(NULL, MODULE_NAME, "iPopupColorFore", DEF_COLOR_FORE); + options.iPopupColorBack = db_get_dw(NULL, MODULE_NAME, "iPopUpColorBack", DEF_COLOR_BACK); + options.iPopupColorFore = db_get_dw(NULL, MODULE_NAME, "iPopUpColorFore", DEF_COLOR_FORE); options.iUsePopupColors = db_get_b(NULL, MODULE_NAME, "iUsePopupColors", 0); options.iUseWinColors = db_get_b(NULL, MODULE_NAME, "iUseWinColors", 0); - options.iPopupDelay = db_get_b(NULL, MODULE_NAME, "iPopupDelay", 0); + options.iPopupDelay = db_get_b(NULL, MODULE_NAME, "iPopUpDelay", 0); - options.iShowPopup2 = db_get_b(NULL, MODULE_NAME, "iShowPopup2", 1); + options.iShowPopup2 = db_get_b(NULL, MODULE_NAME, "iShowPopUp2", 1); options.iShowEvent2 = db_get_b(NULL, MODULE_NAME, "iShowEvent2", 0); options.action2 = (GoneContactAction)db_get_b(NULL, MODULE_NAME, "Action2", (BYTE)GCA_NOACTION); options.notifyFirstOnline = db_get_b(NULL, MODULE_NAME, "bShowFirstSight", 0) ? true : false; @@ -63,12 +63,12 @@ void SaveOptions() db_set_dw(NULL, MODULE_NAME, "iAbsencePeriod2", options.iAbsencePeriod2); db_set_dw(NULL, MODULE_NAME, "iSilencePeriod", options.iSilencePeriod); - db_set_b(NULL, MODULE_NAME, "iShowPopup", options.iShowPopup); + db_set_b(NULL, MODULE_NAME, "iShowPopUp", options.iShowPopup); db_set_b(NULL, MODULE_NAME, "iShowEvent", options.iShowEvent); db_set_b(NULL, MODULE_NAME, "iShowUDetails", options.iShowUDetails); db_set_b(NULL, MODULE_NAME, "iShowMessageWindow", options.iShowMessageWindow); - db_set_b(NULL, MODULE_NAME, "iShowPopup2", options.iShowPopup2); + db_set_b(NULL, MODULE_NAME, "iShowPopUp2", options.iShowPopup2); db_set_b(NULL, MODULE_NAME, "iShowEvent2", options.iShowEvent2); db_set_b(NULL, MODULE_NAME, "Action2", (BYTE)options.action2); db_set_b(NULL, MODULE_NAME, "bShowFirstSight", options.notifyFirstOnline ? 1 : 0); @@ -78,12 +78,12 @@ void SaveOptions() void SavePopupOptions() { - db_set_dw(NULL, MODULE_NAME, "iPopupColorBack", options.iPopupColorBack); - db_set_dw(NULL, MODULE_NAME, "iPopupColorFore", options.iPopupColorFore); + db_set_dw(NULL, MODULE_NAME, "iPopUpColorBack", options.iPopupColorBack); + db_set_dw(NULL, MODULE_NAME, "iPopUpColorFore", options.iPopupColorFore); db_set_b(NULL, MODULE_NAME, "iUsePopupColors", options.iUsePopupColors); db_set_b(NULL, MODULE_NAME, "iUseWinColors", options.iUseWinColors); - db_set_b(NULL, MODULE_NAME, "iPopupDelay", options.iPopupDelay); + db_set_b(NULL, MODULE_NAME, "iPopUpDelay", options.iPopupDelay); } /** -- cgit v1.2.3