diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-11-06 22:36:43 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-11-06 22:36:43 +0000 |
commit | 5794c3ffea331667c664dd55bb9decedc5ec27f2 (patch) | |
tree | 95f6866cc39c09a6f5d26d2c99031fc5e6e4fd0f /gtk | |
parent | 98f7d1490437539814d9e6379a671dd180b6dfb5 (diff) |
Initialize the interface type value key to fix updating the local interface
list when changing from remote to local interfaces.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26720 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/capture_dlg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/capture_dlg.c b/gtk/capture_dlg.c index abc95b0d70..578d35e210 100644 --- a/gtk/capture_dlg.c +++ b/gtk/capture_dlg.c @@ -1320,6 +1320,8 @@ capture_prep_cb(GtkWidget *w _U_, gpointer d _U_) #ifdef HAVE_PCAP_REMOTE iftype_om = iftype_option_menu_new(global_capture_opts.src_type); + g_object_set_data(G_OBJECT(iftype_om), E_CAP_OM_IFTYPE_VALUE_KEY, + GINT_TO_POINTER(global_capture_opts.src_type)); gtk_tooltips_set_tip(tooltips, iftype_om, "Choose to capture from local or remote interfaces.", NULL); gtk_box_pack_start(GTK_BOX(if_hb), iftype_om, FALSE, FALSE, 0); |