[BUG 52147] Localized KWeather doesn't work

David Faure dfaure at klaralvdalens-datakonsult.se
Fri Jan 24 21:13:28 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 24 January 2003 19:47, Christian Loose wrote:
> Hi everbody!
> 
> KWeather doesn't work when it's run under a non-us locale like de. Now I found 
> out that klauncher doesn't start the DCOP weather service. KWeather tells 
> klauncher to start the service by using 
> KApplication::startServiceByName("KWeatherService",....);

This is why you shouldn't use startServiceByName, but startServiceByDesktopName,
to which you can pass kweatherservice.desktop or whatever the name of the
desktop file is (which isn't supposed to change).

- -- 
David Faure -- faure at kde.org, dfaure at klaralvdalens-datakonsult.se
Klarälvdalens Datakonsult AB, Platform-independent software solutions
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KOffice-1.2.1 is available - http://download.kde.org/stable/koffice-1.2.1/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+Max572KcVAmwbhARAsP6AJ9MX6m4Ho3vWktgBqGUXrpZcmavhwCffAvl
NDidkXf0klSKuIkIMWP0OIA=
=IbPx
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list