Commit Graph

71 Commits

Author SHA1 Message Date
Gerald Combs 04d996b183 Make sure child processes don't create a splash screen. Make the verbs in
the splash screen messages present participles.

svn path=/trunk/; revision=11321
2004-07-06 19:16:04 +00:00
Ulf Lamping 8312578ffd beautify the splash screen a bit (increased border)
svn path=/trunk/; revision=11314
2004-07-05 05:32:04 +00:00
Guy Harris 4349706b7e Declare "about_ethereal()" as "void", as it returns no value, and as GCC
warns that it's implicitly declared as "int" if you don't declare its
return type.

svn path=/trunk/; revision=11313
2004-07-04 20:49:38 +00:00
Ulf Lamping 176646edbf added a splash screen while Ethereal is started
svn path=/trunk/; revision=11310
2004-07-04 12:15:41 +00:00
Guy Harris aacb8bc9b6 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
2004-06-23 01:38:39 +00:00
Guy Harris fe40fa191e Mark some unused variables as such.
svn path=/trunk/; revision=11215
2004-06-22 21:51:55 +00:00
Ulf Lamping eab0af6659 add functionality, to show html files from the local installation
svn path=/trunk/; revision=11213
2004-06-22 16:28:27 +00:00
Ulf Lamping 2a6da1361c Add experimental feature of opening a webbrowser, to show some of the
webpages from http://www.ethereal.com. This functionality is copied from
the Gimp.
Win32 will use ShellExecute to use the system registered webbrowser.
On unix builds, currently the mozilla browser is hardcoded, we still need a
preference setting for this (I will add this later).

svn path=/trunk/; revision=11206
2004-06-21 17:27:35 +00:00
Ulf Lamping 14bf83c340 add details for doxygen, various code cleanups as a result of this
svn path=/trunk/; revision=11052
2004-06-01 17:33:37 +00:00
Ulf Lamping f69aa84636 Don't point to the manpage for the list of authors, it's in the about dialog now
svn path=/trunk/; revision=11014
2004-05-27 16:41:33 +00:00
Ulf Lamping 01c236864a next step to save the size and postition of the dialogs (using a hashtable)
move the get/set window size functionality from main to ui_util,
add some functions to handle windows/dialogs.

changed help and about dialog to suit the current window API

svn path=/trunk/; revision=10974
2004-05-23 17:37:36 +00:00
Guy Harris 9d45162794 GTK+ 1.2[.x] doesn't handle UTF-8 text, so do the "Authors" tab only
with GTK+ 1.3 and later.

If we're doing the "Authors" tab, include "text_page.h" to declare
"text_page_new()".

svn path=/trunk/; revision=10954
2004-05-22 07:32:11 +00:00
Guy Harris c20c6ca58c Include "cvsversion.h" so we report the version correctly for builds
from CVS.

svn path=/trunk/; revision=10952
2004-05-22 04:46:13 +00:00
Guy Harris ade058df51 Declare "text_page_new()" in a "gtk/text_page.h" header, rather than
embedding a declaration in "gtk/about_dlg.c".

Do the Authors page in the About dialog on UN*X as well as on Windows.

svn path=/trunk/; revision=10951
2004-05-22 04:25:57 +00:00
Ulf Lamping f6e2b28e9d WIN32 only: add an "Authors" notebook tab, to show the content of
the AUTHORS-SHORT file

svn path=/trunk/; revision=10946
2004-05-21 17:35:43 +00:00
Ulf Lamping c58455e882 code cleanup (e.g. removed unused function parameters),
added new about page, showing the authors file (but still commented out)

svn path=/trunk/; revision=10942
2004-05-21 08:55:07 +00:00
Guy Harris 466ffc8977 Now that the "About" dialog box's code is in "gtk/about_dlg.c", move the
"create an About dialog" function's declaration to "gtk/about_dlg.h".

svn path=/trunk/; revision=10941
2004-05-21 08:44:45 +00:00
Guy Harris 82051275a7 Include <string.h> to declare "strdup()".
svn path=/trunk/; revision=10937
2004-05-21 00:38:45 +00:00
Ulf Lamping 5719e84c96 beautify the "About Ethereal" page, put plugin list into the dialog
svn path=/trunk/; revision=10930
2004-05-20 18:23:38 +00:00
Ulf Lamping 957ebcf71d separate dir functions from the plugin init,
put this and some other dirs in the about dialog

svn path=/trunk/; revision=10928
2004-05-20 13:48:25 +00:00
Ulf Lamping ad85db871f moved the about dialog from main.c to it's own new about_dlg.c,
added a notebook tab with some directory infos (still incomplete and ugly)
cleaned up #includes in main.c (hoping this didn't break the build on unix)

svn path=/trunk/; revision=10925
2004-05-20 12:01:13 +00:00