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

pull/1/head
Timothy Pearson 10 years ago
parent 58fa1cb480
commit 78767673c4

@ -137,14 +137,14 @@ CDOpener::CDOpener( Config* _config, CDManager* _cdManager, TagEngine* _tagEngin
// add the up and down buttons // add the up and down buttons
pTrackUp = new KPushButton( " ", tagGroupBox, "pTrackUp" ); pTrackUp = new KPushButton( " ", tagGroupBox, "pTrackUp" );
pTrackUp->setPixmap( iconLoader->loadIcon("up",TDEIcon::Toolbar) ); pTrackUp->setPixmap( iconLoader->loadIcon("go-up",TDEIcon::Toolbar) );
pTrackUp->setAutoRepeat( true ); pTrackUp->setAutoRepeat( true );
connect( pTrackUp, TQT_SIGNAL(clicked()), connect( pTrackUp, TQT_SIGNAL(clicked()),
this, TQT_SLOT(trackUpPressed()) this, TQT_SLOT(trackUpPressed())
); );
tagGridLayout->addWidget( pTrackUp, 0, 0 ); tagGridLayout->addWidget( pTrackUp, 0, 0 );
pTrackDown = new KPushButton( " ", tagGroupBox, "pTrackDown" ); pTrackDown = new KPushButton( " ", tagGroupBox, "pTrackDown" );
pTrackDown->setPixmap( iconLoader->loadIcon("down",TDEIcon::Toolbar) ); pTrackDown->setPixmap( iconLoader->loadIcon("go-down",TDEIcon::Toolbar) );
pTrackDown->setAutoRepeat( true ); pTrackDown->setAutoRepeat( true );
connect( pTrackDown, TQT_SIGNAL(clicked()), connect( pTrackDown, TQT_SIGNAL(clicked()),
this, TQT_SLOT(trackDownPressed()) this, TQT_SLOT(trackDownPressed())

@ -45,7 +45,7 @@ ConfigEnvironmentPage::ConfigEnvironmentPage( Config* _config, TQMap<TQString, T
TQVBoxLayout* directoriesMiddleBox = new TQVBoxLayout( directoriesBox ); TQVBoxLayout* directoriesMiddleBox = new TQVBoxLayout( directoriesBox );
pDirUp = new KPushButton( "", parent, "pDirUp" ); pDirUp = new KPushButton( "", parent, "pDirUp" );
pDirUp->setPixmap( iconLoader->loadIcon("up",TDEIcon::Toolbar) ); pDirUp->setPixmap( iconLoader->loadIcon("go-up",TDEIcon::Toolbar) );
pDirUp->setEnabled( false ); pDirUp->setEnabled( false );
TQToolTip::add( pDirUp, i18n("Move selected directory one position up.\nThis effects which backend will be chosen, if there are several versions.") ); TQToolTip::add( pDirUp, i18n("Move selected directory one position up.\nThis effects which backend will be chosen, if there are several versions.") );
directoriesMiddleBox->addWidget( pDirUp ); directoriesMiddleBox->addWidget( pDirUp );
@ -55,7 +55,7 @@ ConfigEnvironmentPage::ConfigEnvironmentPage( Config* _config, TQMap<TQString, T
directoriesMiddleBox->addStretch(); directoriesMiddleBox->addStretch();
pDirDown = new KPushButton( "", parent, "pDirDown" ); pDirDown = new KPushButton( "", parent, "pDirDown" );
pDirDown->setPixmap( iconLoader->loadIcon("down",TDEIcon::Toolbar) ); pDirDown->setPixmap( iconLoader->loadIcon("go-down",TDEIcon::Toolbar) );
pDirDown->setEnabled( false ); pDirDown->setEnabled( false );
TQToolTip::add( pDirDown, i18n("Move selected directory one position down.\nThis effects which backend will be chosen, if there are several versions.") ); TQToolTip::add( pDirDown, i18n("Move selected directory one position down.\nThis effects which backend will be chosen, if there are several versions.") );
directoriesMiddleBox->addWidget( pDirDown ); directoriesMiddleBox->addWidget( pDirDown );

Loading…
Cancel
Save