[Sugar-devel] [PATCH browse] Adopt to WebKit API for title of the browser widget

Simon Schampijer simon at schampijer.de
Wed Jan 11 11:12:22 EST 2012


On 09/01/12 11:45, Sascha Silbe wrote:
> Excerpts from Simon Schampijer's message of 2012-01-04 14:34:29 +0100:
>
> [webactivity.py]
>> @@ -426,7 +426,7 @@ class WebActivity(activity.Activity):
>>               browser = self._tabbed_view.current_browser
>>
>>               if not self._jobject.metadata['title_set_by_user'] == '1':
>> -                if browser.props.title == '':
>> +                if browser.props.title == None:
>>                       self.metadata['title'] = _('Untitled')
>>                   else:
>>                       self.metadata['title'] = browser.props.title

Done, thanks.

Regards,
    Simon



More information about the Sugar-devel mailing list