diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-04-24 19:53:21 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-04-24 19:53:21 +0000 |
commit | ae739a66709d15079be7514c8cbc9eabb5c8b8b4 (patch) | |
tree | 6ec6231cdd5739cef9f5f0d9c3efaddf3d5affb1 /protocols/Tox/src/tox_events.cpp | |
parent | b53f73d5762f09620ad95bfd81c74660c2077dad (diff) |
Tox:
- removed unneded "audio" events
- fixed call dialog
git-svn-id: http://svn.miranda-ng.org/main/trunk@13104 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_events.cpp')
-rw-r--r-- | protocols/Tox/src/tox_events.cpp | 19 |
1 files changed, 2 insertions, 17 deletions
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 |