Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/webtoolbar.py
diff options
context:
space:
mode:
authorManuel Quiñones <manuq@laptop.org>2012-05-04 12:37:36 (GMT)
committer Manuel Quiñones <manuq@laptop.org>2012-05-04 13:37:12 (GMT)
commite831a6e9977af1d7c5bdcb97b9a54f5c038df0a4 (patch)
tree6894628c7c31747ec44bcf5142a3525fbc3c6df7 /webtoolbar.py
parentd8a95a5dba23de482764cc1539eff34efb75d7e8 (diff)
Update the URL entry text when the address is changed SL #3564
The WebEntry is not updating the text when changing the address, now it does the same as when the title is changed. Signed-off-by: Manuel Quiñones <manuq@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org>
Diffstat (limited to 'webtoolbar.py')
-rw-r--r--webtoolbar.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/webtoolbar.py b/webtoolbar.py
index d0f2dc9..e4e647a 100644
--- a/webtoolbar.py
+++ b/webtoolbar.py
@@ -80,6 +80,8 @@ class WebEntry(iconentry.IconEntry):
def _set_address(self, address):
self._address = address
+ if address is not None and self.props.has_focus:
+ self._set_text(address)
address = GObject.property(type=str, setter=_set_address)