diff options
author | Simon Schampijer <simon@schampijer.de> | 2011-07-24 16:42:48 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@schampijer.de> | 2011-07-24 16:42:48 (GMT) |
commit | 9d21fd7511af184e2ad45f5f63349e3f1c364a75 (patch) | |
tree | 646aa727cced8e6ee602973d58bc0eafc1ca709c /src/sugar/activity/widgets.py | |
parent | e7430faac9735eca60e33a5fb34f2a5a7cbe238e (diff) |
Update window title when the activity title changes - OLPC #10978
The patch updates the window title when the user changes
the title in the toolbar or in the Journal.
Signed-of-by: Gonzalo Odiard <gonzalo@laptop.org>
Acked-By: Simon Schampijer <simon@laptop.org>
Diffstat (limited to 'src/sugar/activity/widgets.py')
-rw-r--r-- | src/sugar/activity/widgets.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sugar/activity/widgets.py b/src/sugar/activity/widgets.py index e7a47cb..9503d36 100644 --- a/src/sugar/activity/widgets.py +++ b/src/sugar/activity/widgets.py @@ -224,6 +224,8 @@ class TitleEntry(gtk.ToolItem): activity.metadata['title_set_by_user'] = '1' activity.save() + activity.set_title(title) + shared_activity = activity.get_shared_activity() if shared_activity is not None: shared_activity.props.name = title |