diff options
author | gregory guy <gregory-tde@laposte.net> | 2020-06-30 16:50:28 +0200 |
---|---|---|
committer | gregory guy <gregory-tde@laposte.net> | 2020-06-30 17:31:58 +0200 |
commit | 9977caccb33207b4dabc61485239d865f8aca639 (patch) | |
tree | a620402c8142a6fdeacaf189c337d4c3b261d9f9 | |
parent | 0aea32338c4e10924b6fa391bf25ecd55cbb0341 (diff) | |
download | codeine-9977caccb33207b4dabc61485239d865f8aca639.tar.gz codeine-9977caccb33207b4dabc61485239d865f8aca639.zip |
Bring back missing icons, thanks to Slávek Banko for the tip.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
-rw-r--r-- | src/app/actions.cpp | 2 | ||||
-rw-r--r-- | src/app/mainWindow.cpp | 2 | ||||
-rw-r--r-- | src/app/stateChange.cpp | 2 | ||||
-rw-r--r-- | src/part/part.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/app/actions.cpp b/src/app/actions.cpp index 65e1f39..57117f5 100644 --- a/src/app/actions.cpp +++ b/src/app/actions.cpp @@ -12,7 +12,7 @@ namespace Codeine { PlayAction::PlayAction( TQObject *receiver, const char *slot, TDEActionCollection *ac ) - : TDEToggleAction( i18n("Play"), "player_play", TQt::Key_Space, receiver, slot, ac, "play" ) + : TDEToggleAction( i18n("Play"), "media-playback-start", TQt::Key_Space, receiver, slot, ac, "play" ) {} void diff --git a/src/app/mainWindow.cpp b/src/app/mainWindow.cpp index af41a4f..f3daa02 100644 --- a/src/app/mainWindow.cpp +++ b/src/app/mainWindow.cpp @@ -251,7 +251,7 @@ MainWindow::setupActions() connect( new FullScreenAction( this, ac ), SIGNAL(toggled( bool )), SLOT(fullScreenToggled( bool )) ); new PlayAction( this, SLOT(play()), ac ); - new TDEAction( i18n("Stop"), "player_stop", Key_S, engine(), SLOT(stop()), ac, "stop" ); + new TDEAction( i18n("Stop"), "media-playback-stop", Key_S, engine(), SLOT(stop()), ac, "stop" ); new TDEToggleAction( i18n("Record"), "player_record", CTRL + Key_R, engine(), SLOT(record()), ac, "record" ); diff --git a/src/app/stateChange.cpp b/src/app/stateChange.cpp index 15846f5..db07231 100644 --- a/src/app/stateChange.cpp +++ b/src/app/stateChange.cpp @@ -87,7 +87,7 @@ MainWindow::engineStateChanged( Engine::State state ) // KDE has a shit special action for this, but it stupidly changes // the toolbar icon too. // TODO do this from the playAction since we do it in context menu too - const KGuiItem item = (state == Playing) ? KGuiItem( i18n("&Pause"), "player_pause" ) : KGuiItem( i18n("&Play"), "player_play" ); + const KGuiItem item = (state == Playing) ? KGuiItem( i18n("&Pause"), "media-playback-pause" ) : KGuiItem( i18n("&Play"), "media-playback-start" ); file_menu->changeItem( play_id, item.iconSet(), item.text() ); file_menu->setItemChecked( play_id, false ); diff --git a/src/part/part.cpp b/src/part/part.cpp index 6490e67..37d888e 100644 --- a/src/part/part.cpp +++ b/src/part/part.cpp @@ -35,7 +35,7 @@ namespace Codeine //FIXME this will terminate the host, eg Konqueror
Debug::fatal() << "Couldn't init xine!\n";
- TDEAction *play = new TDEToggleAction( i18n("Play"), "player_play", TQt::Key_Space, videoWindow(), SLOT(togglePlay()), actionCollection(), "play" );
+ TDEAction *play = new TDEToggleAction( i18n("Play"), "media-playback-start", TQt::Key_Space, videoWindow(), SLOT(togglePlay()), actionCollection(), "play" );
TDEAction *mute = new TDEToggleAction( i18n("Mute"), "player_mute", TQt::Key_M, videoWindow(), SLOT(toggleMute()), actionCollection(), "mute" );
TDEToolBar *toolBar = new MouseOverToolBar( widget() );
play->plug( toolBar );
|