diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2015-03-02 09:09:30 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2015-03-04 23:40:48 +0100 |
commit | 8c7d69faa0a504c9d28bb895f7fbfd22f64141c2 (patch) | |
tree | d8d021d97b6d1bdddb58726bc1bdd01879abcc33 /smb4k/smb4ksystemtray.cpp | |
parent | fd96e58334140cd847939beb75202e1625722387 (diff) | |
download | smb4k-8c7d69faa0a504c9d28bb895f7fbfd22f64141c2.tar.gz smb4k-8c7d69faa0a504c9d28bb895f7fbfd22f64141c2.zip |
Rename most device icons to comply with XDG standards
(cherry picked from commit 75b96c6c243be29943890e2e9eea153fe9237199)
Diffstat (limited to 'smb4k/smb4ksystemtray.cpp')
-rw-r--r-- | smb4k/smb4ksystemtray.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/smb4k/smb4ksystemtray.cpp b/smb4k/smb4ksystemtray.cpp index 88f103a..75b418f 100644 --- a/smb4k/smb4ksystemtray.cpp +++ b/smb4k/smb4ksystemtray.cpp @@ -64,7 +64,7 @@ Smb4KSystemTray::Smb4KSystemTray( TQWidget *parent, const char *name ) actionCollection()->setHighlightingEnabled( true ); // Set up the context menu (skeleton): - m_shares_menu = new TDEActionMenu( i18n( "Mounted Shares" ), "hdd_mount", + m_shares_menu = new TDEActionMenu( i18n( "Mounted Shares" ), "drive-harddisk-mounted", actionCollection(), "st_mounted_shares_action_menu" ); m_bookmarks_menu = new TDEActionMenu( i18n( "Bookmarks" ), "bookmark_folder", actionCollection(), "st_bookmark_action_menu" ); @@ -763,7 +763,7 @@ void Smb4KSystemTray::slotSetupSharesMenu() { TQImage over = loader.loadIcon( "button_cancel", TDEIcon::Small, 0, icon_state, 0L, false ).convertToImage(); - TQImage src = loader.loadIcon( "hdd_mount", TDEIcon::Small, + TQImage src = loader.loadIcon( "drive-harddisk-mounted", TDEIcon::Small, 0, icon_state, 0L, false ).convertToImage(); TDEIconEffect e; @@ -774,7 +774,7 @@ void Smb4KSystemTray::slotSetupSharesMenu() } else { - pix = loader.loadIcon( "hdd_mount", TDEIcon::Small, + pix = loader.loadIcon( "drive-harddisk-mounted", TDEIcon::Small, 0, icon_state, 0L, false ); } @@ -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" ), "hdd_unmount", TDEShortcut::null(), TQT_TQOBJECT(this), + TDEAction *umount = new TDEAction( i18n( "&Unmount" ), "drive-harddisk", 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" ), "hdd_unmount", TDEShortcut::null(), TQT_TQOBJECT(this), + TDEAction *force_umount = new TDEAction( i18n( "&Force Unmounting" ), "drive-harddisk", TDEShortcut::null(), TQT_TQOBJECT(this), TQT_SLOT( slotForceUnmountShare() ), actionCollection(), "st_[force]_"+(*it)->canonicalPath() ); force_umount->setGroup( "ShareActions" ); force_umount->setEnabled( Smb4KSettings::useForceUnmount() ); @@ -851,7 +851,7 @@ void Smb4KSystemTray::slotSetupSharesMenu() TQImage over = loader.loadIcon( "button_cancel", TDEIcon::Small, 0, icon_state, 0L, false ).convertToImage(); - TQImage src = loader.loadIcon( "hdd_mount", TDEIcon::Small, + TQImage src = loader.loadIcon( "drive-harddisk-mounted", TDEIcon::Small, 0, icon_state, 0L, false ).convertToImage(); TDEIconEffect e; |