From a936b559df71128d0d40de3647248464aa60b534 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 6 Dec 2001 02:21:26 +0000 Subject: 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 --- gtk/file_dlg.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'gtk/file_dlg.h') 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 + * By Gerald Combs * 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 */ -- cgit v1.2.3