summaryrefslogtreecommitdiff
path: root/plugins/TipperYM
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TipperYM')
-rw-r--r--plugins/TipperYM/src/popwin.cpp14
-rw-r--r--plugins/TipperYM/src/preset_items.cpp5
2 files changed, 0 insertions, 19 deletions
diff --git a/plugins/TipperYM/src/popwin.cpp b/plugins/TipperYM/src/popwin.cpp
index 1d44524342..de6b1abedc 100644
--- a/plugins/TipperYM/src/popwin.cpp
+++ b/plugins/TipperYM/src/popwin.cpp
@@ -110,14 +110,6 @@ LRESULT CALLBACK PopupWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lPa
AddRow(pwd, TranslateT("Log on:"), ago, NULL, false, false, false);
}
- // logoff info
- TCHAR swzLogoff[64];
- if (TimestampToTimeDifference(NULL, pwd->clcit.szProto, "LogoffTS", swzLogoff, 59)) {
- TCHAR ago[96];
- mir_sntprintf(ago, SIZEOF(ago), TranslateT("%s ago"), swzLogoff);
- AddRow(pwd, TranslateT("Log off:"), ago, NULL, false, false, false);
- }
-
// number of unread emails
TCHAR swzEmailCount[64];
if (ProtoServiceExists(pwd->clcit.szProto, "/GetUnreadEmailCount")) {
@@ -1564,12 +1556,6 @@ LRESULT CALLBACK PopupWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lPa
mir_sntprintf(ago, SIZEOF(ago), TranslateT("%s ago"), buff);
AddRow(pwd, TranslateT("Log on:"), ago, NULL, false, false, false);
}
-
- if (TimestampToTimeDifference(NULL, pwd->clcit.szProto, "LogoffTS", buff, 59)) {
- TCHAR ago[96];
- mir_sntprintf(ago, SIZEOF(ago), TranslateT("%s ago"), buff);
- AddRow(pwd, TranslateT("Log off:"), ago, NULL, false, false, false);
- }
}
if (dwItems & TRAYTIP_UNREAD_EMAILS && ProtoServiceExists(pa->szModuleName, "/GetUnreadEmailCount")) {
diff --git a/plugins/TipperYM/src/preset_items.cpp b/plugins/TipperYM/src/preset_items.cpp
index 04eb82ad99..4319ff6589 100644
--- a/plugins/TipperYM/src/preset_items.cpp
+++ b/plugins/TipperYM/src/preset_items.cpp
@@ -43,8 +43,6 @@ PRESETITEM presetItems[] =
"xtext", LPGENT("XStatus text"), LPGENT("XStatus text:"), _T("%raw:/XStatusMsg%"), 0, 0, 0,
"acttitle", LPGENT("[jabber.dll] Activity title"), LPGENT("Activity title:"), _T("%raw:AdvStatus/?dbsetting(%subject%,Protocol,p)/activity/title%"), 0, 0, 0,
"acttext", LPGENT("[jabber.dll] Activity text"), LPGENT("Activity text:"), _T("%raw:AdvStatus/?dbsetting(%subject%,Protocol,p)/activity/text%"), 0, 0, 0,
- "logon", LPGENT("[menuex.dll] Logon time"), LPGENT("Logon time:"), _T("%logon_date% @ %logon_time% (%logon_ago%)"), "logondate", "logontime", "logonago",
- "logoff", LPGENT("[menuex.dll] Logoff time"), LPGENT("Logoff time:"), _T("%logoff_date% @ %logoff_time% (%logoff_ago%)"), "logoffdate", "logofftime", "logoffago",
"lastseentime", LPGENT("[seenplugin.dll] Last seen time"), LPGENT("Last seen time:"), _T("%lastseen_date% @ %lastseen_time%"), "lsdate", "lstime", 0,
"lastseenstatus", LPGENT("[seenplugin.dll] Last seen status"), LPGENT("Last seen status:"), _T("%lastseen_status% (%lastseen_ago% ago)"), "lsstatus", "lsago", 0,
"cond", LPGENT("[weather.dll] Condition"), LPGENT("Condition:"), _T("%raw:Current/Condition%"), 0, 0, 0,
@@ -81,9 +79,6 @@ PRESETSUBST presetSubsts[] =
"logondate", _T("logon_date"), DVT_PROTODB, NULL, "LogonTS", 15,
"logontime", _T("logon_time"), DVT_PROTODB, NULL, "LogonTS", 13,
"logonago", _T("logon_ago"), DVT_PROTODB, NULL, "LogonTS", 3,
- "logoffdate", _T("logoff_date"), DVT_PROTODB, NULL, "LogoffTS", 15,
- "logofftime", _T("logoff_time"), DVT_PROTODB, NULL, "LogoffTS", 13,
- "logoffago", _T("logoff_ago"), DVT_PROTODB, NULL, "LogoffTS", 3,
0, 0, DVT_DB, 0, 0, 0
};