mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 10:22:49 +00:00
generic: adjust to KIO protocol changes
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
054f0cb760
commit
fab1ea4289
11 changed files with 2 additions and 26 deletions
|
@ -1,8 +1,6 @@
|
|||
[Protocol]
|
||||
exec=kio_filenamesearch
|
||||
protocol=filenamesearch
|
||||
input=none
|
||||
output=filesystem
|
||||
listing=true
|
||||
reading=true
|
||||
writing=false
|
||||
|
|
|
@ -79,11 +79,8 @@ void DolphinRemoteEncoding::slotAboutToOpenUrl()
|
|||
m_currentURL = m_actionHandler->currentView()->url();
|
||||
|
||||
if (m_currentURL.protocol() != oldURL.protocol()) {
|
||||
// This plugin works on ftp, fish, etc.
|
||||
// everything whose type is T_FILESYSTEM except for local files
|
||||
if (!m_currentURL.isLocalFile() &&
|
||||
KProtocolManager::outputType(m_currentURL) == KProtocolInfo::T_FILESYSTEM) {
|
||||
|
||||
// This works on ftp, sftp, etc.
|
||||
if (!m_currentURL.isLocalFile() && KProtocolManager::isSourceProtocol(m_currentURL)) {
|
||||
m_menu->setEnabled(true);
|
||||
loadSettings();
|
||||
} else {
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
[Protocol]
|
||||
exec=kio_camera
|
||||
protocol=camera
|
||||
input=none
|
||||
output=filesystem
|
||||
listing=true
|
||||
reading=true
|
||||
writing=false
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
exec=kio_desktop
|
||||
protocol=desktop
|
||||
Icon=user-desktop
|
||||
input=none
|
||||
output=filesystem
|
||||
listing=true
|
||||
reading=true
|
||||
writing=true
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
[Protocol]
|
||||
exec=kio_floppy
|
||||
protocol=floppy
|
||||
input=none
|
||||
output=filesystem
|
||||
listing=true
|
||||
reading=true
|
||||
writing=true
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
[Protocol]
|
||||
exec=kio_mtp
|
||||
protocol=mtp
|
||||
input=none
|
||||
output=filesystem
|
||||
listing=true
|
||||
reading=true
|
||||
writing=true
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
[Protocol]
|
||||
protocol=network
|
||||
|
||||
input=none
|
||||
output=filesystem
|
||||
|
||||
X-DocPath=kioslave/network/index.html
|
||||
|
||||
Icon=network-workgroup
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
[Protocol]
|
||||
exec=kio_remote
|
||||
protocol=remote
|
||||
input=none
|
||||
output=filesystem
|
||||
listing=true
|
||||
reading=true
|
||||
writing=false
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
[Protocol]
|
||||
exec=kio_sftp
|
||||
protocol=sftp
|
||||
input=none
|
||||
output=filesystem
|
||||
listing=true
|
||||
reading=true
|
||||
writing=true
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
[Protocol]
|
||||
exec=kio_thumbnail
|
||||
protocol=thumbnail
|
||||
input=stream
|
||||
output=stream
|
||||
reading=true
|
||||
source=false
|
||||
X-DocPath=kioslave/thumbnail/index.html
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
[Protocol]
|
||||
exec=kio_trash
|
||||
protocol=trash
|
||||
input=none
|
||||
output=filesystem
|
||||
listing=true
|
||||
reading=true
|
||||
writing=true
|
||||
|
|
Loading…
Add table
Reference in a new issue