@ -131,7 +131,8 @@ void KMMimePartTree::itemRightClicked( TQListViewItem* item,
else {
else {
TQPopupMenu * popup = new TQPopupMenu ;
TQPopupMenu * popup = new TQPopupMenu ;
if ( mCurrentContextMenuItem - > node ( ) - > nodeId ( ) > 2 & &
if ( mCurrentContextMenuItem - > node ( ) - > nodeId ( ) > 2 & &
mCurrentContextMenuItem - > node ( ) - > typeString ( ) ! = " Multipart " ) {
mCurrentContextMenuItem - > node ( ) - > typeString ( ) ! = " Multipart " | |
mCurrentContextMenuItem - > node ( ) - > subTypeString ( ) = = " HTML " ) {
popup - > insertItem ( SmallIcon ( " document-open " ) , i18n ( " to open " , " Open " ) , this , TQ_SLOT ( slotOpen ( ) ) ) ;
popup - > insertItem ( SmallIcon ( " document-open " ) , i18n ( " to open " , " Open " ) , this , TQ_SLOT ( slotOpen ( ) ) ) ;
popup - > insertItem ( i18n ( " Open With... " ) , this , TQ_SLOT ( slotOpenWith ( ) ) ) ;
popup - > insertItem ( i18n ( " Open With... " ) , this , TQ_SLOT ( slotOpenWith ( ) ) ) ;
popup - > insertItem ( i18n ( " to view something " , " View " ) , this , TQ_SLOT ( slotView ( ) ) ) ;
popup - > insertItem ( i18n ( " to view something " , " View " ) , this , TQ_SLOT ( slotView ( ) ) ) ;