summaryrefslogtreecommitdiff
path: root/plugins/Actman
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-07 18:19:34 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-07 18:19:34 +0000
commite5cb033463036b182fb6e5e3eed50a14987f5300 (patch)
treec1e0c20c1fb1808f658f4aadf624a57474576eb4 /plugins/Actman
parente2d81fead804c1d7dd557af5d3082ba0399a38c1 (diff)
SKINICONDESC -> MAllStrings
git-svn-id: http://svn.miranda-ng.org/main/trunk@14054 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Actman')
-rw-r--r--plugins/Actman/actman.dpr3
-rw-r--r--plugins/Actman/iac_service.pas5
-rw-r--r--plugins/Actman/ua/i_uaplaces.inc3
3 files changed, 3 insertions, 8 deletions
diff --git a/plugins/Actman/actman.dpr b/plugins/Actman/actman.dpr
index f66f265381..f9eee181cb 100644
--- a/plugins/Actman/actman.dpr
+++ b/plugins/Actman/actman.dpr
@@ -122,7 +122,6 @@ var
// ii:tIconItem;
begin
FillChar(sid,SizeOf(sid),0);
- sid.cbSize:=SizeOf(sid);
sid.cx:=16;
sid.cy:=16;
sid.szSection.a:='Actions';
@@ -192,7 +191,7 @@ begin
LoadMacros;
RegisterIcons;
-
+
HookEvent(ME_OPT_INITIALISE ,@OnOptInitialise);
HookEvent(ME_SYSTEM_PRESHUTDOWN{ME_SYSTEM_OKTOEXIT},@PreShutdown);
NotifyEventHooks(hHookChanged,twparam(ACTM_LOADED),0);
diff --git a/plugins/Actman/iac_service.pas b/plugins/Actman/iac_service.pas
index f9b2b6ba15..cfeb456191 100644
--- a/plugins/Actman/iac_service.pas
+++ b/plugins/Actman/iac_service.pas
@@ -421,14 +421,13 @@ function DlgProc(Dialog:HWND;hMessage:uint;wParam:WPARAM;lParam:LPARAM):LRESULT;
var
ServiceBlock:HWND;
rc:TRECT;
- b:bool;
begin
result:=0;
case hMessage of
WM_DESTROY: begin
end;
-
+
WM_INITDIALOG: begin
GetClientRect(Dialog,rc);
ServiceBlock:=CreateServiceBlock(Dialog,0,0,rc.right,rc.bottom,
@@ -481,7 +480,7 @@ begin
WM_COMMAND: begin
case wParam shr 16 of
CBN_EDITCHANGE,
- BN_CLICKED:
+ BN_CLICKED:
SendMessage(GetParent(GetParent(Dialog)),PSM_CHANGED,0,0);
end;
end;
diff --git a/plugins/Actman/ua/i_uaplaces.inc b/plugins/Actman/ua/i_uaplaces.inc
index 222065b460..680566e2fc 100644
--- a/plugins/Actman/ua/i_uaplaces.inc
+++ b/plugins/Actman/ua/i_uaplaces.inc
@@ -153,7 +153,6 @@ begin
begin
// add icon for action to icolib
fillChar(sid,SizeOf(sid),0);
- sid.cbSize :=sizeof(sid);
sid.szSection .w:=ICOLIB_ACTSECTION;
sid.szDefaultFile.w:=szMyPath;
sid.iDefaultIndex :=-IDI_ACTION;
@@ -178,7 +177,6 @@ begin
begin
// add icon for action to icolib
fillChar(sid,SizeOf(sid),0);
- sid.cbSize :=sizeof(sid);
sid.szSection .w:=ICOLIB_ACTSECTION;
sid.szDefaultFile.w:=szMyPath;
sid.iDefaultIndex :=-IDI_ACTION;
@@ -259,7 +257,6 @@ var
begin
FillChar(sid,SizeOf(sid),0);
//first - register icon for root popup
- sid.cbSize := sizeof(sid);
sid.szSection.w := ICOLIB_MNUSECTION;
sid.flags := SIDF_ALL_UNICODE;
sid.cx := 16;