Twas brillig at 10:05:06 11.03.2007 UTC+01 when Yann Le Boulanger did gyre and gimble:
YLB> about your pps: you want systray (and other classes that would use this YLB> event system) to be a child of a new class that will contain some general YLB> code to register / unregister listener ? that sounds a good idea Yes. Probably it's more "pythonic" to create just generic Event class, instances of which act like this: a = Event(...) a.subscribe(handler) a.fire() ... -- JID: [EMAIL PROTECTED] _______________________________________________ Gajim-devel mailing list Gajim-devel@gajim.org https://lists.gajim.org/cgi-bin/listinfo/gajim-devel