[Sugar-devel] [PATCH 2/2] Fix for displaying "Untitled" when the page has no title #3619
Simon Schampijer
simon at schampijer.de
Tue May 22 07:29:02 EDT 2012
On 05/21/2012 06:15 PM, Manuel QuiƱones wrote:
> 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):
Works as expected, please push.
Regards,
Simon
More information about the Sugar-devel
mailing list