Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk webbrowser.h Makefile.am about_dlg.c mai
guy 2004/06/22 20:38:40 CDT
Modified files:
gtk Makefile.am about_dlg.c main.h
webbrowser.c
Added files:
gtk webbrowser.h
Log:
Add "gtk/webbrowser.h" to declare functions from "gtk/webbrowser.c".
Rename "browser_open_program_file()" to "browser_open_data_file()", and
make it open files relative to the application's data directory, as
that's where data files such as HTMLized man pages would be put. (That
happens to be the program directory on Windows, but it's a different
directory on UN*X - and you aren't guaranteed to be able to find the
program directory on UN*X by looking at argv[0] in any case.) Move it
to "gtk/webbrowser.c".
Fix "filename2url()" to put "file://", not just "file:", in front of
pathnames on UN*X.
Revision Changes Path
1.104 +3 -2 ethereal/gtk/Makefile.am
1.17 +8 -38 ethereal/gtk/about_dlg.c
1.56 +1 -3 ethereal/gtk/main.h
1.5 +28 -4 ethereal/gtk/webbrowser.c