/* * DO NOT EDIT THIS FILE - it is generated by Glade. */ #ifdef HAVE_CONFIG_H # include #endif #include #include #include #include #include #include #include "callbacks.h" #include "interface.h" #include "support.h" GtkWidget* create_prefs_window (void) { GtkWidget *prefs_window; GtkWidget *tcp_gui; GtkWidget *tcp_frame; GtkWidget *vbox5; GSList *tcp_seqack_group = NULL; GtkWidget *tcp_seqack_none; GtkWidget *tcp_seqack_once; GtkWidget *tcp_seqack_update_single; GtkWidget *tcp_seqack_update_all; prefs_window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_object_set_data (GTK_OBJECT (prefs_window), "prefs_window", prefs_window); gtk_window_set_title (GTK_WINDOW (prefs_window), _("window1")); tcp_gui = gtk_vbox_new (FALSE, 0); gtk_widget_ref (tcp_gui); gtk_object_set_data_full (GTK_OBJECT (prefs_window), "tcp_gui", tcp_gui, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (tcp_gui); gtk_container_add (GTK_CONTAINER (prefs_window), tcp_gui); tcp_frame = gtk_frame_new (_("TCP seq/ack behaviour")); gtk_widget_ref (tcp_frame); gtk_object_set_data_full (GTK_OBJECT (prefs_window), "tcp_frame", tcp_frame, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (tcp_frame); gtk_box_pack_start (GTK_BOX (tcp_gui), tcp_frame, FALSE, TRUE, 0); gtk_container_set_border_width (GTK_CONTAINER (tcp_frame), 5); vbox5 = gtk_vbox_new (FALSE, 0); gtk_widget_ref (vbox5); gtk_object_set_data_full (GTK_OBJECT (prefs_window), "vbox5", vbox5, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (vbox5); gtk_container_add (GTK_CONTAINER (tcp_frame), vbox5); gtk_container_set_border_width (GTK_CONTAINER (vbox5), 5); tcp_seqack_none = gtk_radio_button_new_with_label (tcp_seqack_group, _("Show absolute numbers (fastest)")); tcp_seqack_group = gtk_radio_button_group (GTK_RADIO_BUTTON (tcp_seqack_none)); gtk_widget_ref (tcp_seqack_none); gtk_object_set_data_full (GTK_OBJECT (prefs_window), "tcp_seqack_none", tcp_seqack_none, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (tcp_seqack_none); gtk_box_pack_start (GTK_BOX (vbox5), tcp_seqack_none, FALSE, FALSE, 0); tcp_seqack_once = gtk_radio_button_new_with_label (tcp_seqack_group, _("Show relative numbers, not updated")); tcp_seqack_group = gtk_radio_button_group (GTK_RADIO_BUTTON (tcp_seqack_once)); gtk_widget_ref (tcp_seqack_once); gtk_object_set_data_full (GTK_OBJECT (prefs_window), "tcp_seqack_once", tcp_seqack_once, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (tcp_seqack_once); gtk_box_pack_start (GTK_BOX (vbox5), tcp_seqack_once, FALSE, FALSE, 0); tcp_seqack_update_single = gtk_radio_button_new_with_label (tcp_seqack_group, _("Show relative numbers, update context in current packet")); tcp_seqack_group = gtk_radio_button_group (GTK_RADIO_BUTTON (tcp_seqack_update_single)); gtk_widget_ref (tcp_seqack_update_single); gtk_object_set_data_full (GTK_OBJECT (prefs_window), "tcp_seqack_update_single", tcp_seqack_update_single, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (tcp_seqack_update_single); gtk_box_pack_start (GTK_BOX (vbox5), tcp_seqack_update_single, FALSE, FALSE, 0); tcp_seqack_update_all = gtk_radio_button_new_with_label (tcp_seqack_group, _("Show relative numbers, update context in all packets immediately (slowest)")); tcp_seqack_group = gtk_radio_button_group (GTK_RADIO_BUTTON (tcp_seqack_update_all)); gtk_widget_ref (tcp_seqack_update_all); gtk_object_set_data_full (GTK_OBJECT (prefs_window), "tcp_seqack_update_all", tcp_seqack_update_all, (GtkDestroyNotify) gtk_widget_unref); gtk_widget_show (tcp_seqack_update_all); gtk_box_pack_start (GTK_BOX (vbox5), tcp_seqack_update_all, FALSE, FALSE, 0); return prefs_window; }