Open fthuin opened 8 years ago
It also seems like the stocks are updated evertyime the list of symbols is edited(even if its only a single character), this makes editing the symbols nearly impossible on a slow connection.
@Crafter6432 Thank you for reporting this issue. However, the official desklet is now hosted by the Linux Mint team at https://github.com/linuxmint/cinnamon-spices-desklets and this desklet is named stocks@fthuin
. Could you please open an issue there?
Sometimes cinnamon freezes because of this desklet when the internet connection is slow.
We should use the library Soup
Use an unique asynchronous session
And link a GET request to a callback method
_onResponse
(for example)For more information, look at the code on Spices which already uses it, but the Object-oriented version stored here doesn't.