diff --git a/kfind/CMakeLists.txt b/kfind/CMakeLists.txt index c5e509b1..7a5810fb 100644 --- a/kfind/CMakeLists.txt +++ b/kfind/CMakeLists.txt @@ -32,4 +32,9 @@ install( DESTINATION ${KDE4_XDG_APPS_INSTALL_DIR} ) +install( + FILES findhere.desktop + DESTINATION ${KDE4_SERVICES_INSTALL_DIR}/ServiceMenus +) + kde4_install_icons(${KDE4_ICON_INSTALL_DIR}) diff --git a/kfind/findhere.desktop b/kfind/findhere.desktop new file mode 100644 index 00000000..f23b14e0 --- /dev/null +++ b/kfind/findhere.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Service +X-KDE-ServiceTypes=KonqPopupMenu/Plugin,inode/directory +Actions=findhere; + +[Desktop Action findhere] +Name=Find Here +Icon=kfind +Exec=kfind %u diff --git a/kfind/kfindtreeview.cpp b/kfind/kfindtreeview.cpp index dca838c9..f3866b3e 100644 --- a/kfind/kfindtreeview.cpp +++ b/kfind/kfindtreeview.cpp @@ -43,7 +43,6 @@ #include #include #include - #include #include