From fbf6537ce6bd07c0f4fe45c2151326ac26aa3d9f Mon Sep 17 00:00:00 2001 From: Juraj Oravec Date: Wed, 2 Oct 2024 09:28:22 +0200 Subject: [PATCH] KNotifications - Install falkon.notifyrc Signed-off-by: Juraj Oravec --- common/falkon.notifyrc | 36 +++++++++++++++++++++++++++++++++--- src/main/CMakeLists.txt | 2 ++ 2 files changed, 35 insertions(+), 3 deletions(-) diff --git a/common/falkon.notifyrc b/common/falkon.notifyrc index 028c1059b..1089a2359 100644 --- a/common/falkon.notifyrc +++ b/common/falkon.notifyrc @@ -4,7 +4,37 @@ Name=Falkon Comment=Falkon Web Browser DesktopEntry=falkon.desktop -[Event/newmail] -Name=New E-Mail -Comment=You have got a new email +[Event/General] +Name=General +Comment=General information +Action=Popup + +[Event/Web] +Name=Web +Comment=Notifications from web sites +Action=Popup + +[Event/DownloadFinished] +Name=Download Finished +Comment=All downloads are finished Action=Sound|Popup + +[Event/UpdateAvailable] +Name=Update Available +Comment=New Falkon version is available +Action=Popup + +[Event/OcsSupport] +Name=Plugin installer +Comment=Information from online plugin installer +Action=Sound|Popup + +[Event/Plugins] +Name=Plugins +Comment=General notifications from plugins +Action=Popup + +[Event/Preview] +Name=Preview +Comment=Dummy entry for preview functionality +Action=Popup diff --git a/src/main/CMakeLists.txt b/src/main/CMakeLists.txt index 09404316c..a9c298768 100644 --- a/src/main/CMakeLists.txt +++ b/src/main/CMakeLists.txt @@ -53,3 +53,5 @@ if (UNIX AND NOT APPLE) install(FILES ../../linux/appdata/org.kde.falkon.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR}) endif() +# Install general files +install( FILES ${CMAKE_SOURCE_DIR}/common/falkon.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFYRCDIR} )