From 18f922b46ea4a679f2ac208ca447e0cf14b8fd67 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 12 Jun 1999 09:10:20 +0000 Subject: Improve the alert boxes put up for file open/read/write errors. (Some influence came from http://developer.apple.com/techpubs/mac/HIGuidelines/HIGuidelines-232.html which has a section on dialog box and alert box messages. However, we're largely dealing with technoids, not with The Rest Of Us, so I didn't go as far as one perhaps should.) Unfortunately, it looks like it's a bit more work to arrange that, if you give a bad file name to the "-r" flag, the dialog box pop up only *after* the main window pops up - it has the annoying habit of popping up *before* the main window pops up, and sometimes getting *obscured* by it, when I do that. The removal of the dialog box stuff from "load_cap_file()" was intended to facilitate that work. (It might also be nice if, when an open from the "File/Open" menu item fails, we keep the file selection box open, and give the user a chance to correct typos, choose another file name, etc.) svn path=/trunk/; revision=310 --- util.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'util.h') diff --git a/util.h b/util.h index 69dffb8266..88f1ab9d44 100644 --- a/util.h +++ b/util.h @@ -1,7 +1,7 @@ /* util.h * Utility definitions * - * $Id: util.h,v 1.9 1999/04/06 16:24:50 gram Exp $ + * $Id: util.h,v 1.10 1999/06/12 09:10:20 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -46,12 +46,6 @@ void simple_dialog(gint, gint *, gchar *, ...) void simple_dialog(gint, gint *, gchar *, ...); #endif -/* Moves or copies a file. Returns 0 on failure, 1 on success */ -int file_mv(char *from, char *to); - -/* Copies a file. Returns 0 on failure, 1 on success */ -int file_cp(char *from, char *to); - #ifdef __cplusplus } #endif /* __cplusplus */ -- cgit v1.2.1