diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2013-01-29 22:39:26 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2013-01-29 22:39:26 +0000 |
commit | e06676ea085e2fab7f49655ef48c7608cff307b1 (patch) | |
tree | 23cdcbc40c004329ba168c0a6138a76cb2af1594 /plugins/WhenWasIt/src/dlg_handlers.cpp | |
parent | fc23840b513a10a422afa3628f039ce2d0cfa8d7 (diff) |
translation fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@3350 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/WhenWasIt/src/dlg_handlers.cpp')
-rw-r--r-- | plugins/WhenWasIt/src/dlg_handlers.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/WhenWasIt/src/dlg_handlers.cpp b/plugins/WhenWasIt/src/dlg_handlers.cpp index 1719090ee3..f8988c6004 100644 --- a/plugins/WhenWasIt/src/dlg_handlers.cpp +++ b/plugins/WhenWasIt/src/dlg_handlers.cpp @@ -400,7 +400,12 @@ INT_PTR CALLBACK DlgProcAddBirthday(HWND hWnd, UINT msg, WPARAM wParam, LPARAM l case WM_INITDIALOG:
TranslateDialogDefault(hWnd);
SetWindowLongPtr(hWnd, GWLP_USERDATA, lParam);
-
+
+ {
+ HANDLE hContact = (HANDLE) lParam;
+ WindowList_Add(hAddBirthdayWndsList, hWnd, hContact);
+ Utils_RestoreWindowPositionNoSize(hWnd,hContact,ModuleName,"BirthdayWnd");
+ }
SendMessage(hWnd, WM_SETICON, ICON_BIG, (LPARAM)Skin_GetIconByHandle(hAddBirthdayContact, 1));
{
for (int i = 0; i < cSaveModule; i++)
@@ -475,6 +480,7 @@ INT_PTR CALLBACK DlgProcAddBirthday(HWND hWnd, UINT msg, WPARAM wParam, LPARAM l case WM_DESTROY:
RefreshContactListIcons(hContact); //the birthday might be changed, refresh icon.
Skin_ReleaseIcon((HICON)SendMessage(hWnd, WM_GETICON, ICON_BIG, 0));
+ Utils_SaveWindowPosition(hWnd,hContact,ModuleName,"BirthdayWnd");
WindowList_Remove(hAddBirthdayWndsList, hWnd);
break;
|