twin: fix broken functionality introduced in recent commits

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/399/head
Michele Calgaro 8 months ago
parent 22d8855473
commit 5fde428606
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -150,7 +150,6 @@ extern "C"
{
// What does this do? Why not insert klipper and kxkb, too? --ellis, 2002/01/15
TDEGlobal::locale()->insertCatalogue("twin");
TDEGlobal::locale()->insertCatalogue("twin_lib");
TDEGlobal::locale()->insertCatalogue("kdesktop");
TDEGlobal::locale()->insertCatalogue("kicker");
return new KeyModule(parent, "kcmkeys");

@ -46,7 +46,6 @@ static const TDECmdLineOptions options[] =
int main( int argc, char* argv[] )
{
TDELocale::setMainCatalogue( "twin" ); // the messages are in twin's .po file
TDEGlobal::locale()->insertCatalogue( "twin_lib" );
TDECmdLineArgs::init( argc, argv, "twin_killer_helper", I18N_NOOP( "TWin" ),
I18N_NOOP( "TWin helper utility" ), "1.0" );
TDECmdLineArgs::addCmdLineOptions( options );

@ -310,7 +310,6 @@ KDE_EXPORT int kdemain( int argc, char * argv[] )
}
TDEGlobal::locale()->setMainCatalogue("twin");
TDEGlobal::locale()->insertCatalogue( "twin_lib" );
TDEAboutData aboutData( "twin", I18N_NOOP("TWin"),
version, description, TDEAboutData::License_GPL,
@ -343,6 +342,8 @@ KDE_EXPORT int kdemain( int argc, char * argv[] )
else
appname.sprintf("twin-screen-%d", KWinInternal::screen_number);
TDEGlobal::locale()->insertCatalogue("twin_lib");
DCOPClient* client = a.dcopClient();
client->registerAs( appname.data(), false);
client->setDefaultObject( "KWinInterface" );

@ -45,7 +45,6 @@ static const TDECmdLineOptions options[] =
int main( int argc, char* argv[] )
{
TDELocale::setMainCatalogue( "twin" ); // the messages are in twin's .po file
TDEGlobal::locale()->insertCatalogue( "twin_lib" );
TDECmdLineArgs::init( argc, argv, "twin_resume_helper", I18N_NOOP( "TWin" ),
I18N_NOOP( "TWin helper utility" ), "1.0" );
TDECmdLineArgs::addCmdLineOptions( options );

Loading…
Cancel
Save