Bring mail_forward, mail_new, mail_replyall, mail_reply, mail_send, player_pause, player_play, player_stop, player_rew, player_fwd, player_start, player_end, rotate_ccw, rotate_cw, window_fullscreen, window_nofullscreen, window_new, viewmagfit, viewmag+, viewmag1, and viewmag- icons into XDG compliance

pull/1/head
Timothy Pearson 10 years ago
parent 1d8cca2f33
commit b6fea6f80f

@ -87,24 +87,24 @@ void Plugin_JPEGLossless::setup( TQWidget* widget )
"rotate_exif");
m_action_RotateImage = new TDEActionMenu(i18n("Rotate"),
"rotate_cw",
"object-rotate-right",
actionCollection(),
"jpeglossless_rotate");
m_action_RotateImage->insert( new TDEAction(i18n("Left"),
"rotate_ccw",
"object-rotate-left",
SHIFT+CTRL+Key_Left,
this,
TQT_SLOT(slotRotate()),
actionCollection(),
"rotate_ccw") );
"object-rotate-left") );
m_action_RotateImage->insert( new TDEAction(i18n("Right"),
"rotate_cw",
"object-rotate-right",
SHIFT+CTRL+Key_Right,
this,
TQT_SLOT(slotRotate()),
actionCollection(),
"rotate_cw") );
"object-rotate-right") );
m_action_FlipImage = new TDEActionMenu(i18n("Flip"),
"flip",
@ -233,13 +233,13 @@ void Plugin_JPEGLossless::slotRotate()
TQString title;
bool proceed = false;
if (from == "rotate_cw")
if (from == "object-rotate-right")
{
m_thread->rotate(items, KIPIJPEGLossLessPlugin::Rot90);
title = i18n("right (clockwise)");
proceed = true;
}
else if (from == "rotate_ccw")
else if (from == "object-rotate-left")
{
m_thread->rotate(items, KIPIJPEGLossLessPlugin::Rot270);
title = i18n("left (counterclockwise)");

@ -74,7 +74,7 @@ void Plugin_SendImages::setup( TQWidget* widget )
KIPI::Plugin::setup( widget );
m_action_sendimages = new TDEAction (i18n("Email Images..."), // Menu message.
"mail_new", // Menu icon.
"mail-message-new", // Menu icon.
0,
this,
TQT_SLOT(slotActivate()),

@ -52,7 +52,7 @@ ToolBar::ToolBar(TQWidget* parent)
m_playBtn->setToggleButton(true);
TDEIconLoader* loader = kapp->iconLoader();
m_playBtn->setIconSet(loader->loadIcon("player_pause", TDEIcon::NoGroup, 22));
m_playBtn->setIconSet(loader->loadIcon("media-playback-pause", TDEIcon::NoGroup, 22));
m_prevBtn->setIconSet(loader->loadIcon("back", TDEIcon::NoGroup, 22));
m_nextBtn->setIconSet(loader->loadIcon("forward", TDEIcon::NoGroup, 22));
m_stopBtn->setIconSet(loader->loadIcon("process-stop", TDEIcon::NoGroup, 22));
@ -130,14 +130,14 @@ void ToolBar::slotPlayBtnToggled()
{
m_canHide = false;
TDEIconLoader* loader = kapp->iconLoader();
m_playBtn->setIconSet(loader->loadIcon("player_play", TDEIcon::NoGroup, 22));
m_playBtn->setIconSet(loader->loadIcon("media-playback-start", TDEIcon::NoGroup, 22));
emit signalPause();
}
else
{
m_canHide = true;
TDEIconLoader* loader = kapp->iconLoader();
m_playBtn->setIconSet(loader->loadIcon("player_pause", TDEIcon::NoGroup, 22));
m_playBtn->setIconSet(loader->loadIcon("media-playback-pause", TDEIcon::NoGroup, 22));
emit signalPlay();
}
}
@ -149,7 +149,7 @@ void ToolBar::slotNexPrevClicked()
m_playBtn->setOn(true);
m_canHide = false;
TDEIconLoader* loader = kapp->iconLoader();
m_playBtn->setIconSet(loader->loadIcon("player_play", TDEIcon::NoGroup, 22));
m_playBtn->setIconSet(loader->loadIcon("media-playback-start", TDEIcon::NoGroup, 22));
emit signalPause();
}
}

Loading…
Cancel
Save