[Sugar-devel] Browse feature review for Google Code In - Clear URL bar when Escape is pressed.

Manuel Quiñones manuq at laptop.org
Tue Nov 19 06:57:30 EST 2013


2013/11/18 James Cameron <quozl at laptop.org>:
> Tested-by: James Cameron <quozl at laptop.org>
>
> - it works for me, discarding both the URL text, hiding the X delete
>   icon, and hiding the history search results.
>
> - the single key press solution is acceptable to me, having to press
>   escape twice would be irritating,

I agree.

> Reviewed-by: James Cameron <quozl at laptop.org>
>
> - the patch narrative might have more text in subsequent lines
>   describing the problem and how it is solved, with a reference to the
>   Sugar Labs ticket number.

Yes.  The commit message is important, Sai.  I added it myself for
this time and pushed.

Thanks,

> On Tue, Nov 19, 2013 at 12:53:12AM +0530, Sai Vineet wrote:
>> I've attached the patch. It is a one liner.
>> The mentors in GCI, namely Walter Bender and Gonzalo Odiard, told me that this
>> review may take time, so I should move on the other tasks after unclaiming this
>> task.
>>
>> Please review this fast. Thank you!
>
>> From 79a02c411594eacf4af2d796e6c1acfb7a241317 Mon Sep 17 00:00:00 2001
>> From: Sai Vineet <saivineet89 at gmail.com>
>> Date: Mon, 18 Nov 2013 23:56:40 +0530
>> Subject: [PATCH 1/1] Added clear URL bar with Escape key feature
>>
>> ---
>>  webtoolbar.py |    1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/webtoolbar.py b/webtoolbar.py
>> index b6ad558..2fb98f5 100644
>> --- a/webtoolbar.py
>> +++ b/webtoolbar.py
>> @@ -231,6 +231,7 @@ class WebEntry(iconentry.IconEntry):
>>              return True
>>          elif keyname == 'Escape':
>>              self._search_window.hide()
>> +            self.props.text = ''
>>              return True
>>          return False
>>
>> --
>> 1.7.9.5
>>
>
>> _______________________________________________
>> Sugar-devel mailing list
>> Sugar-devel at lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
> --
> James Cameron
> http://quozl.linux.org.au/
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel



-- 
.. manuq ..


More information about the Sugar-devel mailing list