Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/webtoolbar.py
diff options
context:
space:
mode:
authorEben Eliason <eben@sugar.(none)>2008-06-18 00:01:26 (GMT)
committer Eben Eliason <eben@sugar.(none)>2008-06-18 00:01:26 (GMT)
commitbda16efa47ea140635cba97d06c743e708fa89f0 (patch)
treef9f7acbdf6d8b2d592a36d34d63c6f02c11d2adb /webtoolbar.py
parent5ff37788bdce825d8ce10f8c81828bb9e36c52ce (diff)
Update page title when a new URI is loaded
Diffstat (limited to 'webtoolbar.py')
-rwxr-xr-xwebtoolbar.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/webtoolbar.py b/webtoolbar.py
index b79cfc6..3cfbba3 100755
--- a/webtoolbar.py
+++ b/webtoolbar.py
@@ -79,6 +79,8 @@ class WebEntry(AddressEntry):
def _set_title(self, title):
self._title = title
+ if title is not None and not self.props.has_focus:
+ self._set_text(title)
title = gobject.property(type=str, setter=_set_title)