2 # vi: set syntax=python : */
6 # Ugly hack to stop wierd chars appearing...
8 xml
.dom
.html
.HTML_CHARACTER_ENTITIES
= {}
11 from os
.path
import dirname
13 app_dir
= dirname(sys
.argv
[0])
16 from Window
import Window
22 tl_windows
= tl_windows
+ 1
24 def tl_unref(w
= None):
26 tl_windows
= tl_windows
- 1
34 del sys
.argv
[1:] # GnomeCanvas can't cope with -
37 win
.connect('destroy', tl_unref
)
42 win
.connect('destroy', tl_unref
)
48 #profile.run('mainloop()')