aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/file_dlg.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-12-06 02:21:26 +0000
committerGuy Harris <guy@alum.mit.edu>2001-12-06 02:21:26 +0000
commita936b559df71128d0d40de3647248464aa60b534 (patch)
treeaa6e4bbf6f48a2c8e17b6ddb772bf9b1b925fe85 /gtk/file_dlg.h
parentfcdb3784172eb64a6a7c6a79793b6541f54c7189 (diff)
Make the "Save only marked frames" button in the "Save As..." dialog box
sensitive only if there *are* marked frames. svn path=/trunk/; revision=4341
Diffstat (limited to 'gtk/file_dlg.h')
-rw-r--r--gtk/file_dlg.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/gtk/file_dlg.h b/gtk/file_dlg.h
index 6076d1f28b..b7e5a7084a 100644
--- a/gtk/file_dlg.h
+++ b/gtk/file_dlg.h
@@ -1,12 +1,11 @@
/* file_dlg.h
* Definitions for dialog boxes for handling files
*
- * $Id: file_dlg.h,v 1.1 2000/02/12 06:58:41 guy Exp $
+ * $Id: file_dlg.h,v 1.2 2001/12/06 02:21:26 guy Exp $
*
* Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@zing.org>
+ * By Gerald Combs <gerald@ethereal.com>
* Copyright 1998 Gerald Combs
- *
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -32,4 +31,12 @@ void file_save_as_cmd_cb(GtkWidget *, gpointer);
void file_close_cmd_cb(GtkWidget *, gpointer);
void file_reload_cmd_cb(GtkWidget *, gpointer);
+/*
+ * Set the "Save only marked packets" toggle button as appropriate for
+ * the current output file type and count of marked packets.
+ * Called when the "Save As..." dialog box is created and when either
+ * the file type or the marked count changes.
+ */
+void file_set_save_marked_sensitive(void);
+
#endif /* file_dlg.h */