diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-10-20 17:15:10 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2006-10-20 17:15:10 (GMT) |
commit | 887b0710ec60775bb5423f9f72e39838c1aa6b8f (patch) | |
tree | ed69211635d1e0690f6eff1624f179ea48de0d17 /activities | |
parent | ae34c6d5fea226729553e8b266c4b2e76fc7f2c6 (diff) |
Show the title in the entry, needs some love
Diffstat (limited to 'activities')
-rw-r--r-- | activities/web/toolbar.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/activities/web/toolbar.py b/activities/web/toolbar.py index f66b7d9..a214079 100644 --- a/activities/web/toolbar.py +++ b/activities/web/toolbar.py @@ -83,6 +83,7 @@ class Toolbar(gtk.Toolbar): self._embed.connect("notify::progress", self._progress_changed_cb) self._embed.connect("notify::loading", self._loading_changed_cb) self._embed.connect("notify::address", self._address_changed_cb) + self._embed.connect("notify::title", self._title_changed_cb) self._embed.connect("notify::can-go-back", self._can_go_back_changed_cb) self._embed.connect("notify::can-go-forward", @@ -107,7 +108,10 @@ class Toolbar(gtk.Toolbar): self._update_stop_and_reload_icon() def _address_changed_cb(self, embed, spec): - self._entry.set_text(embed.props.address) + self._entry.props.address = embed.props.address + + def _title_changed_cb(self, embed, spec): + self._entry.props.title = embed.props.title def _can_go_back_changed_cb(self, embed, spec): self._back.props.sensitive = embed.props.can_go_back |