Unable to launch applications using panel.
Brian J. Tarricone
bjt23 at cornell.edu
Wed Aug 24 10:04:49 CEST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Yves-Alexis Perez wrote:
> Biju Chacko wrote:
>
>>Looks like the weather plugin. We really should deprecate it, since it's
>>known to be buggy and is unmaintained.
>
> But largely used, isnt it ? Is another weather plugin being developped
> at the moment ?
Yes... part of the problem is that some people (such as myself) have no
problem with it, while others have loads of trouble. And, as you so
pointedly ask, no, I don't believe another one is being developed at
present.
Really, I think all the weather data parsing code in the plugin is in
good condition; it's just that all the networking is done in one thread,
and it doesn't fail gracefully. Someone (not me!) should move all the
networking code into another thread, which should then use a GAsyncQueue
to talk to the main thread, which can do the GUI work (the panel can't
handle multithreaded apps talking to the GUI in anything but the main
thread). See the mailwatch plugin[1] for a (hopefully good) example of
how to do this.
-b
[1] http://svn.foo-projects.org/svn/xfce/xfce4-mailwatch-plugin/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDDCog6XyW6VEeAnsRAv72AKDW2Aoxf2EwX5nfML7u7cKX5+afGACg24sL
HR2poMHLhfPeL6h9EMqMAL8=
=jOPP
-----END PGP SIGNATURE-----
More information about the Xfce
mailing list