|
|
|
@ -347,7 +347,7 @@ void KomposeTaskWidget::initActions()
|
|
|
|
|
{
|
|
|
|
|
taskActionCollection = new TDEActionCollection( this );
|
|
|
|
|
|
|
|
|
|
actCloseTask = new TDEAction( i18n("Close"), "fileclose", Key_Delete , task,
|
|
|
|
|
actCloseTask = new TDEAction( i18n("Close"), "window-close", Key_Delete , task,
|
|
|
|
|
SLOT( close() ), taskActionCollection, "closeTask" );
|
|
|
|
|
actCloseTask->setToolTip(i18n("Close"));
|
|
|
|
|
actMinimizeRestoreTask = new TDEAction( i18n("Minimize/Restore"), "", TDEShortcut() , this,
|
|
|
|
@ -392,10 +392,11 @@ void KomposeTaskWidget::initMenu()
|
|
|
|
|
*/
|
|
|
|
|
void KomposeTaskWidget::setActionIcons( bool inverse )
|
|
|
|
|
{
|
|
|
|
|
kdDebug() << "setIconSet" << endl;
|
|
|
|
|
if ( ( task->isIconified() && !inverse ) || ( !task->isIconified() && inverse ) )
|
|
|
|
|
actMinimizeRestoreTask->setIconSet( kapp->iconLoader()->loadIconSet ( "up", TDEIcon::NoGroup, 16 ) );
|
|
|
|
|
actMinimizeRestoreTask->setIconSet( kapp->iconLoader()->loadIconSet ( "go-up", TDEIcon::NoGroup, 16 ) );
|
|
|
|
|
else
|
|
|
|
|
actMinimizeRestoreTask->setIconSet( kapp->iconLoader()->loadIconSet ( "bottom", TDEIcon::NoGroup, 16 ) );
|
|
|
|
|
actMinimizeRestoreTask->setIconSet( kapp->iconLoader()->loadIconSet ( "go-bottom", TDEIcon::NoGroup, 16 ) );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void KomposeTaskWidget::slotMinimizeRestoreToggled()
|
|
|
|
|