Remove old cruft

This commit is contained in:
Tomeu Vizoso 2008-12-15 17:48:41 +01:00
parent c537d70be2
commit dddcc14ac7

View File

@ -507,13 +507,7 @@ class Activity(Window, gtk.Container):
share_scope = SCOPE_PRIVATE share_scope = SCOPE_PRIVATE
if handle.object_id: if handle.object_id:
self._jobject = datastore.get(handle.object_id) self._jobject = datastore.get(handle.object_id)
# TODO: Don't create so many objects until we have versioning
# support in the datastore
#self._jobject.object_id = ''
#del self._jobject.metadata['ctime']
del self._jobject.metadata['mtime']
self.set_title(self._jobject.metadata['title']) self.set_title(self._jobject.metadata['title'])
if self._jobject.metadata.has_key('share-scope'): if self._jobject.metadata.has_key('share-scope'):