Title says it all.

- Eben
From bda16efa47ea140635cba97d06c743e708fa89f0 Mon Sep 17 00:00:00 2001
From: Eben Eliason <[EMAIL PROTECTED](none)>
Date: Tue, 17 Jun 2008 20:01:26 -0400
Subject: [PATCH] Update page title when a new URI is loaded

---
 webtoolbar.py |    2 ++
 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)
 
-- 
1.5.4.3

_______________________________________________
Sugar mailing list
[email protected]
http://lists.laptop.org/listinfo/sugar

Reply via email to