On 23 Feb 2005 23:42:17 -0000
[EMAIL PROTECTED] wrote:

> This is an automated notification of a change to the ELinks CVS tree.
> 
> Author: jonas
> Module: elinks
>    Tag: <TRUNK>
>   Date: Wed Feb 23 23:42:17 2005 GMT
> 
> ---- Log message:
> 
> Fix the what-to-do dialog fixed so that the input box does not get focus.
> 

It looks like there are two patches here.

> 
> ---- Files affected:
> 
> elinks/src/document/html:
>    parser.c (1.519 -> 1.520) 
>     
> http://cvsweb.elinks.or.cz/cvsweb.cgi/elinks/src/document/html/parser.c.diff?r1=1.519&r2=1.520&f=u
> elinks/src/sched:
>    download.c (1.342 -> 1.343) 
>     
> http://cvsweb.elinks.or.cz/cvsweb.cgi/elinks/src/sched/download.c.diff?r1=1.342&r2=1.343&f=u
> 
> 
> ---- Diffs:
> 
>  elinks/src/document/html/parser.c |    9 +++++++++
>  elinks/src/sched/download.c       |    8 +++++++-
>  2 files changed, 16 insertions(+), 1 deletion(-)
> 
> 
> Index: elinks/src/document/html/parser.c
> diff -u elinks/src/document/html/parser.c:1.519 
> elinks/src/document/html/parser.c:1.520
> --- elinks/src/document/html/parser.c:1.519   Fri Jan 28 15:56:44 2005
> +++ elinks/src/document/html/parser.c Thu Feb 24 00:42:12 2005
> @@ -950,6 +950,15 @@
>               par_format.leftmargin += nlen + c + 2;
>               par_format.align = ALIGN_LEFT;
>               html_top.next->parattr.list_number = par_format.list_number + 1;
> +
> +             {
> +                     struct html_element *element;
> +
> +                     element = search_html_stack("ol");
> +                     if (element)
> +                             element->parattr.list_number = 
> par_format.list_number + 1;
> +             }
> +
>               par_format.list_number = 0;
>       }
>  


^^^^^^^^ this is not related to patch described ;=)


> Index: elinks/src/sched/download.c
> diff -u elinks/src/sched/download.c:1.342 elinks/src/sched/download.c:1.343
> --- elinks/src/sched/download.c:1.342 Wed Feb  9 10:32:58 2005
> +++ elinks/src/sched/download.c       Thu Feb 24 00:42:12 2005
> @@ -1020,6 +1020,7 @@
>       int widgets = TYPE_QUERY_WIDGETS_COUNT;
>       struct terminal *term = type_query->ses->tab->term;
>       struct memory_list *ml;
> +     struct dialog_data *dlg_data;
>  
>       mem_free_set(&type_query->external_handler, NULL);
>  
> @@ -1144,7 +1145,12 @@
>               return;
>       }
>  
> -     do_dialog(term, dlg, ml);
> +     dlg_data = do_dialog(term, dlg, ml);
> +     /* When there's some username, but no password, automagically jump at
> +      * the password. */
> +     if (dlg_data) {
> +             select_widget_by_id(dlg_data, 2);
> +     }
>  }
>  
>  struct {
> 

--

Zas
_______________________________________________
elinks-dev mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-dev

Reply via email to