Bring printer1 icon into XDG compliance

(cherry picked from commit bd1f48e21a)
r14.0.x
Timothy Pearson 10 years ago committed by Slávek Banko
parent a49c32d00f
commit fb463a0ced

@ -229,7 +229,7 @@ JournalEntry::JournalEntry( Journal* j, TQWidget *parent ) :
#ifndef KORG_NOPRINTER
mPrintButton = new TQToolButton( this, "printButton" );
mPrintButton->setPixmap( KOGlobals::self()->smallIcon( "printer1" ) );
mPrintButton->setPixmap( KOGlobals::self()->smallIcon( "printer" ) );
mPrintButton->setSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed );
TQToolTip::add( mPrintButton, i18n("Print this journal entry") );
TQWhatsThis::add( mPrintButton, i18n("Opens the print dialog for this journal entry") );

@ -54,7 +54,7 @@ KOEventPopupMenu::KOEventPopupMenu()
mEditOnlyItems.append(
insertItem(i18n("&Edit..."), this, TQT_SLOT( popupEdit() ) ) );
#ifndef KORG_NOPRINTER
insertItem( KOGlobals::self()->smallIcon("printer1"), i18n("&Print..."),
insertItem( KOGlobals::self()->smallIcon("printer"), i18n("&Print..."),
this, TQT_SLOT( print() ) );
#endif
//------------------------------------------------------------------------

@ -456,7 +456,7 @@ KOTodoView::KOTodoView( Calendar *calendar, TQWidget *parent, const char* name)
mItemPopupMenu->insertItem(i18n("&Edit..."), this,
TQT_SLOT (editTodo()), 0, ePopupEdit );
#ifndef KORG_NOPRINTER
mItemPopupMenu->insertItem(KOGlobals::self()->smallIcon("printer1"), i18n("&Print..."), this, TQT_SLOT( printTodo() ) );
mItemPopupMenu->insertItem(KOGlobals::self()->smallIcon("printer"), i18n("&Print..."), this, TQT_SLOT( printTodo() ) );
#endif
mItemPopupMenu->insertItem(KOGlobals::self()->smallIconSet("edit-delete"), i18n("&Delete"), this,
TQT_SLOT (deleteTodo()), 0, ePopupDelete );

Loading…
Cancel
Save