Finally not necessary to have 2 servicemenus. Readd all/all mimetype

now we test and inform when we try to attach a folder.
wilder-work
Montel Laurent 13 years ago
parent 1f3b9bb1eb
commit b19e82594c
  1. 2
      CMakeLists.txt
  2. 10
      kmail_addattachmentfolderservicemenu.desktop
  3. 3
      kmail_addattachmentservicemenu.desktop

@ -302,7 +302,7 @@ if (NOT WINCE AND KDEPIM_BUILD_DESKTOP)
DESTINATION ${DBUS_INTERFACES_INSTALL_DIR}
)
install( FILES kmail_addattachmentservicemenu.desktop kmail_addattachmentfolderservicemenu.desktop DESTINATION
install( FILES kmail_addattachmentservicemenu.desktop DESTINATION
${SERVICES_INSTALL_DIR}/ServiceMenus)
endif (NOT WINCE AND KDEPIM_BUILD_DESKTOP)

@ -1,10 +0,0 @@
[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=inode/directory;
Actions=attachfolder;
[Desktop Action attachfolder]
Icon=kmail
Name=Send Directory as Email Attachment
Exec=kmail --attach %F

@ -1,8 +1,7 @@
[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
# all files inherit from application/octet-stream
MimeType=application/octet-stream;
MimeType=all/all;
Actions=sendto;
[Desktop Action sendto]

Loading…
Cancel
Save