On Fri, 2 Oct 1998, Martin Deinhofer wrote:

> Hi
> 
> I am changing the samba module for my own requests and so I want to use
> a LIST_BOX. I create it with:
> 
> SSTRING box("xxxxx");
> FIELD_LIST *pt = dia.newf_list("text",box);
> The problem is that the contents of box is not shown in the list box. I
> have to explicitly add it. But when the post_validate method is called,
> as a consequence of a dialog confirmation, it outputs the error "You
> must use an entry of the listbox". I have noticed that post_validate
> compares the contents of box and of the listitems. But when it gets the
> contents of the buffer box from the gui interface with get_gui the
> buffer is empty. I have also tried that in the text interface and there
> it is no problem.
> 
> I have linuxconf 1.11r19 maybe in the later versions it is already
> fixed.

Are you getting the same result with linuxconf-gui. To test this, move
/usr/bin/gnome-linuxconf say to /tmp. Then install linuxconf-gui. Then use
linuxconf and check if the problem is still there. If not, then there is a
bug in gnome-linuxconf. In any case, send me a a diff of the file you are
changing so I can investigate the problem.

(note that you have to move away gnome-linuxconf as it has precedance over
wxxt-linuxconf. Once you test are done, you can put it back)

--------------------------
Jacques Gelinas
[EMAIL PROTECTED]




---
You are currently subscribed to linuxconf as: [[email protected]]
To unsubscribe, forward this message to [EMAIL PROTECTED]

Reply via email to