From be73d75739e41342bfded44f2f71072664db15f1 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 21 Mar 2013 11:14:54 -0500 Subject: Add edit as root service menu to libkonq --- libkonq/CMakeLists.txt | 1 + libkonq/servicemenus/CMakeLists.txt | 14 ++++++++++++++ libkonq/servicemenus/edit-as-root.desktop | 12 ++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 libkonq/servicemenus/CMakeLists.txt create mode 100644 libkonq/servicemenus/edit-as-root.desktop diff --git a/libkonq/CMakeLists.txt b/libkonq/CMakeLists.txt index 4da045169..5b960874e 100644 --- a/libkonq/CMakeLists.txt +++ b/libkonq/CMakeLists.txt @@ -14,6 +14,7 @@ project( libkonq ) add_subdirectory( pics ) add_subdirectory( favicons ) +add_subdirectory( servicemenus ) include_directories( ${CMAKE_CURRENT_BINARY_DIR} diff --git a/libkonq/servicemenus/CMakeLists.txt b/libkonq/servicemenus/CMakeLists.txt new file mode 100644 index 000000000..6d54b0ab0 --- /dev/null +++ b/libkonq/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 + edit-as-root.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus ) diff --git a/libkonq/servicemenus/edit-as-root.desktop b/libkonq/servicemenus/edit-as-root.desktop new file mode 100644 index 000000000..e3df17006 --- /dev/null +++ b/libkonq/servicemenus/edit-as-root.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +ServiceTypes=text/*,application/x-desktop +Actions=Editassu + +[Desktop Action Editassu] +Name=Edit as Root +Name[it]=Edita come Root +Name[fr]=Editer en tant que Root +Name[es]=Editar como Root +Name[de]=Als root bearbeiten +Icon=kfm +Exec=tdesu "kwrite" "%U" -- cgit v1.2.1