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 ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 _______________________________________________ Lxde-list mailing list Lxde-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxde-list