@ -414,7 +414,7 @@ void KWinDecorationModule::findDecorations()
KDesktopFile desktopFile ( filename ) ;
KDesktopFile desktopFile ( filename ) ;
TQString libName = desktopFile . readEntry ( " X-TDE-Library " ) ;
TQString libName = desktopFile . readEntry ( " X-TDE-Library " ) ;
if ( ! libName . isEmpty ( ) & & libName . startsWith ( " twin3_ " ) )
if ( ! libName . isEmpty ( ) & & libName . startsWith ( " twin_ " ) | | libName . startsWith ( " twin3_ " ) )
{
{
DecorationInfo di ;
DecorationInfo di ;
di . name = desktopFile . readName ( ) ;
di . name = desktopFile . readName ( ) ;
@ -614,7 +614,7 @@ TQString KWinDecorationModule::decorationLibName( const TQString& name )
void KWinDecorationModule : : resetPlugin ( TDEConfig * conf , const TQString & currentDecoName )
void KWinDecorationModule : : resetPlugin ( TDEConfig * conf , const TQString & currentDecoName )
{
{
// Config names are "twin_icewm_config"
// Config names are "twin_icewm_config"
// for "twin 3 _icewm" twin client
// for "twin _icewm" twin client
TQString oldName = styleToConfigLib ( oldLibraryName ) ;
TQString oldName = styleToConfigLib ( oldLibraryName ) ;
@ -938,7 +938,7 @@ void KWinDecorationModule::checkSupportedBorderSizes()
TQString KWinDecorationModule : : styleToConfigLib ( TQString & styleLib )
TQString KWinDecorationModule : : styleToConfigLib ( TQString & styleLib )
{
{
if ( styleLib . startsWith ( " twin 3 _" ) )
if ( styleLib . startsWith ( " twin _" ) )
return " twin_ " + styleLib . mid ( 6 ) + " _config " ;
return " twin_ " + styleLib . mid ( 6 ) + " _config " ;
else
else
return styleLib + " _config " ;
return styleLib + " _config " ;