diff options
-rw-r--r-- | libkonq/CMakeLists.txt | 1 | ||||
-rw-r--r-- | libkonq/servicemenus/CMakeLists.txt | 14 | ||||
-rw-r--r-- | libkonq/servicemenus/edit-as-root.desktop | 12 |
3 files changed, 27 insertions, 0 deletions
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" |