aboutsummaryrefslogtreecommitdiffstats
path: root/menu.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2007-03-14 19:30:19 +0000
committerGuy Harris <guy@alum.mit.edu>2007-03-14 19:30:19 +0000
commit082282b6f400e66592006d5a1c38641f2d06cf1e (patch)
treeb0e928dfc37e0d0d13539ee488c669e550936992 /menu.h
parent50bb064108bcab0a2047d2e93d081100e7fef7d2 (diff)
Don't enable "Save As" if you don't have an unsaved live capture file
and there are no formats in which the file can be saved by some means other than copying the raw data; "Save As" isn't a very useful function in that case, and that prevents us from having an empty list of formats in which the file can be saved. svn path=/trunk/; revision=21032
Diffstat (limited to 'menu.h')
-rw-r--r--menu.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/menu.h b/menu.h
index 9664ac02a6..686834addc 100644
--- a/menu.h
+++ b/menu.h
@@ -38,12 +38,9 @@ void add_menu_recent_capture_file(gchar *file);
/* Routines to enable or disable sets of menu items. */
/* Enable or disable menu items based on whether you have a capture file
- you've finished reading. */
-void set_menus_for_capture_file(gboolean);
-
-/* Enable or disable menu items based on whether you have an unsaved
- capture file you've finished reading. */
-void set_menus_for_unsaved_capture_file(gboolean);
+ you've finished reading and, if you have one, whether it's been saved
+ and whether it could be saved except by copying the raw packet data. */
+void set_menus_for_capture_file(capture_file *);
/* Enable or disable menu items based on whether there's a capture in
progress. */