Bring previous and next icons into XDG compliance

pull/1/head
Timothy Pearson 10 years ago
parent 698f1e18f5
commit e4a382d8f2

@ -171,8 +171,8 @@ void LightTableBar::contentsMouseReleaseEvent(TQMouseEvent *e)
if (item)
{
popmenu.insertItem(SmallIcon("previous"), i18n("Show on left panel"), 10);
popmenu.insertItem(SmallIcon("next"), i18n("Show on right panel"), 11);
popmenu.insertItem(SmallIcon("go-previous"), i18n("Show on left panel"), 10);
popmenu.insertItem(SmallIcon("go-next"), i18n("Show on right panel"), 11);
popmenu.insertItem(SmallIcon("editimage"), i18n("Edit"), 12);
if (d->navigateByPair)
@ -524,12 +524,12 @@ void LightTableBar::viewportPaintEvent(TQPaintEvent* e)
if (ltItem->isOnLeftPanel())
{
TQPixmap lPix = SmallIcon("previous");
TQPixmap lPix = SmallIcon("go-previous");
bitBlt(&tile, getMargin(), getMargin(), &lPix);
}
if (ltItem->isOnRightPanel())
{
TQPixmap rPix = SmallIcon("next");
TQPixmap rPix = SmallIcon("go-next");
bitBlt(&tile, tile.width() - getMargin() - rPix.width(), getMargin(), &rPix);
}
@ -580,12 +580,12 @@ void LightTableBar::viewportPaintEvent(TQPaintEvent* e)
if (ltItem->isOnLeftPanel())
{
TQPixmap lPix = SmallIcon("previous");
TQPixmap lPix = SmallIcon("go-previous");
bitBlt(&tile, getMargin(), getMargin(), &lPix);
}
if (ltItem->isOnRightPanel())
{
TQPixmap rPix = SmallIcon("next");
TQPixmap rPix = SmallIcon("go-next");
bitBlt(&tile, tile.width() - getMargin() - rPix.width(), getMargin(), &rPix);
}

@ -348,13 +348,13 @@ void LightTableWindow::setupActions()
actionCollection(), "lighttable_last");
d->lastAction->setEnabled(false);
d->setItemLeftAction = new TDEAction(i18n("On Left"), "previous",
d->setItemLeftAction = new TDEAction(i18n("On Left"), "go-previous",
CTRL+Key_L, TQT_TQOBJECT(this), TQT_SLOT(slotSetItemLeft()),
actionCollection(), "lighttable_setitemleft");
d->setItemLeftAction->setEnabled(false);
d->setItemLeftAction->setWhatsThis(i18n("Show item on left panel"));
d->setItemRightAction = new TDEAction(i18n("On Right"), "next",
d->setItemRightAction = new TDEAction(i18n("On Right"), "go-next",
CTRL+Key_R, TQT_TQOBJECT(this), TQT_SLOT(slotSetItemRight()),
actionCollection(), "lighttable_setitemright");
d->setItemRightAction->setEnabled(false);

Loading…
Cancel
Save