[Sugar-devel] [PATCH 2/2] Fix for displaying "Untitled" when the page has no title #3619

Manuel Quiñones manuq at laptop.org
Mon May 21 12:15:05 EDT 2012


This bug was introduced in commit 04a0de3de3b24ae22bf326de046fb256bdbfeccb .

Signed-off-by: Manuel Quiñones <manuq at laptop.org>
---
 webtoolbar.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/webtoolbar.py b/webtoolbar.py
index e7c66c9..6241eb1 100644
--- a/webtoolbar.py
+++ b/webtoolbar.py
@@ -358,7 +358,7 @@ class PrimaryToolbar(ToolbarBase):
             self.entry._set_title(_('Loading...'))
         elif status == WebKit.LoadStatus.FINISHED:
             if widget.props.title == None:
-                self.entry._set_title(_('Loading...'))
+                self.entry._set_title(_('Untitled'))
         self._set_status(widget.get_load_status())
 
     def __progress_changed_cb(self, widget, param):
-- 
1.7.10.1



More information about the Sugar-devel mailing list