Correct title in the activity frame SL #3042

Signed-off-by: Simon Schampijer <simon@laptop.org>
Reviewed-by: Gonzalo Odiard <gonzalo@laptop.org>
Tested-by: Gonzalo Odiard <gonzalo@laptop.org>
This commit is contained in:
Simon Schampijer 2011-08-18 17:17:00 +02:00
parent e022aa8e4a
commit c1f9d716ab

View File

@ -343,6 +343,7 @@ class Activity(Window, gtk.Container):
self._jobject.metadata['title'] = self.shared_activity.props.name self._jobject.metadata['title'] = self.shared_activity.props.name
self._jobject.metadata['icon-color'] = \ self._jobject.metadata['icon-color'] = \
self.shared_activity.props.color self.shared_activity.props.color
else:
self.set_title(self._jobject.metadata['title']) self.set_title(self._jobject.metadata['title'])
self._jobject.metadata.connect('updated', self._jobject.metadata.connect('updated',
self.__jobject_updated_cb) self.__jobject_updated_cb)