diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-07-12 13:56:54 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-07-12 13:56:54 +0000 |
commit | e0b1fbf35cc17f73de8049cb72494c95669a9195 (patch) | |
tree | 994c4eae8122058f0f10bce4a4bffc98a24e8259 /plugins/UserInfoEx | |
parent | b17df7fca9fc9eb65037e2586dea15155ace1273 (diff) |
minor toptoolbar fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@925 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/UserInfoEx')
-rw-r--r-- | plugins/UserInfoEx/dlg_anniversarylist.cpp | 5 | ||||
-rw-r--r-- | plugins/UserInfoEx/svc_reminder.cpp | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/plugins/UserInfoEx/dlg_anniversarylist.cpp b/plugins/UserInfoEx/dlg_anniversarylist.cpp index 53bd90f0ef..1b0cd689da 100644 --- a/plugins/UserInfoEx/dlg_anniversarylist.cpp +++ b/plugins/UserInfoEx/dlg_anniversarylist.cpp @@ -1090,13 +1090,12 @@ INT_PTR DlgAnniversaryListShow(WPARAM wParam, LPARAM lParam) VOID DlgAnniversaryListOnTopToolBarLoaded()
{
- TTBButton ttb = { 0 };
+ TTBButton ttb = {0};
ttb.cbSize = sizeof(ttb);
ttb.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP;
ttb.pszService = MS_USERINFO_REMINDER_LIST;
ttb.hIconHandleUp = Skin_GetIconHandle(ICO_COMMON_ANNIVERSARY);
- ttb.pszTooltipUp = LPGEN("Anniversary list");
- ttb.name = "Anniversary list";
+ ttb.name = ttb.pszTooltipUp = LPGEN("Anniversary list");
TopToolbar_AddButton(&ttb);
}
diff --git a/plugins/UserInfoEx/svc_reminder.cpp b/plugins/UserInfoEx/svc_reminder.cpp index f5f42bc20c..f91ba47f33 100644 --- a/plugins/UserInfoEx/svc_reminder.cpp +++ b/plugins/UserInfoEx/svc_reminder.cpp @@ -904,13 +904,12 @@ static INT OnContactSettingChanged(HANDLE hContact, DBCONTACTWRITESETTING* pdbcw VOID SvcReminderOnTopToolBarLoaded()
{
- TTBButton ttb = { 0 };
+ TTBButton ttb = {0};
ttb.cbSize = sizeof(ttb);
ttb.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP;
ttb.pszService = MS_USERINFO_REMINDER_CHECK;
- ttb.name = "Check anniversaries";
- ttb.pszTooltipUp = LPGEN("Check anniversaries");
+ ttb.name = ttb.pszTooltipUp = LPGEN("Check anniversaries");
ttb.hIconHandleUp = Skin_GetIconHandle(ICO_COMMON_BIRTHDAY);
TopToolbar_AddButton(&ttb);
}
|