diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2013-01-28 21:38:30 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2013-01-28 21:38:30 +0000 |
commit | 57b1f6cd941da1d60b56742231505fb258c1cb82 (patch) | |
tree | e7ea69163fdae89b226f6ea54cd9678d84d7b423 /plugins/Alarms/src/frame.cpp | |
parent | 705f46a1f1201ad4a6fbcbb163db373c2b29f0d3 (diff) |
-added frame icon
-fixed possible crash
-minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@3325 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Alarms/src/frame.cpp')
-rw-r--r-- | plugins/Alarms/src/frame.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Alarms/src/frame.cpp b/plugins/Alarms/src/frame.cpp index 06ad5d2b5c..9f168a6bad 100644 --- a/plugins/Alarms/src/frame.cpp +++ b/plugins/Alarms/src/frame.cpp @@ -391,8 +391,8 @@ LRESULT CALLBACK FrameWindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPar {
OPENOPTIONSDIALOG oop;
oop.cbSize = sizeof(oop);
- oop.pszGroup = Translate("Events");
- oop.pszPage = Translate("Alarms");
+ oop.pszGroup = "Events";
+ oop.pszPage = "Alarms";
oop.pszTab = 0;
Options_Open(&oop);
}
@@ -522,6 +522,7 @@ int CreateFrame() Frame.align = alBottom;
Frame.Flags = F_TCHAR | F_VISIBLE | F_SHOWTB | F_SHOWTBTIP;
Frame.height = 30;
+ Frame.hIcon = hIconMenuSet;
frame_id = CallService(MS_CLIST_FRAMES_ADDFRAME,(WPARAM)&Frame,0);
}
else {
|