diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-18 12:17:26 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-18 12:17:26 +0000 |
commit | 6bcce0307d2baf4db5a5802b9c3bb3f2714254db (patch) | |
tree | 6cbc45799a9678b9e02a427708ad3c54020031b9 /plugins | |
parent | 9893f0ea9fdb640962f32db7f20b07ffcab33acc (diff) |
other TTB-dependent changes
git-svn-id: http://svn.miranda-ng.org/main/trunk@471 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/StatusPlugins/StartupStatus/toolbars.cpp | 2 | ||||
-rw-r--r-- | plugins/Svc_dbepp/main.cpp | 4 | ||||
-rw-r--r-- | plugins/UserInfoEx/dlg_anniversarylist.cpp | 2 | ||||
-rw-r--r-- | plugins/UserInfoEx/svc_reminder.cpp | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/plugins/StatusPlugins/StartupStatus/toolbars.cpp b/plugins/StatusPlugins/StartupStatus/toolbars.cpp index 9b8ab6c475..175615df6b 100644 --- a/plugins/StatusPlugins/StartupStatus/toolbars.cpp +++ b/plugins/StatusPlugins/StartupStatus/toolbars.cpp @@ -59,7 +59,7 @@ int CreateTopToolbarButtons(WPARAM wParam, LPARAM lParam) TTBButton ttb = { 0 };
ttb.cbSize = sizeof(ttb);
ttb.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP | TTBBF_ICONBYHANDLE;
- ttb.pszServiceDown = ttb.pszServiceUp = MS_SS_LOADANDSETPROFILE;
+ ttb.pszService = MS_SS_LOADANDSETPROFILE;
for (int i=0; i < profileCount; i++) {
char setting[80];
_snprintf(setting, sizeof(setting), "%d_%s", i, SETTING_CREATETTBBUTTON);
diff --git a/plugins/Svc_dbepp/main.cpp b/plugins/Svc_dbepp/main.cpp index a7145fe23f..dd6da983e4 100644 --- a/plugins/Svc_dbepp/main.cpp +++ b/plugins/Svc_dbepp/main.cpp @@ -158,8 +158,8 @@ static int OnTTBLoaded(WPARAM wParam,LPARAM lParam) UnhookEvent(hTTBHook);
ttbb.cbSize = sizeof(ttbb);
- ttbb.dwFlags=TTBBF_VISIBLE|TTBBF_SHOWTOOLTIP;
- ttbb.pszServiceDown = "DBEditorpp/MenuCommand";
+ ttbb.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP;
+ ttbb.pszService = "DBEditorpp/MenuCommand";
ttbb.name = Translate("Database Editor++");
ttbb.hIconUp = ico;
ttbb.hIconDn = ico;
diff --git a/plugins/UserInfoEx/dlg_anniversarylist.cpp b/plugins/UserInfoEx/dlg_anniversarylist.cpp index 8a41aa0138..a4e24cae9b 100644 --- a/plugins/UserInfoEx/dlg_anniversarylist.cpp +++ b/plugins/UserInfoEx/dlg_anniversarylist.cpp @@ -1093,7 +1093,7 @@ VOID DlgAnniversaryListOnTopToolBarLoaded() TTBButton ttb = { 0 };
ttb.cbSize = sizeof(ttb);
ttb.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP | TTBBF_ICONBYHANDLE;
- ttb.pszServiceDown = MS_USERINFO_REMINDER_LIST;
+ ttb.pszService = MS_USERINFO_REMINDER_LIST;
ttb.hIconHandleDn = ttb.hIconHandleUp = Skin_GetIconHandle(ICO_COMMON_ANNIVERSARY);
ttb.name = "Anniversary list";
CallService(MS_TTB_ADDBUTTON, (WPARAM) &ttb, 0);
diff --git a/plugins/UserInfoEx/svc_reminder.cpp b/plugins/UserInfoEx/svc_reminder.cpp index 9ec0953b36..7899ccadc4 100644 --- a/plugins/UserInfoEx/svc_reminder.cpp +++ b/plugins/UserInfoEx/svc_reminder.cpp @@ -908,7 +908,7 @@ VOID SvcReminderOnTopToolBarLoaded() ttb.cbSize = sizeof(ttb);
ttb.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP | TTBBF_ICONBYHANDLE;
- ttb.pszServiceDown = MS_USERINFO_REMINDER_CHECK;
+ ttb.pszService = MS_USERINFO_REMINDER_CHECK;
ttb.name = "Check anniversaries";
ttb.hIconHandleDn = ttb.hIconHandleUp = Skin_GetIconHandle(ICO_COMMON_BIRTHDAY);
|