aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2016-04-18 23:42:53 -0300
committerRobert Tari <robert@tari.in>2021-07-06 02:02:52 +0200
commit13978702ac61845927889986310085e8f90821da (patch)
tree52206cc20546f4f1e8bf707e8463ad52f012c8e8 /data
parent442818a849f468649121d19adfc0d3589387dda0 (diff)
downloadayatana-indicator-datetime-13978702ac61845927889986310085e8f90821da.tar.gz
ayatana-indicator-datetime-13978702ac61845927889986310085e8f90821da.tar.bz2
ayatana-indicator-datetime-13978702ac61845927889986310085e8f90821da.zip
Post message on messaging menu if the notification get timeout.
Diffstat (limited to 'data')
-rw-r--r--data/CMakeLists.txt7
-rw-r--r--data/ayatana-indicator-datetime.desktop.in1
2 files changed, 7 insertions, 1 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index c460586..14d36b8 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -32,6 +32,7 @@ if (${SYSTEMD_FOUND})
# build it
set (pkglibexecdir "${CMAKE_INSTALL_FULL_PKGLIBEXECDIR}")
+ set (messaging_menu_icon "${CMAKE_INSTALL_FULL_DATAROOTDIR}/icons/suru/actions/scalable/appointment.svg")
configure_file ("${SYSTEMD_USER_FILE_IN}" "${SYSTEMD_USER_FILE}")
# install it
@@ -55,7 +56,11 @@ set (XDG_AUTOSTART_FILE_IN "${CMAKE_CURRENT_SOURCE_DIR}/${XDG_AUTOSTART_NAME}.in
set (pkglibexecdir "${CMAKE_INSTALL_FULL_PKGLIBEXECDIR}")
configure_file ("${XDG_AUTOSTART_FILE_IN}" "${XDG_AUTOSTART_FILE}")
-# install it
+# install desktop file used by messaging-menu
+install (FILES "${XDG_AUTOSTART_FILE}"
+ DESTINATION "${CMAKE_INSTALL_FULL_DATAROOTDIR}/applications/")
+
+# install XDG autostart
install (FILES "${XDG_AUTOSTART_FILE}"
DESTINATION "${XDG_AUTOSTART_DIR}")
diff --git a/data/ayatana-indicator-datetime.desktop.in b/data/ayatana-indicator-datetime.desktop.in
index 70df0d7..6d27166 100644
--- a/data/ayatana-indicator-datetime.desktop.in
+++ b/data/ayatana-indicator-datetime.desktop.in
@@ -6,3 +6,4 @@ OnlyShowIn=MATE;Unity;XFCE;Pantheon;
NoDisplay=true
StartupNotify=false
Terminal=false
+Icon=@messaging_menu_icon@