Add an explicit capture_cb_capture_failed indication for the case where
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 13 Mar 2012 08:36:25 +0000 (08:36 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 13 Mar 2012 08:36:25 +0000 (08:36 +0000)
commit95d603e61b172fb5958b5bf2347c8e7be116be9a
treeac7084eb09e9147d110cf7269a4730cd55d89a6b
parent67cc279dec1f82bb37b102ad4c791f51e4a9f21c
Add an explicit capture_cb_capture_failed indication for the case where
we weren't even able to start a capture, rather than delivering a fake
"capture start" indication and relying on a later "capture file closed"
indication - for a capture that was never opened in the first place - to
handle GUI cleanups.

Don't deliver any GUI indications in cf_close() if we didn't have a
capture file open in the first place.

Clear the status bar and welcome header if that indication is delivered.

If we start a capture from the command line with the -k flag, don't show
the captured packet information unless the capture actually starts.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@41521 f5534014-38df-0310-8fa8-9805f1628bb7
capture.c
capture.h
file.c
ui/gtk/main.c
ui/gtk/main_statusbar.c