diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-06-23 01:38:39 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-06-23 01:38:39 +0000 |
commit | aacb8bc9b64f0ee93a865445f39429bfb90475e8 (patch) | |
tree | 41a3cbc1a0804036bf87b13d832dce33a54ae543 /gtk/main.h | |
parent | fe40fa191e2e2b9e6c4dff2ac52bf5db541a9c46 (diff) | |
download | wireshark-aacb8bc9b64f0ee93a865445f39429bfb90475e8.tar.gz |
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.
svn path=/trunk/; revision=11216
Diffstat (limited to 'gtk/main.h')
-rw-r--r-- | gtk/main.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/main.h b/gtk/main.h index 1940fd7eea..205a5fcd8d 100644 --- a/gtk/main.h +++ b/gtk/main.h @@ -1,7 +1,7 @@ /* main.h * Global defines, etc. * - * $Id: main.h,v 1.55 2004/06/21 20:12:45 tuexen Exp $ + * $Id: main.h,v 1.56 2004/06/23 01:38:39 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -250,6 +250,4 @@ extern void packets_bar_update(void); extern void create_console(void); #endif -extern gboolean browser_open_url (const gchar *url); - #endif /* __MAIN_H__ */ |