aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-10-06 17:29:53 +0000
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>2004-10-06 17:29:53 +0000
commit8808dbd8e134864a36f820ee20518c9c993f89f7 (patch)
tree7fcd1d1714ecb82b5c20ef81b4df199e5656fbaa /gtk
parentf6e10bca3d555d511d8427e0357bc74281c40d6a (diff)
Fix a bug reported by Keith A French: No "OK" button for Capture Filter dialog.
Probably caused by the changes of the capture filter drop down box in the capture prepare dialog. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12222 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk')
-rw-r--r--gtk/capture_dlg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/capture_dlg.c b/gtk/capture_dlg.c
index 369e16ca07..d44fd191ae 100644
--- a/gtk/capture_dlg.c
+++ b/gtk/capture_dlg.c
@@ -757,6 +757,8 @@ capture_prep(void)
gtk_container_border_width(GTK_CONTAINER(right_vb), 0);
gtk_box_pack_start(GTK_BOX(main_hb), right_vb, FALSE, FALSE, 0);
+ /* let an eventually capture filters dialog know the text entry to fill in */
+ OBJECT_SET_DATA(filter_bt, E_FILT_TE_PTR_KEY, filter_te);
/* Capture file-related options frame */
file_fr = gtk_frame_new("Capture File(s)");