1 |
# Copyright (c) 2001, 2002 by Intevation GmbH |
# Copyright (c) 2001, 2002, 2003 by Intevation GmbH |
2 |
# Authors: |
# Authors: |
3 |
# Bernhard Herzog <[email protected]> |
# Bernhard Herzog <[email protected]> |
4 |
# |
# |
27 |
|
|
28 |
def SetTitle(self, title): |
def SetTitle(self, title): |
29 |
self.title = title |
self.title = title |
|
self.issue(TITLE_CHANGED, self) |
|
30 |
|
|
31 |
|
# FIXME: The TitledObject is almost always used in conjunction |
32 |
|
# with Modifiable (the only exceptions currently are the |
33 |
|
# tables). We should reall derive TitledObject from modifiable |
34 |
|
# (would be good for the tables too) but that's taking things a |
35 |
|
# bit far at the moment. |
36 |
|
if hasattr(self, 'changed'): |
37 |
|
self.changed(TITLE_CHANGED, self) |
38 |
|
|
39 |
class Modifiable(Publisher): |
class Modifiable(Publisher): |
40 |
|
|