Commit graph

18 commits

Author SHA1 Message Date
Nicolas Werner
e5d75c814b
Clean up notification code a bit 2021-03-17 19:18:07 +01:00
Loren Burkholder
41737ac22c
Simplify image loading 2021-03-17 19:18:07 +01:00
Loren Burkholder
716c598f4a
Simplify macOS checks for a null image 2021-03-17 19:18:07 +01:00
Loren Burkholder
3748d7853e
Simplify formatting on Windows 2021-03-17 19:18:06 +01:00
Nicolas Werner
f578272a0d
Rewrite notification posting logic
This does away with the nice abstraction layers in order to easily get the best-looking notifications for each platform.
2021-03-17 19:17:57 +01:00
Loren Burkholder
df998ef671
Get event text in event parser function 2021-03-17 19:17:15 +01:00
Loren Burkholder
648844089c
Move data parsing into a dedicated function
Actually posting the notification is now the responsibility of a private function
2021-03-17 19:17:13 +01:00
Nicolas Werner
a6f0d2ea7d
Update license headers 2021-03-05 01:04:07 +01:00
Loren Burkholder
8c62df1bab Include notifications header instead of responses header 2021-02-13 13:40:30 -05:00
Loren Burkholder
567b2d05ef Move notification parsing into postNotification 2021-02-13 13:40:26 -05:00
Loren Burkholder
299c486a2b Display notifications for emote messages properly 2021-02-13 13:01:04 -05:00
Alexander von Gluck IV
e8ff6c9486 notifications/mananger: Follow Linux code paths on Haiku as well 2021-02-03 14:40:14 -06:00
Loren Burkholder
b04a7fbef6 Remove showNotification function 2021-01-19 18:47:18 -05:00
Nicolas Werner
4b4c321397 Allow inline replies from notifications on linux 2021-01-07 10:44:59 +01:00
Nicolas Werner
82ec022f9c Fix notification not being cleared, when read event didn't cause a notification 2020-04-11 23:28:34 +02:00
Nicolas Werner
2022775dd0 Clear notifications when event is read 2020-04-11 01:09:47 +02:00
Colin Lord
bcd92c0604 Enable compilation on FreeBSD (#403) 2018-08-12 09:33:36 +03:00
Konstantinos Sideris
0e814da91c Move all files under src/ 2018-07-17 16:37:25 +03:00
Renamed from include/notifications/Manager.h (Browse further)