aboutsummaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2021-12-29 02:32:40 +0100
committerMiquel Lionel <lionel@les-miquelots.net>2021-12-29 12:28:27 +0100
commita01f8091c01889d7ca90938f56ae176a74da5590 (patch)
treeac9cccff3100f5754e9f09afbef02103f978e790 /res
parent96555dfc65034c46578309f39ae0f754e1acb0f8 (diff)
downloadkdeltachat-a01f8091c01889d7ca90938f56ae176a74da5590.tar.gz
kdeltachat-a01f8091c01889d7ca90938f56ae176a74da5590.zip
Implement notifications + "mute/unmute chat" menu
- Added icons: Pinned and muted chats have icons. It's from Twemoji font, I've added credits in the README.md and source code of ChatlistItem.qml. I prefer to rely on .PNG for this one because icon might not be installed or exist on the system, and we avoid the black box problem. - Modified CMakeLists: added KNotifications as a required library - Modified build.sh: I cannot comprehend how the install(FILES) function from cmake works, so I used good old install from GNU coreutils. It copies usr/ structure and needed files (.desktop and .notifyrc) for KNotifications to work. - Aesthetic changes: context menu is shorter now due to the text being state-aware. You can now also mute a chat so you won't be notified on incoming messages.
Diffstat (limited to 'res')
-rw-r--r--res/CMakeLists.txt8
-rw-r--r--res/chat.delta.KDeltaChat.desktop9
2 files changed, 0 insertions, 17 deletions
diff --git a/res/CMakeLists.txt b/res/CMakeLists.txt
deleted file mode 100644
index e6512bb..0000000
--- a/res/CMakeLists.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-install(
- FILES chat.delta.KDeltaChat.png
- DESTINATION share/icons/hicolor/256x256/apps/
- COMPONENT desktop)
-install(
- FILES chat.delta.KDeltaChat.desktop
- DESTINATION share/applications/
- COMPONENT desktop)
diff --git a/res/chat.delta.KDeltaChat.desktop b/res/chat.delta.KDeltaChat.desktop
deleted file mode 100644
index 35c2999..0000000
--- a/res/chat.delta.KDeltaChat.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=KDeltaChat
-Comment=Delta Chat client built with Kirigami
-Icon=chat.delta.KDeltaChat
-TryExec=kdeltachat
-Exec=kdeltachat
-Categories=Network;Email;InstantMessaging;Chat;KDE;Qt;
-StartupWMClass=KDeltaChat