Ethereal-dev: Re: [Ethereal-dev] Problem with interface name in Ethereal on Windows 2000

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxx>
Date: Mon, 10 Mar 2003 11:24:41 -0800
On Sat, Mar 08, 2003 at 05:37:52PM -0800, Dinesh G Dutt wrote:
> On Linux, I can enter any random string I want in the interface name in the
> "Capture" dialog box. However, on Win2k systems, while I can enter any
> interface name, any name not in the existing interface list is not accepted. By
> accepted, I don't mean if I hit "OK" there is no problem, but that the text
> itself is not accepted by the GUI.

Presumably your Linux version is built with, and running with, GTK+
1.2[.x], in which a GtkCombo, by default, is not in value-in-list mode
- i.e., it is, by default, *not* in a mode where the only values allowed
in the combo box are values in the list.

The Windows version is built with, and runs with, some GTK+ 1.3[.x]
version, which *might* default to value-in-list mode.  (Unfortunately,
there's no GTK+ documentation for that 1.3[.x] version - it's halfway
between 1.2.10 and 2.0, but neither the 1.2[.x] nor the 2.x
documentation online say what the default is.)

I'll check in a change to forcibly set value-in-string mode to FALSE,
and see whether that helps (at least with the GTK+ version I have on the
Windows partition on my machine at home).