diff options
author | Ken Moore <ken@ixsystems.com> | 2017-04-14 07:26:49 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-04-14 07:26:49 -0400 |
commit | 7bb4a12fa1dd452d7924a0874a4f22c09869cb71 (patch) | |
tree | dd3cb78dd6e38ffe6539194add783171c7ced479 /src-qt5/desktop-utils | |
parent | Update the pkg-plist to account for all the new icons from the light/dark the... (diff) | |
download | lumina-7bb4a12fa1dd452d7924a0874a4f22c09869cb71.tar.gz lumina-7bb4a12fa1dd452d7924a0874a4f22c09869cb71.tar.bz2 lumina-7bb4a12fa1dd452d7924a0874a4f22c09869cb71.zip |
Another few changes to icons and such for Lumina.
Diffstat (limited to 'src-qt5/desktop-utils')
-rw-r--r-- | src-qt5/desktop-utils/lumina-mediaplayer/lumina-mediaplayer.desktop | 2 | ||||
-rw-r--r-- | src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp | 23 |
2 files changed, 14 insertions, 11 deletions
diff --git a/src-qt5/desktop-utils/lumina-mediaplayer/lumina-mediaplayer.desktop b/src-qt5/desktop-utils/lumina-mediaplayer/lumina-mediaplayer.desktop index 180f4562..1fec4a3a 100644 --- a/src-qt5/desktop-utils/lumina-mediaplayer/lumina-mediaplayer.desktop +++ b/src-qt5/desktop-utils/lumina-mediaplayer/lumina-mediaplayer.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Exec=lumina-mediaplayer %f -Icon=audio-x-generic +Icon=media-playlist-audio Terminal=false Type=Application StartupNotify=true diff --git a/src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp b/src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp index c11dce6c..b4a83a66 100644 --- a/src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp +++ b/src-qt5/desktop-utils/lumina-mediaplayer/mainUI.cpp @@ -122,7 +122,8 @@ void MainUI::setupConnections(){ } void MainUI::setupIcons(){ - ui->radio_local->setIcon( LXDG::findIcon("audio-x-generic","") ); + ui->radio_local->setIcon( LXDG::findIcon("media-playlist-audio","audio-x-generic") ); + ui->radio_pandora->setIcon( LXDG::findIcon("pandora",":pandora") ); ui->actionClose->setIcon( LXDG::findIcon("application-close","dialog-close") ); ui->actionPlay->setIcon( LXDG::findIcon("media-playback-start","") ); @@ -135,14 +136,14 @@ void MainUI::setupIcons(){ //Pandora Pages ui->push_pandora_apply->setIcon( LXDG::findIcon("dialog-ok-apply","dialog-ok") ); - ui->tool_pandora_ban->setIcon( LXDG::findIcon("dialog-cancel","") ); - ui->tool_pandora_info->setIcon( LXDG::findIcon("help-about","") ); + ui->tool_pandora_ban->setIcon( LXDG::findIcon("dialog-warning","") ); + ui->tool_pandora_info->setIcon( LXDG::findIcon("dialog-information","") ); ui->tool_pandora_love->setIcon( LXDG::findIcon("emblem-favorite","") ); - ui->tool_pandora_tired->setIcon( LXDG::findIcon("flag-yellow","flag") ); + ui->tool_pandora_tired->setIcon( LXDG::findIcon("media-playlist-close","flag") ); ui->tool_pandora_stationrm->setIcon( LXDG::findIcon("list-remove","") ); ui->tool_pandora_stationadd->setIcon( LXDG::findIcon("list-add","") ); - ui->action_pandora_newstation_artist->setIcon( LXDG::findIcon("list-add-user","") ); - ui->action_pandora_newstation_song->setIcon( LXDG::findIcon("audio-x-generic","") ); + ui->action_pandora_newstation_artist->setIcon( LXDG::findIcon("preferences-desktop-user","") ); + ui->action_pandora_newstation_song->setIcon( LXDG::findIcon("bookmark-audio","media-playlist-audio") ); } @@ -180,13 +181,15 @@ void MainUI::PlayerTypeChanged(bool active){ if(ui->radio_pandora->isChecked()){ ui->stackedWidget->setCurrentWidget(ui->page_pandora); PandoraStateChanged(PANDORA->currentState()); - SYSTRAY->setIcon( QIcon(":pandora") ); - this->setWindowIcon( QIcon(":pandora") ); + QIcon ico = LXDG::findIcon("pandora",":pandora"); + SYSTRAY->setIcon( ico ); + this->setWindowIcon( ico ); this->setWindowTitle( tr("Pandora Radio") ); }else{ ui->stackedWidget->setCurrentWidget(ui->page_local); - SYSTRAY->setIcon( LXDG::findIcon("audio-x-generic","") ); - this->setWindowIcon( LXDG::findIcon("audio-x-generic","") ); + QIcon ico = LXDG::findIcon("media-playlist-audio","audio-x-generic"); + SYSTRAY->setIcon( ico ); + this->setWindowIcon( ico ); this->setWindowTitle( tr("Media Player") ); } //Now close down any currently running streams as needed |