Bring up, down, top, and bottom icons into XDG compliance

pull/1/head
Timothy Pearson 10 years ago
parent c075c60b90
commit d775ace9e0

@ -164,7 +164,7 @@ Smb4TDEConfigDialog::Smb4TDEConfigDialog( Smb4KSettings *settings, TQWidget *par
addPage( share_options, i18n( "Shares" ), "hdd_mount" );
addPage( auth_options, i18n( "Authentication" ), "identity" );
addPage( samba_options, i18n( "Samba" ), "samba" );
addPage( rsync_options, i18n( "Synchronization" ), "bottom" );
addPage( rsync_options, i18n( "Synchronization" ), "go-bottom" );
addPage( super_user_options, i18n( "Super User" ), "penguin" );
// Stuff that's not managed by TDEConfig XT is loaded by

@ -109,7 +109,7 @@ void Smb4KPreviewDialog::setupView()
m_toolbar->insertButton( "reload", Reload, true, i18n( "Reload" ), 0 );
m_toolbar->insertButton( "back", Back, false, i18n( "Back" ), 1 );
m_toolbar->insertButton( "forward", Forward, false, i18n( "Forward" ), 2 );
m_toolbar->insertButton( "up", Up, false, i18n( "Up" ), 3 );
m_toolbar->insertButton( "go-up", Up, false, i18n( "Up" ), 3 );
m_combo = new KComboBox( false, m_toolbar, 0 );
m_combo->listBox()->setHScrollBarMode( TQScrollView::Auto );

@ -49,7 +49,7 @@ m_share( share )
{
setWFlags( TQt::WDestructiveClose );
setButtonGuiItem( User1, KGuiItem( i18n( "Synchronize" ), "bottom", i18n( "Synchronize the destination with the source" ) ) );
setButtonGuiItem( User1, KGuiItem( i18n( "Synchronize" ), "go-bottom", i18n( "Synchronize the destination with the source" ) ) );
setButtonGuiItem( User2, KGuiItem( i18n( "Swap Paths" ), TQString(), i18n( "Swap source and destination" ) ) );
TQFrame *frame = plainPage();

@ -116,7 +116,7 @@ void Smb4KSharesIconViewPart::setupActions()
TDEAction *all = new TDEAction( i18n( "U&nmount All" ), "gear", TDEShortcut( CTRL+Key_N ),
this, TQT_SLOT( slotUnmountAllShares() ),
actionCollection(), "unmount_all_action" );
TDEAction *sync = new TDEAction( i18n( "S&ynchronize" ), "bottom", TDEShortcut( CTRL+Key_Y ),
TDEAction *sync = new TDEAction( i18n( "S&ynchronize" ), "go-bottom", TDEShortcut( CTRL+Key_Y ),
this, TQT_SLOT( slotSynchronize() ),
actionCollection(), "synchronize_action" );
TDEAction *konsole = new TDEAction( i18n( "Open with Konso&le" ), "terminal", TDEShortcut( CTRL+Key_L ),

@ -119,7 +119,7 @@ void Smb4KSharesListViewPart::setupActions()
TDEAction *all = new TDEAction( i18n( "U&nmount All" ), "gear", TDEShortcut( CTRL+Key_N ),
this, TQT_SLOT( slotUnmountAllShares() ),
actionCollection(), "unmount_all_action" );
TDEAction *sync = new TDEAction( i18n( "S&ynchronize" ), "bottom", TDEShortcut( CTRL+Key_Y ),
TDEAction *sync = new TDEAction( i18n( "S&ynchronize" ), "go-bottom", TDEShortcut( CTRL+Key_Y ),
this, TQT_SLOT( slotSynchronize() ),
actionCollection(), "synchronize_action" );
TDEAction *konsole = new TDEAction( i18n( "Open with Konso&le" ), "terminal", TDEShortcut( CTRL+Key_L ),

@ -796,7 +796,7 @@ void Smb4KSystemTray::slotSetupSharesMenu()
force_umount->setGroup( "ShareActions" );
force_umount->setEnabled( Smb4KSettings::useForceUnmount() );
#endif
TDEAction *synchronize = new TDEAction( i18n( "S&ynchronize" ), "bottom", TDEShortcut::null(), TQT_TQOBJECT(this),
TDEAction *synchronize = new TDEAction( i18n( "S&ynchronize" ), "go-bottom", TDEShortcut::null(), TQT_TQOBJECT(this),
TQT_SLOT( slotSynchronize() ), actionCollection(), "st_[synchronize]_"+(*it)->canonicalPath() );
synchronize->setGroup( "ShareActions" );
synchronize->setEnabled( !Smb4KSettings::rsync().isEmpty() );

Loading…
Cancel
Save