diff options
author | Michele Calgaro <[email protected]> | 2019-06-26 16:39:17 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2019-06-26 16:39:17 +0900 |
commit | acca8e0d680c4520d3ca7b4833af651791026779 (patch) | |
tree | 5b170b5ff7670bd06a47a65f96280b9ec6836dea | |
parent | 251bcc6108ba7e30a7d19a9fc4c13d8a7b6159e4 (diff) | |
download | smb4k-acca8e0d680c4520d3ca7b4833af651791026779.tar.gz smb4k-acca8e0d680c4520d3ca7b4833af651791026779.zip |
Adjusted to new normalized device icon names in tdelibs.
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r-- | smb4k/browser/smb4knetworkbrowser_part.cpp | 2 | ||||
-rw-r--r-- | smb4k/iconview/smb4ksharesiconview_part.cpp | 4 | ||||
-rw-r--r-- | smb4k/listview/smb4kshareslistview_part.cpp | 4 | ||||
-rw-r--r-- | smb4k/smb4ksystemtray.cpp | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/smb4k/browser/smb4knetworkbrowser_part.cpp b/smb4k/browser/smb4knetworkbrowser_part.cpp index 15e3c46..856854e 100644 --- a/smb4k/browser/smb4knetworkbrowser_part.cpp +++ b/smb4k/browser/smb4knetworkbrowser_part.cpp @@ -200,7 +200,7 @@ void Smb4KNetworkBrowserPart::setupActions() // is also needed: if ( m_mode == KonqPlugin ) { - TDEAction *unmount = new TDEAction( i18n( "&Unmount" ), "drive-harddisk", TDEShortcut( CTRL+Key_U ), + TDEAction *unmount = new TDEAction( i18n( "&Unmount" ), "drive-harddisk-unmounted", TDEShortcut( CTRL+Key_U ), this, TQT_SLOT( slotUnmount() ), actionCollection(), "konq_umount_action" ); diff --git a/smb4k/iconview/smb4ksharesiconview_part.cpp b/smb4k/iconview/smb4ksharesiconview_part.cpp index 51686ae..32f8695 100644 --- a/smb4k/iconview/smb4ksharesiconview_part.cpp +++ b/smb4k/iconview/smb4ksharesiconview_part.cpp @@ -105,11 +105,11 @@ Smb4KSharesIconViewPart::~Smb4KSharesIconViewPart() void Smb4KSharesIconViewPart::setupActions() { // Create the actions: - TDEAction *unmount = new TDEAction( i18n( "&Unmount" ), "drive-harddisk", TDEShortcut( CTRL+Key_U ), + TDEAction *unmount = new TDEAction( i18n( "&Unmount" ), "drive-harddisk-unmounted", TDEShortcut( CTRL+Key_U ), this, TQT_SLOT( slotUnmountShare() ), actionCollection(), "unmount_action" ); #ifdef __linux__ - TDEAction *force = new TDEAction( i18n( "&Force Unmounting" ), "drive-harddisk", TDEShortcut( CTRL+Key_F ), + TDEAction *force = new TDEAction( i18n( "&Force Unmounting" ), "drive-harddisk-unmounted", TDEShortcut( CTRL+Key_F ), this, TQT_SLOT( slotForceUnmountShare() ), actionCollection(), "force_unmount_action" ); #endif diff --git a/smb4k/listview/smb4kshareslistview_part.cpp b/smb4k/listview/smb4kshareslistview_part.cpp index 967cfec..7fc9a98 100644 --- a/smb4k/listview/smb4kshareslistview_part.cpp +++ b/smb4k/listview/smb4kshareslistview_part.cpp @@ -108,11 +108,11 @@ Smb4KSharesListViewPart::~Smb4KSharesListViewPart() void Smb4KSharesListViewPart::setupActions() { // Create the actions: - TDEAction *unmount = new TDEAction( i18n( "&Unmount" ), "drive-harddisk", TDEShortcut( CTRL+Key_U ), + TDEAction *unmount = new TDEAction( i18n( "&Unmount" ), "drive-harddisk-unmounted", TDEShortcut( CTRL+Key_U ), this, TQT_SLOT( slotUnmountShare() ), actionCollection(), "unmount_action" ); #ifdef __linux__ - TDEAction *force = new TDEAction( i18n( "&Force Unmounting" ), "drive-harddisk", TDEShortcut( CTRL+Key_F ), + TDEAction *force = new TDEAction( i18n( "&Force Unmounting" ), "drive-harddisk-unmounted", TDEShortcut( CTRL+Key_F ), this, TQT_SLOT( slotForceUnmountShare() ), actionCollection(), "force_unmount_action" ); #endif diff --git a/smb4k/smb4ksystemtray.cpp b/smb4k/smb4ksystemtray.cpp index 75b418f..1e84db3 100644 --- a/smb4k/smb4ksystemtray.cpp +++ b/smb4k/smb4ksystemtray.cpp @@ -787,11 +787,11 @@ void Smb4KSystemTray::slotSetupSharesMenu() // Define the actions that can be performed on a share from within // the system tray widget: - TDEAction *umount = new TDEAction( i18n( "&Unmount" ), "drive-harddisk", TDEShortcut::null(), TQT_TQOBJECT(this), + TDEAction *umount = new TDEAction( i18n( "&Unmount" ), "drive-harddisk-unmounted", TDEShortcut::null(), TQT_TQOBJECT(this), TQT_SLOT( slotUnmountShare() ), actionCollection(), "st_[unmount]_"+(*it)->canonicalPath() ); umount->setGroup( "ShareActions" ); #ifdef __linux__ - TDEAction *force_umount = new TDEAction( i18n( "&Force Unmounting" ), "drive-harddisk", TDEShortcut::null(), TQT_TQOBJECT(this), + TDEAction *force_umount = new TDEAction( i18n( "&Force Unmounting" ), "drive-harddisk-unmounted", TDEShortcut::null(), TQT_TQOBJECT(this), TQT_SLOT( slotForceUnmountShare() ), actionCollection(), "st_[force]_"+(*it)->canonicalPath() ); force_umount->setGroup( "ShareActions" ); force_umount->setEnabled( Smb4KSettings::useForceUnmount() ); |