diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-06-14 02:19:46 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-06-14 02:19:46 +0000 |
commit | e1ec927708771d5349e50fe0d7eab117e2592956 (patch) | |
tree | 5cbed046f37e3e30a3454a65aa5d6f1c0da695d3 /ui/gtk/menus.h | |
parent | d86f0b527121bd6968a5ac6b781bcb277acbea55 (diff) |
Disable some menu items and toolbar items while we're waiting for a
capture to stop, so that we don't try to quit while we're in the middle
of quitting or try to stop or restart the capture we're in the middle of
stopping.
svn path=/trunk/; revision=43250
Diffstat (limited to 'ui/gtk/menus.h')
-rw-r--r-- | ui/gtk/menus.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/gtk/menus.h b/ui/gtk/menus.h index 282c030e33..ec574662ac 100644 --- a/ui/gtk/menus.h +++ b/ui/gtk/menus.h @@ -121,6 +121,11 @@ void set_menus_for_selected_tree_row(capture_file *cf); progress. */ void set_menus_for_capture_in_progress(gboolean); +/* Disable menu items while we're waiting for the capture child to + finish. We disallow quitting until it finishes, and also disallow + stopping or restarting the capture. */ +void set_menus_for_capture_stopping(void); + /* Enable or disable menu items based on whether you have some captured packets. */ void set_menus_for_captured_packets(gboolean); |