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/NotesAndReminders | |
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/NotesAndReminders')
-rw-r--r-- | plugins/NotesAndReminders/main.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/NotesAndReminders/main.cpp b/plugins/NotesAndReminders/main.cpp index 010f7489aa..2165a8e49b 100644 --- a/plugins/NotesAndReminders/main.cpp +++ b/plugins/NotesAndReminders/main.cpp @@ -161,16 +161,16 @@ int OnTopToolBarInit(WPARAM w,LPARAM L) {
TTBButton ttb = {0};
ttb.cbSize = sizeof(TTBButton);
- ttb.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP | TTBBF_ICONBYHANDLE;
+ ttb.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP;
- ttb.hIconHandleUp = ttb.hIconHandleDn = hIconLibItem[14];
+ ttb.hIconHandleUp = hIconLibItem[14];
ttb.pszService = MODULENAME"/MenuCommandAddNew";
- ttb.name = "Add New Note";
+ ttb.name = ttb.pszTooltipUp = LPGEN("Add New Note");
TopToolbar_AddButton(&ttb);
- ttb.hIconHandleUp = ttb.hIconHandleDn = hIconLibItem[15];
+ ttb.hIconHandleUp = hIconLibItem[15];
ttb.pszService = MODULENAME"/MenuCommandNewReminder";
- ttb.name = "Add New Reminder";
+ ttb.name = ttb.pszTooltipUp = LPGEN("Add New Reminder");
TopToolbar_AddButton(&ttb);
UnhookEvent(hkTopToolbarInit);
|