aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/capture_if_dlg.c
diff options
context:
space:
mode:
authorMichael Tüxen <tuexen@fh-muenster.de>2011-07-21 11:28:16 +0000
committerMichael Tüxen <tuexen@fh-muenster.de>2011-07-21 11:28:16 +0000
commitdcac95be11a41a83438129b1c7a62019721c9879 (patch)
tree0200edd24e2c56f0fa692fb857c5a063f6d45e1f /gtk/capture_if_dlg.c
parent99e0c43d35cb178d60ae74066b364ad2f98df50b (diff)
Add some temporary protection code to support the current capture
options dialog box. It will be removed as soon as the capture options dialog box supports multiple interfaces. Received from Irene Ruengeler. svn path=/trunk/; revision=38140
Diffstat (limited to 'gtk/capture_if_dlg.c')
-rw-r--r--gtk/capture_if_dlg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/capture_if_dlg.c b/gtk/capture_if_dlg.c
index 067f27460d..6c41c243ec 100644
--- a/gtk/capture_if_dlg.c
+++ b/gtk/capture_if_dlg.c
@@ -67,6 +67,7 @@
#include "gtk/capture_globals.h"
#include "gtk/network_icons.h"
#include "gtk/main_welcome.h"
+#include "gtk/menus.h"
#ifdef HAVE_AIRPCAP
#include "../image/toolbar/capture_airpcap_16.xpm"
@@ -248,6 +249,7 @@ store_selected(GtkWidget *choose_bt, gpointer if_data)
#endif
gtk_widget_set_sensitive(options_bt, !gbl_capture_in_progress && (currently_selected <= 1));
}
+ set_menus_for_number_of_ifaces();
}
/* start capture button was pressed */