Index: scribus.cpp
===================================================================
RCS file: /cvs/Scribus/scribus/scribus.cpp,v
retrieving revision 1.228.2.243
diff -r1.228.2.243 scribus.cpp
> 	scrActions.insert("extrasDeHyphenateText", new ScrAction(tr("&Dehyphenate Text"), QKeySequence(), this, "extrasDeHyphenateText"));
1380a1385
> 	connect( scrActions["extrasDeHyphenateText"], SIGNAL(activated()) , this, SLOT(doDeHyphenate()) );
1629a1635,1636
> 	scrMenuMgr->addMenuSeparator("View");
1652c1659,1660
< 	scrMenuMgr->addMenuItem(scrActions["extrasGenerateTableOfContents"], "Extras");
---
> 	scrMenuMgr->addMenuItem(scrActions["extrasDeHyphenateText"], "Extras");
> 	scrMenuMgr->addMenuItem(scrActions["extrasGenerateTableOfContents"], "Extras");        
9943a9958,9970
> void ScribusApp::doDeHyphenate()
> {
> 	if (HaveDoc)
> 	{
> 		if (view->SelItem.count() != 0)
> 		{
> 			PageItem *b = view->SelItem.at(0);
> 			if (doc->docHyphenator->Language != b->Language)
> 				doc->docHyphenator->slotNewDict(b->Language);
> 			doc->docHyphenator->slotDeHyphenate(b);
> 		}
> 	}
> }
Index: scribus.h
===================================================================
RCS file: /cvs/Scribus/scribus/scribus.h,v
retrieving revision 1.60.2.75
diff -r1.60.2.75 scribus.h
261a262
> 	void doDeHyphenate();
Index: hyphenator.cpp
===================================================================
RCS file: /cvs/Scribus/scribus/hyphenator.cpp,v
retrieving revision 1.15.2.6
diff -r1.15.2.6 hyphenator.cpp
204a205
> 
362a364,393
> 
> /*!
> \fn void Hyphenator::slotDeHyphenate(PageItem* it)
>  \brief Remove all Hyphenations from the whole text frame or its selected parts.
>  \date 2005-04-05
>  \author Thomas R. Koll, <tomk32@tomk32.de>, http://verlag.tomk32.de
>  \param it references \see PageItem - text frame.
>  \retval None
>  */
> void Hyphenator::slotDeHyphenate(PageItem* it)
> {
>     uint c;
>     if ( it->HasSel )
>     {
>         for (c=0; c < it->Ptext.count(); c++ ) {
>             if (it->Ptext.at(c)->cselect)
>                 it->Ptext.at(c)->cstyle &= 127;
>         }
>     }
>     else
>     {
>         for (c=0; c < it->Ptext.count(); c++ )
>             it->Ptext.at(c)->cstyle &= 127;
>     }
>         qApp->setOverrideCursor(QCursor(ArrowCursor), true);
>         doc->DoDrawing = true;
>         it->OwnPage->RefreshItem(it);
> 
> }
> 
Index: hyphenator.h
===================================================================
RCS file: /cvs/Scribus/scribus/hyphenator.h,v
retrieving revision 1.6
diff -r1.6 hyphenator.h
49a50
> 	void slotDeHyphenate(PageItem *it);
