summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-03-21 11:15:59 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-03-21 11:15:59 -0500
commitc8000010a85020b9ade17ee1d98a46f0ed7f4bd0 (patch)
treeaaab975641b71094e443aa9b3c2331f57d57e06d
parenta69ed77a67f853e33f87d9701029dd0a1f79ae2b (diff)
downloadtdepim-c8000010a85020b9ade17ee1d98a46f0ed7f4bd0.tar.gz
tdepim-c8000010a85020b9ade17ee1d98a46f0ed7f4bd0.zip
Add Email file service menu to kmail
-rw-r--r--kmail/CMakeLists.txt1
-rw-r--r--kmail/konqueror/CMakeLists.txt12
-rw-r--r--kmail/konqueror/servicemenus/CMakeLists.txt14
-rw-r--r--kmail/konqueror/servicemenus/email.desktop12
4 files changed, 39 insertions, 0 deletions
diff --git a/kmail/CMakeLists.txt b/kmail/CMakeLists.txt
index e13c5dfab..75b32fc2a 100644
--- a/kmail/CMakeLists.txt
+++ b/kmail/CMakeLists.txt
@@ -35,6 +35,7 @@ add_subdirectory( about )
add_subdirectory( pics )
add_subdirectory( profiles )
add_subdirectory( avscripts )
+add_subdirectory( konqueror )
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
diff --git a/kmail/konqueror/CMakeLists.txt b/kmail/konqueror/CMakeLists.txt
new file mode 100644
index 000000000..d82547333
--- /dev/null
+++ b/kmail/konqueror/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2013 Timothy Pearson
+# kb9vqf (AT) pearsoncomputing.net
+#
+# Improvements and feedback are welcome
+#
+# This file is released under the GPL >= 2
+#
+#################################################
+
+add_subdirectory( servicemenus )
diff --git a/kmail/konqueror/servicemenus/CMakeLists.txt b/kmail/konqueror/servicemenus/CMakeLists.txt
new file mode 100644
index 000000000..33e28a4f7
--- /dev/null
+++ b/kmail/konqueror/servicemenus/CMakeLists.txt
@@ -0,0 +1,14 @@
+#################################################
+#
+# (C) 2013 Timothy Pearson
+# kb9vqf (AT) pearsoncomputing.net
+#
+# Improvements and feedback are welcome
+#
+# This file is released under the GPL >= 2
+#
+#################################################
+
+install( FILES
+ email.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus )
diff --git a/kmail/konqueror/servicemenus/email.desktop b/kmail/konqueror/servicemenus/email.desktop
new file mode 100644
index 000000000..4cb6de28a
--- /dev/null
+++ b/kmail/konqueror/servicemenus/email.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Actions=Email
+Encoding=UTF-8
+ServiceTypes=allfiles
+
+[Desktop Action Email]
+Name=Email File
+Name[de]=Versenden als E-Mail
+Name[fr]=Envoyer par courriel
+Name[pl]=Wyślij plik w załączniku
+Exec=kmail --attach %F
+Icon=kmail