summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus/hpp_options.pas
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-11-26 15:28:09 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-11-26 15:28:09 +0000
commit19cab1ca9696845a338a17c9bad3788aa4ec7bc2 (patch)
treee7e8712794e7e78136d7eb101fa876124916e2d6 /plugins/HistoryPlusPlus/hpp_options.pas
parenta24244a8159143a07208a91a6314680856d45a9e (diff)
password protection removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@6988 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryPlusPlus/hpp_options.pas')
-rw-r--r--plugins/HistoryPlusPlus/hpp_options.pas30
1 files changed, 2 insertions, 28 deletions
diff --git a/plugins/HistoryPlusPlus/hpp_options.pas b/plugins/HistoryPlusPlus/hpp_options.pas
index 67065c3475..350ddba32a 100644
--- a/plugins/HistoryPlusPlus/hpp_options.pas
+++ b/plugins/HistoryPlusPlus/hpp_options.pas
@@ -98,7 +98,7 @@ const
DEFFORMAT_SELECTION = '%selmes%\n';
DEFFORMAT_DATETIME = 'c'; // ShortDateFormat + LongTimeFormat
- hppIconsDefs : array[0..33] of ThppIconsRec = (
+ hppIconsDefs : array[0..32] of ThppIconsRec = (
(name:'historypp_01'; desc:'Contact history'; group: nil; i:HPP_ICON_CONTACTHISTORY),
(name:'historypp_02'; desc:'History search'; group: nil; i:HPP_ICON_GLOBALSEARCH),
(name:'historypp_03'; desc:'Conversation divider'; group: 'Conversations'; i:HPP_ICON_SESS_DIVIDER),
@@ -131,8 +131,7 @@ const
(name:'historypp_30'; desc:'Bookmark enabled'; group: nil; i:HPP_ICON_BOOKMARK_ON),
(name:'historypp_31'; desc:'Bookmark disabled'; group: nil; i:HPP_ICON_BOOKMARK_OFF),
(name:'historypp_32'; desc:'Advanced Search Options'; group: 'Toolbar'; i:HPP_ICON_SEARCHADVANCED),
- (name:'historypp_33'; desc:'Limit Search Range'; group: 'Toolbar'; i:HPP_ICON_SEARCHRANGE),
- (name:'historypp_34'; desc:'Search Protected Contacts'; group: 'Toolbar'; i:HPP_ICON_SEARCHPROTECTED)
+ (name:'historypp_33'; desc:'Limit Search Range'; group: 'Toolbar'; i:HPP_ICON_SEARCHRANGE)
);
hppFontItems: array[0..29] of ThppFontsRec = (
@@ -228,11 +227,6 @@ const
);
var
- hppIntIcons: array[0..0] of ThppIntIconsRec = (
- (handle: 0; name:'z_password_protect')
- );
-
-var
GridOptions: TGridOptions;
SmileyAddEnabled: Boolean;
MathModuleEnabled: Boolean;
@@ -248,7 +242,6 @@ procedure LoadGridOptions;
procedure SaveGridOptions;
procedure LoadIcons;
procedure LoadIcons2;
-procedure LoadIntIcons;
procedure OnShowIcons;
procedure OnTextFormatting(Value: Boolean);
procedure hppRegisterGridOptions;
@@ -356,14 +349,6 @@ begin
end;
end;
-procedure LoadIntIcons;
-var
- i: Integer;
-begin
- for i := 0 to High(hppIntIcons) do
- hppIntIcons[i].handle := LoadIconA(hInstance,hppIntIcons[i].name);
-end;
-
procedure LoadIcons2;
var
i: integer;
@@ -701,15 +686,6 @@ begin
end;
end;
-procedure LocalFreeIcons;
-var
- i: Integer;
-begin
- for i := 0 to High(hppIntIcons) do
- if hppIntIcons[i].handle <> 0 then
- DestroyIcon(hppIntIcons[i].handle);
-end;
-
initialization
GridOptions := TGridOptions.Create;
@@ -720,8 +696,6 @@ initialization
finalization
- LocalFreeIcons;
-
Finalize(hppIcons);
Finalize(skinIcons);