Wireshark-bugs: [Wireshark-bugs] [Bug 7761] Have UAT PT_TXTMOD_FILENAME and PT_TXTMOD_DIRECTORYN

Date: Wed, 26 Sep 2012 23:30:02 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7761

Guy Harris <guy@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Allow relative GeoIP        |Have UAT PT_TXTMOD_FILENAME
                   |database paths in Wireshark |and PT_TXTMOD_DIRECTORYNAME
                   |Portable                    |items work like filename
                   |                            |preferences, with a text
                   |                            |field and browse button

--- Comment #1 from Guy Harris <guy@xxxxxxxxxxxx> 2012-09-26 23:30:01 PDT ---
That particular item is implemented as a UAT_FLD_DIRECTORYNAME item in a UAT,
so what needs to change is the UAT code for PT_TXTMOD_DIRECTORYNAME items, so
that it works the same way as prefs_register_filename_preference() do, with a
text field into which you can type a pathname (absolute or relative) and a
"Browse" button to let you fill it in by browsing.

As long as that's being done - which should be done for UI consistency, if for
no other reason - the code for PT_TXTMOD_FILENAME should change in the same
way, so all UI "type in a pathname" places allow you to type in the path name
yourself, as well as finding it by browsing.

See ui/gtk/uat_gui.c.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.