[Specto-devel] question
Brought to you by:
kiddokiddo
|
From: wout c. <wou...@sc...> - 2006-03-04 13:17:32
|
Hello, the watch class is starting to work nicely, so we should start thinking about the implementation. for now, the watch is created (and started) when you add it, but i think that the add_watch should write the watch-setting to a config file and the notifier should read the config and start the watch. so what config file reader/writer are we going to use? i also changed some things in the watch class. when you init() the web_watch it is not started. i think this is better so you can still change settings (ex: interval) for the watch and then call start_watch() to start the watch. if we call it in the notifier class, it will also be much easier to show a message in the notifier window. i also moved the notify function to the superclass because every time a message has to be shown, the result is the same, only a different text is used, so it should be very dynamically and know what type, name, ...it has so it can generate a special message for the watch. kiddo: nice job changing the color from the trayicon but i think it should come in notifier.py because it is more a gui thing than a watch thing. i hope everything is clear Wout |