|
|
|
@ -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;
|
|
|
|
|