From: Piotr S. <pio...@gm...> - 2013-01-17 01:02:35
|
Henry, > I think the forecast retrieval always needs to be done either in a > separate thread or with non-blocking calls (if that works -- I don't > know how network programming really works, maybe there is another way). > We don't want the panel to freeze for a few seconds just because the > network is slow! Yes, you're right. Once the initial forecast is retrieved, g_timeout_seconds used to get it periodically (which, to the best of my understanding, uses a separate thread). So I'll have to revisit the initial forecast retrieval. Thanks for bringing that up. > > If you want to simulate a crappy internet connection, try the attached > script and the parameters therein. :) Beautiful! Thank you! > Also, I don't see anything blocking the inclusion of this into lxpanel. > libxml2 is, if I see correctly, already an LXDE dependency (via gvfs -> > libfm -> pcmanfm). Very happy to hear that. I'll try to get the updates (along with Daniele's warnings) in by the end of the weekend. Cheers! Piotr |