summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-06-15 17:37:06 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-06-15 17:37:06 +0300
commit0fcd147acdf407a487e6fb6f4513800bf0610757 (patch)
tree71312ddfacb72ec267471cf5b0186ed320d264ff /plugins
parent5895100845ee7b16f8c6dc2c04c62c6e923c096c (diff)
fixes #2922 (History++ icon problems)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/HistoryPlusPlus/hpp_global.pas61
-rw-r--r--plugins/HistoryPlusPlus/hpp_options.pas3
2 files changed, 33 insertions, 31 deletions
diff --git a/plugins/HistoryPlusPlus/hpp_global.pas b/plugins/HistoryPlusPlus/hpp_global.pas
index 46fb13d739..6ee414e78f 100644
--- a/plugins/HistoryPlusPlus/hpp_global.pas
+++ b/plugins/HistoryPlusPlus/hpp_global.pas
@@ -214,36 +214,37 @@ const
HPP_ICON_HOTSEARCH = 13;
HPP_ICON_SEARCHUP = 14;
HPP_ICON_SEARCHDOWN = 15;
- HPP_ICON_TOOL_DELETE = 16;
- HPP_ICON_TOOL_SESSIONS = 17;
- HPP_ICON_TOOL_SAVE = 18;
- HPP_ICON_TOOL_COPY = 29;
- HPP_ICON_SEARCH_ENDOFPAGE = 20;
- HPP_ICON_SEARCH_NOTFOUND = 21;
- HPP_ICON_HOTFILTERCLEAR = 22;
- HPP_ICON_SESS_HIDE = 23;
- HPP_ICON_DROPDOWNARROW = 24;
- HPP_ICON_CONTACDETAILS = 25;
- HPP_ICON_CONTACTMENU = 26;
- HPP_ICON_BOOKMARK = 27;
- HPP_ICON_BOOKMARK_ON = 28;
- HPP_ICON_BOOKMARK_OFF = 39;
- HPP_ICON_SEARCHADVANCED = 30;
- HPP_ICON_SEARCHRANGE = 31;
-
- HPP_ICON_EVENT_INCOMING = 32;
- HPP_ICON_EVENT_OUTGOING = 33;
- HPP_ICON_EVENT_SYSTEM = 34;
- HPP_ICON_EVENT_CONTACTS = 35;
- HPP_ICON_EVENT_STATUS = 36;
- HPP_ICON_EVENT_SMTPSIMPLE = 37;
- HPP_ICON_EVENT_NICK = 38;
- HPP_ICON_EVENT_AVATAR = 39;
- HPP_ICON_EVENT_WATRACK = 40;
- HPP_ICON_EVENT_STATUSMES = 41;
- HPP_ICON_EVENT_VOICECALL = 42;
-
- HppIconsCount = 43;
+ HPP_ICON_TOOL_DELETEALL = 16;
+ HPP_ICON_TOOL_DELETE = 17;
+ HPP_ICON_TOOL_SESSIONS = 18;
+ HPP_ICON_TOOL_SAVE = 19;
+ HPP_ICON_TOOL_COPY = 20;
+ HPP_ICON_SEARCH_ENDOFPAGE = 21;
+ HPP_ICON_SEARCH_NOTFOUND = 22;
+ HPP_ICON_HOTFILTERCLEAR = 23;
+ HPP_ICON_SESS_HIDE = 24;
+ HPP_ICON_DROPDOWNARROW = 25;
+ HPP_ICON_CONTACDETAILS = 26;
+ HPP_ICON_CONTACTMENU = 27;
+ HPP_ICON_BOOKMARK = 28;
+ HPP_ICON_BOOKMARK_ON = 29;
+ HPP_ICON_BOOKMARK_OFF = 30;
+ HPP_ICON_SEARCHADVANCED = 31;
+ HPP_ICON_SEARCHRANGE = 32;
+
+ HPP_ICON_EVENT_INCOMING = 33;
+ HPP_ICON_EVENT_OUTGOING = 34;
+ HPP_ICON_EVENT_SYSTEM = 35;
+ HPP_ICON_EVENT_CONTACTS = 36;
+ HPP_ICON_EVENT_STATUS = 37;
+ HPP_ICON_EVENT_SMTPSIMPLE = 38;
+ HPP_ICON_EVENT_NICK = 39;
+ HPP_ICON_EVENT_AVATAR = 40;
+ HPP_ICON_EVENT_WATRACK = 41;
+ HPP_ICON_EVENT_STATUSMES = 42;
+ HPP_ICON_EVENT_VOICECALL = 43;
+
+ HppIconsCount = 44;
HPP_SKIN_EVENT_MESSAGE = 0;
HPP_SKIN_EVENT_URL = 1;
diff --git a/plugins/HistoryPlusPlus/hpp_options.pas b/plugins/HistoryPlusPlus/hpp_options.pas
index 103986f9e9..262452821d 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..31] 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),
@@ -115,6 +115,7 @@ const
(name:'historypp_14'; desc:'Search'; group: 'Toolbar'; i:HPP_ICON_HOTSEARCH),
(name:'historypp_15'; desc:'Search Up'; group: 'Search panel'; i:HPP_ICON_SEARCHUP),
(name:'historypp_16'; desc:'Search Down'; group: 'Search panel'; i:HPP_ICON_SEARCHDOWN),
+ (name:'historypp_17'; desc:'Delete All'; group: 'Toolbar'; i:HPP_ICON_TOOL_DELETEALL),
(name:'historypp_18'; desc:'Delete'; group: 'Toolbar'; i:HPP_ICON_TOOL_DELETE),
(name:'historypp_19'; desc:'Conversations'; group: 'Toolbar'; i:HPP_ICON_TOOL_SESSIONS),
(name:'historypp_20'; desc:'Save'; group: 'Toolbar'; i:HPP_ICON_TOOL_SAVE),