Re: [PATCH 2/4] git-gui: clear the goto line input when hiding
- From
Bert Wesarg <bert.wesarg@googlemail.com>
- Date
- Oct 16, 2011, 10:29 UTC
- Message-ID
- <CAKPyHN2RK89nnZS5rv6Q=3_UXZFCovqPVCbn6zDDE+SN_=ZxAQ@mail.gmail.com>
- In-Reply-To
- <87bothkibf.fsf@fox.patthoyts.tk>
Hi,
On Sun, Oct 16, 2011 at 00:20, Pat Thoyts <patthoyts@users.sourceforge.net> wrote:
Show 22 quoted lines
> Bert Wesarg <bert.wesarg@googlemail.com> writes:
>
>>Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
>>---
>> lib/line.tcl | 1 +
>> 1 files changed, 1 insertions(+), 0 deletions(-)
>>
>>diff --git a/lib/line.tcl b/lib/line.tcl
>>index 4913bdd..692485a 100644
>>--- a/lib/line.tcl
>>+++ b/lib/line.tcl
>>@@ -41,6 +41,7 @@ method show {} {
>>
>> method hide {} {
>> if {[visible $this]} {
>>+ $w.ent delete 0 end
>> focus $ctext
>> grid remove $w
>> }
>
> You don't say why this one gets cleared but the search box is not
> cleared.Because thats a different patch series. Which I already send to you. Starting with "[PATCH 1/4] git-gui: handle config booleans without value".
Bert
Show 5 quoted lines
> > -- > Pat Thoyts http://www.patthoyts.tk/ > PGP fingerprint 2C 6E 98 07 2C 59 C8 97 10 CE 11 E6 04 E0 B9 DD >