From 9f80b5afceffa6853ac9ab410dd21a90b4ff7e1f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 4 Sep 2017 21:21:10 +0300 Subject: fix for GMail Notifier default icons --- plugins/GmailNotifier/src/main.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/GmailNotifier') diff --git a/plugins/GmailNotifier/src/main.cpp b/plugins/GmailNotifier/src/main.cpp index af427d1836..dabac93804 100644 --- a/plugins/GmailNotifier/src/main.cpp +++ b/plugins/GmailNotifier/src/main.cpp @@ -117,11 +117,11 @@ extern "C" int __declspec(dllexport) Load() opt.LogThreads = db_get_dw(NULL, MODULE_NAME, "LogThreads", FALSE); DBVARIANT dbv; - if (db_get_s(NULL, "Icons", "GmailMNotifier40076", &dbv)) { - db_set_s(NULL, "Icons", "GmailMNotifier40071", "plugins\\gmailm.dll,2"); - db_set_s(NULL, "Icons", "GmailMNotifier40072", "plugins\\gmailm.dll,2"); - db_set_s(NULL, "Icons", "GmailMNotifier40076", "plugins\\gmailm.dll,0"); - db_set_s(NULL, "Icons", "GmailMNotifier40073", "plugins\\gmailm.dll,1"); + if (db_get_s(NULL, "SkinIcons", "core_status_" MODULE_NAME "4", &dbv)) { + db_set_s(NULL, "SkinIcons", "core_status_" MODULE_NAME "0", "plugins\\GmailNotifier.dll,2"); + db_set_s(NULL, "SkinIcons", "core_status_" MODULE_NAME "1", "plugins\\GmailNotifier.dll,2"); + db_set_s(NULL, "SkinIcons", "core_status_" MODULE_NAME "2", "plugins\\GmailNotifier.dll,0"); + db_set_s(NULL, "SkinIcons", "core_status_" MODULE_NAME "4", "plugins\\GmailNotifier.dll,1"); } else db_free(&dbv); -- cgit v1.2.3