diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-06-12 07:04:35 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-06-12 07:04:35 +0000 |
commit | 018a989bbe3ae6d979997030b86d3b86bad87f9f (patch) | |
tree | 66be0956f81eed20d8b54cf568b23d6c37d02789 /prefs.h | |
parent | a4005dff5e8d21a7fe8cfb036d3459e16884d2fe (diff) |
Don't pop up the "Can't open preferences file" dialog until *after*
we've shown the top-level window, because we want it to pop up on *top*
of the top-level window, rather than being hidden behind it.
Put a "strerror()"-based reason *why* the open failed in that dialog.
svn path=/trunk/; revision=308
Diffstat (limited to 'prefs.h')
-rw-r--r-- | prefs.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* prefs.h * Definitions for preference handling routines * - * $Id: prefs.h,v 1.5 1998/11/17 04:29:11 gerald Exp $ + * $Id: prefs.h,v 1.6 1999/06/12 07:04:35 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -49,6 +49,6 @@ typedef struct _e_prefs { #define E_FILT_TE_PTR_KEY "filter_te_ptr" void prefs_cb(GtkWidget *, gpointer); -e_prefs* read_prefs(); +e_prefs* read_prefs(char **); #endif /* prefs.h */ |