diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-02 13:47:14 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-02 13:47:14 +0000 |
commit | c5392f2ac487b9c2bd525bc13a33fcf13f66ee5d (patch) | |
tree | 4a2fcef4e1b9f9468f58c41de7d85db3bfc1bc43 /plugins/CountryFlags/src/main.cpp | |
parent | 899c95607b3add967778bb75015fde65060f2e5c (diff) |
fixed extra icons related hell in CountryFlags
git-svn-id: http://svn.miranda-ng.org/main/trunk@7456 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CountryFlags/src/main.cpp')
-rw-r--r-- | plugins/CountryFlags/src/main.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/CountryFlags/src/main.cpp b/plugins/CountryFlags/src/main.cpp index b68b14bd02..216595c441 100644 --- a/plugins/CountryFlags/src/main.cpp +++ b/plugins/CountryFlags/src/main.cpp @@ -57,10 +57,15 @@ extern "C" __declspec(dllexport) int Load(void) PrepareBufferedFunctions();
if ( CallService(MS_UTILS_GETCOUNTRYLIST, (WPARAM)&nCountriesCount, (LPARAM)&countries))
nCountriesCount = 0;
+
+ bShowStatusIcon = db_get_b(NULL, MODULENAME, "ShowStatusIconFlag", SETTING_SHOWSTATUSICONFLAG_DEFAULT) != 0;
+ bShowExtraIcon = db_get_b(NULL, MODULENAME, "ShowExtraImgFlag", SETTING_SHOWEXTRAIMGFLAG_DEFAULT) != 0;
+ bUseUnknown = db_get_b(NULL, MODULENAME, "UseUnknownFlag", SETTING_USEUNKNOWNFLAG_DEFAULT) != 0;
+ bUseIpToCountry = db_get_b(NULL, MODULENAME, "UseIpToCountry", SETTING_USEIPTOCOUNTRY_DEFAULT) != 0;
+
InitIcons();
InitIpToCountry();
InitExtraImg();
- LoadOptions();
return 0;
}
|