Fix accidental rename of TDEAction action names in xine_part

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 10 years ago
parent 2c0af2e6ad
commit 419e900e1a

@ -1264,9 +1264,9 @@ void XinePart::slotFinalize()
TDEAction* action = NULL;
m_embeddedContext = new TDEPopupMenu(0);
m_embeddedContext->insertTitle(instance()->iconLoader()->loadIcon("kaffeine", TDEIcon::Small), i18n("Kaffeine Player"));
actionCollection()->action("media-playback-start")->plug(m_embeddedContext);
actionCollection()->action("media-playback-pause")->plug(m_embeddedContext);
actionCollection()->action("media-playback-stop")->plug(m_embeddedContext);
actionCollection()->action("player_play")->plug(m_embeddedContext);
actionCollection()->action("player_pause")->plug(m_embeddedContext);
actionCollection()->action("player_stop")->plug(m_embeddedContext);
actionCollection()->action("volume_increase")->plug(m_embeddedContext);
actionCollection()->action("volume_decrease")->plug(m_embeddedContext);
actionCollection()->action("audio_mute")->plug(m_embeddedContext);
@ -1330,7 +1330,7 @@ void XinePart::initActions()
new TDEAction(i18n("Toggle Minimal Mode"), 0, 0, this, TQT_SIGNAL(signalToggleMinimalMode()), actionCollection(), "player_minimal_mode");
new TDEAction(i18n("Play"), "media-playback-start", 0, TQT_TQOBJECT(this), TQT_SLOT(slotPlay()), actionCollection(), "player_play");
m_pauseButton = new TDEToggleAction(i18n("Pause"), "media-playback-pause", Key_Space, TQT_TQOBJECT(this), TQT_SLOT(slotTogglePause()), actionCollection(), "media-playback-pause");
m_pauseButton = new TDEToggleAction(i18n("Pause"), "media-playback-pause", Key_Space, TQT_TQOBJECT(this), TQT_SLOT(slotTogglePause()), actionCollection(), "player_pause");
new TDEAction(i18n("&Next"), "media-skip-forward", Key_PageDown, TQT_TQOBJECT(this), TQT_SLOT(slotNext()), actionCollection(), "player_next");
new TDEAction(i18n("&Previous"), "media-skip-backward", Key_PageUp, TQT_TQOBJECT(this), TQT_SLOT(slotPrevious()), actionCollection(), "player_previous");
new TDEAction(i18n("Stop"), "media-playback-stop", Key_Backspace, TQT_TQOBJECT(this), TQT_SLOT(slotStop()), actionCollection(), "player_stop");

Loading…
Cancel
Save