| 13 } |
13 } |
| 14 |
14 |
| 15 def __init__(self, type = 'string', value = None): |
15 def __init__(self, type = 'string', value = None): |
| 16 self.__gobject_init__() |
16 self.__gobject_init__() |
| 17 self.set_property(type, value) |
17 self.set_property(type, value) |
| |
18 |
| |
19 def __del__(self): |
| |
20 pass |
| 18 |
21 |
| 19 def do_set_property(self, pspec, value): |
22 def do_set_property(self, pspec, value): |
| 20 if pspec.name == 'string': |
23 if pspec.name == 'string': |
| 21 self.string = value |
24 self.string = value |
| 22 self.type = gobject.TYPE_STRING |
25 self.type = gobject.TYPE_STRING |