From ae739a66709d15079be7514c8cbc9eabb5c8b8b4 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Fri, 24 Apr 2015 19:53:21 +0000 Subject: Tox: - removed unneded "audio" events - fixed call dialog git-svn-id: http://svn.miranda-ng.org/main/trunk@13104 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/tox_events.cpp | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) (limited to 'protocols/Tox/src/tox_events.cpp') diff --git a/protocols/Tox/src/tox_events.cpp b/protocols/Tox/src/tox_events.cpp index 29a3a6eda6..e22ebb1c3c 100644 --- a/protocols/Tox/src/tox_events.cpp +++ b/protocols/Tox/src/tox_events.cpp @@ -21,23 +21,8 @@ void CToxProto::InitCustomDbEvents() dbEventType.descr = Translate("Action"); CallService(MS_DB_EVENT_REGISTERTYPE, 0, (LPARAM)&dbEventType); - dbEventType.eventType = DB_EVENT_AUDIO_CALL; - dbEventType.descr = Translate("Outgoing call"); - dbEventType.eventIcon = GetIconHandle("audio_call"); - CallService(MS_DB_EVENT_REGISTERTYPE, 0, (LPARAM)&dbEventType); - - dbEventType.eventType = DB_EVENT_AUDIO_RING; - dbEventType.descr = Translate("Incoming call"); - dbEventType.eventIcon = GetIconHandle("audio_ring"); - CallService(MS_DB_EVENT_REGISTERTYPE, 0, (LPARAM)&dbEventType); - - dbEventType.eventType = DB_EVENT_AUDIO_START; - dbEventType.descr = Translate("Call started"); + dbEventType.eventType = DB_EVENT_CALL; + dbEventType.descr = Translate("Call"); dbEventType.eventIcon = GetIconHandle("audio_start"); CallService(MS_DB_EVENT_REGISTERTYPE, 0, (LPARAM)&dbEventType); - - dbEventType.eventType = DB_EVENT_AUDIO_END; - dbEventType.descr = Translate("Call ended"); - dbEventType.eventIcon = GetIconHandle("audio_end"); - CallService(MS_DB_EVENT_REGISTERTYPE, 0, (LPARAM)&dbEventType); } \ No newline at end of file -- cgit v1.2.3