Ethereal-dev: [Ethereal-dev] Changing the print_file_cb to a generic file selection cb box

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

From: Richard Sharpe <rsharpe@xxxxxxxxxxxxxxxxx>
Date: Thu, 27 Nov 2003 01:20:54 -0800 (PST)
Hi,

I am generalizing Andrew Tridgell's 'save selected data' hack, and I want 
a generic file selection box that can be connected to a button.

I propose changing print_file_cb to:

1. Take a trick from the filter dialog box and set the text entry field as 
a property of the button that invokes the dialog box.

2, Pass a structure to the callback that defines info it needs to display, 
like the Window label, etc.

Does anyone have any objections?

Regards
-----
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org, 
sharpe[at]ethereal.com, http://www.richardsharpe.com