[Sugar-devel] [PATCH browse] Show the start of an url if bigger than the entry field

Gonzalo Odiard gonzalo at laptop.org
Tue Aug 30 11:19:45 EDT 2011


Tested, please push.

Gonzalo

On Tue, Aug 30, 2011 at 4:34 AM, Simon Schampijer <simon at schampijer.de>wrote:

> From: Simon Schampijer <simon at laptop.org>
>
> If the url is bigger than the entry field the important
> information is at the beginning of the url. Epiphany or
> Firefox are doing the same thing.
>
> Signed-off-by: Simon Schampijer <simon at laptop.org>
> ---
>  webtoolbar.py |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/webtoolbar.py b/webtoolbar.py
> index e5af3ea..e441b00 100644
> --- a/webtoolbar.py
> +++ b/webtoolbar.py
> @@ -74,7 +74,6 @@ class WebEntry(IconEntry):
>             self.props.text = text
>         finally:
>             self.handler_unblock(self._change_hid)
> -        self.set_position(-1)
>
>     def activate(self, uri):
>         self._set_text(uri)
> --
> 1.7.4.4
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110830/19d1f36d/attachment.html>


More information about the Sugar-devel mailing list