diff options
author | admin@progandy.co.cc <admin@progandy.co.cc@eced67a3-f377-a0ae-92ae-d6de1850b05a> | 2010-09-16 16:20:38 +0000 |
---|---|---|
committer | admin@progandy.co.cc <admin@progandy.co.cc@eced67a3-f377-a0ae-92ae-d6de1850b05a> | 2010-09-16 16:20:38 +0000 |
commit | ce63a982341717f4c19521fec144c6fd4a3f9524 (patch) | |
tree | 8ab5ac294e148880fa7460f80c1c7d0eaa38231a /MirOTR | |
parent | 06489e7bae767e5b0d0d6be35f4ceb1c28cfc59d (diff) |
- fixed flags for toolbarbutton
git-svn-id: http://mirotr.googlecode.com/svn/trunk@18 eced67a3-f377-a0ae-92ae-d6de1850b05a
Diffstat (limited to 'MirOTR')
-rw-r--r-- | MirOTR/svcs_srmm.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/MirOTR/svcs_srmm.cpp b/MirOTR/svcs_srmm.cpp index 6eff845..7df79a0 100644 --- a/MirOTR/svcs_srmm.cpp +++ b/MirOTR/svcs_srmm.cpp @@ -184,8 +184,9 @@ void SetEncryptionStatus(HANDLE hContact, TrustLevel level) { button.hIcon = GetIconHandle(ICON_NOT_PRIVATE);
break;
}
+ button.bbbFlags = 0;
} else {
- button.bbbFlags |= BBBF_HIDDEN;
+ button.bbbFlags = BBSF_HIDDEN;
}
if (options.bHaveSRMMIcons) {
CallService(MS_MSG_MODIFYICON, (WPARAM)hContact, (LPARAM)&sid);
@@ -258,9 +259,9 @@ void InitSRMM() { OTRButton.pszModuleName = MODULENAME;
OTRButton.dwDefPos = 200;
#ifdef _UNICODE
- OTRButton.bbbFlags = BBBF_ISRSIDEBUTTON|BBBF_CANBEHIDDEN|BBBF_ISIMBUTTON|BBBF_ISPUSHBUTTON;
+ OTRButton.bbbFlags = BBBF_ISRSIDEBUTTON|BBBF_CANBEHIDDEN|BBBF_ISIMBUTTON;
#else
- OTRButton.bbbFlags = BBBF_ISRSIDEBUTTON|BBBF_CANBEHIDDEN|BBBF_ISIMBUTTON|BBBF_ISPUSHBUTTON|BBBF_ANSITOOLTIP;
+ OTRButton.bbbFlags = BBBF_ISRSIDEBUTTON|BBBF_CANBEHIDDEN|BBBF_ISIMBUTTON|BBBF_ANSITOOLTIP;
#endif
OTRButton.ptszTooltip = TranslateT(LANG_OTR_TOOLTIP);
OTRButton.hIcon = GetIconHandle(ICON_NOT_PRIVATE);
|