Re: patch to make lyxvc cancel button work

1999-03-24 Thread Jean-Marc Lasgouttes
"Daniel" == Daniel Naber [EMAIL PROTECTED] writes: Daniel Jean-Marc Lasgouttes wrote: You could use the seconf optional argument to give a default label. Then, if we have an empty string, it means that the user deliberately decided to delete the string. Daniel ..or he clicked cancel. The

Re: patch to make lyxvc cancel button work

1999-03-24 Thread Jean-Marc Lasgouttes
> "Daniel" == Daniel Naber <[EMAIL PROTECTED]> writes: Daniel> Jean-Marc Lasgouttes wrote: >> You could use the seconf optional argument to give a default >> label. Then, if we have an empty string, it means that the user >> deliberately decided to delete the string. Daniel> ..or he clicked

Re: patch to make lyxvc cancel button work

1999-03-23 Thread Jean-Marc Lasgouttes
"Daniel" == Daniel Naber [EMAIL PROTECTED] writes: Daniel --ELM922134157-461-0_ Content-Type: text/plain; Daniel charset=US-ASCII Content-Transfer-Encoding: 7bit Daniel Hi, Daniel here's a patch that makes the cancel button of version control Daniel - register work. If the users clicks cancel

Re: patch to make lyxvc cancel button work

1999-03-23 Thread Daniel Naber
Jean-Marc Lasgouttes wrote: This means that is one enters an empty description, it will be considered as cancelled, right? It would be nice to make a difference between empty and cancelled. Well, the user gets the popup warning. From the programming point of view, using an exception would be

Re: patch to make lyxvc cancel button work

1999-03-23 Thread Jean-Marc Lasgouttes
"Daniel" == Daniel Naber [EMAIL PROTECTED] writes: Daniel Jean-Marc Lasgouttes wrote: This means that is one enters an empty description, it will be considered as cancelled, right? It would be nice to make a difference between empty and cancelled. Daniel Well, the user gets the popup

Re: patch to make lyxvc cancel button work

1999-03-23 Thread Daniel Naber
Jean-Marc Lasgouttes wrote: You could use the seconf optional argument to give a default label. Then, if we have an empty string, it means that the user deliberately decided to delete the string. ..or he clicked cancel. The XForms function we use returns null for cancel and an empty string

Re: patch to make lyxvc cancel button work

1999-03-23 Thread Jean-Marc Lasgouttes
> "Daniel" == Daniel Naber <[EMAIL PROTECTED]> writes: Daniel> --ELM922134157-461-0_ Content-Type: text/plain; Daniel> charset=US-ASCII Content-Transfer-Encoding: 7bit Daniel> Hi, Daniel> here's a patch that makes the cancel button of version control Daniel> -> register work. If the users

Re: patch to make lyxvc cancel button work

1999-03-23 Thread Daniel Naber
Jean-Marc Lasgouttes wrote: > This means that is one enters an empty description, it will be > considered as cancelled, right? It would be nice to make a difference > between empty and cancelled. Well, the user gets the popup warning. From the programming point of view, using an exception would

Re: patch to make lyxvc cancel button work

1999-03-23 Thread Jean-Marc Lasgouttes
> "Daniel" == Daniel Naber <[EMAIL PROTECTED]> writes: Daniel> Jean-Marc Lasgouttes wrote: >> This means that is one enters an empty description, it will be >> considered as cancelled, right? It would be nice to make a >> difference between empty and cancelled. Daniel> Well, the user gets

Re: patch to make lyxvc cancel button work

1999-03-23 Thread Daniel Naber
Jean-Marc Lasgouttes wrote: > You could use the seconf optional argument to give a default > label. Then, if we have an empty string, it means that the user > deliberately decided to delete the string. ..or he clicked cancel. The XForms function we use returns null for cancel and an empty