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

pull/1/head
Timothy Pearson 10 years ago
parent 57b59fe2a2
commit 9d5193fdac

@ -63,11 +63,11 @@ ColumnList::ColumnList( TQWidget *parent, const char *name )
TQVBox *buttonbox = new TQVBox( this ); TQVBox *buttonbox = new TQVBox( this );
m_up = new KPushButton( KGuiItem( TQString(), "up" ), buttonbox ); m_up = new KPushButton( KGuiItem( TQString(), "go-up" ), buttonbox );
TQToolTip::add( m_up, i18n( "Move column up" ) ); TQToolTip::add( m_up, i18n( "Move column up" ) );
connect( m_up, TQT_SIGNAL( clicked() ), this, TQT_SLOT( moveUp() ) ); connect( m_up, TQT_SIGNAL( clicked() ), this, TQT_SLOT( moveUp() ) );
m_down = new KPushButton( KGuiItem( TQString(), "down" ), buttonbox ); m_down = new KPushButton( KGuiItem( TQString(), "go-down" ), buttonbox );
TQToolTip::add( m_down, i18n( "Move column down" ) ); TQToolTip::add( m_down, i18n( "Move column down" ) );
connect( m_down, TQT_SIGNAL( clicked() ), this, TQT_SLOT( moveDown() ) ); connect( m_down, TQT_SIGNAL( clicked() ), this, TQT_SLOT( moveDown() ) );

@ -938,7 +938,7 @@ void ContextBrowser::slotContextMenu( const TQString& urlString, const TQPoint&
menu.insertItem( SmallIconSet( Amarok::icon( "add_playlist" ) ), i18n( "&Append to Playlist" ), APPEND ); menu.insertItem( SmallIconSet( Amarok::icon( "add_playlist" ) ), i18n( "&Append to Playlist" ), APPEND );
menu.insertItem( SmallIconSet( Amarok::icon( "queue_track" ) ), i18n( "&Queue Podcast" ), ASNEXT ); menu.insertItem( SmallIconSet( Amarok::icon( "queue_track" ) ), i18n( "&Queue Podcast" ), ASNEXT );
//menu.insertSeparator(); //menu.insertSeparator();
//menu.insertItem( SmallIconSet( "down" ), i18n( "&Download" ), DOWNLOAD ); //menu.insertItem( SmallIconSet( "go-down" ), i18n( "&Download" ), DOWNLOAD );
} }
else if( url.protocol() == "file" || url.protocol() == "artist" || url.protocol() == "album" || url.protocol() == "compilation" || url.protocol() == "albumdisc" || url.protocol() == "compilationdisc") else if( url.protocol() == "file" || url.protocol() == "artist" || url.protocol() == "album" || url.protocol() == "compilation" || url.protocol() == "albumdisc" || url.protocol() == "compilationdisc")
{ {

@ -80,7 +80,7 @@ Amarok::icon( const TQString& name ) //declared in amarok.h
iconMap["remove"] = "editdelete"; iconMap["remove"] = "editdelete";
iconMap["remove_from_playlist"] = "remove"; iconMap["remove_from_playlist"] = "remove";
iconMap["repeat_album"] = "cdrom_unmount"; iconMap["repeat_album"] = "cdrom_unmount";
iconMap["repeat_no"] = "bottom"; iconMap["repeat_no"] = "go-bottom";
iconMap["repeat_playlist"] = "repeat_playlist"; iconMap["repeat_playlist"] = "repeat_playlist";
iconMap["repeat_track"] = "repeat_track"; iconMap["repeat_track"] = "repeat_track";
iconMap["rescan"] = "reload"; iconMap["rescan"] = "reload";

@ -2516,7 +2516,7 @@ PodcastEpisode::updatePixmap()
if( isNew() ) if( isNew() )
setPixmap( 0, SmallIcon( Amarok::icon( "podcast2" ) ) ); setPixmap( 0, SmallIcon( Amarok::icon( "podcast2" ) ) );
else if( m_onDisk ) else if( m_onDisk )
setPixmap( 0, SmallIcon( "down" ) ); setPixmap( 0, SmallIcon( "go-down" ) );
else else
setPixmap( 0, SmallIcon( Amarok::icon( "podcast" ) ) ); setPixmap( 0, SmallIcon( Amarok::icon( "podcast" ) ) );
} }

@ -299,8 +299,8 @@ QueueManager::QueueManager( TQWidget *parent, const char *name )
m_listview = new QueueList( box ); m_listview = new QueueList( box );
TQVBox *buttonBox = new TQVBox( box ); TQVBox *buttonBox = new TQVBox( box );
m_up = new KPushButton( KGuiItem( TQString(), "up" ), buttonBox ); m_up = new KPushButton( KGuiItem( TQString(), "go-up" ), buttonBox );
m_down = new KPushButton( KGuiItem( TQString(), "down" ), buttonBox ); m_down = new KPushButton( KGuiItem( TQString(), "go-down" ), buttonBox );
m_remove = new KPushButton( KGuiItem( TQString(), Amarok::icon( "dequeue_track" ) ), buttonBox ); m_remove = new KPushButton( KGuiItem( TQString(), Amarok::icon( "dequeue_track" ) ), buttonBox );
m_add = new KPushButton( KGuiItem( TQString(), Amarok::icon( "queue_track" ) ), buttonBox ); m_add = new KPushButton( KGuiItem( TQString(), Amarok::icon( "queue_track" ) ), buttonBox );
m_clear = new KPushButton( KGuiItem( TQString(), Amarok::icon( "playlist_clear" ) ), buttonBox ); m_clear = new KPushButton( KGuiItem( TQString(), Amarok::icon( "playlist_clear" ) ), buttonBox );

Loading…
Cancel
Save