Bring previous and next icons into XDG compliance

pull/1/head
Timothy Pearson 10 years ago
parent fd7a824a66
commit 3198b2b889

@ -686,11 +686,11 @@ ContainerFactory::createMenuActions(const TQCString &classname, TQWidget *w, TQP
if(stack->childrenListObject().count() == 4) // == the stack has only one page if(stack->childrenListObject().count() == 4) // == the stack has only one page
menu->setItemEnabled(id, false); menu->setItemEnabled(id, false);
id = menu->insertItem(SmallIconSet("next"), i18n("Jump to Next Page"), this, TQT_SLOT(nextStackPage())); id = menu->insertItem(SmallIconSet("go-next"), i18n("Jump to Next Page"), this, TQT_SLOT(nextStackPage()));
if(!stack->widget(stack->id(stack->visibleWidget())+1)) if(!stack->widget(stack->id(stack->visibleWidget())+1))
menu->setItemEnabled(id, false); menu->setItemEnabled(id, false);
id = menu->insertItem(SmallIconSet("previous"), i18n("Jump to Previous Page"), this, TQT_SLOT(prevStackPage())); id = menu->insertItem(SmallIconSet("go-previous"), i18n("Jump to Previous Page"), this, TQT_SLOT(prevStackPage()));
if(!stack->widget(stack->id(stack->visibleWidget()) -1) ) if(!stack->widget(stack->id(stack->visibleWidget()) -1) )
menu->setItemEnabled(id, false); menu->setItemEnabled(id, false);
return true; return true;

@ -217,14 +217,14 @@ KexiSimplePrintPreviewWindow::KexiSimplePrintPreviewWindow(
m_navToolbar->addConnection(m_idFirst, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(slotFirstClicked())); m_navToolbar->addConnection(m_idFirst, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(slotFirstClicked()));
m_navToolbar->insertSeparator(); m_navToolbar->insertSeparator();
m_idPrevious = m_navToolbar->insertWidget( -1, 0, new KPushButton(BarIconSet("previous"), i18n("Previous Page"), m_navToolbar)); m_idPrevious = m_navToolbar->insertWidget( -1, 0, new KPushButton(BarIconSet("go-previous"), i18n("Previous Page"), m_navToolbar));
m_navToolbar->addConnection(m_idPrevious, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(slotPreviousClicked())); m_navToolbar->addConnection(m_idPrevious, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(slotPreviousClicked()));
m_navToolbar->insertSeparator(); m_navToolbar->insertSeparator();
m_idPageNumberLabel = m_navToolbar->insertWidget( -1, 0, new TQLabel(m_navToolbar)); m_idPageNumberLabel = m_navToolbar->insertWidget( -1, 0, new TQLabel(m_navToolbar));
m_navToolbar->insertSeparator(); m_navToolbar->insertSeparator();
m_idNext = m_navToolbar->insertWidget( -1, 0, new KPushButton(BarIconSet("next"), i18n("Next Page"), m_navToolbar)); m_idNext = m_navToolbar->insertWidget( -1, 0, new KPushButton(BarIconSet("go-next"), i18n("Next Page"), m_navToolbar));
m_navToolbar->addConnection(m_idNext, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(slotNextClicked())); m_navToolbar->addConnection(m_idNext, TQT_SIGNAL(clicked()), TQT_TQOBJECT(this), TQT_SLOT(slotNextClicked()));
m_navToolbar->insertSeparator(); m_navToolbar->insertSeparator();

Loading…
Cancel
Save