/*
 * DO NOT EDIT THIS FILE - it is generated by Glade.
 */

#ifdef HAVE_CONFIG_H
#  include <config.h>
#endif

#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string.h>

#include <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>

#include "callbacks.h"
#include "interface-glade.h"
#include "support-glade.h"

GtkWidget*
create_main_window (void)
{
  GtkWidget *main_window;
  GtkWidget *vbox12;
  GtkWidget *handlebox1;
  GtkWidget *menubar1;
  guint tmp_key;
  GtkWidget *menu_file;
  GtkWidget *menu_file_menu;
  GtkAccelGroup *menu_file_menu_accels;
  GtkWidget *connections;
  GtkWidget *menu_net_stats;
  GtkWidget *menu_net_hostcache;
  GtkWidget *separator22;
  GtkWidget *menu_prefs;
  GtkWidget *separator23;
  GtkWidget *quit;
  GtkWidget *menu_uploads;
  GtkWidget *menu_uploads_menu;
  GtkAccelGroup *menu_uploads_menu_accels;
  GtkWidget *menu_uploads_transfers;
  GtkWidget *menu_uploads_history;
  GtkWidget *menu_downloads;
  GtkWidget *menu_downloads_menu;
  GtkAccelGroup *menu_downloads_menu_accels;
  GtkWidget *menu_downloads_files;
  GtkWidget *menu_downloads_active;
  GtkWidget *menu_downloads_queue;
  GtkWidget *menu_search;
  GtkWidget *menu_search_menu;
  GtkAccelGroup *menu_search_menu_accels;
  GtkWidget *menu_search_results;
  GtkWidget *menu_search_monitor;
  GtkWidget *menu_search_stats;
  GtkWidget *menu_view;
  GtkWidget *menu_view_menu;
  GtkAccelGroup *menu_view_menu_accels;
  GtkWidget *menu_searchbar_visible;
  GtkWidget *menu_toolbar_visible;
  GtkWidget *menu_sidebar_visible;
  GtkWidget *menu_navtree_visible;
  GtkWidget *separator24;
  GtkWidget *menu_downloads_visible;
  GtkWidget *menu_uploads_visible;
  GtkWidget *menu_connections_visible;
  GtkWidget *menu_http_stats_visible;
  GtkWidget *menu_http_stats_visible_menu;
  GtkAccelGroup *menu_http_stats_visible_menu_accels;
  GtkWidget *menu_bws_in_visible;
  GtkWidget *menu_bws_out_visible;
  GtkWidget *menu_gnet_stats_visible;
  GtkWidget *menu_gnet_stats_visible_menu;
  GtkAccelGroup *menu_gnet_stats_visible_menu_accels;
  GtkWidget *menu_bws_gin_visible;
  GtkWidget *menu_bws_gout_visible;
  GtkWidget *menu_gnet_leaf_stats_visible;
  GtkWidget *menu_gnet_leaf_stats_visible_menu;
  GtkAccelGroup *menu_gnet_leaf_stats_visible_menu_accels;
  GtkWidget *menu_autohide_bws_gleaf;
  GtkWidget *menu_bws_glin_visible;
  GtkWidget *menu_bws_glout_visible;
  GtkWidget *separator20;
  GtkWidget *menu_statusbar_visible;
  GtkWidget *menu_help;
  GtkWidget *menu_help_menu;
  GtkAccelGroup *menu_help_menu_accels;
  GtkWidget *menu_about;
  GtkWidget *menu_faq;
  GtkWidget *viewport_searchbar;
  GtkWidget *hbox179;
  GtkWidget *button_search;
  GtkWidget *combo_search;
  GtkWidget *entry_search;
  GtkWidget *option_menu_search_lifetime;
  GtkWidget *option_menu_search_lifetime_menu;
  GtkWidget *optionmenu_search_filter;
  GtkWidget *optionmenu_search_filter_menu;
  guint button_search_passive_key;
  GtkWidget *button_search_passive;
  GtkWidget *hpaned_main;
  GtkWidget *vbox_sidebar;
  GtkWidget *vpaned_sidebar;
  GtkWidget *viewport_menu;
  GtkWidget *sw_menu;
  GtkWidget *ctree_menu;
  GtkWidget *label117;
  GtkWidget *vbox46;
  GtkWidget *notebook_sidebar;
  GtkWidget *viewport49;
  GtkWidget *sw_searches;
  GtkWidget *clist_search;
  GtkWidget *label185;
  GtkWidget *label186;
  GtkWidget *label187;
  GtkWidget *label_nb_sb_1;
  GtkWidget *label189;
  GtkWidget *label188;
  GtkWidget *vbox31;
  GtkWidget *frame75;
  GtkWidget *vbox108;
  GtkWidget *hbox_stats_connections;
  GtkWidget *eventbox6;
  GtkWidget *pixmap1;
  GtkWidget *progressbar_connections;
  GtkWidget *hbox_stats_uploads;
  GtkWidget *eventbox7;
  GtkWidget *pixmap2;
  GtkWidget *progressbar_uploads;
  GtkWidget *hbox_stats_downloads;
  GtkWidget *eventbox8;
  GtkWidget *pixmap3;
  GtkWidget *progressbar_downloads;
  GtkWidget *frame_bws_inout;
  GtkWidget *vbox42;
  GtkWidget *progressbar_bws_in;
  GtkWidget *progressbar_bws_out;
  GtkWidget *frame_bws_ginout;
  GtkWidget *vbox43;
  GtkWidget *progressbar_bws_gin;
  GtkWidget *progressbar_bws_gout;
  GtkWidget *frame_bws_glinout;
  GtkWidget *vbox107;
  GtkWidget *progressbar_bws_lin;
  GtkWidget *progressbar_bws_lout;
  GtkWidget *vbox_right;
  GtkWidget *notebook_main;
  GtkWidget *vbox_gnutellanet;
  GtkWidget *frame5;
  GtkWidget *vbox17;
  GtkWidget *sw_nodes;
  GtkWidget *clist_nodes;
  GtkWidget *label13;
  GtkWidget *label14b;
  GtkWidget *label14;
  GtkWidget *label_node_vendor;
  GtkWidget *label_node_proto;
  GtkWidget *label_node_connected;
  GtkWidget *label_node_uptime;
  GtkWidget *label_node_info;
  GtkWidget *hbox2;
  GtkWidget *button_nodes_disconnect;
  GtkWidget *button_nodes_add;
  GtkWidget *entry_host;
  GtkWidget *hbox200;
  GtkWidget *hbox_normal_or_ultrapeer;
  GtkWidget *label530;
  GtkWidget *label531;
  GtkObject *spinbutton_up_connections_adj;
  GtkWidget *spinbutton_up_connections;
  GtkObject *spinbutton_max_connections_adj;
  GtkWidget *spinbutton_max_connections;
  GtkWidget *hbox_leaf;
  GtkWidget *label532;
  GtkObject *spinbutton_max_ultrapeers_adj;
  GtkWidget *spinbutton_max_ultrapeers;
  GtkWidget *table91;
  GtkObject *spinbutton_quick_connect_pool_size_adj;
  GtkWidget *spinbutton_quick_connect_pool_size;
  GtkWidget *label680;
  GtkWidget *vbox83;
  GtkWidget *frame127;
  GtkWidget *table37;
  GtkWidget *label12;
  GtkWidget *label11;
  GtkWidget *entry_count_downloads;
  GtkWidget *entry_count_uploads;
  GtkWidget *label455;
  GtkWidget *label456;
  GtkWidget *entry_ul_byte_count;
  GtkWidget *entry_dl_byte_count;
  GtkWidget *frame_expert_node_info;
  GtkWidget *vbox34;
  GtkWidget *table6;
  GtkWidget *label150;
  GtkWidget *entry_nodes_guid;
  GtkWidget *label151;
  GtkWidget *entry_nodes_ip;
  GtkWidget *label_gnutellanet;
  GtkWidget *vbox93;
  GtkWidget *frame69;
  GtkWidget *vbox97;
  GtkWidget *notebook3;
  GtkWidget *hbox2106;
  GtkWidget *scrolledwindow31;
  GtkWidget *clist_gnet_stats_general;
  GtkWidget *label403;
  GtkWidget *label404;
  GtkWidget *scrolledwindow26;
  GtkWidget *clist_gnet_stats_drop_reasons;
  GtkWidget *label375;
  GtkWidget *label376;
  GtkWidget *label436;
  GtkWidget *scrolledwindow38;
  GtkWidget *clist_gnet_stats_fc_ttl;
  GtkWidget *label412;
  GtkWidget *label413;
  GtkWidget *label414;
  GtkWidget *label415;
  GtkWidget *label416;
  GtkWidget *label417;
  GtkWidget *label418;
  GtkWidget *label419;
  GtkWidget *label420;
  GtkWidget *label421;
  GtkWidget *label437;
  GtkWidget *scrolledwindow39;
  GtkWidget *clist_gnet_stats_fc_hops;
  GtkWidget *label423;
  GtkWidget *label424;
  GtkWidget *label425;
  GtkWidget *label426;
  GtkWidget *label427;
  GtkWidget *label428;
  GtkWidget *label429;
  GtkWidget *label430;
  GtkWidget *label431;
  GtkWidget *label432;
  GtkWidget *label438;
  GtkWidget *scrolledwindow29;
  GtkWidget *clist_gnet_stats_msg;
  GtkWidget *label391;
  GtkWidget *label392;
  GtkWidget *label393;
  GtkWidget *label394;
  GtkWidget *label395;
  GtkWidget *label500;
  GtkWidget *label501;
  GtkWidget *label396;
  GtkWidget *label776;
  GtkWidget *scrolledwindow45;
  GtkWidget *clist_gnet_stats_horizon;
  GtkWidget *label663;
  GtkWidget *label664;
  GtkWidget *label665;
  GtkWidget *label666;
  GtkWidget *label777;
  GtkWidget *table93;
  guint checkbutton_gnet_stats_bytes_key;
  GtkWidget *checkbutton_gnet_stats_bytes;
  guint checkbutton_gnet_stats_perc_key;
  GtkWidget *checkbutton_gnet_stats_perc;
  guint checkbutton_gnet_stats_with_headers_key;
  GtkWidget *checkbutton_gnet_stats_with_headers;
  guint label697_key;
  GtkWidget *label697;
  guint label390_key;
  GtkWidget *label390;
  GtkWidget *option_menu_gnet_stats_source;
  GtkWidget *option_menu_gnet_stats_source_menu;
  GtkWidget *option_menu_gnet_stats_type;
  GtkWidget *option_menu_gnet_stats_type_menu;
  GtkWidget *label_gnet_stats;
  GtkWidget *vbox127;
  GtkWidget *frame128;
  GtkWidget *scrolledwindow46;
  GtkWidget *clist_hcache;
  GtkWidget *label674;
  GtkWidget *label675;
  GtkWidget *label676;
  GtkWidget *label677;
  GtkWidget *frame126;
  GtkWidget *hbox201;
  GtkWidget *vbox128;
  GtkWidget *progressbar_hosts_in_catcher;
  GtkWidget *hbox202;
  GtkWidget *label95;
  GtkObject *spinbutton_max_hosts_cached_adj;
  GtkWidget *spinbutton_max_hosts_cached;
  GtkWidget *button_host_catcher_clear;
  GtkWidget *vbox129;
  GtkWidget *progressbar_hosts_in_ultra_catcher;
  GtkWidget *hbox203;
  GtkWidget *label453;
  GtkObject *spinbutton_max_ultra_hosts_cached_adj;
  GtkWidget *spinbutton_max_ultra_hosts_cached;
  GtkWidget *button_ultra_catcher_clear;
  GtkWidget *vbox130;
  GtkWidget *progressbar_hosts_in_bad_catcher;
  GtkWidget *hbox204;
  GtkWidget *label678;
  GtkObject *spinbutton_max_bad_hosts_cached_adj;
  GtkWidget *spinbutton_max_bad_hosts_cached;
  GtkWidget *button_hostcache_clear_bad;
  GtkWidget *label_hostcache;
  GtkWidget *frame6;
  GtkWidget *vbox18;
  GtkWidget *scrolledwindow9;
  GtkWidget *clist_uploads;
  GtkWidget *label72;
  GtkWidget *label73;
  GtkWidget *label73b;
  GtkWidget *label_size_range;
  GtkWidget *label_up_range;
  GtkWidget *label_up_user_agent;
  GtkWidget *label_up_progress;
  GtkWidget *label74;
  GtkWidget *hbox72;
  GtkWidget *button_uploads_kill;
  GtkWidget *button_uploads_clear_completed;
  GtkWidget *table61;
  GtkWidget *checkbutton_uploads_auto_clear_complete;
  GtkWidget *checkbutton_uploads_auto_clear_failed;
  GtkWidget *label81;
  GtkWidget *label130;
  GtkObject *spinbutton_max_uploads_adj;
  GtkWidget *spinbutton_max_uploads;
  GtkObject *spinbutton_max_uploads_ip_adj;
  GtkWidget *spinbutton_max_uploads_ip;
  GtkWidget *label_uploads;
  GtkWidget *frame7;
  GtkWidget *vbox19;
  GtkWidget *ul_stats_scrolledwindow;
  GtkWidget *clist_ul_stats;
  GtkWidget *ul_stats_label2;
  GtkWidget *ul_stats_size;
  GtkWidget *ul_stats_label3;
  GtkWidget *ul_stats_label4;
  GtkWidget *ul_stats_label5;
  GtkWidget *ul_stats_hbox2;
  GtkWidget *button_ul_stats_clear_deleted;
  GtkWidget *button_ul_stats_clear_all;
  GtkWidget *viewport50;
  GtkWidget *hbox2101;
  GtkWidget *label745;
  GtkWidget *label_html_browse_served;
  GtkWidget *label781;
  GtkWidget *label_html_browse_count;
  GtkWidget *label747;
  GtkWidget *label_qhits_browse_served;
  GtkWidget *label779;
  GtkWidget *label_qhits_browse_count;
  GtkWidget *label749;
  GtkWidget *label_ul_stats;
  GtkWidget *frame76;
  GtkWidget *vbox109;
  GtkWidget *vpaned_fileinfo;
  GtkWidget *viewport48;
  GtkWidget *vbox111;
  GtkWidget *scrolledwindow42;
  GtkWidget *clist_fileinfo;
  GtkWidget *label_file;
  GtkWidget *label_size;
  GtkWidget *label_done;
  GtkWidget *label_uploaded;
  GtkWidget *label_sources;
  GtkWidget *label_status;
  GtkWidget *hbox196;
  GtkWidget *label656;
  GtkWidget *entry_fi_regex;
  GtkWidget *checkbutton_fi_regex_case;
  GtkWidget *notebook5;
  GtkWidget *vbox110;
  GtkWidget *table59;
  GtkWidget *label658;
  GtkWidget *label524;
  GtkWidget *label523;
  GtkWidget *viewport44;
  GtkWidget *hbox198;
  GtkWidget *drawingarea_fi_progress;
  GtkWidget *frame119;
  GtkWidget *entry_fi_size;
  GtkWidget *frame118;
  GtkWidget *entry_fi_filename;
  GtkWidget *label786;
  GtkWidget *frame146;
  GtkWidget *entry_fi_sha1;
  GtkWidget *label790;
  GtkWidget *scrolledwindow44;
  GtkWidget *clist_fi_aliases;
  GtkWidget *label526;
  GtkWidget *label791;
  GtkWidget *hbox189;
  GtkWidget *alignment32;
  GtkWidget *table85;
  GtkWidget *checkbutton_downloads_never_push;
  GtkWidget *checkbutton_download_delete_aborted;
  GtkWidget *checkbutton_dl_remove_file_on_mismatch;
  GtkWidget *label639a;
  GtkObject *spinbutton_mismatch_backout_adj;
  GtkWidget *spinbutton_mismatch_backout;
  GtkWidget *label80;
  GtkWidget *label64;
  GtkWidget *label787;
  GtkObject *spinbutton_max_host_downloads_adj;
  GtkWidget *spinbutton_max_host_downloads;
  GtkObject *spinbutton_max_downloads_adj;
  GtkWidget *spinbutton_max_downloads;
  GtkObject *spinbutton_max_file_downloads_adj;
  GtkWidget *spinbutton_max_file_downloads;
  GtkWidget *vbox124;
  GtkWidget *frame_dl_autoclear;
  GtkWidget *vbox118;
  GtkWidget *checkbutton_dl_clear_complete;
  GtkWidget *checkbutton_dl_clear_failed;
  GtkWidget *checkbutton_dl_clear_unavailable;
  GtkWidget *label792;
  GtkWidget *hbox197a;
  guint button_fi_purge_key;
  GtkWidget *button_fi_purge;
  GtkWidget *viewport43;
  GtkWidget *hbox197;
  GtkWidget *hbox175;
  GtkWidget *label_fi_all_count;
  GtkWidget *label542;
  GtkWidget *label_fi_with_source_count;
  GtkWidget *label545;
  GtkWidget *label_downloads;
  GtkWidget *frame3;
  GtkWidget *vbox16;
  GtkWidget *scrolledwindow6;
  GtkWidget *ctree_downloads;
  GtkWidget *label639;
  GtkWidget *label640;
  GtkWidget *label640b;
  GtkWidget *label641;
  GtkWidget *label642;
  GtkWidget *label643;
  GtkWidget *label643xx;
  GtkWidget *label644;
  GtkWidget *hbox41;
  guint button_downloads_abort_key;
  GtkWidget *button_downloads_abort;
  guint button_downloads_resume_key;
  GtkWidget *button_downloads_resume;
  GtkWidget *button_downloads_clear_stopped;
  GtkWidget *scrolledwindow41;
  GtkWidget *viewport11;
  GtkWidget *hbox195;
  GtkWidget *hbox166;
  GtkWidget *label_dl_running_count;
  GtkWidget *label533;
  GtkWidget *label_dl_active_count;
  GtkWidget *label537;
  GtkWidget *label_dl_aqueued_count;
  GtkWidget *label536;
  GtkWidget *label734;
  GtkWidget *frame4;
  GtkWidget *vbox15;
  GtkWidget *scrolledwindow13;
  GtkWidget *ctree_downloads_queue;
  GtkWidget *label645;
  GtkWidget *label646;
  GtkWidget *label646b;
  GtkWidget *label647;
  GtkWidget *label648;
  GtkWidget *label649;
  GtkWidget *hbox86;
  GtkWidget *label149;
  GtkWidget *entry_queue_regex;
  GtkWidget *checkbutton_queue_regex_case;
  GtkWidget *hbox162;
  GtkWidget *togglebutton_queue_freeze;
  GtkWidget *hbox159;
  GtkWidget *vbox_queue_freeze;
  GtkWidget *label406;
  GtkWidget *vbox_queue_thaw;
  GtkWidget *label407;
  GtkWidget *scrolledwindow40;
  GtkWidget *viewport10;
  GtkWidget *hbox194;
  GtkWidget *hbox169;
  GtkWidget *label_dl_queue_count;
  GtkWidget *label507;
  GtkWidget *label_dl_qalive_count;
  GtkWidget *label506;
  GtkWidget *label_dl_pqueued_count;
  GtkWidget *label539;
  GtkWidget *label735;
  GtkWidget *frame89;
  GtkWidget *vbox76;
  GtkWidget *hbox146;
  GtkWidget *label651;
  GtkWidget *option_menu_searches;
  GtkWidget *option_menu_searches_menu;
  GtkWidget *viewport51;
  GtkWidget *hbox2107;
  GtkWidget *label_search_expiry;
  guint button_search_close_key;
  GtkWidget *button_search_close;
  GtkWidget *vpaned_results;
  GtkWidget *notebook_search_results;
  GtkWidget *empty_notebook_page;
  GtkWidget *label190;
  GtkWidget *scrolledwindow47;
  GtkWidget *viewport45;
  GtkWidget *notebook4;
  GtkWidget *scrolledwindow495;
  GtkWidget *clist_search_details;
  GtkWidget *label794;
  GtkWidget *label795;
  GtkWidget *label788;
  GtkWidget *scrolledwindow491;
  GtkWidget *text_result_info_xml;
  GtkWidget *label793;
  GtkWidget *table68;
  guint checkbutton_search_hide_downloaded_key;
  GtkWidget *checkbutton_search_hide_downloaded;
  guint checkbutton_search_remove_downloaded_key;
  GtkWidget *checkbutton_search_remove_downloaded;
  GtkWidget *checkbutton_browse_copied_to_passive;
  GtkWidget *checkbutton_search_discard_hashless;
  GtkWidget *checkbutton_search_discard_spam;
  GtkWidget *checkbutton_search_sort_casesense;
  GtkWidget *alignment38;
  GtkObject *spinbutton_browse_host_max_results_adj;
  GtkWidget *spinbutton_browse_host_max_results;
  GtkWidget *alignment27;
  GtkObject *spinbutton_search_max_results_adj;
  GtkWidget *spinbutton_search_max_results;
  GtkWidget *label460;
  GtkWidget *label783;
  GtkWidget *label541;
  GtkWidget *option_menu_search_handle_ignored_files;
  GtkWidget *option_menu_search_handle_ignored_files_menu;
  GtkWidget *label789;
  GtkWidget *hbox147;
  GtkWidget *viewport_fix_flashing_1;
  GtkWidget *hbox167;
  GtkWidget *label_items_found;
  GtkWidget *hbox_expert_search_timeout;
  guint search_reissue_label_key;
  GtkWidget *search_reissue_label;
  GtkObject *spinbutton_search_reissue_timeout_adj;
  GtkWidget *spinbutton_search_reissue_timeout;
  GtkWidget *label_search_reissue;
  GtkWidget *hbox181;
  guint button_search_download_key;
  GtkWidget *button_search_download;
  guint button_search_filter_key;
  GtkWidget *button_search_filter;
  GtkWidget *label294;
  GtkWidget *button_search_expand_all;
  GtkWidget *button_search_collapse_all;
  GtkWidget *label650;
  GtkWidget *button_search_clear;
  GtkWidget *label_search;
  GtkWidget *vbox_monitor;
  GtkWidget *hbox45;
  guint checkbutton_monitor_enable_key;
  GtkWidget *checkbutton_monitor_enable;
  GtkWidget *label75;
  guint label68_key;
  GtkWidget *label68;
  GtkObject *spinbutton_monitor_items_adj;
  GtkWidget *spinbutton_monitor_items;
  GtkWidget *label69;
  GtkWidget *scrolledwindow8;
  GtkWidget *clist_monitor;
  GtkWidget *label70;
  GtkWidget *label_monitor;
  GtkWidget *vbox12a;
  GtkWidget *hbox67;
  GtkWidget *option_menu_search_stats_type;
  GtkWidget *option_menu_search_stats_type_menu;
  guint label101_key;
  GtkWidget *label101;
  GtkObject *spinbutton_search_stats_update_interval_adj;
  GtkWidget *spinbutton_search_stats_update_interval;
  GtkWidget *label102;
  GtkObject *spinbutton_search_stats_delcoef_adj;
  GtkWidget *spinbutton_search_stats_delcoef;
  GtkWidget *scrolledwindow10;
  GtkWidget *clist_search_stats;
  GtkWidget *label105;
  GtkWidget *label106;
  GtkWidget *label107;
  GtkWidget *alignment1;
  GtkWidget *hbox66;
  guint button_search_stats_reset_key;
  GtkWidget *button_search_stats_reset;
  GtkWidget *viewport_fix_flashing_2;
  GtkWidget *hbox168;
  GtkWidget *label_search_stats_count;
  GtkWidget *label_search_stats;
  GtkWidget *hbox_statusbar;
  GtkWidget *togglebutton_online;
  GtkWidget *hbox145;
  GtkWidget *image_online;
  GtkWidget *eventbox5;
  GtkWidget *image_offline;
  GtkWidget *alignment25;
  GtkWidget *statusbar;
  GtkWidget *frame129;
  GtkWidget *label_statusbar_horizon_node_count;
  GtkWidget *frame130;
  GtkWidget *label_statusbar_horizon_file_count;
  GtkWidget *frame131;
  GtkWidget *label_statusbar_horizon_kb_count;
  GtkWidget *frame_status_images;
  GtkWidget *hbox199;
  GtkWidget *eventbox_image_chip;
  GtkWidget *image_chip;
  GtkWidget *eventbox_image_warning;
  GtkWidget *image_warning;
  GtkWidget *eventbox_image_fd_shortage;
  GtkWidget *image_fd_shortage;
  GtkWidget *eventbox_image_fd_runout;
  GtkWidget *image_fd_runout;
  GtkWidget *eventbox_image_ancient;
  GtkWidget *image_ancient;
  GtkWidget *eventbox_image_save;
  GtkWidget *image_save;
  GtkWidget *eventbox_image_sha;
  GtkWidget *image_sha;
  GtkWidget *eventbox_image_shav;
  GtkWidget *image_shav;
  GtkWidget *eventbox_image_tth;
  GtkWidget *image_tth;
  GtkWidget *eventbox_image_lib;
  GtkWidget *image_lib;
  GtkWidget *eventbox_image_firewall;
  GtkWidget *image_firewall;
  GtkWidget *eventbox_image_firewall_punchable;
  GtkWidget *image_firewall_punchable;
  GtkWidget *eventbox_image_tcp_firewall;
  GtkWidget *image_tcp_firewall;
  GtkWidget *eventbox_image_udp_firewall;
  GtkWidget *image_udp_firewall;
  GtkWidget *eventbox_image_firewall_udp_punchable;
  GtkWidget *image_firewall_udp_punchable;
  GtkWidget *eventbox_image_no_firewall;
  GtkWidget *image_no_firewall;
  GtkWidget *eventbox_image_leaf;
  GtkWidget *image_leaf;
  GtkWidget *eventbox_image_legacy;
  GtkWidget *image_legacy;
  GtkWidget *eventbox_image_ultra;
  GtkWidget *image_ultra;
  GtkWidget *frame_statusbar_uptime;
  GtkWidget *label_statusbar_uptime;
  GtkAccelGroup *accel_group;
  GtkTooltips *tooltips;

  tooltips = gtk_tooltips_new ();

  accel_group = gtk_accel_group_new ();

  main_window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_widget_set_name (main_window, "main_window");
  gtk_object_set_data (GTK_OBJECT (main_window), "main_window", main_window);
  gtk_window_set_title (GTK_WINDOW (main_window), _("gtk-gnutella"));
  gtk_window_set_policy (GTK_WINDOW (main_window), TRUE, TRUE, FALSE);

  vbox12 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox12, "vbox12");
  gtk_widget_ref (vbox12);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox12", vbox12,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox12);
  gtk_container_add (GTK_CONTAINER (main_window), vbox12);

  handlebox1 = gtk_handle_box_new ();
  gtk_widget_set_name (handlebox1, "handlebox1");
  gtk_widget_ref (handlebox1);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "handlebox1", handlebox1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (handlebox1);
  gtk_box_pack_start (GTK_BOX (vbox12), handlebox1, FALSE, FALSE, 0);

  menubar1 = gtk_menu_bar_new ();
  gtk_widget_set_name (menubar1, "menubar1");
  gtk_widget_ref (menubar1);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menubar1", menubar1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menubar1);
  gtk_container_add (GTK_CONTAINER (handlebox1), menubar1);

  menu_file = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_file)->child),
                                   _("_File"));
  gtk_widget_add_accelerator (menu_file, "activate_item", accel_group,
                              tmp_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (menu_file, "menu_file");
  gtk_widget_ref (menu_file);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_file", menu_file,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_file);
  gtk_container_add (GTK_CONTAINER (menubar1), menu_file);
  gtk_widget_add_accelerator (menu_file, "activate_item", accel_group,
                              GDK_f, GDK_CONTROL_MASK,
                              GTK_ACCEL_VISIBLE);

  menu_file_menu = gtk_menu_new ();
  gtk_widget_set_name (menu_file_menu, "menu_file_menu");
  gtk_widget_ref (menu_file_menu);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_file_menu", menu_file_menu,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_file), menu_file_menu);
  menu_file_menu_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (menu_file_menu));

  connections = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (connections)->child),
                                   _("_GnutellaNet"));
  gtk_widget_add_accelerator (connections, "activate_item", menu_file_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (connections, "connections");
  gtk_widget_ref (connections);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "connections", connections,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (connections);
  gtk_container_add (GTK_CONTAINER (menu_file_menu), connections);

  menu_net_stats = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_net_stats)->child),
                                   _("_Stats"));
  gtk_widget_add_accelerator (menu_net_stats, "activate_item", menu_file_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_net_stats, "menu_net_stats");
  gtk_widget_ref (menu_net_stats);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_net_stats", menu_net_stats,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_net_stats);
  gtk_container_add (GTK_CONTAINER (menu_file_menu), menu_net_stats);

  menu_net_hostcache = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_net_hostcache)->child),
                                   _("_Hostcache"));
  gtk_widget_add_accelerator (menu_net_hostcache, "activate_item", menu_file_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_net_hostcache, "menu_net_hostcache");
  gtk_widget_ref (menu_net_hostcache);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_net_hostcache", menu_net_hostcache,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_net_hostcache);
  gtk_container_add (GTK_CONTAINER (menu_file_menu), menu_net_hostcache);

  separator22 = gtk_menu_item_new ();
  gtk_widget_set_name (separator22, "separator22");
  gtk_widget_ref (separator22);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "separator22", separator22,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (separator22);
  gtk_container_add (GTK_CONTAINER (menu_file_menu), separator22);
  gtk_widget_set_sensitive (separator22, FALSE);

  menu_prefs = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_prefs)->child),
                                   _("_Preferences"));
  gtk_widget_add_accelerator (menu_prefs, "activate_item", menu_file_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_prefs, "menu_prefs");
  gtk_widget_ref (menu_prefs);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_prefs", menu_prefs,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_prefs);
  gtk_container_add (GTK_CONTAINER (menu_file_menu), menu_prefs);
  gtk_widget_add_accelerator (menu_prefs, "activate", accel_group,
                              GDK_p, GDK_CONTROL_MASK,
                              GTK_ACCEL_VISIBLE);

  separator23 = gtk_menu_item_new ();
  gtk_widget_set_name (separator23, "separator23");
  gtk_widget_ref (separator23);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "separator23", separator23,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (separator23);
  gtk_container_add (GTK_CONTAINER (menu_file_menu), separator23);
  gtk_widget_set_sensitive (separator23, FALSE);

  quit = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (quit)->child),
                                   _("_Quit"));
  gtk_widget_add_accelerator (quit, "activate_item", menu_file_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (quit, "quit");
  gtk_widget_ref (quit);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "quit", quit,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (quit);
  gtk_container_add (GTK_CONTAINER (menu_file_menu), quit);
  gtk_widget_add_accelerator (quit, "activate", accel_group,
                              GDK_q, GDK_CONTROL_MASK,
                              GTK_ACCEL_VISIBLE);

  menu_uploads = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_uploads)->child),
                                   _("_Uploads"));
  gtk_widget_add_accelerator (menu_uploads, "activate_item", accel_group,
                              tmp_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (menu_uploads, "menu_uploads");
  gtk_widget_ref (menu_uploads);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_uploads", menu_uploads,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_uploads);
  gtk_container_add (GTK_CONTAINER (menubar1), menu_uploads);

  menu_uploads_menu = gtk_menu_new ();
  gtk_widget_set_name (menu_uploads_menu, "menu_uploads_menu");
  gtk_widget_ref (menu_uploads_menu);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_uploads_menu", menu_uploads_menu,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_uploads), menu_uploads_menu);
  menu_uploads_menu_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (menu_uploads_menu));

  menu_uploads_transfers = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_uploads_transfers)->child),
                                   _("_Transfers"));
  gtk_widget_add_accelerator (menu_uploads_transfers, "activate_item", menu_uploads_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_uploads_transfers, "menu_uploads_transfers");
  gtk_widget_ref (menu_uploads_transfers);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_uploads_transfers", menu_uploads_transfers,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_uploads_transfers);
  gtk_container_add (GTK_CONTAINER (menu_uploads_menu), menu_uploads_transfers);

  menu_uploads_history = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_uploads_history)->child),
                                   _("_History"));
  gtk_widget_add_accelerator (menu_uploads_history, "activate_item", menu_uploads_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_uploads_history, "menu_uploads_history");
  gtk_widget_ref (menu_uploads_history);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_uploads_history", menu_uploads_history,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_uploads_history);
  gtk_container_add (GTK_CONTAINER (menu_uploads_menu), menu_uploads_history);

  menu_downloads = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_downloads)->child),
                                   _("_Downloads"));
  gtk_widget_add_accelerator (menu_downloads, "activate_item", accel_group,
                              tmp_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (menu_downloads, "menu_downloads");
  gtk_widget_ref (menu_downloads);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_downloads", menu_downloads,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_downloads);
  gtk_container_add (GTK_CONTAINER (menubar1), menu_downloads);

  menu_downloads_menu = gtk_menu_new ();
  gtk_widget_set_name (menu_downloads_menu, "menu_downloads_menu");
  gtk_widget_ref (menu_downloads_menu);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_downloads_menu", menu_downloads_menu,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_downloads), menu_downloads_menu);
  menu_downloads_menu_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (menu_downloads_menu));

  menu_downloads_files = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_downloads_files)->child),
                                   _("_Files"));
  gtk_widget_add_accelerator (menu_downloads_files, "activate_item", menu_downloads_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_downloads_files, "menu_downloads_files");
  gtk_widget_ref (menu_downloads_files);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_downloads_files", menu_downloads_files,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_downloads_files);
  gtk_container_add (GTK_CONTAINER (menu_downloads_menu), menu_downloads_files);

  menu_downloads_active = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_downloads_active)->child),
                                   _("_Active"));
  gtk_widget_add_accelerator (menu_downloads_active, "activate_item", menu_downloads_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_downloads_active, "menu_downloads_active");
  gtk_widget_ref (menu_downloads_active);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_downloads_active", menu_downloads_active,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_downloads_active);
  gtk_container_add (GTK_CONTAINER (menu_downloads_menu), menu_downloads_active);

  menu_downloads_queue = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_downloads_queue)->child),
                                   _("_Queue"));
  gtk_widget_add_accelerator (menu_downloads_queue, "activate_item", menu_downloads_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_downloads_queue, "menu_downloads_queue");
  gtk_widget_ref (menu_downloads_queue);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_downloads_queue", menu_downloads_queue,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_downloads_queue);
  gtk_container_add (GTK_CONTAINER (menu_downloads_menu), menu_downloads_queue);

  menu_search = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_search)->child),
                                   _("_Search"));
  gtk_widget_add_accelerator (menu_search, "activate_item", accel_group,
                              tmp_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (menu_search, "menu_search");
  gtk_widget_ref (menu_search);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_search", menu_search,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_search);
  gtk_container_add (GTK_CONTAINER (menubar1), menu_search);

  menu_search_menu = gtk_menu_new ();
  gtk_widget_set_name (menu_search_menu, "menu_search_menu");
  gtk_widget_ref (menu_search_menu);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_search_menu", menu_search_menu,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_search), menu_search_menu);
  menu_search_menu_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (menu_search_menu));

  menu_search_results = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_search_results)->child),
                                   _("_Results"));
  gtk_widget_add_accelerator (menu_search_results, "activate_item", menu_search_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_search_results, "menu_search_results");
  gtk_widget_ref (menu_search_results);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_search_results", menu_search_results,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_search_results);
  gtk_container_add (GTK_CONTAINER (menu_search_menu), menu_search_results);

  menu_search_monitor = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_search_monitor)->child),
                                   _("_Monitor"));
  gtk_widget_add_accelerator (menu_search_monitor, "activate_item", menu_search_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_search_monitor, "menu_search_monitor");
  gtk_widget_ref (menu_search_monitor);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_search_monitor", menu_search_monitor,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_search_monitor);
  gtk_container_add (GTK_CONTAINER (menu_search_menu), menu_search_monitor);

  menu_search_stats = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_search_stats)->child),
                                   _("S_tats"));
  gtk_widget_add_accelerator (menu_search_stats, "activate_item", menu_search_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_search_stats, "menu_search_stats");
  gtk_widget_ref (menu_search_stats);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_search_stats", menu_search_stats,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_search_stats);
  gtk_container_add (GTK_CONTAINER (menu_search_menu), menu_search_stats);

  menu_view = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_view)->child),
                                   _("_View"));
  gtk_widget_add_accelerator (menu_view, "activate_item", accel_group,
                              tmp_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (menu_view, "menu_view");
  gtk_widget_ref (menu_view);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_view", menu_view,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_view);
  gtk_container_add (GTK_CONTAINER (menubar1), menu_view);
  gtk_widget_add_accelerator (menu_view, "activate_item", accel_group,
                              GDK_v, GDK_CONTROL_MASK,
                              GTK_ACCEL_VISIBLE);

  menu_view_menu = gtk_menu_new ();
  gtk_widget_set_name (menu_view_menu, "menu_view_menu");
  gtk_widget_ref (menu_view_menu);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_view_menu", menu_view_menu,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_view), menu_view_menu);
  menu_view_menu_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (menu_view_menu));

  menu_searchbar_visible = gtk_check_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_searchbar_visible)->child),
                                   _("show Search_bar"));
  gtk_widget_add_accelerator (menu_searchbar_visible, "activate_item", menu_view_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_searchbar_visible, "menu_searchbar_visible");
  gtk_widget_ref (menu_searchbar_visible);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_searchbar_visible", menu_searchbar_visible,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_searchbar_visible);
  gtk_container_add (GTK_CONTAINER (menu_view_menu), menu_searchbar_visible);
  gtk_widget_add_accelerator (menu_searchbar_visible, "activate", accel_group,
                              GDK_F2, 0,
                              GTK_ACCEL_VISIBLE);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_searchbar_visible), TRUE);
  gtk_check_menu_item_set_show_toggle (GTK_CHECK_MENU_ITEM (menu_searchbar_visible), TRUE);

  menu_toolbar_visible = gtk_check_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_toolbar_visible)->child),
                                   _("show _Toolbar"));
  gtk_widget_add_accelerator (menu_toolbar_visible, "activate_item", menu_view_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_toolbar_visible, "menu_toolbar_visible");
  gtk_widget_ref (menu_toolbar_visible);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_toolbar_visible", menu_toolbar_visible,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_container_add (GTK_CONTAINER (menu_view_menu), menu_toolbar_visible);
  gtk_widget_add_accelerator (menu_toolbar_visible, "toggled", accel_group,
                              GDK_t, GDK_CONTROL_MASK,
                              GTK_ACCEL_VISIBLE);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_toolbar_visible), TRUE);
  gtk_check_menu_item_set_show_toggle (GTK_CHECK_MENU_ITEM (menu_toolbar_visible), TRUE);

  menu_sidebar_visible = gtk_check_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_sidebar_visible)->child),
                                   _("show _Sidebar"));
  gtk_widget_add_accelerator (menu_sidebar_visible, "activate_item", menu_view_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_sidebar_visible, "menu_sidebar_visible");
  gtk_widget_ref (menu_sidebar_visible);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_sidebar_visible", menu_sidebar_visible,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_sidebar_visible);
  gtk_container_add (GTK_CONTAINER (menu_view_menu), menu_sidebar_visible);
  gtk_widget_add_accelerator (menu_sidebar_visible, "activate", accel_group,
                              GDK_F8, 0,
                              GTK_ACCEL_VISIBLE);
  gtk_check_menu_item_set_show_toggle (GTK_CHECK_MENU_ITEM (menu_sidebar_visible), TRUE);

  menu_navtree_visible = gtk_check_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_navtree_visible)->child),
                                   _("show _Navigation Tree"));
  gtk_widget_add_accelerator (menu_navtree_visible, "activate_item", menu_view_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_navtree_visible, "menu_navtree_visible");
  gtk_widget_ref (menu_navtree_visible);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_navtree_visible", menu_navtree_visible,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_navtree_visible);
  gtk_container_add (GTK_CONTAINER (menu_view_menu), menu_navtree_visible);
  gtk_widget_add_accelerator (menu_navtree_visible, "activate", accel_group,
                              GDK_F9, 0,
                              GTK_ACCEL_VISIBLE);
  gtk_check_menu_item_set_show_toggle (GTK_CHECK_MENU_ITEM (menu_navtree_visible), TRUE);

  separator24 = gtk_menu_item_new ();
  gtk_widget_set_name (separator24, "separator24");
  gtk_widget_ref (separator24);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "separator24", separator24,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (separator24);
  gtk_container_add (GTK_CONTAINER (menu_view_menu), separator24);
  gtk_widget_set_sensitive (separator24, FALSE);

  menu_downloads_visible = gtk_check_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_downloads_visible)->child),
                                   _("show _Downloads"));
  gtk_widget_add_accelerator (menu_downloads_visible, "activate_item", menu_view_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_downloads_visible, "menu_downloads_visible");
  gtk_widget_ref (menu_downloads_visible);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_downloads_visible", menu_downloads_visible,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_downloads_visible);
  gtk_container_add (GTK_CONTAINER (menu_view_menu), menu_downloads_visible);
  gtk_widget_add_accelerator (menu_downloads_visible, "toggled", accel_group,
                              GDK_d, GDK_CONTROL_MASK,
                              GTK_ACCEL_VISIBLE);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_downloads_visible), TRUE);
  gtk_check_menu_item_set_show_toggle (GTK_CHECK_MENU_ITEM (menu_downloads_visible), TRUE);

  menu_uploads_visible = gtk_check_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_uploads_visible)->child),
                                   _("show _Uploads"));
  gtk_widget_add_accelerator (menu_uploads_visible, "activate_item", menu_view_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_uploads_visible, "menu_uploads_visible");
  gtk_widget_ref (menu_uploads_visible);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_uploads_visible", menu_uploads_visible,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_uploads_visible);
  gtk_container_add (GTK_CONTAINER (menu_view_menu), menu_uploads_visible);
  gtk_widget_add_accelerator (menu_uploads_visible, "toggled", accel_group,
                              GDK_u, GDK_CONTROL_MASK,
                              GTK_ACCEL_VISIBLE);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_uploads_visible), TRUE);
  gtk_check_menu_item_set_show_toggle (GTK_CHECK_MENU_ITEM (menu_uploads_visible), TRUE);

  menu_connections_visible = gtk_check_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_connections_visible)->child),
                                   _("show _Connections"));
  gtk_widget_add_accelerator (menu_connections_visible, "activate_item", menu_view_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_connections_visible, "menu_connections_visible");
  gtk_widget_ref (menu_connections_visible);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_connections_visible", menu_connections_visible,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_connections_visible);
  gtk_container_add (GTK_CONTAINER (menu_view_menu), menu_connections_visible);
  gtk_widget_add_accelerator (menu_connections_visible, "toggled", accel_group,
                              GDK_c, GDK_CONTROL_MASK,
                              GTK_ACCEL_VISIBLE);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_connections_visible), TRUE);
  gtk_check_menu_item_set_show_toggle (GTK_CHECK_MENU_ITEM (menu_connections_visible), TRUE);

  menu_http_stats_visible = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_http_stats_visible)->child),
                                   _("_HTTP traffic stats"));
  gtk_widget_add_accelerator (menu_http_stats_visible, "activate_item", menu_view_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_http_stats_visible, "menu_http_stats_visible");
  gtk_widget_ref (menu_http_stats_visible);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_http_stats_visible", menu_http_stats_visible,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_http_stats_visible);
  gtk_container_add (GTK_CONTAINER (menu_view_menu), menu_http_stats_visible);

  menu_http_stats_visible_menu = gtk_menu_new ();
  gtk_widget_set_name (menu_http_stats_visible_menu, "menu_http_stats_visible_menu");
  gtk_widget_ref (menu_http_stats_visible_menu);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_http_stats_visible_menu", menu_http_stats_visible_menu,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_http_stats_visible), menu_http_stats_visible_menu);
  menu_http_stats_visible_menu_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (menu_http_stats_visible_menu));

  menu_bws_in_visible = gtk_check_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_bws_in_visible)->child),
                                   _("show HTTP _incoming traffic"));
  gtk_widget_add_accelerator (menu_bws_in_visible, "activate_item", menu_http_stats_visible_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_bws_in_visible, "menu_bws_in_visible");
  gtk_widget_ref (menu_bws_in_visible);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_bws_in_visible", menu_bws_in_visible,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_bws_in_visible);
  gtk_container_add (GTK_CONTAINER (menu_http_stats_visible_menu), menu_bws_in_visible);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_bws_in_visible), TRUE);
  gtk_check_menu_item_set_show_toggle (GTK_CHECK_MENU_ITEM (menu_bws_in_visible), TRUE);

  menu_bws_out_visible = gtk_check_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_bws_out_visible)->child),
                                   _("show HTTP _outgoing traffic"));
  gtk_widget_add_accelerator (menu_bws_out_visible, "activate_item", menu_http_stats_visible_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_bws_out_visible, "menu_bws_out_visible");
  gtk_widget_ref (menu_bws_out_visible);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_bws_out_visible", menu_bws_out_visible,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_bws_out_visible);
  gtk_container_add (GTK_CONTAINER (menu_http_stats_visible_menu), menu_bws_out_visible);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_bws_out_visible), TRUE);
  gtk_check_menu_item_set_show_toggle (GTK_CHECK_MENU_ITEM (menu_bws_out_visible), TRUE);

  menu_gnet_stats_visible = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_gnet_stats_visible)->child),
                                   _("_Gnet traffic stats"));
  gtk_widget_add_accelerator (menu_gnet_stats_visible, "activate_item", menu_view_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_gnet_stats_visible, "menu_gnet_stats_visible");
  gtk_widget_ref (menu_gnet_stats_visible);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_gnet_stats_visible", menu_gnet_stats_visible,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_gnet_stats_visible);
  gtk_container_add (GTK_CONTAINER (menu_view_menu), menu_gnet_stats_visible);

  menu_gnet_stats_visible_menu = gtk_menu_new ();
  gtk_widget_set_name (menu_gnet_stats_visible_menu, "menu_gnet_stats_visible_menu");
  gtk_widget_ref (menu_gnet_stats_visible_menu);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_gnet_stats_visible_menu", menu_gnet_stats_visible_menu,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_gnet_stats_visible), menu_gnet_stats_visible_menu);
  menu_gnet_stats_visible_menu_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (menu_gnet_stats_visible_menu));

  menu_bws_gin_visible = gtk_check_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_bws_gin_visible)->child),
                                   _("show Gnet _incoming traffic"));
  gtk_widget_add_accelerator (menu_bws_gin_visible, "activate_item", menu_gnet_stats_visible_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_bws_gin_visible, "menu_bws_gin_visible");
  gtk_widget_ref (menu_bws_gin_visible);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_bws_gin_visible", menu_bws_gin_visible,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_bws_gin_visible);
  gtk_container_add (GTK_CONTAINER (menu_gnet_stats_visible_menu), menu_bws_gin_visible);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_bws_gin_visible), TRUE);
  gtk_check_menu_item_set_show_toggle (GTK_CHECK_MENU_ITEM (menu_bws_gin_visible), TRUE);

  menu_bws_gout_visible = gtk_check_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_bws_gout_visible)->child),
                                   _("show Gnet _outgoing traffic"));
  gtk_widget_add_accelerator (menu_bws_gout_visible, "activate_item", menu_gnet_stats_visible_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_bws_gout_visible, "menu_bws_gout_visible");
  gtk_widget_ref (menu_bws_gout_visible);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_bws_gout_visible", menu_bws_gout_visible,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_bws_gout_visible);
  gtk_container_add (GTK_CONTAINER (menu_gnet_stats_visible_menu), menu_bws_gout_visible);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_bws_gout_visible), TRUE);
  gtk_check_menu_item_set_show_toggle (GTK_CHECK_MENU_ITEM (menu_bws_gout_visible), TRUE);

  menu_gnet_leaf_stats_visible = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_gnet_leaf_stats_visible)->child),
                                   _("Gnet _leaf traffic stats"));
  gtk_widget_add_accelerator (menu_gnet_leaf_stats_visible, "activate_item", menu_view_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_gnet_leaf_stats_visible, "menu_gnet_leaf_stats_visible");
  gtk_widget_ref (menu_gnet_leaf_stats_visible);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_gnet_leaf_stats_visible", menu_gnet_leaf_stats_visible,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_gnet_leaf_stats_visible);
  gtk_container_add (GTK_CONTAINER (menu_view_menu), menu_gnet_leaf_stats_visible);

  menu_gnet_leaf_stats_visible_menu = gtk_menu_new ();
  gtk_widget_set_name (menu_gnet_leaf_stats_visible_menu, "menu_gnet_leaf_stats_visible_menu");
  gtk_widget_ref (menu_gnet_leaf_stats_visible_menu);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_gnet_leaf_stats_visible_menu", menu_gnet_leaf_stats_visible_menu,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_gnet_leaf_stats_visible), menu_gnet_leaf_stats_visible_menu);
  menu_gnet_leaf_stats_visible_menu_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (menu_gnet_leaf_stats_visible_menu));

  menu_autohide_bws_gleaf = gtk_check_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_autohide_bws_gleaf)->child),
                                   _("_auto-hide leaf traffic stats"));
  gtk_widget_add_accelerator (menu_autohide_bws_gleaf, "activate_item", menu_gnet_leaf_stats_visible_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_autohide_bws_gleaf, "menu_autohide_bws_gleaf");
  gtk_widget_ref (menu_autohide_bws_gleaf);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_autohide_bws_gleaf", menu_autohide_bws_gleaf,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_autohide_bws_gleaf);
  gtk_container_add (GTK_CONTAINER (menu_gnet_leaf_stats_visible_menu), menu_autohide_bws_gleaf);
  gtk_check_menu_item_set_show_toggle (GTK_CHECK_MENU_ITEM (menu_autohide_bws_gleaf), TRUE);

  menu_bws_glin_visible = gtk_check_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_bws_glin_visible)->child),
                                   _("show leaf _incoming traffic"));
  gtk_widget_add_accelerator (menu_bws_glin_visible, "activate_item", menu_gnet_leaf_stats_visible_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_bws_glin_visible, "menu_bws_glin_visible");
  gtk_widget_ref (menu_bws_glin_visible);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_bws_glin_visible", menu_bws_glin_visible,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_bws_glin_visible);
  gtk_container_add (GTK_CONTAINER (menu_gnet_leaf_stats_visible_menu), menu_bws_glin_visible);
  gtk_check_menu_item_set_show_toggle (GTK_CHECK_MENU_ITEM (menu_bws_glin_visible), TRUE);

  menu_bws_glout_visible = gtk_check_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_bws_glout_visible)->child),
                                   _("show leaf _outgoing traffic"));
  gtk_widget_add_accelerator (menu_bws_glout_visible, "activate_item", menu_gnet_leaf_stats_visible_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_bws_glout_visible, "menu_bws_glout_visible");
  gtk_widget_ref (menu_bws_glout_visible);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_bws_glout_visible", menu_bws_glout_visible,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_bws_glout_visible);
  gtk_container_add (GTK_CONTAINER (menu_gnet_leaf_stats_visible_menu), menu_bws_glout_visible);
  gtk_check_menu_item_set_show_toggle (GTK_CHECK_MENU_ITEM (menu_bws_glout_visible), TRUE);

  separator20 = gtk_menu_item_new ();
  gtk_widget_set_name (separator20, "separator20");
  gtk_widget_ref (separator20);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "separator20", separator20,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (separator20);
  gtk_container_add (GTK_CONTAINER (menu_view_menu), separator20);
  gtk_widget_set_sensitive (separator20, FALSE);

  menu_statusbar_visible = gtk_check_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_statusbar_visible)->child),
                                   _("show _Statusbar"));
  gtk_widget_add_accelerator (menu_statusbar_visible, "activate_item", menu_view_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_statusbar_visible, "menu_statusbar_visible");
  gtk_widget_ref (menu_statusbar_visible);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_statusbar_visible", menu_statusbar_visible,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_statusbar_visible);
  gtk_container_add (GTK_CONTAINER (menu_view_menu), menu_statusbar_visible);
  gtk_widget_add_accelerator (menu_statusbar_visible, "toggled", accel_group,
                              GDK_s, GDK_CONTROL_MASK,
                              GTK_ACCEL_VISIBLE);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_statusbar_visible), TRUE);
  gtk_check_menu_item_set_show_toggle (GTK_CHECK_MENU_ITEM (menu_statusbar_visible), TRUE);

  menu_help = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_help)->child),
                                   _("_Help"));
  gtk_widget_add_accelerator (menu_help, "activate_item", accel_group,
                              tmp_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (menu_help, "menu_help");
  gtk_widget_ref (menu_help);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_help", menu_help,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_help);
  gtk_container_add (GTK_CONTAINER (menubar1), menu_help);

  menu_help_menu = gtk_menu_new ();
  gtk_widget_set_name (menu_help_menu, "menu_help_menu");
  gtk_widget_ref (menu_help_menu);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_help_menu", menu_help_menu,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_help), menu_help_menu);
  menu_help_menu_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (menu_help_menu));

  menu_about = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_about)->child),
                                   _("_About"));
  gtk_widget_add_accelerator (menu_about, "activate_item", menu_help_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_about, "menu_about");
  gtk_widget_ref (menu_about);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_about", menu_about,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_about);
  gtk_container_add (GTK_CONTAINER (menu_help_menu), menu_about);
  gtk_widget_add_accelerator (menu_about, "activate", accel_group,
                              GDK_a, GDK_CONTROL_MASK,
                              GTK_ACCEL_VISIBLE);

  menu_faq = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (menu_faq)->child),
                                   _("_FAQ"));
  gtk_widget_add_accelerator (menu_faq, "activate_item", menu_help_menu_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (menu_faq, "menu_faq");
  gtk_widget_ref (menu_faq);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "menu_faq", menu_faq,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menu_faq);
  gtk_container_add (GTK_CONTAINER (menu_help_menu), menu_faq);
  gtk_tooltips_set_tip (tooltips, menu_faq, _("Frequently Asked Questions"), NULL);

  viewport_searchbar = gtk_viewport_new (NULL, NULL);
  gtk_widget_set_name (viewport_searchbar, "viewport_searchbar");
  gtk_widget_ref (viewport_searchbar);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "viewport_searchbar", viewport_searchbar,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport_searchbar);
  gtk_box_pack_start (GTK_BOX (vbox12), viewport_searchbar, FALSE, TRUE, 0);
  gtk_viewport_set_shadow_type (GTK_VIEWPORT (viewport_searchbar), GTK_SHADOW_OUT);

  hbox179 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox179, "hbox179");
  gtk_widget_ref (hbox179);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox179", hbox179,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox179);
  gtk_container_add (GTK_CONTAINER (viewport_searchbar), hbox179);

  button_search = gtk_button_new_with_label (_("Search"));
  gtk_widget_set_name (button_search, "button_search");
  gtk_widget_ref (button_search);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "button_search", button_search,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_search);
  gtk_box_pack_start (GTK_BOX (hbox179), button_search, FALSE, FALSE, 0);
  gtk_widget_set_sensitive (button_search, FALSE);
  gtk_button_set_relief (GTK_BUTTON (button_search), GTK_RELIEF_NONE);

  combo_search = gtk_combo_new ();
  gtk_widget_set_name (combo_search, "combo_search");
  gtk_widget_ref (combo_search);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "combo_search", combo_search,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (combo_search);
  gtk_box_pack_start (GTK_BOX (hbox179), combo_search, TRUE, TRUE, 0);
  gtk_combo_set_use_arrows_always (GTK_COMBO (combo_search), TRUE);

  entry_search = GTK_COMBO (combo_search)->entry;
  gtk_widget_set_name (entry_search, "entry_search");
  gtk_widget_ref (entry_search);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "entry_search", entry_search,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_search);

  option_menu_search_lifetime = gtk_option_menu_new ();
  gtk_widget_set_name (option_menu_search_lifetime, "option_menu_search_lifetime");
  gtk_widget_ref (option_menu_search_lifetime);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "option_menu_search_lifetime", option_menu_search_lifetime,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (option_menu_search_lifetime);
  gtk_box_pack_start (GTK_BOX (hbox179), option_menu_search_lifetime, FALSE, FALSE, 0);
  option_menu_search_lifetime_menu = gtk_menu_new ();
  gtk_option_menu_set_menu (GTK_OPTION_MENU (option_menu_search_lifetime), option_menu_search_lifetime_menu);

  optionmenu_search_filter = gtk_option_menu_new ();
  gtk_widget_set_name (optionmenu_search_filter, "optionmenu_search_filter");
  gtk_widget_ref (optionmenu_search_filter);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "optionmenu_search_filter", optionmenu_search_filter,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (optionmenu_search_filter);
  gtk_box_pack_start (GTK_BOX (hbox179), optionmenu_search_filter, FALSE, FALSE, 0);
  optionmenu_search_filter_menu = gtk_menu_new ();
  gtk_option_menu_set_menu (GTK_OPTION_MENU (optionmenu_search_filter), optionmenu_search_filter_menu);

  button_search_passive = gtk_button_new_with_label ("");
  button_search_passive_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (button_search_passive)->child),
                                   _("_Passive"));
  gtk_widget_add_accelerator (button_search_passive, "clicked", accel_group,
                              button_search_passive_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (button_search_passive, "button_search_passive");
  gtk_widget_ref (button_search_passive);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "button_search_passive", button_search_passive,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_search_passive);
  gtk_box_pack_start (GTK_BOX (hbox179), button_search_passive, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, button_search_passive, _("A passive search matches any search results routed through this node"), NULL);

  hpaned_main = gtk_hpaned_new ();
  gtk_widget_set_name (hpaned_main, "hpaned_main");
  gtk_widget_ref (hpaned_main);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hpaned_main", hpaned_main,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hpaned_main);
  gtk_box_pack_start (GTK_BOX (vbox12), hpaned_main, TRUE, TRUE, 0);
  gtk_paned_set_gutter_size (GTK_PANED (hpaned_main), 10);

  vbox_sidebar = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox_sidebar, "vbox_sidebar");
  gtk_widget_ref (vbox_sidebar);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox_sidebar", vbox_sidebar,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox_sidebar);
  gtk_paned_pack1 (GTK_PANED (hpaned_main), vbox_sidebar, FALSE, TRUE);

  vpaned_sidebar = gtk_vpaned_new ();
  gtk_widget_set_name (vpaned_sidebar, "vpaned_sidebar");
  gtk_widget_ref (vpaned_sidebar);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vpaned_sidebar", vpaned_sidebar,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vpaned_sidebar);
  gtk_box_pack_start (GTK_BOX (vbox_sidebar), vpaned_sidebar, TRUE, TRUE, 0);

  viewport_menu = gtk_viewport_new (NULL, NULL);
  gtk_widget_set_name (viewport_menu, "viewport_menu");
  gtk_widget_ref (viewport_menu);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "viewport_menu", viewport_menu,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport_menu);
  gtk_paned_pack1 (GTK_PANED (vpaned_sidebar), viewport_menu, FALSE, TRUE);
  gtk_viewport_set_shadow_type (GTK_VIEWPORT (viewport_menu), GTK_SHADOW_NONE);

  sw_menu = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (sw_menu, "sw_menu");
  gtk_widget_ref (sw_menu);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "sw_menu", sw_menu,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (sw_menu);
  gtk_container_add (GTK_CONTAINER (viewport_menu), sw_menu);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw_menu), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  ctree_menu = gtk_ctree_new (1, 0);
  gtk_widget_set_name (ctree_menu, "ctree_menu");
  gtk_widget_ref (ctree_menu);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "ctree_menu", ctree_menu,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (ctree_menu);
  gtk_container_add (GTK_CONTAINER (sw_menu), ctree_menu);
  gtk_clist_set_column_width (GTK_CLIST (ctree_menu), 0, 80);
  gtk_clist_set_selection_mode (GTK_CLIST (ctree_menu), GTK_SELECTION_BROWSE);
  gtk_clist_column_titles_show (GTK_CLIST (ctree_menu));

  label117 = gtk_label_new (_("Navigator"));
  gtk_widget_set_name (label117, "label117");
  gtk_widget_ref (label117);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label117", label117,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label117);
  gtk_clist_set_column_widget (GTK_CLIST (ctree_menu), 0, label117);
  gtk_misc_set_alignment (GTK_MISC (label117), 7.45058e-09, 0.5);

  vbox46 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox46, "vbox46");
  gtk_widget_ref (vbox46);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox46", vbox46,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox46);
  gtk_paned_pack2 (GTK_PANED (vpaned_sidebar), vbox46, TRUE, TRUE);

  notebook_sidebar = gtk_notebook_new ();
  gtk_widget_set_name (notebook_sidebar, "notebook_sidebar");
  gtk_widget_ref (notebook_sidebar);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "notebook_sidebar", notebook_sidebar,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (notebook_sidebar);
  gtk_box_pack_start (GTK_BOX (vbox46), notebook_sidebar, TRUE, TRUE, 0);
  GTK_WIDGET_UNSET_FLAGS (notebook_sidebar, GTK_CAN_FOCUS);
  gtk_notebook_set_show_tabs (GTK_NOTEBOOK (notebook_sidebar), FALSE);
  gtk_notebook_set_show_border (GTK_NOTEBOOK (notebook_sidebar), FALSE);

  viewport49 = gtk_viewport_new (NULL, NULL);
  gtk_widget_set_name (viewport49, "viewport49");
  gtk_widget_ref (viewport49);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "viewport49", viewport49,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport49);
  gtk_container_add (GTK_CONTAINER (notebook_sidebar), viewport49);
  gtk_viewport_set_shadow_type (GTK_VIEWPORT (viewport49), GTK_SHADOW_NONE);

  sw_searches = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (sw_searches, "sw_searches");
  gtk_widget_ref (sw_searches);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "sw_searches", sw_searches,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (sw_searches);
  gtk_container_add (GTK_CONTAINER (viewport49), sw_searches);
  gtk_widget_set_usize (sw_searches, 150, 200);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw_searches), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  clist_search = gtk_clist_new (3);
  gtk_widget_set_name (clist_search, "clist_search");
  gtk_widget_ref (clist_search);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "clist_search", clist_search,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (clist_search);
  gtk_container_add (GTK_CONTAINER (sw_searches), clist_search);
  gtk_clist_set_column_width (GTK_CLIST (clist_search), 0, 109);
  gtk_clist_set_column_width (GTK_CLIST (clist_search), 1, 26);
  gtk_clist_set_column_width (GTK_CLIST (clist_search), 2, 27);
  gtk_clist_set_selection_mode (GTK_CLIST (clist_search), GTK_SELECTION_BROWSE);
  gtk_clist_column_titles_show (GTK_CLIST (clist_search));

  label185 = gtk_label_new (_("Search"));
  gtk_widget_set_name (label185, "label185");
  gtk_widget_ref (label185);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label185", label185,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label185);
  gtk_clist_set_column_widget (GTK_CLIST (clist_search), 0, label185);
  gtk_misc_set_alignment (GTK_MISC (label185), 7.45058e-09, 0.5);

  label186 = gtk_label_new (_("Hits"));
  gtk_widget_set_name (label186, "label186");
  gtk_widget_ref (label186);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label186", label186,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label186);
  gtk_clist_set_column_widget (GTK_CLIST (clist_search), 1, label186);

  label187 = gtk_label_new (_("New"));
  gtk_widget_set_name (label187, "label187");
  gtk_widget_ref (label187);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label187", label187,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label187);
  gtk_clist_set_column_widget (GTK_CLIST (clist_search), 2, label187);

  label_nb_sb_1 = gtk_label_new ("");
  gtk_widget_set_name (label_nb_sb_1, "label_nb_sb_1");
  gtk_widget_ref (label_nb_sb_1);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_nb_sb_1", label_nb_sb_1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_nb_sb_1);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_sidebar), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_sidebar), 0), label_nb_sb_1);

  label189 = gtk_label_new ("");
  gtk_widget_set_name (label189, "label189");
  gtk_widget_ref (label189);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label189", label189,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label189);
  gtk_container_add (GTK_CONTAINER (notebook_sidebar), label189);

  label188 = gtk_label_new ("");
  gtk_widget_set_name (label188, "label188");
  gtk_widget_ref (label188);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label188", label188,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label188);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_sidebar), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_sidebar), 1), label188);

  vbox31 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox31, "vbox31");
  gtk_widget_ref (vbox31);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox31", vbox31,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox31);
  gtk_box_pack_start (GTK_BOX (vbox_sidebar), vbox31, FALSE, TRUE, 0);

  frame75 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame75, "frame75");
  gtk_widget_ref (frame75);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "frame75", frame75,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame75);
  gtk_box_pack_start (GTK_BOX (vbox31), frame75, FALSE, FALSE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame75), GTK_SHADOW_OUT);

  vbox108 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox108, "vbox108");
  gtk_widget_ref (vbox108);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox108", vbox108,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox108);
  gtk_container_add (GTK_CONTAINER (frame75), vbox108);

  hbox_stats_connections = gtk_hbox_new (FALSE, 1);
  gtk_widget_set_name (hbox_stats_connections, "hbox_stats_connections");
  gtk_widget_ref (hbox_stats_connections);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox_stats_connections", hbox_stats_connections,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox_stats_connections);
  gtk_box_pack_start (GTK_BOX (vbox108), hbox_stats_connections, FALSE, TRUE, 0);

  eventbox6 = gtk_event_box_new ();
  gtk_widget_set_name (eventbox6, "eventbox6");
  gtk_widget_ref (eventbox6);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "eventbox6", eventbox6,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (eventbox6);
  gtk_box_pack_start (GTK_BOX (hbox_stats_connections), eventbox6, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, eventbox6, _("Gnet connections"), NULL);

  pixmap1 = create_pixmap (main_window, "smallserver.xpm");
  gtk_widget_set_name (pixmap1, "pixmap1");
  gtk_widget_ref (pixmap1);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "pixmap1", pixmap1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (pixmap1);
  gtk_container_add (GTK_CONTAINER (eventbox6), pixmap1);
  gtk_pixmap_set_build_insensitive (GTK_PIXMAP (pixmap1), FALSE);

  progressbar_connections = gtk_progress_bar_new ();
  gtk_widget_set_name (progressbar_connections, "progressbar_connections");
  gtk_widget_ref (progressbar_connections);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "progressbar_connections", progressbar_connections,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (progressbar_connections);
  gtk_box_pack_start (GTK_BOX (hbox_stats_connections), progressbar_connections, TRUE, TRUE, 0);
  gtk_progress_set_show_text (GTK_PROGRESS (progressbar_connections), TRUE);
  gtk_progress_set_format_string (GTK_PROGRESS (progressbar_connections), _("%v/%u Gnet nodes"));

  hbox_stats_uploads = gtk_hbox_new (FALSE, 1);
  gtk_widget_set_name (hbox_stats_uploads, "hbox_stats_uploads");
  gtk_widget_ref (hbox_stats_uploads);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox_stats_uploads", hbox_stats_uploads,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox_stats_uploads);
  gtk_box_pack_start (GTK_BOX (vbox108), hbox_stats_uploads, FALSE, TRUE, 0);

  eventbox7 = gtk_event_box_new ();
  gtk_widget_set_name (eventbox7, "eventbox7");
  gtk_widget_ref (eventbox7);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "eventbox7", eventbox7,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (eventbox7);
  gtk_box_pack_start (GTK_BOX (hbox_stats_uploads), eventbox7, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, eventbox7, _("uploads"), NULL);

  pixmap2 = create_pixmap (main_window, "upload.xpm");
  gtk_widget_set_name (pixmap2, "pixmap2");
  gtk_widget_ref (pixmap2);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "pixmap2", pixmap2,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (pixmap2);
  gtk_container_add (GTK_CONTAINER (eventbox7), pixmap2);
  gtk_pixmap_set_build_insensitive (GTK_PIXMAP (pixmap2), FALSE);

  progressbar_uploads = gtk_progress_bar_new ();
  gtk_widget_set_name (progressbar_uploads, "progressbar_uploads");
  gtk_widget_ref (progressbar_uploads);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "progressbar_uploads", progressbar_uploads,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (progressbar_uploads);
  gtk_box_pack_start (GTK_BOX (hbox_stats_uploads), progressbar_uploads, TRUE, TRUE, 0);
  gtk_progress_set_show_text (GTK_PROGRESS (progressbar_uploads), TRUE);
  gtk_progress_set_format_string (GTK_PROGRESS (progressbar_uploads), _("%v/%u uploads"));

  hbox_stats_downloads = gtk_hbox_new (FALSE, 1);
  gtk_widget_set_name (hbox_stats_downloads, "hbox_stats_downloads");
  gtk_widget_ref (hbox_stats_downloads);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox_stats_downloads", hbox_stats_downloads,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox_stats_downloads);
  gtk_box_pack_start (GTK_BOX (vbox108), hbox_stats_downloads, FALSE, TRUE, 0);

  eventbox8 = gtk_event_box_new ();
  gtk_widget_set_name (eventbox8, "eventbox8");
  gtk_widget_ref (eventbox8);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "eventbox8", eventbox8,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (eventbox8);
  gtk_box_pack_start (GTK_BOX (hbox_stats_downloads), eventbox8, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, eventbox8, _("downloads"), NULL);

  pixmap3 = create_pixmap (main_window, "download.xpm");
  gtk_widget_set_name (pixmap3, "pixmap3");
  gtk_widget_ref (pixmap3);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "pixmap3", pixmap3,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (pixmap3);
  gtk_container_add (GTK_CONTAINER (eventbox8), pixmap3);
  gtk_pixmap_set_build_insensitive (GTK_PIXMAP (pixmap3), FALSE);

  progressbar_downloads = gtk_progress_bar_new ();
  gtk_widget_set_name (progressbar_downloads, "progressbar_downloads");
  gtk_widget_ref (progressbar_downloads);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "progressbar_downloads", progressbar_downloads,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (progressbar_downloads);
  gtk_box_pack_start (GTK_BOX (hbox_stats_downloads), progressbar_downloads, TRUE, TRUE, 0);
  gtk_progress_set_show_text (GTK_PROGRESS (progressbar_downloads), TRUE);
  gtk_progress_set_format_string (GTK_PROGRESS (progressbar_downloads), _("%v/%u downloads"));

  frame_bws_inout = gtk_frame_new (_("HTTP traffic"));
  gtk_widget_set_name (frame_bws_inout, "frame_bws_inout");
  gtk_widget_ref (frame_bws_inout);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "frame_bws_inout", frame_bws_inout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_bws_inout);
  gtk_box_pack_start (GTK_BOX (vbox31), frame_bws_inout, FALSE, FALSE, 0);
  gtk_frame_set_label_align (GTK_FRAME (frame_bws_inout), 0.5, 0.5);
  gtk_frame_set_shadow_type (GTK_FRAME (frame_bws_inout), GTK_SHADOW_OUT);

  vbox42 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox42, "vbox42");
  gtk_widget_ref (vbox42);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox42", vbox42,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox42);
  gtk_container_add (GTK_CONTAINER (frame_bws_inout), vbox42);

  progressbar_bws_in = gtk_progress_bar_new ();
  gtk_widget_set_name (progressbar_bws_in, "progressbar_bws_in");
  gtk_widget_ref (progressbar_bws_in);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "progressbar_bws_in", progressbar_bws_in,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (progressbar_bws_in);
  gtk_box_pack_start (GTK_BOX (vbox42), progressbar_bws_in, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, progressbar_bws_in, _("Click to toggle display."), NULL);
  gtk_widget_set_events (progressbar_bws_in, GDK_BUTTON_PRESS_MASK);
  gtk_progress_set_show_text (GTK_PROGRESS (progressbar_bws_in), TRUE);
  gtk_progress_set_format_string (GTK_PROGRESS (progressbar_bws_in), _("in"));

  progressbar_bws_out = gtk_progress_bar_new ();
  gtk_widget_set_name (progressbar_bws_out, "progressbar_bws_out");
  gtk_widget_ref (progressbar_bws_out);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "progressbar_bws_out", progressbar_bws_out,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (progressbar_bws_out);
  gtk_box_pack_start (GTK_BOX (vbox42), progressbar_bws_out, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, progressbar_bws_out, _("Click to toggle display."), NULL);
  gtk_widget_set_events (progressbar_bws_out, GDK_BUTTON_PRESS_MASK);
  gtk_progress_set_show_text (GTK_PROGRESS (progressbar_bws_out), TRUE);
  gtk_progress_set_format_string (GTK_PROGRESS (progressbar_bws_out), _("out"));

  frame_bws_ginout = gtk_frame_new (_("GnutellaNet traffic"));
  gtk_widget_set_name (frame_bws_ginout, "frame_bws_ginout");
  gtk_widget_ref (frame_bws_ginout);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "frame_bws_ginout", frame_bws_ginout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_bws_ginout);
  gtk_box_pack_start (GTK_BOX (vbox31), frame_bws_ginout, FALSE, FALSE, 0);
  gtk_frame_set_label_align (GTK_FRAME (frame_bws_ginout), 0.5, 0.5);
  gtk_frame_set_shadow_type (GTK_FRAME (frame_bws_ginout), GTK_SHADOW_OUT);

  vbox43 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox43, "vbox43");
  gtk_widget_ref (vbox43);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox43", vbox43,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox43);
  gtk_container_add (GTK_CONTAINER (frame_bws_ginout), vbox43);

  progressbar_bws_gin = gtk_progress_bar_new ();
  gtk_widget_set_name (progressbar_bws_gin, "progressbar_bws_gin");
  gtk_widget_ref (progressbar_bws_gin);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "progressbar_bws_gin", progressbar_bws_gin,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (progressbar_bws_gin);
  gtk_box_pack_start (GTK_BOX (vbox43), progressbar_bws_gin, FALSE, FALSE, 0);
  gtk_widget_set_events (progressbar_bws_gin, GDK_BUTTON_PRESS_MASK);
  gtk_progress_set_show_text (GTK_PROGRESS (progressbar_bws_gin), TRUE);
  gtk_progress_set_format_string (GTK_PROGRESS (progressbar_bws_gin), _("in"));

  progressbar_bws_gout = gtk_progress_bar_new ();
  gtk_widget_set_name (progressbar_bws_gout, "progressbar_bws_gout");
  gtk_widget_ref (progressbar_bws_gout);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "progressbar_bws_gout", progressbar_bws_gout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (progressbar_bws_gout);
  gtk_box_pack_start (GTK_BOX (vbox43), progressbar_bws_gout, FALSE, FALSE, 0);
  gtk_widget_set_events (progressbar_bws_gout, GDK_BUTTON_PRESS_MASK);
  gtk_progress_set_show_text (GTK_PROGRESS (progressbar_bws_gout), TRUE);
  gtk_progress_set_format_string (GTK_PROGRESS (progressbar_bws_gout), _("out"));

  frame_bws_glinout = gtk_frame_new (_("Leaf traffic"));
  gtk_widget_set_name (frame_bws_glinout, "frame_bws_glinout");
  gtk_widget_ref (frame_bws_glinout);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "frame_bws_glinout", frame_bws_glinout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_bws_glinout);
  gtk_box_pack_start (GTK_BOX (vbox31), frame_bws_glinout, TRUE, TRUE, 0);
  gtk_frame_set_label_align (GTK_FRAME (frame_bws_glinout), 0.5, 0.5);
  gtk_frame_set_shadow_type (GTK_FRAME (frame_bws_glinout), GTK_SHADOW_OUT);

  vbox107 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox107, "vbox107");
  gtk_widget_ref (vbox107);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox107", vbox107,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox107);
  gtk_container_add (GTK_CONTAINER (frame_bws_glinout), vbox107);

  progressbar_bws_lin = gtk_progress_bar_new ();
  gtk_widget_set_name (progressbar_bws_lin, "progressbar_bws_lin");
  gtk_widget_ref (progressbar_bws_lin);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "progressbar_bws_lin", progressbar_bws_lin,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (progressbar_bws_lin);
  gtk_box_pack_start (GTK_BOX (vbox107), progressbar_bws_lin, FALSE, FALSE, 0);
  gtk_widget_set_events (progressbar_bws_lin, GDK_BUTTON_PRESS_MASK);
  gtk_progress_set_show_text (GTK_PROGRESS (progressbar_bws_lin), TRUE);
  gtk_progress_set_format_string (GTK_PROGRESS (progressbar_bws_lin), _("in"));

  progressbar_bws_lout = gtk_progress_bar_new ();
  gtk_widget_set_name (progressbar_bws_lout, "progressbar_bws_lout");
  gtk_widget_ref (progressbar_bws_lout);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "progressbar_bws_lout", progressbar_bws_lout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (progressbar_bws_lout);
  gtk_box_pack_start (GTK_BOX (vbox107), progressbar_bws_lout, FALSE, FALSE, 0);
  gtk_widget_set_events (progressbar_bws_lout, GDK_BUTTON_PRESS_MASK);
  gtk_progress_set_show_text (GTK_PROGRESS (progressbar_bws_lout), TRUE);
  gtk_progress_set_format_string (GTK_PROGRESS (progressbar_bws_lout), _("out"));

  vbox_right = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox_right, "vbox_right");
  gtk_widget_ref (vbox_right);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox_right", vbox_right,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox_right);
  gtk_paned_pack2 (GTK_PANED (hpaned_main), vbox_right, TRUE, TRUE);

  notebook_main = gtk_notebook_new ();
  gtk_widget_set_name (notebook_main, "notebook_main");
  gtk_widget_ref (notebook_main);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "notebook_main", notebook_main,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (notebook_main);
  gtk_box_pack_start (GTK_BOX (vbox_right), notebook_main, TRUE, TRUE, 0);

  vbox_gnutellanet = gtk_vbox_new (FALSE, 6);
  gtk_widget_set_name (vbox_gnutellanet, "vbox_gnutellanet");
  gtk_widget_ref (vbox_gnutellanet);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox_gnutellanet", vbox_gnutellanet,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox_gnutellanet);
  gtk_container_add (GTK_CONTAINER (notebook_main), vbox_gnutellanet);
  gtk_container_set_border_width (GTK_CONTAINER (vbox_gnutellanet), 2);

  frame5 = gtk_frame_new (_("GnutellaNet connections"));
  gtk_widget_set_name (frame5, "frame5");
  gtk_widget_ref (frame5);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "frame5", frame5,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame5);
  gtk_box_pack_start (GTK_BOX (vbox_gnutellanet), frame5, TRUE, TRUE, 0);

  vbox17 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox17, "vbox17");
  gtk_widget_ref (vbox17);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox17", vbox17,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox17);
  gtk_container_add (GTK_CONTAINER (frame5), vbox17);
  gtk_container_set_border_width (GTK_CONTAINER (vbox17), 2);

  sw_nodes = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (sw_nodes, "sw_nodes");
  gtk_widget_ref (sw_nodes);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "sw_nodes", sw_nodes,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (sw_nodes);
  gtk_box_pack_start (GTK_BOX (vbox17), sw_nodes, TRUE, TRUE, 0);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw_nodes), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  clist_nodes = gtk_clist_new (8);
  gtk_widget_set_name (clist_nodes, "clist_nodes");
  gtk_widget_ref (clist_nodes);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "clist_nodes", clist_nodes,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (clist_nodes);
  gtk_container_add (GTK_CONTAINER (sw_nodes), clist_nodes);
  gtk_container_set_border_width (GTK_CONTAINER (clist_nodes), 2);
  GTK_WIDGET_UNSET_FLAGS (clist_nodes, GTK_CAN_FOCUS);
  gtk_clist_set_column_width (GTK_CLIST (clist_nodes), 0, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_nodes), 1, 36);
  gtk_clist_set_column_width (GTK_CLIST (clist_nodes), 2, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_nodes), 3, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_nodes), 4, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_nodes), 5, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_nodes), 6, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_nodes), 7, 80);
  gtk_clist_set_selection_mode (GTK_CLIST (clist_nodes), GTK_SELECTION_EXTENDED);
  gtk_clist_column_titles_show (GTK_CLIST (clist_nodes));

  label13 = gtk_label_new (_("Host"));
  gtk_widget_set_name (label13, "label13");
  gtk_widget_ref (label13);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label13", label13,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label13);
  gtk_clist_set_column_widget (GTK_CLIST (clist_nodes), 0, label13);
  gtk_misc_set_alignment (GTK_MISC (label13), 0, 0.5);

  label14b = gtk_label_new (_("Loc"));
  gtk_widget_set_name (label14b, "label14b");
  gtk_widget_ref (label14b);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label14b", label14b,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label14b);
  gtk_clist_set_column_widget (GTK_CLIST (clist_nodes), 1, label14b);

  label14 = gtk_label_new (_("Flags"));
  gtk_widget_set_name (label14, "label14");
  gtk_widget_ref (label14);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label14", label14,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label14);
  gtk_clist_set_column_widget (GTK_CLIST (clist_nodes), 2, label14);

  label_node_vendor = gtk_label_new (_("User-Agent"));
  gtk_widget_set_name (label_node_vendor, "label_node_vendor");
  gtk_widget_ref (label_node_vendor);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_node_vendor", label_node_vendor,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_node_vendor);
  gtk_clist_set_column_widget (GTK_CLIST (clist_nodes), 3, label_node_vendor);

  label_node_proto = gtk_label_new (_("Ver"));
  gtk_widget_set_name (label_node_proto, "label_node_proto");
  gtk_widget_ref (label_node_proto);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_node_proto", label_node_proto,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_node_proto);
  gtk_clist_set_column_widget (GTK_CLIST (clist_nodes), 4, label_node_proto);

  label_node_connected = gtk_label_new (_("Connected time"));
  gtk_widget_set_name (label_node_connected, "label_node_connected");
  gtk_widget_ref (label_node_connected);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_node_connected", label_node_connected,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_node_connected);
  gtk_clist_set_column_widget (GTK_CLIST (clist_nodes), 5, label_node_connected);
  gtk_misc_set_alignment (GTK_MISC (label_node_connected), 7.45058e-09, 0.5);

  label_node_uptime = gtk_label_new (_("Uptime"));
  gtk_widget_set_name (label_node_uptime, "label_node_uptime");
  gtk_widget_ref (label_node_uptime);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_node_uptime", label_node_uptime,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_node_uptime);
  gtk_clist_set_column_widget (GTK_CLIST (clist_nodes), 6, label_node_uptime);

  label_node_info = gtk_label_new (_("Info"));
  gtk_widget_set_name (label_node_info, "label_node_info");
  gtk_widget_ref (label_node_info);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_node_info", label_node_info,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_node_info);
  gtk_clist_set_column_widget (GTK_CLIST (clist_nodes), 7, label_node_info);
  gtk_misc_set_alignment (GTK_MISC (label_node_info), 7.45058e-09, 0.5);

  hbox2 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox2, "hbox2");
  gtk_widget_ref (hbox2);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox2", hbox2,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox2);
  gtk_box_pack_start (GTK_BOX (vbox17), hbox2, FALSE, TRUE, 0);

  button_nodes_disconnect = gtk_button_new_with_label (_("Disconnect"));
  gtk_widget_set_name (button_nodes_disconnect, "button_nodes_disconnect");
  gtk_widget_ref (button_nodes_disconnect);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "button_nodes_disconnect", button_nodes_disconnect,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_nodes_disconnect);
  gtk_box_pack_start (GTK_BOX (hbox2), button_nodes_disconnect, FALSE, FALSE, 0);
  gtk_widget_set_sensitive (button_nodes_disconnect, FALSE);
  gtk_tooltips_set_tip (tooltips, button_nodes_disconnect, _("Disconnect from selected nodes"), NULL);

  button_nodes_add = gtk_button_new_with_label (_("Add"));
  gtk_widget_set_name (button_nodes_add, "button_nodes_add");
  gtk_widget_ref (button_nodes_add);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "button_nodes_add", button_nodes_add,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_nodes_add);
  gtk_box_pack_start (GTK_BOX (hbox2), button_nodes_add, FALSE, FALSE, 0);
  gtk_widget_set_sensitive (button_nodes_add, FALSE);
  gtk_tooltips_set_tip (tooltips, button_nodes_add, _("Try to connect to specified address"), NULL);

  entry_host = gtk_entry_new ();
  gtk_widget_set_name (entry_host, "entry_host");
  gtk_widget_ref (entry_host);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "entry_host", entry_host,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_host);
  gtk_box_pack_start (GTK_BOX (hbox2), entry_host, TRUE, TRUE, 0);

  hbox200 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox200, "hbox200");
  gtk_widget_ref (hbox200);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox200", hbox200,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox200);
  gtk_box_pack_start (GTK_BOX (vbox17), hbox200, FALSE, TRUE, 0);

  hbox_normal_or_ultrapeer = gtk_table_new (2, 2, FALSE);
  gtk_widget_set_name (hbox_normal_or_ultrapeer, "hbox_normal_or_ultrapeer");
  gtk_widget_ref (hbox_normal_or_ultrapeer);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox_normal_or_ultrapeer", hbox_normal_or_ultrapeer,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox_normal_or_ultrapeer);
  gtk_box_pack_start (GTK_BOX (hbox200), hbox_normal_or_ultrapeer, TRUE, TRUE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (hbox_normal_or_ultrapeer), 2);
  gtk_table_set_col_spacings (GTK_TABLE (hbox_normal_or_ultrapeer), 4);

  label530 = gtk_label_new (_("Minimum"));
  gtk_widget_set_name (label530, "label530");
  gtk_widget_ref (label530);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label530", label530,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label530);
  gtk_table_attach (GTK_TABLE (hbox_normal_or_ultrapeer), label530, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label530), 0, 0.5);

  label531 = gtk_label_new (_("Maximum"));
  gtk_widget_set_name (label531, "label531");
  gtk_widget_ref (label531);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label531", label531,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label531);
  gtk_table_attach (GTK_TABLE (hbox_normal_or_ultrapeer), label531, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label531), 0, 0.5);

  spinbutton_up_connections_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_up_connections = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_up_connections_adj), 1, 0);
  gtk_widget_set_name (spinbutton_up_connections, "spinbutton_up_connections");
  gtk_widget_ref (spinbutton_up_connections);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "spinbutton_up_connections", spinbutton_up_connections,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_up_connections);
  gtk_table_attach (GTK_TABLE (hbox_normal_or_ultrapeer), spinbutton_up_connections, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_up_connections), TRUE);

  spinbutton_max_connections_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_max_connections = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_max_connections_adj), 1, 0);
  gtk_widget_set_name (spinbutton_max_connections, "spinbutton_max_connections");
  gtk_widget_ref (spinbutton_max_connections);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "spinbutton_max_connections", spinbutton_max_connections,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_max_connections);
  gtk_table_attach (GTK_TABLE (hbox_normal_or_ultrapeer), spinbutton_max_connections, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_max_connections), TRUE);

  hbox_leaf = gtk_table_new (1, 2, FALSE);
  gtk_widget_set_name (hbox_leaf, "hbox_leaf");
  gtk_widget_ref (hbox_leaf);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox_leaf", hbox_leaf,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox_leaf);
  gtk_box_pack_start (GTK_BOX (hbox200), hbox_leaf, TRUE, FALSE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (hbox_leaf), 2);
  gtk_table_set_col_spacings (GTK_TABLE (hbox_leaf), 4);

  label532 = gtk_label_new (_("Ultrapeers in leaf mode"));
  gtk_widget_set_name (label532, "label532");
  gtk_widget_ref (label532);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label532", label532,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label532);
  gtk_table_attach (GTK_TABLE (hbox_leaf), label532, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label532), 0, 0.5);

  spinbutton_max_ultrapeers_adj = gtk_adjustment_new (3, 0, 5, 1, 10, 10);
  spinbutton_max_ultrapeers = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_max_ultrapeers_adj), 1, 0);
  gtk_widget_set_name (spinbutton_max_ultrapeers, "spinbutton_max_ultrapeers");
  gtk_widget_ref (spinbutton_max_ultrapeers);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "spinbutton_max_ultrapeers", spinbutton_max_ultrapeers,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_max_ultrapeers);
  gtk_table_attach (GTK_TABLE (hbox_leaf), spinbutton_max_ultrapeers, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  table91 = gtk_table_new (1, 2, FALSE);
  gtk_widget_set_name (table91, "table91");
  gtk_widget_ref (table91);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "table91", table91,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table91);
  gtk_box_pack_start (GTK_BOX (hbox200), table91, TRUE, TRUE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table91), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table91), 4);

  spinbutton_quick_connect_pool_size_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_quick_connect_pool_size = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_quick_connect_pool_size_adj), 1, 0);
  gtk_widget_set_name (spinbutton_quick_connect_pool_size, "spinbutton_quick_connect_pool_size");
  gtk_widget_ref (spinbutton_quick_connect_pool_size);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "spinbutton_quick_connect_pool_size", spinbutton_quick_connect_pool_size,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_quick_connect_pool_size);
  gtk_table_attach (GTK_TABLE (table91), spinbutton_quick_connect_pool_size, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label680 = gtk_label_new (_("Quick-connect pool size"));
  gtk_widget_set_name (label680, "label680");
  gtk_widget_ref (label680);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label680", label680,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label680);
  gtk_table_attach (GTK_TABLE (table91), label680, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label680), 1, 0.5);

  vbox83 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox83, "vbox83");
  gtk_widget_ref (vbox83);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox83", vbox83,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox83);
  gtk_box_pack_start (GTK_BOX (vbox_gnutellanet), vbox83, FALSE, TRUE, 0);

  frame127 = gtk_frame_new (_("Transferred data"));
  gtk_widget_set_name (frame127, "frame127");
  gtk_widget_ref (frame127);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "frame127", frame127,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame127);
  gtk_box_pack_start (GTK_BOX (vbox83), frame127, TRUE, TRUE, 0);

  table37 = gtk_table_new (3, 3, FALSE);
  gtk_widget_set_name (table37, "table37");
  gtk_widget_ref (table37);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "table37", table37,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table37);
  gtk_container_add (GTK_CONTAINER (frame127), table37);
  gtk_container_set_border_width (GTK_CONTAINER (table37), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table37), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table37), 4);

  label12 = gtk_label_new (_("Uploaded:"));
  gtk_widget_set_name (label12, "label12");
  gtk_widget_ref (label12);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label12", label12,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label12);
  gtk_table_attach (GTK_TABLE (table37), label12, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_label_set_justify (GTK_LABEL (label12), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (label12), 7.45058e-09, 0.5);

  label11 = gtk_label_new (_("Downloaded:"));
  gtk_widget_set_name (label11, "label11");
  gtk_widget_ref (label11);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label11", label11,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label11);
  gtk_table_attach (GTK_TABLE (table37), label11, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_label_set_justify (GTK_LABEL (label11), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (label11), 7.45058e-09, 0.5);

  entry_count_downloads = gtk_entry_new ();
  gtk_widget_set_name (entry_count_downloads, "entry_count_downloads");
  gtk_widget_ref (entry_count_downloads);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "entry_count_downloads", entry_count_downloads,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_count_downloads);
  gtk_table_attach (GTK_TABLE (table37), entry_count_downloads, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, entry_count_downloads, _("Somebody tell me a sensible tooltip for this."), NULL);
  gtk_entry_set_editable (GTK_ENTRY (entry_count_downloads), FALSE);

  entry_count_uploads = gtk_entry_new ();
  gtk_widget_set_name (entry_count_uploads, "entry_count_uploads");
  gtk_widget_ref (entry_count_uploads);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "entry_count_uploads", entry_count_uploads,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_count_uploads);
  gtk_table_attach (GTK_TABLE (table37), entry_count_uploads, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, entry_count_uploads, _("Somebody tell me a sensible tooltip for this."), NULL);
  gtk_entry_set_editable (GTK_ENTRY (entry_count_uploads), FALSE);

  label455 = gtk_label_new (_("Chunks/Files:"));
  gtk_widget_set_name (label455, "label455");
  gtk_widget_ref (label455);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label455", label455,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label455);
  gtk_table_attach (GTK_TABLE (table37), label455, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label456 = gtk_label_new (_("Volume:"));
  gtk_widget_set_name (label456, "label456");
  gtk_widget_ref (label456);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label456", label456,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label456);
  gtk_table_attach (GTK_TABLE (table37), label456, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  entry_ul_byte_count = gtk_entry_new ();
  gtk_widget_set_name (entry_ul_byte_count, "entry_ul_byte_count");
  gtk_widget_ref (entry_ul_byte_count);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "entry_ul_byte_count", entry_ul_byte_count,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_ul_byte_count);
  gtk_table_attach (GTK_TABLE (table37), entry_ul_byte_count, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_entry_set_editable (GTK_ENTRY (entry_ul_byte_count), FALSE);

  entry_dl_byte_count = gtk_entry_new ();
  gtk_widget_set_name (entry_dl_byte_count, "entry_dl_byte_count");
  gtk_widget_ref (entry_dl_byte_count);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "entry_dl_byte_count", entry_dl_byte_count,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_dl_byte_count);
  gtk_table_attach (GTK_TABLE (table37), entry_dl_byte_count, 2, 3, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_entry_set_editable (GTK_ENTRY (entry_dl_byte_count), FALSE);

  frame_expert_node_info = gtk_frame_new (_("Local node"));
  gtk_widget_set_name (frame_expert_node_info, "frame_expert_node_info");
  gtk_widget_ref (frame_expert_node_info);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "frame_expert_node_info", frame_expert_node_info,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_expert_node_info);
  gtk_box_pack_start (GTK_BOX (vbox83), frame_expert_node_info, TRUE, TRUE, 0);

  vbox34 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox34, "vbox34");
  gtk_widget_ref (vbox34);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox34", vbox34,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox34);
  gtk_container_add (GTK_CONTAINER (frame_expert_node_info), vbox34);

  table6 = gtk_table_new (1, 4, FALSE);
  gtk_widget_set_name (table6, "table6");
  gtk_widget_ref (table6);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "table6", table6,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table6);
  gtk_box_pack_start (GTK_BOX (vbox34), table6, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (table6), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table6), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table6), 4);

  label150 = gtk_label_new (_("GUID:"));
  gtk_widget_set_name (label150, "label150");
  gtk_widget_ref (label150);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label150", label150,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label150);
  gtk_table_attach (GTK_TABLE (table6), label150, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label150), 7.45058e-09, 0.5);

  entry_nodes_guid = gtk_entry_new ();
  gtk_widget_set_name (entry_nodes_guid, "entry_nodes_guid");
  gtk_widget_ref (entry_nodes_guid);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "entry_nodes_guid", entry_nodes_guid,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_nodes_guid);
  gtk_table_attach (GTK_TABLE (table6), entry_nodes_guid, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (entry_nodes_guid, 72, -2);
  gtk_entry_set_editable (GTK_ENTRY (entry_nodes_guid), FALSE);

  label151 = gtk_label_new (_("IP:Port:"));
  gtk_widget_set_name (label151, "label151");
  gtk_widget_ref (label151);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label151", label151,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label151);
  gtk_table_attach (GTK_TABLE (table6), label151, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label151), 0, 0.5);

  entry_nodes_ip = gtk_entry_new ();
  gtk_widget_set_name (entry_nodes_ip, "entry_nodes_ip");
  gtk_widget_ref (entry_nodes_ip);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "entry_nodes_ip", entry_nodes_ip,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_nodes_ip);
  gtk_table_attach (GTK_TABLE (table6), entry_nodes_ip, 3, 4, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (entry_nodes_ip, 72, -2);
  gtk_tooltips_set_tip (tooltips, entry_nodes_ip, _("The current IP address and listening port for this node. To change these go to File->Preferences->Network."), NULL);
  gtk_entry_set_editable (GTK_ENTRY (entry_nodes_ip), FALSE);

  label_gnutellanet = gtk_label_new (_("[Gnet]"));
  gtk_widget_set_name (label_gnutellanet, "label_gnutellanet");
  gtk_widget_ref (label_gnutellanet);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_gnutellanet", label_gnutellanet,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_gnutellanet);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_main), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_main), 0), label_gnutellanet);

  vbox93 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox93, "vbox93");
  gtk_widget_ref (vbox93);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox93", vbox93,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox93);
  gtk_container_add (GTK_CONTAINER (notebook_main), vbox93);

  frame69 = gtk_frame_new (_("Message/flow control stats"));
  gtk_widget_set_name (frame69, "frame69");
  gtk_widget_ref (frame69);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "frame69", frame69,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame69);
  gtk_box_pack_start (GTK_BOX (vbox93), frame69, TRUE, TRUE, 0);
  gtk_widget_set_usize (frame69, -2, 210);

  vbox97 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox97, "vbox97");
  gtk_widget_ref (vbox97);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox97", vbox97,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox97);
  gtk_container_add (GTK_CONTAINER (frame69), vbox97);
  gtk_container_set_border_width (GTK_CONTAINER (vbox97), 2);

  notebook3 = gtk_notebook_new ();
  gtk_widget_set_name (notebook3, "notebook3");
  gtk_widget_ref (notebook3);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "notebook3", notebook3,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (notebook3);
  gtk_box_pack_start (GTK_BOX (vbox97), notebook3, TRUE, TRUE, 0);
  gtk_widget_set_usize (notebook3, -2, 157);

  hbox2106 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox2106, "hbox2106");
  gtk_widget_ref (hbox2106);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox2106", hbox2106,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox2106);
  gtk_container_add (GTK_CONTAINER (notebook3), hbox2106);

  scrolledwindow31 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow31, "scrolledwindow31");
  gtk_widget_ref (scrolledwindow31);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "scrolledwindow31", scrolledwindow31,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow31);
  gtk_box_pack_start (GTK_BOX (hbox2106), scrolledwindow31, TRUE, TRUE, 0);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow31), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  clist_gnet_stats_general = gtk_clist_new (2);
  gtk_widget_set_name (clist_gnet_stats_general, "clist_gnet_stats_general");
  gtk_widget_ref (clist_gnet_stats_general);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "clist_gnet_stats_general", clist_gnet_stats_general,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (clist_gnet_stats_general);
  gtk_container_add (GTK_CONTAINER (scrolledwindow31), clist_gnet_stats_general);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_general), 0, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_general), 1, 80);
  gtk_clist_column_titles_show (GTK_CLIST (clist_gnet_stats_general));

  label403 = gtk_label_new (_("Type"));
  gtk_widget_set_name (label403, "label403");
  gtk_widget_ref (label403);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label403", label403,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label403);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_general), 0, label403);
  gtk_misc_set_alignment (GTK_MISC (label403), 7.45058e-09, 0.5);

  label404 = gtk_label_new (_("Count"));
  gtk_widget_set_name (label404, "label404");
  gtk_widget_ref (label404);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label404", label404,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label404);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_general), 1, label404);

  scrolledwindow26 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow26, "scrolledwindow26");
  gtk_widget_ref (scrolledwindow26);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "scrolledwindow26", scrolledwindow26,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow26);
  gtk_box_pack_start (GTK_BOX (hbox2106), scrolledwindow26, TRUE, TRUE, 0);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow26), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  clist_gnet_stats_drop_reasons = gtk_clist_new (2);
  gtk_widget_set_name (clist_gnet_stats_drop_reasons, "clist_gnet_stats_drop_reasons");
  gtk_widget_ref (clist_gnet_stats_drop_reasons);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "clist_gnet_stats_drop_reasons", clist_gnet_stats_drop_reasons,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (clist_gnet_stats_drop_reasons);
  gtk_container_add (GTK_CONTAINER (scrolledwindow26), clist_gnet_stats_drop_reasons);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_drop_reasons), 0, 125);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_drop_reasons), 1, 57);
  gtk_clist_column_titles_show (GTK_CLIST (clist_gnet_stats_drop_reasons));

  label375 = gtk_label_new (_("Reason"));
  gtk_widget_set_name (label375, "label375");
  gtk_widget_ref (label375);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label375", label375,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label375);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_drop_reasons), 0, label375);
  gtk_misc_set_alignment (GTK_MISC (label375), 7.45058e-09, 0.5);

  label376 = gtk_label_new (_("Count"));
  gtk_widget_set_name (label376, "label376");
  gtk_widget_ref (label376);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label376", label376,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label376);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_drop_reasons), 1, label376);

  label436 = gtk_label_new ("");
  gtk_label_parse_uline (GTK_LABEL (label436),
                         _("_General"));
  gtk_widget_set_name (label436, "label436");
  gtk_widget_ref (label436);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label436", label436,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label436);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook3), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook3), 0), label436);

  scrolledwindow38 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow38, "scrolledwindow38");
  gtk_widget_ref (scrolledwindow38);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "scrolledwindow38", scrolledwindow38,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow38);
  gtk_container_add (GTK_CONTAINER (notebook3), scrolledwindow38);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow38), GTK_POLICY_ALWAYS, GTK_POLICY_AUTOMATIC);

  clist_gnet_stats_fc_ttl = gtk_clist_new (10);
  gtk_widget_set_name (clist_gnet_stats_fc_ttl, "clist_gnet_stats_fc_ttl");
  gtk_widget_ref (clist_gnet_stats_fc_ttl);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "clist_gnet_stats_fc_ttl", clist_gnet_stats_fc_ttl,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (clist_gnet_stats_fc_ttl);
  gtk_container_add (GTK_CONTAINER (scrolledwindow38), clist_gnet_stats_fc_ttl);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_fc_ttl), 0, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_fc_ttl), 1, 28);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_fc_ttl), 2, 29);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_fc_ttl), 3, 38);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_fc_ttl), 4, 39);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_fc_ttl), 5, 25);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_fc_ttl), 6, 37);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_fc_ttl), 7, 29);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_fc_ttl), 8, 37);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_fc_ttl), 9, 80);
  gtk_clist_column_titles_show (GTK_CLIST (clist_gnet_stats_fc_ttl));

  label412 = gtk_label_new (_("Type"));
  gtk_widget_set_name (label412, "label412");
  gtk_widget_ref (label412);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label412", label412,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label412);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_fc_ttl), 0, label412);

  label413 = gtk_label_new (_("0"));
  gtk_widget_set_name (label413, "label413");
  gtk_widget_ref (label413);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label413", label413,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label413);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_fc_ttl), 1, label413);

  label414 = gtk_label_new (_("1"));
  gtk_widget_set_name (label414, "label414");
  gtk_widget_ref (label414);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label414", label414,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label414);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_fc_ttl), 2, label414);

  label415 = gtk_label_new (_("2"));
  gtk_widget_set_name (label415, "label415");
  gtk_widget_ref (label415);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label415", label415,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label415);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_fc_ttl), 3, label415);

  label416 = gtk_label_new (_("3"));
  gtk_widget_set_name (label416, "label416");
  gtk_widget_ref (label416);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label416", label416,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label416);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_fc_ttl), 4, label416);

  label417 = gtk_label_new (_("4"));
  gtk_widget_set_name (label417, "label417");
  gtk_widget_ref (label417);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label417", label417,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label417);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_fc_ttl), 5, label417);

  label418 = gtk_label_new (_("5"));
  gtk_widget_set_name (label418, "label418");
  gtk_widget_ref (label418);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label418", label418,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label418);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_fc_ttl), 6, label418);

  label419 = gtk_label_new (_("6"));
  gtk_widget_set_name (label419, "label419");
  gtk_widget_ref (label419);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label419", label419,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label419);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_fc_ttl), 7, label419);

  label420 = gtk_label_new (_("7"));
  gtk_widget_set_name (label420, "label420");
  gtk_widget_ref (label420);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label420", label420,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label420);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_fc_ttl), 8, label420);

  label421 = gtk_label_new (_("8+"));
  gtk_widget_set_name (label421, "label421");
  gtk_widget_ref (label421);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label421", label421,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label421);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_fc_ttl), 9, label421);

  label437 = gtk_label_new ("");
  gtk_label_parse_uline (GTK_LABEL (label437),
                         _("FC/_TTL"));
  gtk_widget_set_name (label437, "label437");
  gtk_widget_ref (label437);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label437", label437,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label437);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook3), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook3), 1), label437);

  scrolledwindow39 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow39, "scrolledwindow39");
  gtk_widget_ref (scrolledwindow39);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "scrolledwindow39", scrolledwindow39,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow39);
  gtk_container_add (GTK_CONTAINER (notebook3), scrolledwindow39);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow39), GTK_POLICY_ALWAYS, GTK_POLICY_AUTOMATIC);

  clist_gnet_stats_fc_hops = gtk_clist_new (10);
  gtk_widget_set_name (clist_gnet_stats_fc_hops, "clist_gnet_stats_fc_hops");
  gtk_widget_ref (clist_gnet_stats_fc_hops);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "clist_gnet_stats_fc_hops", clist_gnet_stats_fc_hops,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (clist_gnet_stats_fc_hops);
  gtk_container_add (GTK_CONTAINER (scrolledwindow39), clist_gnet_stats_fc_hops);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_fc_hops), 0, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_fc_hops), 1, 28);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_fc_hops), 2, 29);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_fc_hops), 3, 38);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_fc_hops), 4, 39);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_fc_hops), 5, 25);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_fc_hops), 6, 37);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_fc_hops), 7, 29);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_fc_hops), 8, 37);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_fc_hops), 9, 80);
  gtk_clist_column_titles_show (GTK_CLIST (clist_gnet_stats_fc_hops));

  label423 = gtk_label_new (_("Type"));
  gtk_widget_set_name (label423, "label423");
  gtk_widget_ref (label423);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label423", label423,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label423);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_fc_hops), 0, label423);

  label424 = gtk_label_new (_("0"));
  gtk_widget_set_name (label424, "label424");
  gtk_widget_ref (label424);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label424", label424,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label424);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_fc_hops), 1, label424);

  label425 = gtk_label_new (_("1"));
  gtk_widget_set_name (label425, "label425");
  gtk_widget_ref (label425);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label425", label425,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label425);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_fc_hops), 2, label425);

  label426 = gtk_label_new (_("2"));
  gtk_widget_set_name (label426, "label426");
  gtk_widget_ref (label426);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label426", label426,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label426);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_fc_hops), 3, label426);

  label427 = gtk_label_new (_("3"));
  gtk_widget_set_name (label427, "label427");
  gtk_widget_ref (label427);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label427", label427,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label427);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_fc_hops), 4, label427);

  label428 = gtk_label_new (_("4"));
  gtk_widget_set_name (label428, "label428");
  gtk_widget_ref (label428);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label428", label428,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label428);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_fc_hops), 5, label428);

  label429 = gtk_label_new (_("5"));
  gtk_widget_set_name (label429, "label429");
  gtk_widget_ref (label429);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label429", label429,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label429);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_fc_hops), 6, label429);

  label430 = gtk_label_new (_("6"));
  gtk_widget_set_name (label430, "label430");
  gtk_widget_ref (label430);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label430", label430,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label430);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_fc_hops), 7, label430);

  label431 = gtk_label_new (_("7"));
  gtk_widget_set_name (label431, "label431");
  gtk_widget_ref (label431);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label431", label431,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label431);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_fc_hops), 8, label431);

  label432 = gtk_label_new (_("8+"));
  gtk_widget_set_name (label432, "label432");
  gtk_widget_ref (label432);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label432", label432,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label432);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_fc_hops), 9, label432);

  label438 = gtk_label_new ("");
  gtk_label_parse_uline (GTK_LABEL (label438),
                         _("FC/_hops"));
  gtk_widget_set_name (label438, "label438");
  gtk_widget_ref (label438);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label438", label438,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label438);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook3), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook3), 2), label438);

  scrolledwindow29 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow29, "scrolledwindow29");
  gtk_widget_ref (scrolledwindow29);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "scrolledwindow29", scrolledwindow29,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow29);
  gtk_container_add (GTK_CONTAINER (notebook3), scrolledwindow29);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow29), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  clist_gnet_stats_msg = gtk_clist_new (8);
  gtk_widget_set_name (clist_gnet_stats_msg, "clist_gnet_stats_msg");
  gtk_widget_ref (clist_gnet_stats_msg);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "clist_gnet_stats_msg", clist_gnet_stats_msg,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (clist_gnet_stats_msg);
  gtk_container_add (GTK_CONTAINER (scrolledwindow29), clist_gnet_stats_msg);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_msg), 0, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_msg), 1, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_msg), 2, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_msg), 3, 79);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_msg), 4, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_msg), 5, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_msg), 6, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_msg), 7, 80);
  gtk_clist_column_titles_show (GTK_CLIST (clist_gnet_stats_msg));

  label391 = gtk_label_new (_("Type"));
  gtk_widget_set_name (label391, "label391");
  gtk_widget_ref (label391);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label391", label391,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label391);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_msg), 0, label391);
  gtk_misc_set_alignment (GTK_MISC (label391), 7.45058e-09, 0.5);

  label392 = gtk_label_new (_("Received"));
  gtk_widget_set_name (label392, "label392");
  gtk_widget_ref (label392);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label392", label392,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label392);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_msg), 1, label392);

  label393 = gtk_label_new (_("Expired"));
  gtk_widget_set_name (label393, "label393");
  gtk_widget_ref (label393);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label393", label393,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label393);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_msg), 2, label393);

  label394 = gtk_label_new (_("Dropped"));
  gtk_widget_set_name (label394, "label394");
  gtk_widget_ref (label394);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label394", label394,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label394);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_msg), 3, label394);

  label395 = gtk_label_new (_("Queued"));
  gtk_widget_set_name (label395, "label395");
  gtk_widget_ref (label395);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label395", label395,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label395);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_msg), 4, label395);

  label500 = gtk_label_new (_("Relayed"));
  gtk_widget_set_name (label500, "label500");
  gtk_widget_ref (label500);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label500", label500,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label500);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_msg), 5, label500);

  label501 = gtk_label_new (_("Gen. queued"));
  gtk_widget_set_name (label501, "label501");
  gtk_widget_ref (label501);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label501", label501,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label501);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_msg), 6, label501);

  label396 = gtk_label_new (_("Gen. sent"));
  gtk_widget_set_name (label396, "label396");
  gtk_widget_ref (label396);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label396", label396,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label396);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_msg), 7, label396);

  label776 = gtk_label_new ("");
  gtk_label_parse_uline (GTK_LABEL (label776),
                         _("_Messages"));
  gtk_widget_set_name (label776, "label776");
  gtk_widget_ref (label776);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label776", label776,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label776);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook3), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook3), 3), label776);

  scrolledwindow45 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow45, "scrolledwindow45");
  gtk_widget_ref (scrolledwindow45);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "scrolledwindow45", scrolledwindow45,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow45);
  gtk_container_add (GTK_CONTAINER (notebook3), scrolledwindow45);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow45), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  clist_gnet_stats_horizon = gtk_clist_new (4);
  gtk_widget_set_name (clist_gnet_stats_horizon, "clist_gnet_stats_horizon");
  gtk_widget_ref (clist_gnet_stats_horizon);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "clist_gnet_stats_horizon", clist_gnet_stats_horizon,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (clist_gnet_stats_horizon);
  gtk_container_add (GTK_CONTAINER (scrolledwindow45), clist_gnet_stats_horizon);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_horizon), 0, 56);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_horizon), 1, 50);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_horizon), 2, 78);
  gtk_clist_set_column_width (GTK_CLIST (clist_gnet_stats_horizon), 3, 80);
  gtk_clist_column_titles_show (GTK_CLIST (clist_gnet_stats_horizon));

  label663 = gtk_label_new (_("Hops"));
  gtk_widget_set_name (label663, "label663");
  gtk_widget_ref (label663);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label663", label663,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label663);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_horizon), 0, label663);
  gtk_widget_set_usize (label663, 30, -2);

  label664 = gtk_label_new (_("Nodes"));
  gtk_widget_set_name (label664, "label664");
  gtk_widget_ref (label664);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label664", label664,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label664);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_horizon), 1, label664);
  gtk_widget_set_usize (label664, 36, -2);

  label665 = gtk_label_new (_("Files"));
  gtk_widget_set_name (label665, "label665");
  gtk_widget_ref (label665);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label665", label665,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label665);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_horizon), 2, label665);
  gtk_widget_set_usize (label665, 36, -2);

  label666 = gtk_label_new (_("Size"));
  gtk_widget_set_name (label666, "label666");
  gtk_widget_ref (label666);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label666", label666,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label666);
  gtk_clist_set_column_widget (GTK_CLIST (clist_gnet_stats_horizon), 3, label666);
  gtk_widget_set_usize (label666, 36, -2);

  label777 = gtk_label_new ("");
  gtk_label_parse_uline (GTK_LABEL (label777),
                         _("_Horizon"));
  gtk_widget_set_name (label777, "label777");
  gtk_widget_ref (label777);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label777", label777,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label777);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook3), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook3), 4), label777);

  table93 = gtk_table_new (2, 4, FALSE);
  gtk_widget_set_name (table93, "table93");
  gtk_widget_ref (table93);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "table93", table93,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table93);
  gtk_box_pack_start (GTK_BOX (vbox97), table93, FALSE, FALSE, 0);

  checkbutton_gnet_stats_bytes = gtk_check_button_new_with_label ("");
  checkbutton_gnet_stats_bytes_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_gnet_stats_bytes)->child),
                                   _("Show _bytes"));
  gtk_widget_add_accelerator (checkbutton_gnet_stats_bytes, "clicked", accel_group,
                              checkbutton_gnet_stats_bytes_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_gnet_stats_bytes, "checkbutton_gnet_stats_bytes");
  gtk_widget_ref (checkbutton_gnet_stats_bytes);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "checkbutton_gnet_stats_bytes", checkbutton_gnet_stats_bytes,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_gnet_stats_bytes);
  gtk_table_attach (GTK_TABLE (table93), checkbutton_gnet_stats_bytes, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_gnet_stats_perc = gtk_check_button_new_with_label ("");
  checkbutton_gnet_stats_perc_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_gnet_stats_perc)->child),
                                   _("Show _percentages"));
  gtk_widget_add_accelerator (checkbutton_gnet_stats_perc, "clicked", accel_group,
                              checkbutton_gnet_stats_perc_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_gnet_stats_perc, "checkbutton_gnet_stats_perc");
  gtk_widget_ref (checkbutton_gnet_stats_perc);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "checkbutton_gnet_stats_perc", checkbutton_gnet_stats_perc,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_gnet_stats_perc);
  gtk_table_attach (GTK_TABLE (table93), checkbutton_gnet_stats_perc, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_gnet_stats_with_headers = gtk_check_button_new_with_label ("");
  checkbutton_gnet_stats_with_headers_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_gnet_stats_with_headers)->child),
                                   _("_Include headers"));
  gtk_widget_add_accelerator (checkbutton_gnet_stats_with_headers, "clicked", accel_group,
                              checkbutton_gnet_stats_with_headers_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_gnet_stats_with_headers, "checkbutton_gnet_stats_with_headers");
  gtk_widget_ref (checkbutton_gnet_stats_with_headers);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "checkbutton_gnet_stats_with_headers", checkbutton_gnet_stats_with_headers,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_gnet_stats_with_headers);
  gtk_table_attach (GTK_TABLE (table93), checkbutton_gnet_stats_with_headers, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label697 = gtk_label_new ("");
  label697_key = gtk_label_parse_uline (GTK_LABEL (label697),
                                   _("Show pr_otocol:"));
  gtk_widget_set_name (label697, "label697");
  gtk_widget_ref (label697);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label697", label697,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label697);
  gtk_table_attach (GTK_TABLE (table93), label697, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label697), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label697), 4, 0);

  label390 = gtk_label_new ("");
  label390_key = gtk_label_parse_uline (GTK_LABEL (label390),
                                   _("Show r_easons for"));
  gtk_widget_set_name (label390, "label390");
  gtk_widget_ref (label390);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label390", label390,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label390);
  gtk_table_attach (GTK_TABLE (table93), label390, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label390), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label390), 2, 0);

  option_menu_gnet_stats_source = gtk_option_menu_new ();
  gtk_widget_set_name (option_menu_gnet_stats_source, "option_menu_gnet_stats_source");
  gtk_widget_ref (option_menu_gnet_stats_source);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "option_menu_gnet_stats_source", option_menu_gnet_stats_source,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (option_menu_gnet_stats_source);
  gtk_table_attach (GTK_TABLE (table93), option_menu_gnet_stats_source, 3, 4, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  option_menu_gnet_stats_source_menu = gtk_menu_new ();
  gtk_option_menu_set_menu (GTK_OPTION_MENU (option_menu_gnet_stats_source), option_menu_gnet_stats_source_menu);

  option_menu_gnet_stats_type = gtk_option_menu_new ();
  gtk_widget_set_name (option_menu_gnet_stats_type, "option_menu_gnet_stats_type");
  gtk_widget_ref (option_menu_gnet_stats_type);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "option_menu_gnet_stats_type", option_menu_gnet_stats_type,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (option_menu_gnet_stats_type);
  gtk_table_attach (GTK_TABLE (table93), option_menu_gnet_stats_type, 3, 4, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  option_menu_gnet_stats_type_menu = gtk_menu_new ();
  gtk_option_menu_set_menu (GTK_OPTION_MENU (option_menu_gnet_stats_type), option_menu_gnet_stats_type_menu);

  label_gnet_stats = gtk_label_new (_("[Gnet Stats]"));
  gtk_widget_set_name (label_gnet_stats, "label_gnet_stats");
  gtk_widget_ref (label_gnet_stats);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_gnet_stats", label_gnet_stats,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_gnet_stats);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_main), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_main), 1), label_gnet_stats);

  vbox127 = gtk_vbox_new (FALSE, 4);
  gtk_widget_set_name (vbox127, "vbox127");
  gtk_widget_ref (vbox127);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox127", vbox127,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox127);
  gtk_container_add (GTK_CONTAINER (notebook_main), vbox127);
  gtk_container_set_border_width (GTK_CONTAINER (vbox127), 2);

  frame128 = gtk_frame_new (_("Hostcache statistics"));
  gtk_widget_set_name (frame128, "frame128");
  gtk_widget_ref (frame128);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "frame128", frame128,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame128);
  gtk_box_pack_start (GTK_BOX (vbox127), frame128, TRUE, TRUE, 0);

  scrolledwindow46 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow46, "scrolledwindow46");
  gtk_widget_ref (scrolledwindow46);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "scrolledwindow46", scrolledwindow46,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow46);
  gtk_container_add (GTK_CONTAINER (frame128), scrolledwindow46);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow46), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  clist_hcache = gtk_clist_new (4);
  gtk_widget_set_name (clist_hcache, "clist_hcache");
  gtk_widget_ref (clist_hcache);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "clist_hcache", clist_hcache,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (clist_hcache);
  gtk_container_add (GTK_CONTAINER (scrolledwindow46), clist_hcache);
  gtk_clist_set_column_width (GTK_CLIST (clist_hcache), 0, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_hcache), 1, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_hcache), 2, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_hcache), 3, 80);
  gtk_clist_column_titles_show (GTK_CLIST (clist_hcache));

  label674 = gtk_label_new (_("Cache"));
  gtk_widget_set_name (label674, "label674");
  gtk_widget_ref (label674);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label674", label674,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label674);
  gtk_clist_set_column_widget (GTK_CLIST (clist_hcache), 0, label674);

  label675 = gtk_label_new (_("Hosts"));
  gtk_widget_set_name (label675, "label675");
  gtk_widget_ref (label675);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label675", label675,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label675);
  gtk_clist_set_column_widget (GTK_CLIST (clist_hcache), 1, label675);

  label676 = gtk_label_new (_("Hits"));
  gtk_widget_set_name (label676, "label676");
  gtk_widget_ref (label676);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label676", label676,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label676);
  gtk_clist_set_column_widget (GTK_CLIST (clist_hcache), 2, label676);

  label677 = gtk_label_new (_("Misses"));
  gtk_widget_set_name (label677, "label677");
  gtk_widget_ref (label677);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label677", label677,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label677);
  gtk_clist_set_column_widget (GTK_CLIST (clist_hcache), 3, label677);

  frame126 = gtk_frame_new (_("Hostcache capacity"));
  gtk_widget_set_name (frame126, "frame126");
  gtk_widget_ref (frame126);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "frame126", frame126,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame126);
  gtk_box_pack_start (GTK_BOX (vbox127), frame126, FALSE, TRUE, 0);

  hbox201 = gtk_hbox_new (TRUE, 4);
  gtk_widget_set_name (hbox201, "hbox201");
  gtk_widget_ref (hbox201);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox201", hbox201,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox201);
  gtk_container_add (GTK_CONTAINER (frame126), hbox201);
  gtk_container_set_border_width (GTK_CONTAINER (hbox201), 2);

  vbox128 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox128, "vbox128");
  gtk_widget_ref (vbox128);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox128", vbox128,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox128);
  gtk_box_pack_start (GTK_BOX (hbox201), vbox128, TRUE, TRUE, 0);

  progressbar_hosts_in_catcher = gtk_progress_bar_new ();
  gtk_widget_set_name (progressbar_hosts_in_catcher, "progressbar_hosts_in_catcher");
  gtk_widget_ref (progressbar_hosts_in_catcher);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "progressbar_hosts_in_catcher", progressbar_hosts_in_catcher,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (progressbar_hosts_in_catcher);
  gtk_box_pack_start (GTK_BOX (vbox128), progressbar_hosts_in_catcher, FALSE, FALSE, 0);
  gtk_progress_set_show_text (GTK_PROGRESS (progressbar_hosts_in_catcher), TRUE);
  gtk_progress_set_format_string (GTK_PROGRESS (progressbar_hosts_in_catcher), _("%v/%u (%P%%)"));

  hbox202 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox202, "hbox202");
  gtk_widget_ref (hbox202);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox202", hbox202,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox202);
  gtk_box_pack_start (GTK_BOX (vbox128), hbox202, TRUE, TRUE, 0);

  label95 = gtk_label_new (_("Regular hosts"));
  gtk_widget_set_name (label95, "label95");
  gtk_widget_ref (label95);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label95", label95,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label95);
  gtk_box_pack_start (GTK_BOX (hbox202), label95, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label95), 7.45058e-09, 0.5);

  spinbutton_max_hosts_cached_adj = gtk_adjustment_new (100, 100, 500000, 1, 100, 100);
  spinbutton_max_hosts_cached = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_max_hosts_cached_adj), 1, 0);
  gtk_widget_set_name (spinbutton_max_hosts_cached, "spinbutton_max_hosts_cached");
  gtk_widget_ref (spinbutton_max_hosts_cached);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "spinbutton_max_hosts_cached", spinbutton_max_hosts_cached,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_max_hosts_cached);
  gtk_box_pack_start (GTK_BOX (hbox202), spinbutton_max_hosts_cached, TRUE, TRUE, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_max_hosts_cached), TRUE);

  button_host_catcher_clear = gtk_button_new_with_label (_("Clear"));
  gtk_widget_set_name (button_host_catcher_clear, "button_host_catcher_clear");
  gtk_widget_ref (button_host_catcher_clear);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "button_host_catcher_clear", button_host_catcher_clear,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_host_catcher_clear);
  gtk_box_pack_start (GTK_BOX (hbox202), button_host_catcher_clear, FALSE, FALSE, 0);

  vbox129 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox129, "vbox129");
  gtk_widget_ref (vbox129);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox129", vbox129,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox129);
  gtk_box_pack_start (GTK_BOX (hbox201), vbox129, TRUE, TRUE, 0);

  progressbar_hosts_in_ultra_catcher = gtk_progress_bar_new ();
  gtk_widget_set_name (progressbar_hosts_in_ultra_catcher, "progressbar_hosts_in_ultra_catcher");
  gtk_widget_ref (progressbar_hosts_in_ultra_catcher);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "progressbar_hosts_in_ultra_catcher", progressbar_hosts_in_ultra_catcher,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (progressbar_hosts_in_ultra_catcher);
  gtk_box_pack_start (GTK_BOX (vbox129), progressbar_hosts_in_ultra_catcher, FALSE, FALSE, 0);
  gtk_progress_set_show_text (GTK_PROGRESS (progressbar_hosts_in_ultra_catcher), TRUE);
  gtk_progress_set_format_string (GTK_PROGRESS (progressbar_hosts_in_ultra_catcher), _("%v/%u (%P%%)"));

  hbox203 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox203, "hbox203");
  gtk_widget_ref (hbox203);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox203", hbox203,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox203);
  gtk_box_pack_start (GTK_BOX (vbox129), hbox203, TRUE, TRUE, 0);

  label453 = gtk_label_new (_("Ultrapeers"));
  gtk_widget_set_name (label453, "label453");
  gtk_widget_ref (label453);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label453", label453,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label453);
  gtk_box_pack_start (GTK_BOX (hbox203), label453, FALSE, FALSE, 0);

  spinbutton_max_ultra_hosts_cached_adj = gtk_adjustment_new (100, 100, 500000, 1, 100, 100);
  spinbutton_max_ultra_hosts_cached = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_max_ultra_hosts_cached_adj), 1, 0);
  gtk_widget_set_name (spinbutton_max_ultra_hosts_cached, "spinbutton_max_ultra_hosts_cached");
  gtk_widget_ref (spinbutton_max_ultra_hosts_cached);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "spinbutton_max_ultra_hosts_cached", spinbutton_max_ultra_hosts_cached,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_max_ultra_hosts_cached);
  gtk_box_pack_start (GTK_BOX (hbox203), spinbutton_max_ultra_hosts_cached, TRUE, TRUE, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_max_ultra_hosts_cached), TRUE);

  button_ultra_catcher_clear = gtk_button_new_with_label (_("Clear"));
  gtk_widget_set_name (button_ultra_catcher_clear, "button_ultra_catcher_clear");
  gtk_widget_ref (button_ultra_catcher_clear);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "button_ultra_catcher_clear", button_ultra_catcher_clear,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_ultra_catcher_clear);
  gtk_box_pack_start (GTK_BOX (hbox203), button_ultra_catcher_clear, FALSE, FALSE, 0);

  vbox130 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox130, "vbox130");
  gtk_widget_ref (vbox130);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox130", vbox130,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox130);
  gtk_box_pack_start (GTK_BOX (hbox201), vbox130, TRUE, TRUE, 0);

  progressbar_hosts_in_bad_catcher = gtk_progress_bar_new ();
  gtk_widget_set_name (progressbar_hosts_in_bad_catcher, "progressbar_hosts_in_bad_catcher");
  gtk_widget_ref (progressbar_hosts_in_bad_catcher);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "progressbar_hosts_in_bad_catcher", progressbar_hosts_in_bad_catcher,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (progressbar_hosts_in_bad_catcher);
  gtk_box_pack_start (GTK_BOX (vbox130), progressbar_hosts_in_bad_catcher, FALSE, FALSE, 0);
  gtk_progress_set_show_text (GTK_PROGRESS (progressbar_hosts_in_bad_catcher), TRUE);
  gtk_progress_set_format_string (GTK_PROGRESS (progressbar_hosts_in_bad_catcher), _("%v/%u (%P%%)"));

  hbox204 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox204, "hbox204");
  gtk_widget_ref (hbox204);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox204", hbox204,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox204);
  gtk_box_pack_start (GTK_BOX (vbox130), hbox204, TRUE, TRUE, 0);

  label678 = gtk_label_new (_("Bad hosts"));
  gtk_widget_set_name (label678, "label678");
  gtk_widget_ref (label678);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label678", label678,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label678);
  gtk_box_pack_start (GTK_BOX (hbox204), label678, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label678), 0, 0.5);

  spinbutton_max_bad_hosts_cached_adj = gtk_adjustment_new (100, 100, 500000, 1, 100, 100);
  spinbutton_max_bad_hosts_cached = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_max_bad_hosts_cached_adj), 1, 0);
  gtk_widget_set_name (spinbutton_max_bad_hosts_cached, "spinbutton_max_bad_hosts_cached");
  gtk_widget_ref (spinbutton_max_bad_hosts_cached);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "spinbutton_max_bad_hosts_cached", spinbutton_max_bad_hosts_cached,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_max_bad_hosts_cached);
  gtk_box_pack_start (GTK_BOX (hbox204), spinbutton_max_bad_hosts_cached, TRUE, TRUE, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_max_bad_hosts_cached), TRUE);

  button_hostcache_clear_bad = gtk_button_new_with_label (_("Clear"));
  gtk_widget_set_name (button_hostcache_clear_bad, "button_hostcache_clear_bad");
  gtk_widget_ref (button_hostcache_clear_bad);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "button_hostcache_clear_bad", button_hostcache_clear_bad,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_hostcache_clear_bad);
  gtk_box_pack_start (GTK_BOX (hbox204), button_hostcache_clear_bad, FALSE, FALSE, 0);

  label_hostcache = gtk_label_new (_("[Hostcache]"));
  gtk_widget_set_name (label_hostcache, "label_hostcache");
  gtk_widget_ref (label_hostcache);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_hostcache", label_hostcache,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_hostcache);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_main), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_main), 2), label_hostcache);

  frame6 = gtk_frame_new (_("Uploads"));
  gtk_widget_set_name (frame6, "frame6");
  gtk_widget_ref (frame6);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "frame6", frame6,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame6);
  gtk_container_add (GTK_CONTAINER (notebook_main), frame6);
  gtk_container_set_border_width (GTK_CONTAINER (frame6), 2);

  vbox18 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox18, "vbox18");
  gtk_widget_ref (vbox18);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox18", vbox18,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox18);
  gtk_container_add (GTK_CONTAINER (frame6), vbox18);
  gtk_container_set_border_width (GTK_CONTAINER (vbox18), 2);

  scrolledwindow9 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow9, "scrolledwindow9");
  gtk_widget_ref (scrolledwindow9);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "scrolledwindow9", scrolledwindow9,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow9);
  gtk_box_pack_start (GTK_BOX (vbox18), scrolledwindow9, TRUE, TRUE, 0);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow9), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  clist_uploads = gtk_clist_new (8);
  gtk_widget_set_name (clist_uploads, "clist_uploads");
  gtk_widget_ref (clist_uploads);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "clist_uploads", clist_uploads,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (clist_uploads);
  gtk_container_add (GTK_CONTAINER (scrolledwindow9), clist_uploads);
  gtk_clist_set_column_width (GTK_CLIST (clist_uploads), 0, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_uploads), 1, 60);
  gtk_clist_set_column_width (GTK_CLIST (clist_uploads), 2, 36);
  gtk_clist_set_column_width (GTK_CLIST (clist_uploads), 3, 40);
  gtk_clist_set_column_width (GTK_CLIST (clist_uploads), 4, 40);
  gtk_clist_set_column_width (GTK_CLIST (clist_uploads), 5, 60);
  gtk_clist_set_column_width (GTK_CLIST (clist_uploads), 6, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_uploads), 7, 80);
  gtk_clist_set_selection_mode (GTK_CLIST (clist_uploads), GTK_SELECTION_EXTENDED);
  gtk_clist_column_titles_show (GTK_CLIST (clist_uploads));

  label72 = gtk_label_new (_("Filename"));
  gtk_widget_set_name (label72, "label72");
  gtk_widget_ref (label72);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label72", label72,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label72);
  gtk_clist_set_column_widget (GTK_CLIST (clist_uploads), 0, label72);
  gtk_misc_set_alignment (GTK_MISC (label72), 7.45058e-09, 0.5);

  label73 = gtk_label_new (_("Host"));
  gtk_widget_set_name (label73, "label73");
  gtk_widget_ref (label73);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label73", label73,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label73);
  gtk_clist_set_column_widget (GTK_CLIST (clist_uploads), 1, label73);

  label73b = gtk_label_new (_("Loc"));
  gtk_widget_set_name (label73b, "label73b");
  gtk_widget_ref (label73b);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label73b", label73b,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label73b);
  gtk_clist_set_column_widget (GTK_CLIST (clist_uploads), 2, label73b);

  label_size_range = gtk_label_new (_("Size"));
  gtk_widget_set_name (label_size_range, "label_size_range");
  gtk_widget_ref (label_size_range);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_size_range", label_size_range,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_size_range);
  gtk_clist_set_column_widget (GTK_CLIST (clist_uploads), 3, label_size_range);

  label_up_range = gtk_label_new (_("Range"));
  gtk_widget_set_name (label_up_range, "label_up_range");
  gtk_widget_ref (label_up_range);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_up_range", label_up_range,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_up_range);
  gtk_clist_set_column_widget (GTK_CLIST (clist_uploads), 4, label_up_range);

  label_up_user_agent = gtk_label_new (_("User-Agent"));
  gtk_widget_set_name (label_up_user_agent, "label_up_user_agent");
  gtk_widget_ref (label_up_user_agent);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_up_user_agent", label_up_user_agent,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_up_user_agent);
  gtk_clist_set_column_widget (GTK_CLIST (clist_uploads), 5, label_up_user_agent);

  label_up_progress = gtk_label_new (_("Progress"));
  gtk_widget_set_name (label_up_progress, "label_up_progress");
  gtk_widget_ref (label_up_progress);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_up_progress", label_up_progress,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_up_progress);
  gtk_clist_set_column_widget (GTK_CLIST (clist_uploads), 6, label_up_progress);

  label74 = gtk_label_new (_("Status"));
  gtk_widget_set_name (label74, "label74");
  gtk_widget_ref (label74);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label74", label74,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label74);
  gtk_clist_set_column_widget (GTK_CLIST (clist_uploads), 7, label74);

  hbox72 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox72, "hbox72");
  gtk_widget_ref (hbox72);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox72", hbox72,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox72);
  gtk_box_pack_start (GTK_BOX (vbox18), hbox72, FALSE, TRUE, 0);

  button_uploads_kill = gtk_button_new_with_label (_(" Kill selected "));
  gtk_widget_set_name (button_uploads_kill, "button_uploads_kill");
  gtk_widget_ref (button_uploads_kill);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "button_uploads_kill", button_uploads_kill,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_uploads_kill);
  gtk_box_pack_start (GTK_BOX (hbox72), button_uploads_kill, FALSE, FALSE, 0);
  gtk_widget_set_sensitive (button_uploads_kill, FALSE);
  gtk_tooltips_set_tip (tooltips, button_uploads_kill, _("Abort and remove all selected uploads"), NULL);

  button_uploads_clear_completed = gtk_button_new_with_label (_(" Clear completed "));
  gtk_widget_set_name (button_uploads_clear_completed, "button_uploads_clear_completed");
  gtk_widget_ref (button_uploads_clear_completed);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "button_uploads_clear_completed", button_uploads_clear_completed,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_uploads_clear_completed);
  gtk_box_pack_start (GTK_BOX (hbox72), button_uploads_clear_completed, FALSE, FALSE, 0);
  gtk_widget_set_sensitive (button_uploads_clear_completed, FALSE);
  gtk_tooltips_set_tip (tooltips, button_uploads_clear_completed, _("Clear already completed uploads from list"), NULL);

  table61 = gtk_table_new (2, 4, FALSE);
  gtk_widget_set_name (table61, "table61");
  gtk_widget_ref (table61);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "table61", table61,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table61);
  gtk_box_pack_start (GTK_BOX (vbox18), table61, FALSE, FALSE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table61), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table61), 4);

  checkbutton_uploads_auto_clear_complete = gtk_check_button_new_with_label (_("Auto clear completed uploads"));
  gtk_widget_set_name (checkbutton_uploads_auto_clear_complete, "checkbutton_uploads_auto_clear_complete");
  gtk_widget_ref (checkbutton_uploads_auto_clear_complete);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "checkbutton_uploads_auto_clear_complete", checkbutton_uploads_auto_clear_complete,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_uploads_auto_clear_complete);
  gtk_table_attach (GTK_TABLE (table61), checkbutton_uploads_auto_clear_complete, 0, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_uploads_auto_clear_failed = gtk_check_button_new_with_label (_("Auto clear failed uploads"));
  gtk_widget_set_name (checkbutton_uploads_auto_clear_failed, "checkbutton_uploads_auto_clear_failed");
  gtk_widget_ref (checkbutton_uploads_auto_clear_failed);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "checkbutton_uploads_auto_clear_failed", checkbutton_uploads_auto_clear_failed,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_uploads_auto_clear_failed);
  gtk_table_attach (GTK_TABLE (table61), checkbutton_uploads_auto_clear_failed, 2, 4, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label81 = gtk_label_new (_("Max. simultaneous uploads"));
  gtk_widget_set_name (label81, "label81");
  gtk_widget_ref (label81);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label81", label81,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label81);
  gtk_table_attach (GTK_TABLE (table61), label81, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label130 = gtk_label_new (_("Max. uploads to a single host"));
  gtk_widget_set_name (label130, "label130");
  gtk_widget_ref (label130);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label130", label130,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label130);
  gtk_table_attach (GTK_TABLE (table61), label130, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label130), 1, 0.5);

  spinbutton_max_uploads_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_max_uploads = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_max_uploads_adj), 1, 0);
  gtk_widget_set_name (spinbutton_max_uploads, "spinbutton_max_uploads");
  gtk_widget_ref (spinbutton_max_uploads);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "spinbutton_max_uploads", spinbutton_max_uploads,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_max_uploads);
  gtk_table_attach (GTK_TABLE (table61), spinbutton_max_uploads, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_max_uploads), TRUE);

  spinbutton_max_uploads_ip_adj = gtk_adjustment_new (1, 1, 100, 1, 10, 10);
  spinbutton_max_uploads_ip = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_max_uploads_ip_adj), 1, 0);
  gtk_widget_set_name (spinbutton_max_uploads_ip, "spinbutton_max_uploads_ip");
  gtk_widget_ref (spinbutton_max_uploads_ip);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "spinbutton_max_uploads_ip", spinbutton_max_uploads_ip,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_max_uploads_ip);
  gtk_table_attach (GTK_TABLE (table61), spinbutton_max_uploads_ip, 3, 4, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_max_uploads_ip), TRUE);

  label_uploads = gtk_label_new (_("[Uploads]"));
  gtk_widget_set_name (label_uploads, "label_uploads");
  gtk_widget_ref (label_uploads);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_uploads", label_uploads,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_uploads);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_main), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_main), 3), label_uploads);

  frame7 = gtk_frame_new (_("Upload history"));
  gtk_widget_set_name (frame7, "frame7");
  gtk_widget_ref (frame7);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "frame7", frame7,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame7);
  gtk_container_add (GTK_CONTAINER (notebook_main), frame7);
  gtk_container_set_border_width (GTK_CONTAINER (frame7), 2);

  vbox19 = gtk_vbox_new (FALSE, 4);
  gtk_widget_set_name (vbox19, "vbox19");
  gtk_widget_ref (vbox19);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox19", vbox19,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox19);
  gtk_container_add (GTK_CONTAINER (frame7), vbox19);
  gtk_container_set_border_width (GTK_CONTAINER (vbox19), 2);

  ul_stats_scrolledwindow = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (ul_stats_scrolledwindow, "ul_stats_scrolledwindow");
  gtk_widget_ref (ul_stats_scrolledwindow);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "ul_stats_scrolledwindow", ul_stats_scrolledwindow,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (ul_stats_scrolledwindow);
  gtk_box_pack_start (GTK_BOX (vbox19), ul_stats_scrolledwindow, TRUE, TRUE, 0);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (ul_stats_scrolledwindow), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  clist_ul_stats = gtk_clist_new (5);
  gtk_widget_set_name (clist_ul_stats, "clist_ul_stats");
  gtk_widget_ref (clist_ul_stats);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "clist_ul_stats", clist_ul_stats,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (clist_ul_stats);
  gtk_container_add (GTK_CONTAINER (ul_stats_scrolledwindow), clist_ul_stats);
  gtk_clist_set_column_width (GTK_CLIST (clist_ul_stats), 0, 134);
  gtk_clist_set_column_width (GTK_CLIST (clist_ul_stats), 1, 41);
  gtk_clist_set_column_width (GTK_CLIST (clist_ul_stats), 2, 60);
  gtk_clist_set_column_width (GTK_CLIST (clist_ul_stats), 3, 67);
  gtk_clist_set_column_width (GTK_CLIST (clist_ul_stats), 4, 67);
  gtk_clist_column_titles_show (GTK_CLIST (clist_ul_stats));

  ul_stats_label2 = gtk_label_new (_("Filename"));
  gtk_widget_set_name (ul_stats_label2, "ul_stats_label2");
  gtk_widget_ref (ul_stats_label2);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "ul_stats_label2", ul_stats_label2,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (ul_stats_label2);
  gtk_clist_set_column_widget (GTK_CLIST (clist_ul_stats), 0, ul_stats_label2);
  gtk_misc_set_alignment (GTK_MISC (ul_stats_label2), 7.45058e-09, 0.5);

  ul_stats_size = gtk_label_new (_("Size"));
  gtk_widget_set_name (ul_stats_size, "ul_stats_size");
  gtk_widget_ref (ul_stats_size);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "ul_stats_size", ul_stats_size,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (ul_stats_size);
  gtk_clist_set_column_widget (GTK_CLIST (clist_ul_stats), 1, ul_stats_size);

  ul_stats_label3 = gtk_label_new (_("Attempts"));
  gtk_widget_set_name (ul_stats_label3, "ul_stats_label3");
  gtk_widget_ref (ul_stats_label3);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "ul_stats_label3", ul_stats_label3,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (ul_stats_label3);
  gtk_clist_set_column_widget (GTK_CLIST (clist_ul_stats), 2, ul_stats_label3);

  ul_stats_label4 = gtk_label_new (_("Complete"));
  gtk_widget_set_name (ul_stats_label4, "ul_stats_label4");
  gtk_widget_ref (ul_stats_label4);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "ul_stats_label4", ul_stats_label4,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (ul_stats_label4);
  gtk_clist_set_column_widget (GTK_CLIST (clist_ul_stats), 3, ul_stats_label4);

  ul_stats_label5 = gtk_label_new (_("Normalized"));
  gtk_widget_set_name (ul_stats_label5, "ul_stats_label5");
  gtk_widget_ref (ul_stats_label5);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "ul_stats_label5", ul_stats_label5,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (ul_stats_label5);
  gtk_clist_set_column_widget (GTK_CLIST (clist_ul_stats), 4, ul_stats_label5);

  ul_stats_hbox2 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (ul_stats_hbox2, "ul_stats_hbox2");
  gtk_widget_ref (ul_stats_hbox2);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "ul_stats_hbox2", ul_stats_hbox2,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (ul_stats_hbox2);
  gtk_box_pack_start (GTK_BOX (vbox19), ul_stats_hbox2, FALSE, TRUE, 0);

  button_ul_stats_clear_deleted = gtk_button_new_with_label (_("Clear non-existent files"));
  gtk_widget_set_name (button_ul_stats_clear_deleted, "button_ul_stats_clear_deleted");
  gtk_widget_ref (button_ul_stats_clear_deleted);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "button_ul_stats_clear_deleted", button_ul_stats_clear_deleted,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_ul_stats_clear_deleted);
  gtk_box_pack_start (GTK_BOX (ul_stats_hbox2), button_ul_stats_clear_deleted, FALSE, FALSE, 0);
  gtk_widget_set_sensitive (button_ul_stats_clear_deleted, FALSE);
  gtk_tooltips_set_tip (tooltips, button_ul_stats_clear_deleted, _("Somebody tell me a sensible tooltip for this."), NULL);

  button_ul_stats_clear_all = gtk_button_new_with_label (_("Clear all"));
  gtk_widget_set_name (button_ul_stats_clear_all, "button_ul_stats_clear_all");
  gtk_widget_ref (button_ul_stats_clear_all);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "button_ul_stats_clear_all", button_ul_stats_clear_all,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_ul_stats_clear_all);
  gtk_box_pack_start (GTK_BOX (ul_stats_hbox2), button_ul_stats_clear_all, FALSE, FALSE, 0);

  viewport50 = gtk_viewport_new (NULL, NULL);
  gtk_widget_set_name (viewport50, "viewport50");
  gtk_widget_ref (viewport50);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "viewport50", viewport50,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport50);
  gtk_box_pack_start (GTK_BOX (ul_stats_hbox2), viewport50, TRUE, TRUE, 0);

  hbox2101 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox2101, "hbox2101");
  gtk_widget_ref (hbox2101);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox2101", hbox2101,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox2101);
  gtk_container_add (GTK_CONTAINER (viewport50), hbox2101);

  label745 = gtk_label_new (_("Fully served "));
  gtk_widget_set_name (label745, "label745");
  gtk_widget_ref (label745);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label745", label745,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label745);
  gtk_box_pack_start (GTK_BOX (hbox2101), label745, TRUE, TRUE, 0);
  gtk_misc_set_alignment (GTK_MISC (label745), 1, 0.5);

  label_html_browse_served = gtk_label_new (_("[BH HTML served]"));
  gtk_widget_set_name (label_html_browse_served, "label_html_browse_served");
  gtk_widget_ref (label_html_browse_served);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_html_browse_served", label_html_browse_served,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_html_browse_served);
  gtk_box_pack_start (GTK_BOX (hbox2101), label_html_browse_served, FALSE, FALSE, 0);

  label781 = gtk_label_new (_(" / "));
  gtk_widget_set_name (label781, "label781");
  gtk_widget_ref (label781);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label781", label781,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label781);
  gtk_box_pack_start (GTK_BOX (hbox2101), label781, FALSE, FALSE, 0);

  label_html_browse_count = gtk_label_new (_("[BH HTML]"));
  gtk_widget_set_name (label_html_browse_count, "label_html_browse_count");
  gtk_widget_ref (label_html_browse_count);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_html_browse_count", label_html_browse_count,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_html_browse_count);
  gtk_box_pack_start (GTK_BOX (hbox2101), label_html_browse_count, FALSE, FALSE, 0);

  label747 = gtk_label_new (_(" HTML and "));
  gtk_widget_set_name (label747, "label747");
  gtk_widget_ref (label747);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label747", label747,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label747);
  gtk_box_pack_start (GTK_BOX (hbox2101), label747, FALSE, FALSE, 0);

  label_qhits_browse_served = gtk_label_new (_("[BH qhits served]"));
  gtk_widget_set_name (label_qhits_browse_served, "label_qhits_browse_served");
  gtk_widget_ref (label_qhits_browse_served);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_qhits_browse_served", label_qhits_browse_served,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_qhits_browse_served);
  gtk_box_pack_start (GTK_BOX (hbox2101), label_qhits_browse_served, FALSE, FALSE, 0);

  label779 = gtk_label_new (_(" / "));
  gtk_widget_set_name (label779, "label779");
  gtk_widget_ref (label779);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label779", label779,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label779);
  gtk_box_pack_start (GTK_BOX (hbox2101), label779, FALSE, FALSE, 0);

  label_qhits_browse_count = gtk_label_new (_("[BH qhits]"));
  gtk_widget_set_name (label_qhits_browse_count, "label_qhits_browse_count");
  gtk_widget_ref (label_qhits_browse_count);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_qhits_browse_count", label_qhits_browse_count,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_qhits_browse_count);
  gtk_box_pack_start (GTK_BOX (hbox2101), label_qhits_browse_count, FALSE, FALSE, 0);

  label749 = gtk_label_new (_(" Gnutella browse requests"));
  gtk_widget_set_name (label749, "label749");
  gtk_widget_ref (label749);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label749", label749,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label749);
  gtk_box_pack_start (GTK_BOX (hbox2101), label749, FALSE, FALSE, 0);

  label_ul_stats = gtk_label_new (_("[Upload Stats]"));
  gtk_widget_set_name (label_ul_stats, "label_ul_stats");
  gtk_widget_ref (label_ul_stats);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_ul_stats", label_ul_stats,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_ul_stats);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_main), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_main), 4), label_ul_stats);

  frame76 = gtk_frame_new (_("Files to get"));
  gtk_widget_set_name (frame76, "frame76");
  gtk_widget_ref (frame76);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "frame76", frame76,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame76);
  gtk_container_add (GTK_CONTAINER (notebook_main), frame76);
  gtk_container_set_border_width (GTK_CONTAINER (frame76), 2);

  vbox109 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox109, "vbox109");
  gtk_widget_ref (vbox109);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox109", vbox109,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox109);
  gtk_container_add (GTK_CONTAINER (frame76), vbox109);
  gtk_container_set_border_width (GTK_CONTAINER (vbox109), 2);

  vpaned_fileinfo = gtk_vpaned_new ();
  gtk_widget_set_name (vpaned_fileinfo, "vpaned_fileinfo");
  gtk_widget_ref (vpaned_fileinfo);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vpaned_fileinfo", vpaned_fileinfo,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vpaned_fileinfo);
  gtk_box_pack_start (GTK_BOX (vbox109), vpaned_fileinfo, TRUE, TRUE, 0);
  gtk_paned_set_gutter_size (GTK_PANED (vpaned_fileinfo), 10);
  gtk_paned_set_position (GTK_PANED (vpaned_fileinfo), 305);

  viewport48 = gtk_viewport_new (NULL, NULL);
  gtk_widget_set_name (viewport48, "viewport48");
  gtk_widget_ref (viewport48);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "viewport48", viewport48,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport48);
  gtk_paned_pack1 (GTK_PANED (vpaned_fileinfo), viewport48, FALSE, TRUE);
  gtk_viewport_set_shadow_type (GTK_VIEWPORT (viewport48), GTK_SHADOW_NONE);

  vbox111 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox111, "vbox111");
  gtk_widget_ref (vbox111);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox111", vbox111,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox111);
  gtk_container_add (GTK_CONTAINER (viewport48), vbox111);

  scrolledwindow42 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow42, "scrolledwindow42");
  gtk_widget_ref (scrolledwindow42);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "scrolledwindow42", scrolledwindow42,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow42);
  gtk_box_pack_start (GTK_BOX (vbox111), scrolledwindow42, TRUE, TRUE, 0);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow42), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);

  clist_fileinfo = gtk_clist_new (6);
  gtk_widget_set_name (clist_fileinfo, "clist_fileinfo");
  gtk_widget_ref (clist_fileinfo);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "clist_fileinfo", clist_fileinfo,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (clist_fileinfo);
  gtk_container_add (GTK_CONTAINER (scrolledwindow42), clist_fileinfo);
  gtk_clist_set_column_width (GTK_CLIST (clist_fileinfo), 0, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_fileinfo), 1, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_fileinfo), 2, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_fileinfo), 3, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_fileinfo), 4, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_fileinfo), 5, 80);
  gtk_clist_set_selection_mode (GTK_CLIST (clist_fileinfo), GTK_SELECTION_EXTENDED);
  gtk_clist_column_titles_show (GTK_CLIST (clist_fileinfo));

  label_file = gtk_label_new (_("File"));
  gtk_widget_set_name (label_file, "label_file");
  gtk_widget_ref (label_file);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_file", label_file,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_file);
  gtk_clist_set_column_widget (GTK_CLIST (clist_fileinfo), 0, label_file);
  gtk_misc_set_alignment (GTK_MISC (label_file), 0, 0.5);

  label_size = gtk_label_new (_("Size"));
  gtk_widget_set_name (label_size, "label_size");
  gtk_widget_ref (label_size);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_size", label_size,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_size);
  gtk_clist_set_column_widget (GTK_CLIST (clist_fileinfo), 1, label_size);

  label_done = gtk_label_new (_("Done"));
  gtk_widget_set_name (label_done, "label_done");
  gtk_widget_ref (label_done);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_done", label_done,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_done);
  gtk_clist_set_column_widget (GTK_CLIST (clist_fileinfo), 2, label_done);

  label_uploaded = gtk_label_new (_("Uploaded"));
  gtk_widget_set_name (label_uploaded, "label_uploaded");
  gtk_widget_ref (label_uploaded);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_uploaded", label_uploaded,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_uploaded);
  gtk_clist_set_column_widget (GTK_CLIST (clist_fileinfo), 3, label_uploaded);

  label_sources = gtk_label_new (_("Sources"));
  gtk_widget_set_name (label_sources, "label_sources");
  gtk_widget_ref (label_sources);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_sources", label_sources,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_sources);
  gtk_clist_set_column_widget (GTK_CLIST (clist_fileinfo), 4, label_sources);

  label_status = gtk_label_new (_("Status"));
  gtk_widget_set_name (label_status, "label_status");
  gtk_widget_ref (label_status);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_status", label_status,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_status);
  gtk_clist_set_column_widget (GTK_CLIST (clist_fileinfo), 5, label_status);

  hbox196 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox196, "hbox196");
  gtk_widget_ref (hbox196);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox196", hbox196,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox196);
  gtk_box_pack_start (GTK_BOX (vbox111), hbox196, FALSE, TRUE, 0);

  label656 = gtk_label_new (_("Filename filter:"));
  gtk_widget_set_name (label656, "label656");
  gtk_widget_ref (label656);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label656", label656,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label656);
  gtk_box_pack_start (GTK_BOX (hbox196), label656, FALSE, FALSE, 0);

  entry_fi_regex = gtk_entry_new ();
  gtk_widget_set_name (entry_fi_regex, "entry_fi_regex");
  gtk_widget_ref (entry_fi_regex);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "entry_fi_regex", entry_fi_regex,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_fi_regex);
  gtk_box_pack_start (GTK_BOX (hbox196), entry_fi_regex, TRUE, TRUE, 0);

  checkbutton_fi_regex_case = gtk_check_button_new_with_label (_("case-sensitive"));
  gtk_widget_set_name (checkbutton_fi_regex_case, "checkbutton_fi_regex_case");
  gtk_widget_ref (checkbutton_fi_regex_case);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "checkbutton_fi_regex_case", checkbutton_fi_regex_case,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_fi_regex_case);
  gtk_box_pack_start (GTK_BOX (hbox196), checkbutton_fi_regex_case, FALSE, FALSE, 0);

  notebook5 = gtk_notebook_new ();
  gtk_widget_set_name (notebook5, "notebook5");
  gtk_widget_ref (notebook5);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "notebook5", notebook5,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (notebook5);
  gtk_paned_pack2 (GTK_PANED (vpaned_fileinfo), notebook5, TRUE, TRUE);

  vbox110 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox110, "vbox110");
  gtk_widget_ref (vbox110);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox110", vbox110,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox110);
  gtk_container_add (GTK_CONTAINER (notebook5), vbox110);
  gtk_container_set_border_width (GTK_CONTAINER (vbox110), 2);

  table59 = gtk_table_new (4, 2, FALSE);
  gtk_widget_set_name (table59, "table59");
  gtk_widget_ref (table59);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "table59", table59,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table59);
  gtk_box_pack_start (GTK_BOX (vbox110), table59, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (table59), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table59), 4);

  label658 = gtk_label_new (_("Progress:"));
  gtk_widget_set_name (label658, "label658");
  gtk_widget_ref (label658);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label658", label658,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label658);
  gtk_table_attach (GTK_TABLE (table59), label658, 0, 1, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label658), 0, 0.5);

  label524 = gtk_label_new (_("Size:"));
  gtk_widget_set_name (label524, "label524");
  gtk_widget_ref (label524);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label524", label524,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label524);
  gtk_table_attach (GTK_TABLE (table59), label524, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label524), 0, 0.5);

  label523 = gtk_label_new (_("Filename:"));
  gtk_widget_set_name (label523, "label523");
  gtk_widget_ref (label523);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label523", label523,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label523);
  gtk_table_attach (GTK_TABLE (table59), label523, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label523), 0, 0.5);

  viewport44 = gtk_viewport_new (NULL, NULL);
  gtk_widget_set_name (viewport44, "viewport44");
  gtk_widget_ref (viewport44);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "viewport44", viewport44,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport44);
  gtk_table_attach (GTK_TABLE (table59), viewport44, 1, 2, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_viewport_set_shadow_type (GTK_VIEWPORT (viewport44), GTK_SHADOW_ETCHED_IN);

  hbox198 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox198, "hbox198");
  gtk_widget_ref (hbox198);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox198", hbox198,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox198);
  gtk_container_add (GTK_CONTAINER (viewport44), hbox198);

  drawingarea_fi_progress = gtk_drawing_area_new ();
  gtk_widget_set_name (drawingarea_fi_progress, "drawingarea_fi_progress");
  gtk_widget_ref (drawingarea_fi_progress);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "drawingarea_fi_progress", drawingarea_fi_progress,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (drawingarea_fi_progress);
  gtk_box_pack_start (GTK_BOX (hbox198), drawingarea_fi_progress, TRUE, TRUE, 0);
  gtk_widget_set_usize (drawingarea_fi_progress, -2, 16);
  gtk_tooltips_set_tip (tooltips, drawingarea_fi_progress, _("Shows visual information on the download progress. Green chunks have been downloaded, with the brighter green chunks touched during this session. Yellow chunks are active right now; these active chunks are also marked with a triangle. Red chunks have not been downloaded yet. The blue line indicates which parts of the file have been seen on the network in this session."), NULL);
  gtk_widget_set_events (drawingarea_fi_progress, GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK);

  frame119 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame119, "frame119");
  gtk_widget_ref (frame119);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "frame119", frame119,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame119);
  gtk_table_attach (GTK_TABLE (table59), frame119, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame119), GTK_SHADOW_NONE);

  entry_fi_size = gtk_entry_new ();
  gtk_widget_set_name (entry_fi_size, "entry_fi_size");
  gtk_widget_ref (entry_fi_size);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "entry_fi_size", entry_fi_size,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_fi_size);
  gtk_container_add (GTK_CONTAINER (frame119), entry_fi_size);
  gtk_entry_set_editable (GTK_ENTRY (entry_fi_size), FALSE);

  frame118 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame118, "frame118");
  gtk_widget_ref (frame118);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "frame118", frame118,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame118);
  gtk_table_attach (GTK_TABLE (table59), frame118, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame118), GTK_SHADOW_NONE);

  entry_fi_filename = gtk_entry_new ();
  gtk_widget_set_name (entry_fi_filename, "entry_fi_filename");
  gtk_widget_ref (entry_fi_filename);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "entry_fi_filename", entry_fi_filename,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_fi_filename);
  gtk_container_add (GTK_CONTAINER (frame118), entry_fi_filename);
  gtk_entry_set_editable (GTK_ENTRY (entry_fi_filename), FALSE);

  label786 = gtk_label_new (_("SHA1:"));
  gtk_widget_set_name (label786, "label786");
  gtk_widget_ref (label786);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label786", label786,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label786);
  gtk_table_attach (GTK_TABLE (table59), label786, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label786), 0, 0.5);

  frame146 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame146, "frame146");
  gtk_widget_ref (frame146);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "frame146", frame146,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame146);
  gtk_table_attach (GTK_TABLE (table59), frame146, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  GTK_WIDGET_SET_FLAGS (frame146, GTK_CAN_FOCUS);
  GTK_WIDGET_SET_FLAGS (frame146, GTK_CAN_DEFAULT);
  gtk_frame_set_shadow_type (GTK_FRAME (frame146), GTK_SHADOW_NONE);

  entry_fi_sha1 = gtk_entry_new ();
  gtk_widget_set_name (entry_fi_sha1, "entry_fi_sha1");
  gtk_widget_ref (entry_fi_sha1);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "entry_fi_sha1", entry_fi_sha1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_fi_sha1);
  gtk_container_add (GTK_CONTAINER (frame146), entry_fi_sha1);
  gtk_entry_set_editable (GTK_ENTRY (entry_fi_sha1), FALSE);

  label790 = gtk_label_new (_("Detail information"));
  gtk_widget_set_name (label790, "label790");
  gtk_widget_ref (label790);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label790", label790,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label790);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook5), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook5), 0), label790);

  scrolledwindow44 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow44, "scrolledwindow44");
  gtk_widget_ref (scrolledwindow44);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "scrolledwindow44", scrolledwindow44,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow44);
  gtk_container_add (GTK_CONTAINER (notebook5), scrolledwindow44);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow44), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  clist_fi_aliases = gtk_clist_new (1);
  gtk_widget_set_name (clist_fi_aliases, "clist_fi_aliases");
  gtk_widget_ref (clist_fi_aliases);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "clist_fi_aliases", clist_fi_aliases,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (clist_fi_aliases);
  gtk_container_add (GTK_CONTAINER (scrolledwindow44), clist_fi_aliases);
  gtk_clist_set_column_width (GTK_CLIST (clist_fi_aliases), 0, 80);
  gtk_clist_column_titles_hide (GTK_CLIST (clist_fi_aliases));

  label526 = gtk_label_new ("");
  gtk_widget_set_name (label526, "label526");
  gtk_widget_ref (label526);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label526", label526,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label526);
  gtk_clist_set_column_widget (GTK_CLIST (clist_fi_aliases), 0, label526);

  label791 = gtk_label_new (_("Alternate filenames"));
  gtk_widget_set_name (label791, "label791");
  gtk_widget_ref (label791);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label791", label791,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label791);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook5), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook5), 1), label791);

  hbox189 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox189, "hbox189");
  gtk_widget_ref (hbox189);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox189", hbox189,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox189);
  gtk_container_add (GTK_CONTAINER (notebook5), hbox189);
  gtk_container_set_border_width (GTK_CONTAINER (hbox189), 2);

  alignment32 = gtk_alignment_new (7.45058e-09, 0.5, 0, 1);
  gtk_widget_set_name (alignment32, "alignment32");
  gtk_widget_ref (alignment32);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "alignment32", alignment32,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (alignment32);
  gtk_box_pack_start (GTK_BOX (hbox189), alignment32, TRUE, TRUE, 0);

  table85 = gtk_table_new (4, 3, FALSE);
  gtk_widget_set_name (table85, "table85");
  gtk_widget_ref (table85);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "table85", table85,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table85);
  gtk_container_add (GTK_CONTAINER (alignment32), table85);
  gtk_table_set_row_spacings (GTK_TABLE (table85), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table85), 4);

  checkbutton_downloads_never_push = gtk_check_button_new_with_label (_("Never send a push request"));
  gtk_widget_set_name (checkbutton_downloads_never_push, "checkbutton_downloads_never_push");
  gtk_widget_ref (checkbutton_downloads_never_push);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "checkbutton_downloads_never_push", checkbutton_downloads_never_push,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_downloads_never_push);
  gtk_table_attach (GTK_TABLE (table85), checkbutton_downloads_never_push, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_download_delete_aborted = gtk_check_button_new_with_label (_("Delete file on abort"));
  gtk_widget_set_name (checkbutton_download_delete_aborted, "checkbutton_download_delete_aborted");
  gtk_widget_ref (checkbutton_download_delete_aborted);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "checkbutton_download_delete_aborted", checkbutton_download_delete_aborted,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_download_delete_aborted);
  gtk_table_attach (GTK_TABLE (table85), checkbutton_download_delete_aborted, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_dl_remove_file_on_mismatch = gtk_check_button_new_with_label (_("Remove file on mismatch"));
  gtk_widget_set_name (checkbutton_dl_remove_file_on_mismatch, "checkbutton_dl_remove_file_on_mismatch");
  gtk_widget_ref (checkbutton_dl_remove_file_on_mismatch);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "checkbutton_dl_remove_file_on_mismatch", checkbutton_dl_remove_file_on_mismatch,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_dl_remove_file_on_mismatch);
  gtk_table_attach (GTK_TABLE (table85), checkbutton_dl_remove_file_on_mismatch, 2, 3, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label639a = gtk_label_new (_("Bytes to back off on mismatch"));
  gtk_widget_set_name (label639a, "label639a");
  gtk_widget_ref (label639a);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label639a", label639a,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label639a);
  gtk_table_attach (GTK_TABLE (table85), label639a, 0, 1, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_label_set_justify (GTK_LABEL (label639a), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label639a), 0, 0.5);

  spinbutton_mismatch_backout_adj = gtk_adjustment_new (50000, 0, 250000, 1000, 10000, 10);
  spinbutton_mismatch_backout = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_mismatch_backout_adj), 100, 0);
  gtk_widget_set_name (spinbutton_mismatch_backout, "spinbutton_mismatch_backout");
  gtk_widget_ref (spinbutton_mismatch_backout);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "spinbutton_mismatch_backout", spinbutton_mismatch_backout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_mismatch_backout);
  gtk_table_attach (GTK_TABLE (table85), spinbutton_mismatch_backout, 1, 2, 3, 4,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (spinbutton_mismatch_backout, 68, -2);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_mismatch_backout), TRUE);

  label80 = gtk_label_new (_("Max. downloads from single host"));
  gtk_widget_set_name (label80, "label80");
  gtk_widget_ref (label80);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label80", label80,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label80);
  gtk_table_attach (GTK_TABLE (table85), label80, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label80), 7.45058e-09, 0.5);

  label64 = gtk_label_new (_("Max. simultaneous downloads"));
  gtk_widget_set_name (label64, "label64");
  gtk_widget_ref (label64);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label64", label64,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label64);
  gtk_table_attach (GTK_TABLE (table85), label64, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label64), 7.45058e-09, 0.5);

  label787 = gtk_label_new (_("Max. simultaneous downloads per file"));
  gtk_widget_set_name (label787, "label787");
  gtk_widget_ref (label787);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label787", label787,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label787);
  gtk_table_attach (GTK_TABLE (table85), label787, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label787), 7.45058e-09, 0.5);

  spinbutton_max_host_downloads_adj = gtk_adjustment_new (1, 1, 100, 1, 10, 10);
  spinbutton_max_host_downloads = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_max_host_downloads_adj), 1, 0);
  gtk_widget_set_name (spinbutton_max_host_downloads, "spinbutton_max_host_downloads");
  gtk_widget_ref (spinbutton_max_host_downloads);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "spinbutton_max_host_downloads", spinbutton_max_host_downloads,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_max_host_downloads);
  gtk_table_attach (GTK_TABLE (table85), spinbutton_max_host_downloads, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_max_host_downloads), TRUE);

  spinbutton_max_downloads_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_max_downloads = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_max_downloads_adj), 1, 0);
  gtk_widget_set_name (spinbutton_max_downloads, "spinbutton_max_downloads");
  gtk_widget_ref (spinbutton_max_downloads);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "spinbutton_max_downloads", spinbutton_max_downloads,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_max_downloads);
  gtk_table_attach (GTK_TABLE (table85), spinbutton_max_downloads, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_max_downloads), TRUE);

  spinbutton_max_file_downloads_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_max_file_downloads = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_max_file_downloads_adj), 1, 0);
  gtk_widget_set_name (spinbutton_max_file_downloads, "spinbutton_max_file_downloads");
  gtk_widget_ref (spinbutton_max_file_downloads);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "spinbutton_max_file_downloads", spinbutton_max_file_downloads,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_max_file_downloads);
  gtk_table_attach (GTK_TABLE (table85), spinbutton_max_file_downloads, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_max_file_downloads), TRUE);

  vbox124 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox124, "vbox124");
  gtk_widget_ref (vbox124);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox124", vbox124,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox124);
  gtk_box_pack_start (GTK_BOX (hbox189), vbox124, FALSE, TRUE, 0);

  frame_dl_autoclear = gtk_frame_new (_("Auto clear stopped downloads"));
  gtk_widget_set_name (frame_dl_autoclear, "frame_dl_autoclear");
  gtk_widget_ref (frame_dl_autoclear);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "frame_dl_autoclear", frame_dl_autoclear,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_dl_autoclear);
  gtk_box_pack_start (GTK_BOX (vbox124), frame_dl_autoclear, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame_dl_autoclear), GTK_SHADOW_OUT);

  vbox118 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox118, "vbox118");
  gtk_widget_ref (vbox118);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox118", vbox118,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox118);
  gtk_container_add (GTK_CONTAINER (frame_dl_autoclear), vbox118);
  gtk_container_set_border_width (GTK_CONTAINER (vbox118), 2);

  checkbutton_dl_clear_complete = gtk_check_button_new_with_label (_("Completed"));
  gtk_widget_set_name (checkbutton_dl_clear_complete, "checkbutton_dl_clear_complete");
  gtk_widget_ref (checkbutton_dl_clear_complete);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "checkbutton_dl_clear_complete", checkbutton_dl_clear_complete,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_dl_clear_complete);
  gtk_box_pack_start (GTK_BOX (vbox118), checkbutton_dl_clear_complete, FALSE, FALSE, 0);

  checkbutton_dl_clear_failed = gtk_check_button_new_with_label (_("Failed"));
  gtk_widget_set_name (checkbutton_dl_clear_failed, "checkbutton_dl_clear_failed");
  gtk_widget_ref (checkbutton_dl_clear_failed);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "checkbutton_dl_clear_failed", checkbutton_dl_clear_failed,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_dl_clear_failed);
  gtk_box_pack_start (GTK_BOX (vbox118), checkbutton_dl_clear_failed, FALSE, FALSE, 0);

  checkbutton_dl_clear_unavailable = gtk_check_button_new_with_label (_("Unavailable"));
  gtk_widget_set_name (checkbutton_dl_clear_unavailable, "checkbutton_dl_clear_unavailable");
  gtk_widget_ref (checkbutton_dl_clear_unavailable);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "checkbutton_dl_clear_unavailable", checkbutton_dl_clear_unavailable,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_dl_clear_unavailable);
  gtk_box_pack_start (GTK_BOX (vbox118), checkbutton_dl_clear_unavailable, FALSE, FALSE, 0);

  label792 = gtk_label_new (_("Download settings"));
  gtk_widget_set_name (label792, "label792");
  gtk_widget_ref (label792);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label792", label792,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label792);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook5), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook5), 2), label792);

  hbox197a = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox197a, "hbox197a");
  gtk_widget_ref (hbox197a);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox197a", hbox197a,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox197a);
  gtk_box_pack_start (GTK_BOX (vbox109), hbox197a, FALSE, TRUE, 0);

  button_fi_purge = gtk_button_new_with_label ("");
  button_fi_purge_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (button_fi_purge)->child),
                                   _("_Purge selected"));
  gtk_widget_add_accelerator (button_fi_purge, "clicked", accel_group,
                              button_fi_purge_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (button_fi_purge, "button_fi_purge");
  gtk_widget_ref (button_fi_purge);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "button_fi_purge", button_fi_purge,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_fi_purge);
  gtk_box_pack_start (GTK_BOX (hbox197a), button_fi_purge, FALSE, FALSE, 0);
  gtk_widget_set_sensitive (button_fi_purge, FALSE);

  viewport43 = gtk_viewport_new (NULL, NULL);
  gtk_widget_set_name (viewport43, "viewport43");
  gtk_widget_ref (viewport43);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "viewport43", viewport43,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport43);
  gtk_box_pack_start (GTK_BOX (hbox197a), viewport43, TRUE, TRUE, 0);

  hbox197 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox197, "hbox197");
  gtk_widget_ref (hbox197);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox197", hbox197,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox197);
  gtk_container_add (GTK_CONTAINER (viewport43), hbox197);

  hbox175 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox175, "hbox175");
  gtk_widget_ref (hbox175);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox175", hbox175,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox175);
  gtk_box_pack_start (GTK_BOX (hbox197), hbox175, TRUE, TRUE, 3);

  label_fi_all_count = gtk_label_new (_("[all count]"));
  gtk_widget_set_name (label_fi_all_count, "label_fi_all_count");
  gtk_widget_ref (label_fi_all_count);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_fi_all_count", label_fi_all_count,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_fi_all_count);
  gtk_box_pack_start (GTK_BOX (hbox175), label_fi_all_count, TRUE, TRUE, 0);
  gtk_misc_set_alignment (GTK_MISC (label_fi_all_count), 1, 0.5);

  label542 = gtk_label_new (_(" registered, "));
  gtk_widget_set_name (label542, "label542");
  gtk_widget_ref (label542);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label542", label542,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label542);
  gtk_box_pack_start (GTK_BOX (hbox175), label542, FALSE, FALSE, 0);
  gtk_widget_set_usize (label542, -2, 21);

  label_fi_with_source_count = gtk_label_new (_("[with source count]"));
  gtk_widget_set_name (label_fi_with_source_count, "label_fi_with_source_count");
  gtk_widget_ref (label_fi_with_source_count);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_fi_with_source_count", label_fi_with_source_count,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_fi_with_source_count);
  gtk_box_pack_start (GTK_BOX (hbox175), label_fi_with_source_count, FALSE, FALSE, 0);

  label545 = gtk_label_new (_(" with sources"));
  gtk_widget_set_name (label545, "label545");
  gtk_widget_ref (label545);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label545", label545,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label545);
  gtk_box_pack_start (GTK_BOX (hbox175), label545, FALSE, FALSE, 0);

  label_downloads = gtk_label_new (_("[Downloads]"));
  gtk_widget_set_name (label_downloads, "label_downloads");
  gtk_widget_ref (label_downloads);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_downloads", label_downloads,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_downloads);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_main), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_main), 5), label_downloads);

  frame3 = gtk_frame_new (_("Active sources"));
  gtk_widget_set_name (frame3, "frame3");
  gtk_widget_ref (frame3);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "frame3", frame3,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame3);
  gtk_container_add (GTK_CONTAINER (notebook_main), frame3);
  gtk_container_set_border_width (GTK_CONTAINER (frame3), 2);

  vbox16 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox16, "vbox16");
  gtk_widget_ref (vbox16);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox16", vbox16,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox16);
  gtk_container_add (GTK_CONTAINER (frame3), vbox16);
  gtk_container_set_border_width (GTK_CONTAINER (vbox16), 2);

  scrolledwindow6 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow6, "scrolledwindow6");
  gtk_widget_ref (scrolledwindow6);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "scrolledwindow6", scrolledwindow6,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow6);
  gtk_box_pack_start (GTK_BOX (vbox16), scrolledwindow6, TRUE, TRUE, 0);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow6), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);

  ctree_downloads = gtk_ctree_new (8, 0);
  gtk_widget_set_name (ctree_downloads, "ctree_downloads");
  gtk_widget_ref (ctree_downloads);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "ctree_downloads", ctree_downloads,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (ctree_downloads);
  gtk_container_add (GTK_CONTAINER (scrolledwindow6), ctree_downloads);
  gtk_clist_set_column_width (GTK_CLIST (ctree_downloads), 0, 80);
  gtk_clist_set_column_width (GTK_CLIST (ctree_downloads), 1, 80);
  gtk_clist_set_column_width (GTK_CLIST (ctree_downloads), 2, 36);
  gtk_clist_set_column_width (GTK_CLIST (ctree_downloads), 3, 80);
  gtk_clist_set_column_width (GTK_CLIST (ctree_downloads), 4, 80);
  gtk_clist_set_column_width (GTK_CLIST (ctree_downloads), 5, 80);
  gtk_clist_set_column_width (GTK_CLIST (ctree_downloads), 6, 80);
  gtk_clist_set_column_width (GTK_CLIST (ctree_downloads), 7, 80);
  gtk_clist_set_selection_mode (GTK_CLIST (ctree_downloads), GTK_SELECTION_EXTENDED);
  gtk_clist_column_titles_show (GTK_CLIST (ctree_downloads));

  label639 = gtk_label_new (_("Filename"));
  gtk_widget_set_name (label639, "label639");
  gtk_widget_ref (label639);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label639", label639,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label639);
  gtk_clist_set_column_widget (GTK_CLIST (ctree_downloads), 0, label639);

  label640 = gtk_label_new (_("Host"));
  gtk_widget_set_name (label640, "label640");
  gtk_widget_ref (label640);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label640", label640,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label640);
  gtk_clist_set_column_widget (GTK_CLIST (ctree_downloads), 1, label640);

  label640b = gtk_label_new (_("Loc"));
  gtk_widget_set_name (label640b, "label640b");
  gtk_widget_ref (label640b);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label640b", label640b,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label640b);
  gtk_clist_set_column_widget (GTK_CLIST (ctree_downloads), 2, label640b);

  label641 = gtk_label_new (_("Size"));
  gtk_widget_set_name (label641, "label641");
  gtk_widget_ref (label641);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label641", label641,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label641);
  gtk_clist_set_column_widget (GTK_CLIST (ctree_downloads), 3, label641);

  label642 = gtk_label_new (_("Range"));
  gtk_widget_set_name (label642, "label642");
  gtk_widget_ref (label642);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label642", label642,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label642);
  gtk_clist_set_column_widget (GTK_CLIST (ctree_downloads), 4, label642);

  label643 = gtk_label_new (_("Server"));
  gtk_widget_set_name (label643, "label643");
  gtk_widget_ref (label643);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label643", label643,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label643);
  gtk_clist_set_column_widget (GTK_CLIST (ctree_downloads), 5, label643);

  label643xx = gtk_label_new (_("Progress"));
  gtk_widget_set_name (label643xx, "label643xx");
  gtk_widget_ref (label643xx);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label643xx", label643xx,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label643xx);
  gtk_clist_set_column_widget (GTK_CLIST (ctree_downloads), 6, label643xx);

  label644 = gtk_label_new (_("Status"));
  gtk_widget_set_name (label644, "label644");
  gtk_widget_ref (label644);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label644", label644,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label644);
  gtk_clist_set_column_widget (GTK_CLIST (ctree_downloads), 7, label644);

  hbox41 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox41, "hbox41");
  gtk_widget_ref (hbox41);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox41", hbox41,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox41);
  gtk_box_pack_start (GTK_BOX (vbox16), hbox41, FALSE, TRUE, 0);

  button_downloads_abort = gtk_button_new_with_label ("");
  button_downloads_abort_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (button_downloads_abort)->child),
                                   _("_Abort selected"));
  gtk_widget_add_accelerator (button_downloads_abort, "clicked", accel_group,
                              button_downloads_abort_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (button_downloads_abort, "button_downloads_abort");
  gtk_widget_ref (button_downloads_abort);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "button_downloads_abort", button_downloads_abort,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_downloads_abort);
  gtk_box_pack_start (GTK_BOX (hbox41), button_downloads_abort, FALSE, FALSE, 0);
  gtk_widget_set_sensitive (button_downloads_abort, FALSE);
  gtk_tooltips_set_tip (tooltips, button_downloads_abort, _("Abort all selected downloads"), NULL);

  button_downloads_resume = gtk_button_new_with_label ("");
  button_downloads_resume_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (button_downloads_resume)->child),
                                   _("_Resume selected"));
  gtk_widget_add_accelerator (button_downloads_resume, "clicked", accel_group,
                              button_downloads_resume_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (button_downloads_resume, "button_downloads_resume");
  gtk_widget_ref (button_downloads_resume);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "button_downloads_resume", button_downloads_resume,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_downloads_resume);
  gtk_box_pack_start (GTK_BOX (hbox41), button_downloads_resume, FALSE, FALSE, 0);
  gtk_widget_set_sensitive (button_downloads_resume, FALSE);
  gtk_tooltips_set_tip (tooltips, button_downloads_resume, _("Resume all selected downloads"), NULL);

  button_downloads_clear_stopped = gtk_button_new_with_label (_("Clear stopped"));
  gtk_widget_set_name (button_downloads_clear_stopped, "button_downloads_clear_stopped");
  gtk_widget_ref (button_downloads_clear_stopped);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "button_downloads_clear_stopped", button_downloads_clear_stopped,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_downloads_clear_stopped);
  gtk_box_pack_start (GTK_BOX (hbox41), button_downloads_clear_stopped, FALSE, FALSE, 0);
  gtk_widget_set_sensitive (button_downloads_clear_stopped, FALSE);
  gtk_tooltips_set_tip (tooltips, button_downloads_clear_stopped, _("Clear completed, failed and unavailable downloads from list"), NULL);

  scrolledwindow41 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow41, "scrolledwindow41");
  gtk_widget_ref (scrolledwindow41);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "scrolledwindow41", scrolledwindow41,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow41);
  gtk_box_pack_start (GTK_BOX (hbox41), scrolledwindow41, TRUE, TRUE, 0);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow41), GTK_POLICY_NEVER, GTK_POLICY_NEVER);

  viewport11 = gtk_viewport_new (NULL, NULL);
  gtk_widget_set_name (viewport11, "viewport11");
  gtk_widget_ref (viewport11);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "viewport11", viewport11,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport11);
  gtk_container_add (GTK_CONTAINER (scrolledwindow41), viewport11);

  hbox195 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox195, "hbox195");
  gtk_widget_ref (hbox195);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox195", hbox195,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox195);
  gtk_container_add (GTK_CONTAINER (viewport11), hbox195);

  hbox166 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox166, "hbox166");
  gtk_widget_ref (hbox166);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox166", hbox166,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox166);
  gtk_box_pack_start (GTK_BOX (hbox195), hbox166, TRUE, TRUE, 5);

  label_dl_running_count = gtk_label_new (_("[running]"));
  gtk_widget_set_name (label_dl_running_count, "label_dl_running_count");
  gtk_widget_ref (label_dl_running_count);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_dl_running_count", label_dl_running_count,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_dl_running_count);
  gtk_box_pack_start (GTK_BOX (hbox166), label_dl_running_count, TRUE, TRUE, 0);
  gtk_misc_set_alignment (GTK_MISC (label_dl_running_count), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_dl_running_count), 5, 0);

  label533 = gtk_label_new (_("("));
  gtk_widget_set_name (label533, "label533");
  gtk_widget_ref (label533);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label533", label533,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label533);
  gtk_box_pack_start (GTK_BOX (hbox166), label533, FALSE, FALSE, 0);

  label_dl_active_count = gtk_label_new (_("active"));
  gtk_widget_set_name (label_dl_active_count, "label_dl_active_count");
  gtk_widget_ref (label_dl_active_count);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_dl_active_count", label_dl_active_count,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_dl_active_count);
  gtk_box_pack_start (GTK_BOX (hbox166), label_dl_active_count, FALSE, FALSE, 0);

  label537 = gtk_label_new (_(", "));
  gtk_widget_set_name (label537, "label537");
  gtk_widget_ref (label537);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label537", label537,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label537);
  gtk_box_pack_start (GTK_BOX (hbox166), label537, FALSE, FALSE, 0);

  label_dl_aqueued_count = gtk_label_new (_("queued"));
  gtk_widget_set_name (label_dl_aqueued_count, "label_dl_aqueued_count");
  gtk_widget_ref (label_dl_aqueued_count);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_dl_aqueued_count", label_dl_aqueued_count,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_dl_aqueued_count);
  gtk_box_pack_start (GTK_BOX (hbox166), label_dl_aqueued_count, FALSE, FALSE, 0);

  label536 = gtk_label_new (_(")"));
  gtk_widget_set_name (label536, "label536");
  gtk_widget_ref (label536);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label536", label536,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label536);
  gtk_box_pack_start (GTK_BOX (hbox166), label536, FALSE, FALSE, 0);

  label734 = gtk_label_new (_("[Active]"));
  gtk_widget_set_name (label734, "label734");
  gtk_widget_ref (label734);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label734", label734,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label734);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_main), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_main), 6), label734);

  frame4 = gtk_frame_new (_("Inactive sources"));
  gtk_widget_set_name (frame4, "frame4");
  gtk_widget_ref (frame4);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "frame4", frame4,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame4);
  gtk_container_add (GTK_CONTAINER (notebook_main), frame4);
  gtk_container_set_border_width (GTK_CONTAINER (frame4), 2);

  vbox15 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox15, "vbox15");
  gtk_widget_ref (vbox15);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox15", vbox15,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox15);
  gtk_container_add (GTK_CONTAINER (frame4), vbox15);
  gtk_container_set_border_width (GTK_CONTAINER (vbox15), 2);

  scrolledwindow13 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow13, "scrolledwindow13");
  gtk_widget_ref (scrolledwindow13);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "scrolledwindow13", scrolledwindow13,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow13);
  gtk_box_pack_start (GTK_BOX (vbox15), scrolledwindow13, TRUE, TRUE, 0);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow13), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);

  ctree_downloads_queue = gtk_ctree_new (6, 0);
  gtk_widget_set_name (ctree_downloads_queue, "ctree_downloads_queue");
  gtk_widget_ref (ctree_downloads_queue);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "ctree_downloads_queue", ctree_downloads_queue,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (ctree_downloads_queue);
  gtk_container_add (GTK_CONTAINER (scrolledwindow13), ctree_downloads_queue);
  gtk_clist_set_column_width (GTK_CLIST (ctree_downloads_queue), 0, 80);
  gtk_clist_set_column_width (GTK_CLIST (ctree_downloads_queue), 1, 80);
  gtk_clist_set_column_width (GTK_CLIST (ctree_downloads_queue), 2, 36);
  gtk_clist_set_column_width (GTK_CLIST (ctree_downloads_queue), 3, 80);
  gtk_clist_set_column_width (GTK_CLIST (ctree_downloads_queue), 4, 80);
  gtk_clist_set_column_width (GTK_CLIST (ctree_downloads_queue), 5, 80);
  gtk_clist_set_selection_mode (GTK_CLIST (ctree_downloads_queue), GTK_SELECTION_EXTENDED);
  gtk_clist_column_titles_show (GTK_CLIST (ctree_downloads_queue));

  label645 = gtk_label_new (_("Filename"));
  gtk_widget_set_name (label645, "label645");
  gtk_widget_ref (label645);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label645", label645,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label645);
  gtk_clist_set_column_widget (GTK_CLIST (ctree_downloads_queue), 0, label645);

  label646 = gtk_label_new (_("Host"));
  gtk_widget_set_name (label646, "label646");
  gtk_widget_ref (label646);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label646", label646,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label646);
  gtk_clist_set_column_widget (GTK_CLIST (ctree_downloads_queue), 1, label646);

  label646b = gtk_label_new (_("Loc"));
  gtk_widget_set_name (label646b, "label646b");
  gtk_widget_ref (label646b);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label646b", label646b,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label646b);
  gtk_clist_set_column_widget (GTK_CLIST (ctree_downloads_queue), 2, label646b);

  label647 = gtk_label_new (_("Size"));
  gtk_widget_set_name (label647, "label647");
  gtk_widget_ref (label647);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label647", label647,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label647);
  gtk_clist_set_column_widget (GTK_CLIST (ctree_downloads_queue), 3, label647);

  label648 = gtk_label_new (_("Server"));
  gtk_widget_set_name (label648, "label648");
  gtk_widget_ref (label648);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label648", label648,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label648);
  gtk_clist_set_column_widget (GTK_CLIST (ctree_downloads_queue), 4, label648);

  label649 = gtk_label_new (_("Status"));
  gtk_widget_set_name (label649, "label649");
  gtk_widget_ref (label649);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label649", label649,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label649);
  gtk_clist_set_column_widget (GTK_CLIST (ctree_downloads_queue), 5, label649);

  hbox86 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox86, "hbox86");
  gtk_widget_ref (hbox86);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox86", hbox86,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox86);
  gtk_box_pack_start (GTK_BOX (vbox15), hbox86, FALSE, TRUE, 0);

  label149 = gtk_label_new (_("Select"));
  gtk_widget_set_name (label149, "label149");
  gtk_widget_ref (label149);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label149", label149,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label149);
  gtk_box_pack_start (GTK_BOX (hbox86), label149, FALSE, FALSE, 0);

  entry_queue_regex = gtk_entry_new ();
  gtk_widget_set_name (entry_queue_regex, "entry_queue_regex");
  gtk_widget_ref (entry_queue_regex);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "entry_queue_regex", entry_queue_regex,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_queue_regex);
  gtk_box_pack_start (GTK_BOX (hbox86), entry_queue_regex, TRUE, TRUE, 0);

  checkbutton_queue_regex_case = gtk_check_button_new_with_label (_("case-sensitive"));
  gtk_widget_set_name (checkbutton_queue_regex_case, "checkbutton_queue_regex_case");
  gtk_widget_ref (checkbutton_queue_regex_case);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "checkbutton_queue_regex_case", checkbutton_queue_regex_case,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_queue_regex_case);
  gtk_box_pack_start (GTK_BOX (hbox86), checkbutton_queue_regex_case, FALSE, FALSE, 0);

  hbox162 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox162, "hbox162");
  gtk_widget_ref (hbox162);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox162", hbox162,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox162);
  gtk_box_pack_start (GTK_BOX (vbox15), hbox162, FALSE, TRUE, 0);

  togglebutton_queue_freeze = gtk_toggle_button_new ();
  gtk_widget_set_name (togglebutton_queue_freeze, "togglebutton_queue_freeze");
  gtk_widget_ref (togglebutton_queue_freeze);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "togglebutton_queue_freeze", togglebutton_queue_freeze,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (togglebutton_queue_freeze);
  gtk_box_pack_start (GTK_BOX (hbox162), togglebutton_queue_freeze, FALSE, FALSE, 0);

  hbox159 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox159, "hbox159");
  gtk_widget_ref (hbox159);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox159", hbox159,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox159);
  gtk_container_add (GTK_CONTAINER (togglebutton_queue_freeze), hbox159);

  vbox_queue_freeze = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox_queue_freeze, "vbox_queue_freeze");
  gtk_widget_ref (vbox_queue_freeze);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox_queue_freeze", vbox_queue_freeze,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox_queue_freeze);
  gtk_box_pack_start (GTK_BOX (hbox159), vbox_queue_freeze, TRUE, TRUE, 0);

  label406 = gtk_label_new (_("Freeze queue"));
  gtk_widget_set_name (label406, "label406");
  gtk_widget_ref (label406);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label406", label406,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label406);
  gtk_box_pack_start (GTK_BOX (vbox_queue_freeze), label406, TRUE, TRUE, 0);

  vbox_queue_thaw = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox_queue_thaw, "vbox_queue_thaw");
  gtk_widget_ref (vbox_queue_thaw);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox_queue_thaw", vbox_queue_thaw,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_box_pack_start (GTK_BOX (hbox159), vbox_queue_thaw, TRUE, TRUE, 0);

  label407 = gtk_label_new (_("Thaw queue"));
  gtk_widget_set_name (label407, "label407");
  gtk_widget_ref (label407);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label407", label407,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label407);
  gtk_box_pack_start (GTK_BOX (vbox_queue_thaw), label407, TRUE, TRUE, 0);

  scrolledwindow40 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow40, "scrolledwindow40");
  gtk_widget_ref (scrolledwindow40);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "scrolledwindow40", scrolledwindow40,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow40);
  gtk_box_pack_start (GTK_BOX (hbox162), scrolledwindow40, TRUE, TRUE, 0);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow40), GTK_POLICY_NEVER, GTK_POLICY_NEVER);

  viewport10 = gtk_viewport_new (NULL, NULL);
  gtk_widget_set_name (viewport10, "viewport10");
  gtk_widget_ref (viewport10);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "viewport10", viewport10,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport10);
  gtk_container_add (GTK_CONTAINER (scrolledwindow40), viewport10);

  hbox194 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox194, "hbox194");
  gtk_widget_ref (hbox194);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox194", hbox194,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox194);
  gtk_container_add (GTK_CONTAINER (viewport10), hbox194);

  hbox169 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox169, "hbox169");
  gtk_widget_ref (hbox169);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox169", hbox169,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox169);
  gtk_box_pack_start (GTK_BOX (hbox194), hbox169, TRUE, TRUE, 5);

  label_dl_queue_count = gtk_label_new (_("[queued downloads]"));
  gtk_widget_set_name (label_dl_queue_count, "label_dl_queue_count");
  gtk_widget_ref (label_dl_queue_count);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_dl_queue_count", label_dl_queue_count,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_dl_queue_count);
  gtk_box_pack_start (GTK_BOX (hbox169), label_dl_queue_count, TRUE, TRUE, 0);
  gtk_misc_set_alignment (GTK_MISC (label_dl_queue_count), 1, 0.5);

  label507 = gtk_label_new (_(" queued ("));
  gtk_widget_set_name (label507, "label507");
  gtk_widget_ref (label507);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label507", label507,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label507);
  gtk_box_pack_start (GTK_BOX (hbox169), label507, FALSE, FALSE, 0);

  label_dl_qalive_count = gtk_label_new (_("[hosts alive]"));
  gtk_widget_set_name (label_dl_qalive_count, "label_dl_qalive_count");
  gtk_widget_ref (label_dl_qalive_count);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_dl_qalive_count", label_dl_qalive_count,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_dl_qalive_count);
  gtk_box_pack_start (GTK_BOX (hbox169), label_dl_qalive_count, FALSE, FALSE, 0);

  label506 = gtk_label_new (_(" alive with "));
  gtk_widget_set_name (label506, "label506");
  gtk_widget_ref (label506);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label506", label506,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label506);
  gtk_box_pack_start (GTK_BOX (hbox169), label506, FALSE, FALSE, 0);

  label_dl_pqueued_count = gtk_label_new (_("queued"));
  gtk_widget_set_name (label_dl_pqueued_count, "label_dl_pqueued_count");
  gtk_widget_ref (label_dl_pqueued_count);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_dl_pqueued_count", label_dl_pqueued_count,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_dl_pqueued_count);
  gtk_box_pack_start (GTK_BOX (hbox169), label_dl_pqueued_count, FALSE, FALSE, 0);

  label539 = gtk_label_new (_(" passive)"));
  gtk_widget_set_name (label539, "label539");
  gtk_widget_ref (label539);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label539", label539,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label539);
  gtk_box_pack_start (GTK_BOX (hbox169), label539, FALSE, FALSE, 0);

  label735 = gtk_label_new (_("[Queue]"));
  gtk_widget_set_name (label735, "label735");
  gtk_widget_ref (label735);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label735", label735,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label735);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_main), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_main), 7), label735);

  frame89 = gtk_frame_new (_("Search results"));
  gtk_widget_set_name (frame89, "frame89");
  gtk_widget_ref (frame89);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "frame89", frame89,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame89);
  gtk_container_add (GTK_CONTAINER (notebook_main), frame89);
  gtk_container_set_border_width (GTK_CONTAINER (frame89), 2);

  vbox76 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox76, "vbox76");
  gtk_widget_ref (vbox76);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox76", vbox76,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox76);
  gtk_container_add (GTK_CONTAINER (frame89), vbox76);
  gtk_container_set_border_width (GTK_CONTAINER (vbox76), 2);

  hbox146 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox146, "hbox146");
  gtk_widget_ref (hbox146);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox146", hbox146,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox146);
  gtk_box_pack_start (GTK_BOX (vbox76), hbox146, FALSE, TRUE, 0);

  label651 = gtk_label_new (_("Current search:"));
  gtk_widget_set_name (label651, "label651");
  gtk_widget_ref (label651);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label651", label651,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label651);
  gtk_box_pack_start (GTK_BOX (hbox146), label651, FALSE, FALSE, 0);

  option_menu_searches = gtk_option_menu_new ();
  gtk_widget_set_name (option_menu_searches, "option_menu_searches");
  gtk_widget_ref (option_menu_searches);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "option_menu_searches", option_menu_searches,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (option_menu_searches);
  gtk_box_pack_start (GTK_BOX (hbox146), option_menu_searches, TRUE, TRUE, 0);
  option_menu_searches_menu = gtk_menu_new ();
  gtk_option_menu_set_menu (GTK_OPTION_MENU (option_menu_searches), option_menu_searches_menu);

  viewport51 = gtk_viewport_new (NULL, NULL);
  gtk_widget_set_name (viewport51, "viewport51");
  gtk_widget_ref (viewport51);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "viewport51", viewport51,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport51);
  gtk_box_pack_start (GTK_BOX (hbox146), viewport51, TRUE, TRUE, 0);
  gtk_viewport_set_shadow_type (GTK_VIEWPORT (viewport51), GTK_SHADOW_ETCHED_IN);

  hbox2107 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox2107, "hbox2107");
  gtk_widget_ref (hbox2107);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox2107", hbox2107,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox2107);
  gtk_container_add (GTK_CONTAINER (viewport51), hbox2107);

  label_search_expiry = gtk_label_new ("");
  gtk_widget_set_name (label_search_expiry, "label_search_expiry");
  gtk_widget_ref (label_search_expiry);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_search_expiry", label_search_expiry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_search_expiry);
  gtk_box_pack_start (GTK_BOX (hbox2107), label_search_expiry, FALSE, TRUE, 0);
  gtk_misc_set_alignment (GTK_MISC (label_search_expiry), 7.45058e-09, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_search_expiry), 5, 0);

  button_search_close = gtk_button_new_with_label ("");
  button_search_close_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (button_search_close)->child),
                                   _("Cl_ose search"));
  gtk_widget_add_accelerator (button_search_close, "clicked", accel_group,
                              button_search_close_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (button_search_close, "button_search_close");
  gtk_widget_ref (button_search_close);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "button_search_close", button_search_close,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_search_close);
  gtk_box_pack_start (GTK_BOX (hbox146), button_search_close, FALSE, FALSE, 0);
  gtk_widget_set_sensitive (button_search_close, FALSE);

  vpaned_results = gtk_vpaned_new ();
  gtk_widget_set_name (vpaned_results, "vpaned_results");
  gtk_widget_ref (vpaned_results);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vpaned_results", vpaned_results,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vpaned_results);
  gtk_box_pack_start (GTK_BOX (vbox76), vpaned_results, TRUE, TRUE, 0);
  gtk_paned_set_gutter_size (GTK_PANED (vpaned_results), 10);
  gtk_paned_set_position (GTK_PANED (vpaned_results), 354);

  notebook_search_results = gtk_notebook_new ();
  gtk_widget_set_name (notebook_search_results, "notebook_search_results");
  gtk_widget_ref (notebook_search_results);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "notebook_search_results", notebook_search_results,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (notebook_search_results);
  gtk_paned_pack1 (GTK_PANED (vpaned_results), notebook_search_results, FALSE, TRUE);
  gtk_notebook_set_show_border (GTK_NOTEBOOK (notebook_search_results), FALSE);
  gtk_notebook_popup_enable (GTK_NOTEBOOK (notebook_search_results));

  empty_notebook_page = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (empty_notebook_page);
  gtk_container_add (GTK_CONTAINER (notebook_search_results), empty_notebook_page);

  label190 = gtk_label_new (_("(no search)"));
  gtk_widget_set_name (label190, "label190");
  gtk_widget_ref (label190);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label190", label190,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label190);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_search_results), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_search_results), 0), label190);

  scrolledwindow47 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow47, "scrolledwindow47");
  gtk_widget_ref (scrolledwindow47);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "scrolledwindow47", scrolledwindow47,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow47);
  gtk_paned_pack2 (GTK_PANED (vpaned_results), scrolledwindow47, TRUE, TRUE);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow47), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  viewport45 = gtk_viewport_new (NULL, NULL);
  gtk_widget_set_name (viewport45, "viewport45");
  gtk_widget_ref (viewport45);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "viewport45", viewport45,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport45);
  gtk_container_add (GTK_CONTAINER (scrolledwindow47), viewport45);

  notebook4 = gtk_notebook_new ();
  gtk_widget_set_name (notebook4, "notebook4");
  gtk_widget_ref (notebook4);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "notebook4", notebook4,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (notebook4);
  gtk_container_add (GTK_CONTAINER (viewport45), notebook4);

  scrolledwindow495 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow495, "scrolledwindow495");
  gtk_widget_ref (scrolledwindow495);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "scrolledwindow495", scrolledwindow495,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow495);
  gtk_container_add (GTK_CONTAINER (notebook4), scrolledwindow495);

  clist_search_details = gtk_clist_new (2);
  gtk_widget_set_name (clist_search_details, "clist_search_details");
  gtk_widget_ref (clist_search_details);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "clist_search_details", clist_search_details,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (clist_search_details);
  gtk_container_add (GTK_CONTAINER (scrolledwindow495), clist_search_details);
  gtk_clist_set_column_width (GTK_CLIST (clist_search_details), 0, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_search_details), 1, 80);
  gtk_clist_column_titles_hide (GTK_CLIST (clist_search_details));

  label794 = gtk_label_new (_("label794"));
  gtk_widget_set_name (label794, "label794");
  gtk_widget_ref (label794);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label794", label794,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label794);
  gtk_clist_set_column_widget (GTK_CLIST (clist_search_details), 0, label794);

  label795 = gtk_label_new (_("label795"));
  gtk_widget_set_name (label795, "label795");
  gtk_widget_ref (label795);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label795", label795,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label795);
  gtk_clist_set_column_widget (GTK_CLIST (clist_search_details), 1, label795);

  label788 = gtk_label_new (_("Information about selected file"));
  gtk_widget_set_name (label788, "label788");
  gtk_widget_ref (label788);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label788", label788,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label788);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook4), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook4), 0), label788);

  scrolledwindow491 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow491, "scrolledwindow491");
  gtk_widget_ref (scrolledwindow491);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "scrolledwindow491", scrolledwindow491,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow491);
  gtk_container_add (GTK_CONTAINER (notebook4), scrolledwindow491);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow491), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);

  text_result_info_xml = gtk_text_new (NULL, NULL);
  gtk_widget_set_name (text_result_info_xml, "text_result_info_xml");
  gtk_widget_ref (text_result_info_xml);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "text_result_info_xml", text_result_info_xml,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (text_result_info_xml);
  gtk_container_add (GTK_CONTAINER (scrolledwindow491), text_result_info_xml);

  label793 = gtk_label_new (_("XML Metadata"));
  gtk_widget_set_name (label793, "label793");
  gtk_widget_ref (label793);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label793", label793,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label793);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook4), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook4), 1), label793);

  table68 = gtk_table_new (5, 4, FALSE);
  gtk_widget_set_name (table68, "table68");
  gtk_widget_ref (table68);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "table68", table68,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table68);
  gtk_container_add (GTK_CONTAINER (notebook4), table68);
  gtk_container_set_border_width (GTK_CONTAINER (table68), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table68), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table68), 4);

  checkbutton_search_hide_downloaded = gtk_check_button_new_with_label ("");
  checkbutton_search_hide_downloaded_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_search_hide_downloaded)->child),
                                   _("_Hide downloaded files"));
  gtk_widget_add_accelerator (checkbutton_search_hide_downloaded, "clicked", accel_group,
                              checkbutton_search_hide_downloaded_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_search_hide_downloaded, "checkbutton_search_hide_downloaded");
  gtk_widget_ref (checkbutton_search_hide_downloaded);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "checkbutton_search_hide_downloaded", checkbutton_search_hide_downloaded,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_search_hide_downloaded);
  gtk_table_attach (GTK_TABLE (table68), checkbutton_search_hide_downloaded, 2, 4, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_search_remove_downloaded = gtk_check_button_new_with_label ("");
  checkbutton_search_remove_downloaded_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_search_remove_downloaded)->child),
                                   _("_Remove manually downloaded files"));
  gtk_widget_add_accelerator (checkbutton_search_remove_downloaded, "clicked", accel_group,
                              checkbutton_search_remove_downloaded_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_search_remove_downloaded, "checkbutton_search_remove_downloaded");
  gtk_widget_ref (checkbutton_search_remove_downloaded);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "checkbutton_search_remove_downloaded", checkbutton_search_remove_downloaded,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_search_remove_downloaded);
  gtk_table_attach (GTK_TABLE (table68), checkbutton_search_remove_downloaded, 2, 4, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_browse_copied_to_passive = gtk_check_button_new_with_label (_("Copy browse-host results to passive searches"));
  gtk_widget_set_name (checkbutton_browse_copied_to_passive, "checkbutton_browse_copied_to_passive");
  gtk_widget_ref (checkbutton_browse_copied_to_passive);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "checkbutton_browse_copied_to_passive", checkbutton_browse_copied_to_passive,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_browse_copied_to_passive);
  gtk_table_attach (GTK_TABLE (table68), checkbutton_browse_copied_to_passive, 2, 4, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_search_discard_hashless = gtk_check_button_new_with_label (_("Discard results without SHA-1 hashes"));
  gtk_widget_set_name (checkbutton_search_discard_hashless, "checkbutton_search_discard_hashless");
  gtk_widget_ref (checkbutton_search_discard_hashless);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "checkbutton_search_discard_hashless", checkbutton_search_discard_hashless,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_search_discard_hashless);
  gtk_table_attach (GTK_TABLE (table68), checkbutton_search_discard_hashless, 2, 4, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_search_discard_spam = gtk_check_button_new_with_label (_("Discard spam"));
  gtk_widget_set_name (checkbutton_search_discard_spam, "checkbutton_search_discard_spam");
  gtk_widget_ref (checkbutton_search_discard_spam);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "checkbutton_search_discard_spam", checkbutton_search_discard_spam,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_search_discard_spam);
  gtk_table_attach (GTK_TABLE (table68), checkbutton_search_discard_spam, 2, 4, 4, 5,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_search_sort_casesense = gtk_check_button_new_with_label (_("Case-sensitive sorting"));
  gtk_widget_set_name (checkbutton_search_sort_casesense, "checkbutton_search_sort_casesense");
  gtk_widget_ref (checkbutton_search_sort_casesense);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "checkbutton_search_sort_casesense", checkbutton_search_sort_casesense,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_search_sort_casesense);
  gtk_table_attach (GTK_TABLE (table68), checkbutton_search_sort_casesense, 0, 2, 4, 5,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  alignment38 = gtk_alignment_new (7.45058e-09, 0.5, 0.15, 1);
  gtk_widget_set_name (alignment38, "alignment38");
  gtk_widget_ref (alignment38);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "alignment38", alignment38,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (alignment38);
  gtk_table_attach (GTK_TABLE (table68), alignment38, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  spinbutton_browse_host_max_results_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_browse_host_max_results = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_browse_host_max_results_adj), 1, 0);
  gtk_widget_set_name (spinbutton_browse_host_max_results, "spinbutton_browse_host_max_results");
  gtk_widget_ref (spinbutton_browse_host_max_results);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "spinbutton_browse_host_max_results", spinbutton_browse_host_max_results,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_browse_host_max_results);
  gtk_container_add (GTK_CONTAINER (alignment38), spinbutton_browse_host_max_results);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_browse_host_max_results), TRUE);

  alignment27 = gtk_alignment_new (7.45058e-09, 0.5, 0.15, 1);
  gtk_widget_set_name (alignment27, "alignment27");
  gtk_widget_ref (alignment27);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "alignment27", alignment27,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (alignment27);
  gtk_table_attach (GTK_TABLE (table68), alignment27, 1, 2, 3, 4,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  spinbutton_search_max_results_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_search_max_results = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_search_max_results_adj), 1, 0);
  gtk_widget_set_name (spinbutton_search_max_results, "spinbutton_search_max_results");
  gtk_widget_ref (spinbutton_search_max_results);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "spinbutton_search_max_results", spinbutton_search_max_results,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_search_max_results);
  gtk_container_add (GTK_CONTAINER (alignment27), spinbutton_search_max_results);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_search_max_results), TRUE);

  label460 = gtk_label_new ("");
  gtk_label_parse_uline (GTK_LABEL (label460),
                         _("Max. _number of results"));
  gtk_widget_set_name (label460, "label460");
  gtk_widget_ref (label460);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label460", label460,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label460);
  gtk_table_attach (GTK_TABLE (table68), label460, 0, 1, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label460), 0, 0.5);

  label783 = gtk_label_new (_("Max. number of browse host results"));
  gtk_widget_set_name (label783, "label783");
  gtk_widget_ref (label783);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label783", label783,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label783);
  gtk_table_attach (GTK_TABLE (table68), label783, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label783), 0, 0.5);

  label541 = gtk_label_new (_("Ignored files are"));
  gtk_widget_set_name (label541, "label541");
  gtk_widget_ref (label541);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label541", label541,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label541);
  gtk_table_attach (GTK_TABLE (table68), label541, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_label_set_justify (GTK_LABEL (label541), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label541), 0, 0.5);

  option_menu_search_handle_ignored_files = gtk_option_menu_new ();
  gtk_widget_set_name (option_menu_search_handle_ignored_files, "option_menu_search_handle_ignored_files");
  gtk_widget_ref (option_menu_search_handle_ignored_files);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "option_menu_search_handle_ignored_files", option_menu_search_handle_ignored_files,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (option_menu_search_handle_ignored_files);
  gtk_table_attach (GTK_TABLE (table68), option_menu_search_handle_ignored_files, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  option_menu_search_handle_ignored_files_menu = gtk_menu_new ();
  gtk_option_menu_set_menu (GTK_OPTION_MENU (option_menu_search_handle_ignored_files), option_menu_search_handle_ignored_files_menu);

  label789 = gtk_label_new (_("General search settings (affect all searches)"));
  gtk_widget_set_name (label789, "label789");
  gtk_widget_ref (label789);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label789", label789,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label789);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook4), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook4), 2), label789);

  hbox147 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox147, "hbox147");
  gtk_widget_ref (hbox147);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox147", hbox147,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox147);
  gtk_box_pack_start (GTK_BOX (vbox76), hbox147, FALSE, TRUE, 0);

  viewport_fix_flashing_1 = gtk_viewport_new (NULL, NULL);
  gtk_widget_set_name (viewport_fix_flashing_1, "viewport_fix_flashing_1");
  gtk_widget_ref (viewport_fix_flashing_1);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "viewport_fix_flashing_1", viewport_fix_flashing_1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport_fix_flashing_1);
  gtk_box_pack_start (GTK_BOX (hbox147), viewport_fix_flashing_1, TRUE, TRUE, 0);

  hbox167 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox167, "hbox167");
  gtk_widget_ref (hbox167);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox167", hbox167,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox167);
  gtk_container_add (GTK_CONTAINER (viewport_fix_flashing_1), hbox167);

  label_items_found = gtk_label_new ("");
  gtk_widget_set_name (label_items_found, "label_items_found");
  gtk_widget_ref (label_items_found);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_items_found", label_items_found,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_items_found);
  gtk_box_pack_start (GTK_BOX (hbox167), label_items_found, TRUE, TRUE, 0);
  gtk_misc_set_alignment (GTK_MISC (label_items_found), 7.45058e-09, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_items_found), 5, 0);

  hbox_expert_search_timeout = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox_expert_search_timeout, "hbox_expert_search_timeout");
  gtk_widget_ref (hbox_expert_search_timeout);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox_expert_search_timeout", hbox_expert_search_timeout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox_expert_search_timeout);
  gtk_box_pack_start (GTK_BOX (hbox147), hbox_expert_search_timeout, FALSE, FALSE, 0);

  search_reissue_label = gtk_label_new ("");
  search_reissue_label_key = gtk_label_parse_uline (GTK_LABEL (search_reissue_label),
                                   _("Re_try search every"));
  gtk_widget_set_name (search_reissue_label, "search_reissue_label");
  gtk_widget_ref (search_reissue_label);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "search_reissue_label", search_reissue_label,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (search_reissue_label);
  gtk_box_pack_start (GTK_BOX (hbox_expert_search_timeout), search_reissue_label, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (search_reissue_label), 1, 0.5);

  spinbutton_search_reissue_timeout_adj = gtk_adjustment_new (600, 0, 100000, 60, 600, 600);
  spinbutton_search_reissue_timeout = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_search_reissue_timeout_adj), 1, 0);
  gtk_widget_set_name (spinbutton_search_reissue_timeout, "spinbutton_search_reissue_timeout");
  gtk_widget_ref (spinbutton_search_reissue_timeout);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "spinbutton_search_reissue_timeout", spinbutton_search_reissue_timeout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_search_reissue_timeout);
  gtk_box_pack_start (GTK_BOX (hbox_expert_search_timeout), spinbutton_search_reissue_timeout, TRUE, TRUE, 0);
  gtk_widget_set_usize (spinbutton_search_reissue_timeout, 70, -2);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_search_reissue_timeout), TRUE);

  label_search_reissue = gtk_label_new (_("secs   "));
  gtk_widget_set_name (label_search_reissue, "label_search_reissue");
  gtk_widget_ref (label_search_reissue);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_search_reissue", label_search_reissue,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_search_reissue);
  gtk_box_pack_start (GTK_BOX (hbox_expert_search_timeout), label_search_reissue, FALSE, FALSE, 0);

  hbox181 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox181, "hbox181");
  gtk_widget_ref (hbox181);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox181", hbox181,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox181);
  gtk_box_pack_start (GTK_BOX (vbox76), hbox181, FALSE, TRUE, 0);

  button_search_download = gtk_button_new_with_label ("");
  button_search_download_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (button_search_download)->child),
                                   _("_Download selected"));
  gtk_widget_add_accelerator (button_search_download, "clicked", accel_group,
                              button_search_download_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (button_search_download, "button_search_download");
  gtk_widget_ref (button_search_download);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "button_search_download", button_search_download,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_search_download);
  gtk_box_pack_start (GTK_BOX (hbox181), button_search_download, FALSE, FALSE, 0);
  gtk_widget_set_sensitive (button_search_download, FALSE);
  gtk_widget_add_accelerator (button_search_download, "clicked", accel_group,
                              GDK_d, GDK_CONTROL_MASK,
                              GTK_ACCEL_VISIBLE);

  button_search_filter = gtk_button_new_with_label ("");
  button_search_filter_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (button_search_filter)->child),
                                   _("_Edit filters"));
  gtk_widget_add_accelerator (button_search_filter, "clicked", accel_group,
                              button_search_filter_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (button_search_filter, "button_search_filter");
  gtk_widget_ref (button_search_filter);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "button_search_filter", button_search_filter,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_search_filter);
  gtk_box_pack_start (GTK_BOX (hbox181), button_search_filter, FALSE, FALSE, 0);
  GTK_WIDGET_UNSET_FLAGS (button_search_filter, GTK_CAN_FOCUS);

  label294 = gtk_label_new ("");
  gtk_widget_set_name (label294, "label294");
  gtk_widget_ref (label294);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label294", label294,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label294);
  gtk_box_pack_start (GTK_BOX (hbox181), label294, TRUE, TRUE, 0);

  button_search_expand_all = gtk_button_new_with_label (_("Expand all"));
  gtk_widget_set_name (button_search_expand_all, "button_search_expand_all");
  gtk_widget_ref (button_search_expand_all);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "button_search_expand_all", button_search_expand_all,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_search_expand_all);
  gtk_box_pack_start (GTK_BOX (hbox181), button_search_expand_all, FALSE, FALSE, 0);
  gtk_widget_set_sensitive (button_search_expand_all, FALSE);

  button_search_collapse_all = gtk_button_new_with_label (_("Collapse all"));
  gtk_widget_set_name (button_search_collapse_all, "button_search_collapse_all");
  gtk_widget_ref (button_search_collapse_all);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "button_search_collapse_all", button_search_collapse_all,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_search_collapse_all);
  gtk_box_pack_start (GTK_BOX (hbox181), button_search_collapse_all, FALSE, FALSE, 0);
  gtk_widget_set_sensitive (button_search_collapse_all, FALSE);

  label650 = gtk_label_new ("");
  gtk_widget_set_name (label650, "label650");
  gtk_widget_ref (label650);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label650", label650,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label650);
  gtk_box_pack_start (GTK_BOX (hbox181), label650, TRUE, TRUE, 0);

  button_search_clear = gtk_button_new_with_label (_("Clear results"));
  gtk_widget_set_name (button_search_clear, "button_search_clear");
  gtk_widget_ref (button_search_clear);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "button_search_clear", button_search_clear,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_search_clear);
  gtk_box_pack_start (GTK_BOX (hbox181), button_search_clear, FALSE, FALSE, 0);
  gtk_widget_set_sensitive (button_search_clear, FALSE);

  label_search = gtk_label_new (_("[Search]"));
  gtk_widget_set_name (label_search, "label_search");
  gtk_widget_ref (label_search);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_search", label_search,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_search);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_main), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_main), 8), label_search);

  vbox_monitor = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox_monitor, "vbox_monitor");
  gtk_widget_ref (vbox_monitor);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox_monitor", vbox_monitor,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox_monitor);
  gtk_container_add (GTK_CONTAINER (notebook_main), vbox_monitor);
  gtk_container_set_border_width (GTK_CONTAINER (vbox_monitor), 2);

  hbox45 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox45, "hbox45");
  gtk_widget_ref (hbox45);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox45", hbox45,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox45);
  gtk_box_pack_start (GTK_BOX (vbox_monitor), hbox45, FALSE, TRUE, 0);

  checkbutton_monitor_enable = gtk_check_button_new_with_label ("");
  checkbutton_monitor_enable_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_monitor_enable)->child),
                                   _("Search _monitor enabled"));
  gtk_widget_add_accelerator (checkbutton_monitor_enable, "clicked", accel_group,
                              checkbutton_monitor_enable_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_monitor_enable, "checkbutton_monitor_enable");
  gtk_widget_ref (checkbutton_monitor_enable);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "checkbutton_monitor_enable", checkbutton_monitor_enable,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_monitor_enable);
  gtk_box_pack_start (GTK_BOX (hbox45), checkbutton_monitor_enable, FALSE, FALSE, 0);

  label75 = gtk_label_new ("");
  gtk_widget_set_name (label75, "label75");
  gtk_widget_ref (label75);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label75", label75,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label75);
  gtk_box_pack_start (GTK_BOX (hbox45), label75, TRUE, FALSE, 0);

  label68 = gtk_label_new ("");
  label68_key = gtk_label_parse_uline (GTK_LABEL (label68),
                                   _("Show _last"));
  gtk_widget_set_name (label68, "label68");
  gtk_widget_ref (label68);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label68", label68,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label68);
  gtk_box_pack_start (GTK_BOX (hbox45), label68, FALSE, FALSE, 0);

  spinbutton_monitor_items_adj = gtk_adjustment_new (1, 0, 1000, 1, 10, 10);
  spinbutton_monitor_items = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_monitor_items_adj), 1, 0);
  gtk_widget_set_name (spinbutton_monitor_items, "spinbutton_monitor_items");
  gtk_widget_ref (spinbutton_monitor_items);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "spinbutton_monitor_items", spinbutton_monitor_items,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_monitor_items);
  gtk_box_pack_start (GTK_BOX (hbox45), spinbutton_monitor_items, FALSE, TRUE, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_monitor_items), TRUE);

  label69 = gtk_label_new (_("searches"));
  gtk_widget_set_name (label69, "label69");
  gtk_widget_ref (label69);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label69", label69,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label69);
  gtk_box_pack_start (GTK_BOX (hbox45), label69, FALSE, FALSE, 0);

  scrolledwindow8 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow8, "scrolledwindow8");
  gtk_widget_ref (scrolledwindow8);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "scrolledwindow8", scrolledwindow8,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow8);
  gtk_box_pack_start (GTK_BOX (vbox_monitor), scrolledwindow8, TRUE, TRUE, 0);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow8), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  clist_monitor = gtk_clist_new (1);
  gtk_widget_set_name (clist_monitor, "clist_monitor");
  gtk_widget_ref (clist_monitor);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "clist_monitor", clist_monitor,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (clist_monitor);
  gtk_container_add (GTK_CONTAINER (scrolledwindow8), clist_monitor);
  GTK_WIDGET_UNSET_FLAGS (clist_monitor, GTK_CAN_FOCUS);
  gtk_clist_set_column_width (GTK_CLIST (clist_monitor), 0, 80);
  gtk_clist_column_titles_show (GTK_CLIST (clist_monitor));

  label70 = gtk_label_new (_("Search"));
  gtk_widget_set_name (label70, "label70");
  gtk_widget_ref (label70);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label70", label70,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label70);
  gtk_clist_set_column_widget (GTK_CLIST (clist_monitor), 0, label70);
  gtk_label_set_justify (GTK_LABEL (label70), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (label70), 7.45058e-09, 0.5);

  label_monitor = gtk_label_new (_("[Monitor]"));
  gtk_widget_set_name (label_monitor, "label_monitor");
  gtk_widget_ref (label_monitor);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_monitor", label_monitor,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_monitor);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_main), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_main), 9), label_monitor);

  vbox12a = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox12a, "vbox12a");
  gtk_widget_ref (vbox12a);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "vbox12a", vbox12a,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox12a);
  gtk_container_add (GTK_CONTAINER (notebook_main), vbox12a);
  gtk_container_set_border_width (GTK_CONTAINER (vbox12a), 2);

  hbox67 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox67, "hbox67");
  gtk_widget_ref (hbox67);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox67", hbox67,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox67);
  gtk_box_pack_start (GTK_BOX (vbox12a), hbox67, FALSE, TRUE, 0);

  option_menu_search_stats_type = gtk_option_menu_new ();
  gtk_widget_set_name (option_menu_search_stats_type, "option_menu_search_stats_type");
  gtk_widget_ref (option_menu_search_stats_type);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "option_menu_search_stats_type", option_menu_search_stats_type,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (option_menu_search_stats_type);
  gtk_box_pack_start (GTK_BOX (hbox67), option_menu_search_stats_type, FALSE, FALSE, 0);
  option_menu_search_stats_type_menu = gtk_menu_new ();
  gtk_option_menu_set_menu (GTK_OPTION_MENU (option_menu_search_stats_type), option_menu_search_stats_type_menu);

  label101 = gtk_label_new ("");
  label101_key = gtk_label_parse_uline (GTK_LABEL (label101),
                                   _("_Update interval (sec)"));
  gtk_widget_set_name (label101, "label101");
  gtk_widget_ref (label101);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label101", label101,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label101);
  gtk_box_pack_start (GTK_BOX (hbox67), label101, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label101), GTK_JUSTIFY_RIGHT);

  spinbutton_search_stats_update_interval_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_search_stats_update_interval = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_search_stats_update_interval_adj), 1, 0);
  gtk_widget_set_name (spinbutton_search_stats_update_interval, "spinbutton_search_stats_update_interval");
  gtk_widget_ref (spinbutton_search_stats_update_interval);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "spinbutton_search_stats_update_interval", spinbutton_search_stats_update_interval,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_search_stats_update_interval);
  gtk_box_pack_start (GTK_BOX (hbox67), spinbutton_search_stats_update_interval, FALSE, FALSE, 0);

  label102 = gtk_label_new ("");
  gtk_label_parse_uline (GTK_LABEL (label102),
                         _("_Deletion coeff. (0-100)"));
  gtk_widget_set_name (label102, "label102");
  gtk_widget_ref (label102);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label102", label102,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label102);
  gtk_box_pack_start (GTK_BOX (hbox67), label102, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label102), GTK_JUSTIFY_RIGHT);

  spinbutton_search_stats_delcoef_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_search_stats_delcoef = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_search_stats_delcoef_adj), 1, 0);
  gtk_widget_set_name (spinbutton_search_stats_delcoef, "spinbutton_search_stats_delcoef");
  gtk_widget_ref (spinbutton_search_stats_delcoef);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "spinbutton_search_stats_delcoef", spinbutton_search_stats_delcoef,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_search_stats_delcoef);
  gtk_box_pack_end (GTK_BOX (hbox67), spinbutton_search_stats_delcoef, FALSE, FALSE, 0);

  scrolledwindow10 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow10, "scrolledwindow10");
  gtk_widget_ref (scrolledwindow10);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "scrolledwindow10", scrolledwindow10,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow10);
  gtk_box_pack_start (GTK_BOX (vbox12a), scrolledwindow10, TRUE, TRUE, 0);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow10), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);

  clist_search_stats = gtk_clist_new (3);
  gtk_widget_set_name (clist_search_stats, "clist_search_stats");
  gtk_widget_ref (clist_search_stats);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "clist_search_stats", clist_search_stats,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (clist_search_stats);
  gtk_container_add (GTK_CONTAINER (scrolledwindow10), clist_search_stats);
  gtk_clist_set_column_width (GTK_CLIST (clist_search_stats), 0, 239);
  gtk_clist_set_column_width (GTK_CLIST (clist_search_stats), 1, 93);
  gtk_clist_set_column_width (GTK_CLIST (clist_search_stats), 2, 80);
  gtk_clist_column_titles_show (GTK_CLIST (clist_search_stats));

  label105 = gtk_label_new (_("Search Term"));
  gtk_widget_set_name (label105, "label105");
  gtk_widget_ref (label105);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label105", label105,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label105);
  gtk_clist_set_column_widget (GTK_CLIST (clist_search_stats), 0, label105);
  gtk_misc_set_alignment (GTK_MISC (label105), 7.45058e-09, 0.5);

  label106 = gtk_label_new (_("This Interval"));
  gtk_widget_set_name (label106, "label106");
  gtk_widget_ref (label106);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label106", label106,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label106);
  gtk_clist_set_column_widget (GTK_CLIST (clist_search_stats), 1, label106);

  label107 = gtk_label_new (_("Total"));
  gtk_widget_set_name (label107, "label107");
  gtk_widget_ref (label107);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label107", label107,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label107);
  gtk_clist_set_column_widget (GTK_CLIST (clist_search_stats), 2, label107);

  alignment1 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_set_name (alignment1, "alignment1");
  gtk_widget_ref (alignment1);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "alignment1", alignment1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (alignment1);
  gtk_box_pack_start (GTK_BOX (vbox12a), alignment1, FALSE, FALSE, 0);

  hbox66 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox66, "hbox66");
  gtk_widget_ref (hbox66);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox66", hbox66,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox66);
  gtk_container_add (GTK_CONTAINER (alignment1), hbox66);

  button_search_stats_reset = gtk_button_new_with_label ("");
  button_search_stats_reset_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (button_search_stats_reset)->child),
                                   _("_Reset stats"));
  gtk_widget_add_accelerator (button_search_stats_reset, "clicked", accel_group,
                              button_search_stats_reset_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (button_search_stats_reset, "button_search_stats_reset");
  gtk_widget_ref (button_search_stats_reset);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "button_search_stats_reset", button_search_stats_reset,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_search_stats_reset);
  gtk_box_pack_start (GTK_BOX (hbox66), button_search_stats_reset, FALSE, FALSE, 0);

  viewport_fix_flashing_2 = gtk_viewport_new (NULL, NULL);
  gtk_widget_set_name (viewport_fix_flashing_2, "viewport_fix_flashing_2");
  gtk_widget_ref (viewport_fix_flashing_2);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "viewport_fix_flashing_2", viewport_fix_flashing_2,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport_fix_flashing_2);
  gtk_box_pack_start (GTK_BOX (hbox66), viewport_fix_flashing_2, TRUE, TRUE, 0);

  hbox168 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox168, "hbox168");
  gtk_widget_ref (hbox168);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox168", hbox168,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox168);
  gtk_container_add (GTK_CONTAINER (viewport_fix_flashing_2), hbox168);

  label_search_stats_count = gtk_label_new (_("0 terms counted"));
  gtk_widget_set_name (label_search_stats_count, "label_search_stats_count");
  gtk_widget_ref (label_search_stats_count);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_search_stats_count", label_search_stats_count,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_search_stats_count);
  gtk_box_pack_start (GTK_BOX (hbox168), label_search_stats_count, TRUE, TRUE, 0);
  gtk_label_set_justify (GTK_LABEL (label_search_stats_count), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label_search_stats_count), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_search_stats_count), 5, 0);

  label_search_stats = gtk_label_new (_("[Search Stats]"));
  gtk_widget_set_name (label_search_stats, "label_search_stats");
  gtk_widget_ref (label_search_stats);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_search_stats", label_search_stats,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_search_stats);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_main), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_main), 10), label_search_stats);

  hbox_statusbar = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox_statusbar, "hbox_statusbar");
  gtk_widget_ref (hbox_statusbar);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox_statusbar", hbox_statusbar,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox_statusbar);
  gtk_box_pack_start (GTK_BOX (vbox12), hbox_statusbar, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox_statusbar), 1);

  togglebutton_online = gtk_toggle_button_new ();
  gtk_widget_set_name (togglebutton_online, "togglebutton_online");
  gtk_widget_ref (togglebutton_online);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "togglebutton_online", togglebutton_online,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (togglebutton_online);
  gtk_box_pack_start (GTK_BOX (hbox_statusbar), togglebutton_online, FALSE, FALSE, 0);

  hbox145 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox145, "hbox145");
  gtk_widget_ref (hbox145);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox145", hbox145,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox145);
  gtk_container_add (GTK_CONTAINER (togglebutton_online), hbox145);

  image_online = create_pixmap (main_window, "online.xpm");
  gtk_widget_set_name (image_online, "image_online");
  gtk_widget_ref (image_online);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "image_online", image_online,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (image_online);
  gtk_box_pack_start (GTK_BOX (hbox145), image_online, TRUE, TRUE, 0);
  gtk_pixmap_set_build_insensitive (GTK_PIXMAP (image_online), FALSE);

  eventbox5 = gtk_event_box_new ();
  gtk_widget_set_name (eventbox5, "eventbox5");
  gtk_widget_ref (eventbox5);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "eventbox5", eventbox5,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (eventbox5);
  gtk_box_pack_start (GTK_BOX (hbox145), eventbox5, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, eventbox5, _("You seem to be offline."), NULL);

  image_offline = create_pixmap (main_window, "offline.xpm");
  gtk_widget_set_name (image_offline, "image_offline");
  gtk_widget_ref (image_offline);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "image_offline", image_offline,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (image_offline);
  gtk_container_add (GTK_CONTAINER (eventbox5), image_offline);
  gtk_pixmap_set_build_insensitive (GTK_PIXMAP (image_offline), FALSE);

  alignment25 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_set_name (alignment25, "alignment25");
  gtk_widget_ref (alignment25);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "alignment25", alignment25,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (alignment25);
  gtk_box_pack_start (GTK_BOX (hbox_statusbar), alignment25, TRUE, TRUE, 0);

  statusbar = gtk_statusbar_new ();
  gtk_widget_set_name (statusbar, "statusbar");
  gtk_widget_ref (statusbar);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "statusbar", statusbar,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (statusbar);
  gtk_container_add (GTK_CONTAINER (alignment25), statusbar);

  frame129 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame129, "frame129");
  gtk_widget_ref (frame129);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "frame129", frame129,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame129);
  gtk_box_pack_start (GTK_BOX (hbox_statusbar), frame129, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame129), GTK_SHADOW_IN);

  label_statusbar_horizon_node_count = gtk_label_new (_("Nodes"));
  gtk_widget_set_name (label_statusbar_horizon_node_count, "label_statusbar_horizon_node_count");
  gtk_widget_ref (label_statusbar_horizon_node_count);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_statusbar_horizon_node_count", label_statusbar_horizon_node_count,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_statusbar_horizon_node_count);
  gtk_container_add (GTK_CONTAINER (frame129), label_statusbar_horizon_node_count);
  gtk_misc_set_padding (GTK_MISC (label_statusbar_horizon_node_count), 5, 0);

  frame130 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame130, "frame130");
  gtk_widget_ref (frame130);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "frame130", frame130,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame130);
  gtk_box_pack_start (GTK_BOX (hbox_statusbar), frame130, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame130), GTK_SHADOW_IN);

  label_statusbar_horizon_file_count = gtk_label_new (_("Files"));
  gtk_widget_set_name (label_statusbar_horizon_file_count, "label_statusbar_horizon_file_count");
  gtk_widget_ref (label_statusbar_horizon_file_count);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_statusbar_horizon_file_count", label_statusbar_horizon_file_count,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_statusbar_horizon_file_count);
  gtk_container_add (GTK_CONTAINER (frame130), label_statusbar_horizon_file_count);
  gtk_misc_set_padding (GTK_MISC (label_statusbar_horizon_file_count), 5, 0);

  frame131 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame131, "frame131");
  gtk_widget_ref (frame131);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "frame131", frame131,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame131);
  gtk_box_pack_start (GTK_BOX (hbox_statusbar), frame131, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame131), GTK_SHADOW_IN);

  label_statusbar_horizon_kb_count = gtk_label_new (_("Size"));
  gtk_widget_set_name (label_statusbar_horizon_kb_count, "label_statusbar_horizon_kb_count");
  gtk_widget_ref (label_statusbar_horizon_kb_count);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_statusbar_horizon_kb_count", label_statusbar_horizon_kb_count,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_statusbar_horizon_kb_count);
  gtk_container_add (GTK_CONTAINER (frame131), label_statusbar_horizon_kb_count);
  gtk_misc_set_padding (GTK_MISC (label_statusbar_horizon_kb_count), 5, 0);

  frame_status_images = gtk_frame_new (NULL);
  gtk_widget_set_name (frame_status_images, "frame_status_images");
  gtk_widget_ref (frame_status_images);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "frame_status_images", frame_status_images,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_status_images);
  gtk_box_pack_start (GTK_BOX (hbox_statusbar), frame_status_images, FALSE, FALSE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame_status_images), GTK_SHADOW_IN);

  hbox199 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox199, "hbox199");
  gtk_widget_ref (hbox199);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "hbox199", hbox199,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox199);
  gtk_container_add (GTK_CONTAINER (frame_status_images), hbox199);

  eventbox_image_chip = gtk_event_box_new ();
  gtk_widget_set_name (eventbox_image_chip, "eventbox_image_chip");
  gtk_widget_ref (eventbox_image_chip);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "eventbox_image_chip", eventbox_image_chip,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (eventbox_image_chip);
  gtk_box_pack_start (GTK_BOX (hbox199), eventbox_image_chip, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, eventbox_image_chip, _("Your uploads are stalling at an abnormal rate, indicating that your bandwidth is probably saturated. You should not run as an ultra node, and try to reduce the allocated bandwidth to gtk-gnutella to avoid saturating both your incoming and outgoing paths."), NULL);

  image_chip = create_pixmap (main_window, "chip.xpm");
  gtk_widget_set_name (image_chip, "image_chip");
  gtk_widget_ref (image_chip);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "image_chip", image_chip,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (image_chip);
  gtk_container_add (GTK_CONTAINER (eventbox_image_chip), image_chip);
  gtk_pixmap_set_build_insensitive (GTK_PIXMAP (image_chip), FALSE);

  eventbox_image_warning = gtk_event_box_new ();
  gtk_widget_set_name (eventbox_image_warning, "eventbox_image_warning");
  gtk_widget_ref (eventbox_image_warning);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "eventbox_image_warning", eventbox_image_warning,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (eventbox_image_warning);
  gtk_box_pack_start (GTK_BOX (hbox199), eventbox_image_warning, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, eventbox_image_warning, _("Your uploads are stalling at an abnormal rate, indicating that your bandwidth is probably saturated. You should not run as an ultra node, and try to reduce the allocated bandwidth to gtk-gnutella to avoid saturating both your incoming and outgoing paths."), NULL);

  image_warning = create_pixmap (main_window, "warning.xpm");
  gtk_widget_set_name (image_warning, "image_warning");
  gtk_widget_ref (image_warning);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "image_warning", image_warning,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (image_warning);
  gtk_container_add (GTK_CONTAINER (eventbox_image_warning), image_warning);
  gtk_pixmap_set_build_insensitive (GTK_PIXMAP (image_warning), FALSE);

  eventbox_image_fd_shortage = gtk_event_box_new ();
  gtk_widget_set_name (eventbox_image_fd_shortage, "eventbox_image_fd_shortage");
  gtk_widget_ref (eventbox_image_fd_shortage);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "eventbox_image_fd_shortage", eventbox_image_fd_shortage,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (eventbox_image_fd_shortage);
  gtk_box_pack_start (GTK_BOX (hbox199), eventbox_image_fd_shortage, TRUE, TRUE, 0);

  image_fd_shortage = create_pixmap (main_window, "clanbomber_yellow.xpm");
  gtk_widget_set_name (image_fd_shortage, "image_fd_shortage");
  gtk_widget_ref (image_fd_shortage);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "image_fd_shortage", image_fd_shortage,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (image_fd_shortage);
  gtk_container_add (GTK_CONTAINER (eventbox_image_fd_shortage), image_fd_shortage);
  gtk_pixmap_set_build_insensitive (GTK_PIXMAP (image_fd_shortage), FALSE);

  eventbox_image_fd_runout = gtk_event_box_new ();
  gtk_widget_set_name (eventbox_image_fd_runout, "eventbox_image_fd_runout");
  gtk_widget_ref (eventbox_image_fd_runout);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "eventbox_image_fd_runout", eventbox_image_fd_runout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (eventbox_image_fd_runout);
  gtk_box_pack_start (GTK_BOX (hbox199), eventbox_image_fd_runout, TRUE, TRUE, 0);

  image_fd_runout = create_pixmap (main_window, "clanbomber_red.xpm");
  gtk_widget_set_name (image_fd_runout, "image_fd_runout");
  gtk_widget_ref (image_fd_runout);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "image_fd_runout", image_fd_runout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (image_fd_runout);
  gtk_container_add (GTK_CONTAINER (eventbox_image_fd_runout), image_fd_runout);
  gtk_pixmap_set_build_insensitive (GTK_PIXMAP (image_fd_runout), FALSE);

  eventbox_image_ancient = gtk_event_box_new ();
  gtk_widget_set_name (eventbox_image_ancient, "eventbox_image_ancient");
  gtk_widget_ref (eventbox_image_ancient);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "eventbox_image_ancient", eventbox_image_ancient,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (eventbox_image_ancient);
  gtk_box_pack_start (GTK_BOX (hbox199), eventbox_image_ancient, TRUE, TRUE, 0);

  image_ancient = create_pixmap (main_window, "stock_form-time-field-16.xpm");
  gtk_widget_set_name (image_ancient, "image_ancient");
  gtk_widget_ref (image_ancient);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "image_ancient", image_ancient,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (image_ancient);
  gtk_container_add (GTK_CONTAINER (eventbox_image_ancient), image_ancient);

  eventbox_image_save = gtk_event_box_new ();
  gtk_widget_set_name (eventbox_image_save, "eventbox_image_save");
  gtk_widget_ref (eventbox_image_save);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "eventbox_image_save", eventbox_image_save,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (eventbox_image_save);
  gtk_box_pack_start (GTK_BOX (hbox199), eventbox_image_save, TRUE, TRUE, 0);

  image_save = create_pixmap (main_window, "save.xpm");
  gtk_widget_set_name (image_save, "image_save");
  gtk_widget_ref (image_save);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "image_save", image_save,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (image_save);
  gtk_container_add (GTK_CONTAINER (eventbox_image_save), image_save);
  gtk_misc_set_padding (GTK_MISC (image_save), 1, 0);

  eventbox_image_sha = gtk_event_box_new ();
  gtk_widget_set_name (eventbox_image_sha, "eventbox_image_sha");
  gtk_widget_ref (eventbox_image_sha);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "eventbox_image_sha", eventbox_image_sha,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (eventbox_image_sha);
  gtk_box_pack_start (GTK_BOX (hbox199), eventbox_image_sha, TRUE, TRUE, 0);

  image_sha = create_pixmap (main_window, "booksha.xpm");
  gtk_widget_set_name (image_sha, "image_sha");
  gtk_widget_ref (image_sha);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "image_sha", image_sha,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (image_sha);
  gtk_container_add (GTK_CONTAINER (eventbox_image_sha), image_sha);
  gtk_misc_set_padding (GTK_MISC (image_sha), 1, 0);

  eventbox_image_shav = gtk_event_box_new ();
  gtk_widget_set_name (eventbox_image_shav, "eventbox_image_shav");
  gtk_widget_ref (eventbox_image_shav);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "eventbox_image_shav", eventbox_image_shav,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (eventbox_image_shav);
  gtk_box_pack_start (GTK_BOX (hbox199), eventbox_image_shav, TRUE, TRUE, 0);

  image_shav = create_pixmap (main_window, "bookshav.xpm");
  gtk_widget_set_name (image_shav, "image_shav");
  gtk_widget_ref (image_shav);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "image_shav", image_shav,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (image_shav);
  gtk_container_add (GTK_CONTAINER (eventbox_image_shav), image_shav);

  eventbox_image_tth = gtk_event_box_new ();
  gtk_widget_set_name (eventbox_image_tth, "eventbox_image_tth");
  gtk_widget_ref (eventbox_image_tth);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "eventbox_image_tth", eventbox_image_tth,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (eventbox_image_tth);
  gtk_box_pack_start (GTK_BOX (hbox199), eventbox_image_tth, TRUE, TRUE, 0);

  image_tth = create_pixmap (main_window, "booktth.xpm");
  gtk_widget_set_name (image_tth, "image_tth");
  gtk_widget_ref (image_tth);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "image_tth", image_tth,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (image_tth);
  gtk_container_add (GTK_CONTAINER (eventbox_image_tth), image_tth);
  gtk_misc_set_padding (GTK_MISC (image_tth), 1, 0);

  eventbox_image_lib = gtk_event_box_new ();
  gtk_widget_set_name (eventbox_image_lib, "eventbox_image_lib");
  gtk_widget_ref (eventbox_image_lib);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "eventbox_image_lib", eventbox_image_lib,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (eventbox_image_lib);
  gtk_box_pack_start (GTK_BOX (hbox199), eventbox_image_lib, TRUE, TRUE, 0);

  image_lib = create_pixmap (main_window, "booklib.xpm");
  gtk_widget_set_name (image_lib, "image_lib");
  gtk_widget_ref (image_lib);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "image_lib", image_lib,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (image_lib);
  gtk_container_add (GTK_CONTAINER (eventbox_image_lib), image_lib);
  gtk_misc_set_padding (GTK_MISC (image_lib), 1, 0);

  eventbox_image_firewall = gtk_event_box_new ();
  gtk_widget_set_name (eventbox_image_firewall, "eventbox_image_firewall");
  gtk_widget_ref (eventbox_image_firewall);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "eventbox_image_firewall", eventbox_image_firewall,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (eventbox_image_firewall);
  gtk_box_pack_start (GTK_BOX (hbox199), eventbox_image_firewall, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, eventbox_image_firewall, _("You appear to be firewalled, both TCP-wise and UDP-wise. You will not see any push results, which may prevent you from seeing a large amount of results. You will not be able to send queries requesting out-of-band delivery of query hits."), NULL);

  image_firewall = create_pixmap (main_window, "firewall.xpm");
  gtk_widget_set_name (image_firewall, "image_firewall");
  gtk_widget_ref (image_firewall);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "image_firewall", image_firewall,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (image_firewall);
  gtk_container_add (GTK_CONTAINER (eventbox_image_firewall), image_firewall);
  gtk_misc_set_padding (GTK_MISC (image_firewall), 1, 0);
  gtk_pixmap_set_build_insensitive (GTK_PIXMAP (image_firewall), FALSE);

  eventbox_image_firewall_punchable = gtk_event_box_new ();
  gtk_widget_set_name (eventbox_image_firewall_punchable, "eventbox_image_firewall_punchable");
  gtk_widget_ref (eventbox_image_firewall_punchable);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "eventbox_image_firewall_punchable", eventbox_image_firewall_punchable,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (eventbox_image_firewall_punchable);
  gtk_box_pack_start (GTK_BOX (hbox199), eventbox_image_firewall_punchable, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, eventbox_image_firewall_punchable, _("You appear to be firewalled, both TCP-wise and UDP-wise. You will not see any push results, which may prevent you from seeing a large amount of results. You will not be able to send queries requesting out-of-band delivery of query hits. However, it is possible to punch a hole into the UDP firewall, so you will be able to send out-of-band query hits."), NULL);

  image_firewall_punchable = create_pixmap (main_window, "firewall_punchable.xpm");
  gtk_widget_set_name (image_firewall_punchable, "image_firewall_punchable");
  gtk_widget_ref (image_firewall_punchable);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "image_firewall_punchable", image_firewall_punchable,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (image_firewall_punchable);
  gtk_container_add (GTK_CONTAINER (eventbox_image_firewall_punchable), image_firewall_punchable);
  gtk_pixmap_set_build_insensitive (GTK_PIXMAP (image_firewall_punchable), FALSE);

  eventbox_image_tcp_firewall = gtk_event_box_new ();
  gtk_widget_set_name (eventbox_image_tcp_firewall, "eventbox_image_tcp_firewall");
  gtk_widget_ref (eventbox_image_tcp_firewall);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "eventbox_image_tcp_firewall", eventbox_image_tcp_firewall,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (eventbox_image_tcp_firewall);
  gtk_box_pack_start (GTK_BOX (hbox199), eventbox_image_tcp_firewall, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, eventbox_image_tcp_firewall, _("You appear to be TCP-firewalled, i.e. others cannot connect to you to download files. You will not see push results, which may prevent you from seeing a large amount of results."), NULL);

  image_tcp_firewall = create_pixmap (main_window, "firewall_tcp.xpm");
  gtk_widget_set_name (image_tcp_firewall, "image_tcp_firewall");
  gtk_widget_ref (image_tcp_firewall);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "image_tcp_firewall", image_tcp_firewall,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (image_tcp_firewall);
  gtk_container_add (GTK_CONTAINER (eventbox_image_tcp_firewall), image_tcp_firewall);
  gtk_pixmap_set_build_insensitive (GTK_PIXMAP (image_tcp_firewall), FALSE);

  eventbox_image_udp_firewall = gtk_event_box_new ();
  gtk_widget_set_name (eventbox_image_udp_firewall, "eventbox_image_udp_firewall");
  gtk_widget_ref (eventbox_image_udp_firewall);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "eventbox_image_udp_firewall", eventbox_image_udp_firewall,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (eventbox_image_udp_firewall);
  gtk_box_pack_start (GTK_BOX (hbox199), eventbox_image_udp_firewall, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, eventbox_image_udp_firewall, _("You appear to be UDP-firewalled, i.e. you cannot receive unsolicited traffic via UDP. You will not be able to send queries requesting out-of-band delivery of query hits."), NULL);

  image_udp_firewall = create_pixmap (main_window, "firewall_udp.xpm");
  gtk_widget_set_name (image_udp_firewall, "image_udp_firewall");
  gtk_widget_ref (image_udp_firewall);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "image_udp_firewall", image_udp_firewall,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (image_udp_firewall);
  gtk_container_add (GTK_CONTAINER (eventbox_image_udp_firewall), image_udp_firewall);
  gtk_pixmap_set_build_insensitive (GTK_PIXMAP (image_udp_firewall), FALSE);

  eventbox_image_firewall_udp_punchable = gtk_event_box_new ();
  gtk_widget_set_name (eventbox_image_firewall_udp_punchable, "eventbox_image_firewall_udp_punchable");
  gtk_widget_ref (eventbox_image_firewall_udp_punchable);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "eventbox_image_firewall_udp_punchable", eventbox_image_firewall_udp_punchable,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (eventbox_image_firewall_udp_punchable);
  gtk_box_pack_start (GTK_BOX (hbox199), eventbox_image_firewall_udp_punchable, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, eventbox_image_firewall_udp_punchable, _("People can connect to you via TCP, but you are UDP-firewalled.  However, you can punch a hole into that firewall, allowing reception of replies to your UDP packets.  You will be able to send out-of-band query hits, but you won't be able to receive any."), NULL);

  image_firewall_udp_punchable = create_pixmap (main_window, "firewall_udp_punchable.xpm");
  gtk_widget_set_name (image_firewall_udp_punchable, "image_firewall_udp_punchable");
  gtk_widget_ref (image_firewall_udp_punchable);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "image_firewall_udp_punchable", image_firewall_udp_punchable,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (image_firewall_udp_punchable);
  gtk_container_add (GTK_CONTAINER (eventbox_image_firewall_udp_punchable), image_firewall_udp_punchable);
  gtk_pixmap_set_build_insensitive (GTK_PIXMAP (image_firewall_udp_punchable), FALSE);

  eventbox_image_no_firewall = gtk_event_box_new ();
  gtk_widget_set_name (eventbox_image_no_firewall, "eventbox_image_no_firewall");
  gtk_widget_ref (eventbox_image_no_firewall);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "eventbox_image_no_firewall", eventbox_image_no_firewall,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (eventbox_image_no_firewall);
  gtk_box_pack_start (GTK_BOX (hbox199), eventbox_image_no_firewall, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, eventbox_image_no_firewall, _("People can connect to you, using both TCP and UDP. Push should work and you will be able to receive out-of-band results for your queries."), NULL);

  image_no_firewall = create_pixmap (main_window, "no_firewall.xpm");
  gtk_widget_set_name (image_no_firewall, "image_no_firewall");
  gtk_widget_ref (image_no_firewall);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "image_no_firewall", image_no_firewall,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (image_no_firewall);
  gtk_container_add (GTK_CONTAINER (eventbox_image_no_firewall), image_no_firewall);
  gtk_misc_set_padding (GTK_MISC (image_no_firewall), 1, 0);
  gtk_pixmap_set_build_insensitive (GTK_PIXMAP (image_no_firewall), FALSE);

  eventbox_image_leaf = gtk_event_box_new ();
  gtk_widget_set_name (eventbox_image_leaf, "eventbox_image_leaf");
  gtk_widget_ref (eventbox_image_leaf);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "eventbox_image_leaf", eventbox_image_leaf,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (eventbox_image_leaf);
  gtk_box_pack_start (GTK_BOX (hbox199), eventbox_image_leaf, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, eventbox_image_leaf, _("Running in leaf mode."), NULL);

  image_leaf = create_pixmap (main_window, "leaf.xpm");
  gtk_widget_set_name (image_leaf, "image_leaf");
  gtk_widget_ref (image_leaf);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "image_leaf", image_leaf,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (image_leaf);
  gtk_container_add (GTK_CONTAINER (eventbox_image_leaf), image_leaf);
  gtk_pixmap_set_build_insensitive (GTK_PIXMAP (image_leaf), FALSE);

  eventbox_image_legacy = gtk_event_box_new ();
  gtk_widget_set_name (eventbox_image_legacy, "eventbox_image_legacy");
  gtk_widget_ref (eventbox_image_legacy);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "eventbox_image_legacy", eventbox_image_legacy,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (eventbox_image_legacy);
  gtk_box_pack_start (GTK_BOX (hbox199), eventbox_image_legacy, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, eventbox_image_legacy, _("Running in legacy mode. Consider switching to auto mode."), NULL);

  image_legacy = create_pixmap (main_window, "legacy.xpm");
  gtk_widget_set_name (image_legacy, "image_legacy");
  gtk_widget_ref (image_legacy);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "image_legacy", image_legacy,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (image_legacy);
  gtk_container_add (GTK_CONTAINER (eventbox_image_legacy), image_legacy);
  gtk_pixmap_set_build_insensitive (GTK_PIXMAP (image_legacy), FALSE);

  eventbox_image_ultra = gtk_event_box_new ();
  gtk_widget_set_name (eventbox_image_ultra, "eventbox_image_ultra");
  gtk_widget_ref (eventbox_image_ultra);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "eventbox_image_ultra", eventbox_image_ultra,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (eventbox_image_ultra);
  gtk_box_pack_start (GTK_BOX (hbox199), eventbox_image_ultra, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, eventbox_image_ultra, _("Running in ultrapeer mode."), NULL);

  image_ultra = create_pixmap (main_window, "ultra.xpm");
  gtk_widget_set_name (image_ultra, "image_ultra");
  gtk_widget_ref (image_ultra);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "image_ultra", image_ultra,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (image_ultra);
  gtk_container_add (GTK_CONTAINER (eventbox_image_ultra), image_ultra);
  gtk_pixmap_set_build_insensitive (GTK_PIXMAP (image_ultra), FALSE);

  frame_statusbar_uptime = gtk_frame_new (NULL);
  gtk_widget_set_name (frame_statusbar_uptime, "frame_statusbar_uptime");
  gtk_widget_ref (frame_statusbar_uptime);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "frame_statusbar_uptime", frame_statusbar_uptime,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_statusbar_uptime);
  gtk_box_pack_start (GTK_BOX (hbox_statusbar), frame_statusbar_uptime, FALSE, FALSE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame_statusbar_uptime), GTK_SHADOW_IN);

  label_statusbar_uptime = gtk_label_new (_("Uptime"));
  gtk_widget_set_name (label_statusbar_uptime, "label_statusbar_uptime");
  gtk_widget_ref (label_statusbar_uptime);
  gtk_object_set_data_full (GTK_OBJECT (main_window), "label_statusbar_uptime", label_statusbar_uptime,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_statusbar_uptime);
  gtk_container_add (GTK_CONTAINER (frame_statusbar_uptime), label_statusbar_uptime);

  gtk_signal_connect (GTK_OBJECT (main_window), "delete_event",
                      GTK_SIGNAL_FUNC (on_main_window_delete_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (connections), "activate",
                      GTK_SIGNAL_FUNC (on_menu_net_connections_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_net_stats), "activate",
                      GTK_SIGNAL_FUNC (on_menu_net_stats_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_net_hostcache), "activate",
                      GTK_SIGNAL_FUNC (on_menu_net_hostcache_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_prefs), "activate",
                      GTK_SIGNAL_FUNC (on_menu_prefs_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (quit), "activate",
                      GTK_SIGNAL_FUNC (on_button_quit_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_uploads_transfers), "activate",
                      GTK_SIGNAL_FUNC (on_menu_uploads_transfers_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_uploads_history), "activate",
                      GTK_SIGNAL_FUNC (on_menu_uploads_history_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_downloads_files), "activate",
                      GTK_SIGNAL_FUNC (on_menu_downloads_files_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_downloads_active), "activate",
                      GTK_SIGNAL_FUNC (on_menu_downloads_active_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_downloads_queue), "activate",
                      GTK_SIGNAL_FUNC (on_menu_downloads_queue_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_search_results), "activate",
                      GTK_SIGNAL_FUNC (on_menu_search_results_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_search_monitor), "activate",
                      GTK_SIGNAL_FUNC (on_menu_search_monitor_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_search_stats), "activate",
                      GTK_SIGNAL_FUNC (on_menu_search_stats_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_searchbar_visible), "activate",
                      GTK_SIGNAL_FUNC (on_menu_searchbar_visible_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_toolbar_visible), "activate",
                      GTK_SIGNAL_FUNC (on_menu_toolbar_visible_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_sidebar_visible), "activate",
                      GTK_SIGNAL_FUNC (on_menu_sidebar_visible_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_navtree_visible), "activate",
                      GTK_SIGNAL_FUNC (on_menu_navtree_visible_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_downloads_visible), "activate",
                      GTK_SIGNAL_FUNC (on_menu_downloads_visible_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_uploads_visible), "activate",
                      GTK_SIGNAL_FUNC (on_menu_uploads_visible_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_connections_visible), "activate",
                      GTK_SIGNAL_FUNC (on_menu_connections_visible_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_bws_in_visible), "activate",
                      GTK_SIGNAL_FUNC (on_menu_bws_in_visible_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_bws_out_visible), "activate",
                      GTK_SIGNAL_FUNC (on_menu_bws_out_visible_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_bws_gin_visible), "activate",
                      GTK_SIGNAL_FUNC (on_menu_bws_gin_visible_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_bws_gout_visible), "activate",
                      GTK_SIGNAL_FUNC (on_menu_bws_gout_visible_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_autohide_bws_gleaf), "activate",
                      GTK_SIGNAL_FUNC (on_menu_autohide_bws_gleaf_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_bws_glin_visible), "activate",
                      GTK_SIGNAL_FUNC (on_menu_bws_glin_visible_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_bws_glout_visible), "activate",
                      GTK_SIGNAL_FUNC (on_menu_bws_glout_visible_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_statusbar_visible), "activate",
                      GTK_SIGNAL_FUNC (on_menu_statusbar_visible_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_about), "activate",
                      GTK_SIGNAL_FUNC (on_menu_about_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (menu_faq), "activate",
                      GTK_SIGNAL_FUNC (on_menu_faq_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_search), "clicked",
                      GTK_SIGNAL_FUNC (on_button_search_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_search), "changed",
                      GTK_SIGNAL_FUNC (on_entry_search_changed),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_search), "activate",
                      GTK_SIGNAL_FUNC (on_entry_search_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_search_passive), "clicked",
                      GTK_SIGNAL_FUNC (on_button_search_passive_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (ctree_menu), "tree_select_row",
                      GTK_SIGNAL_FUNC (on_ctree_menu_tree_select_row),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_search), "resize_column",
                      GTK_SIGNAL_FUNC (on_clist_search_resize_column),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (progressbar_bws_in), "button_press_event",
                      GTK_SIGNAL_FUNC (on_progressbar_bws_in_button_press_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (progressbar_bws_out), "button_press_event",
                      GTK_SIGNAL_FUNC (on_progressbar_bws_out_button_press_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (progressbar_bws_gin), "button_press_event",
                      GTK_SIGNAL_FUNC (on_progressbar_bws_gin_button_press_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (progressbar_bws_gout), "button_press_event",
                      GTK_SIGNAL_FUNC (on_progressbar_bws_gout_button_press_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (progressbar_bws_lin), "button_press_event",
                      GTK_SIGNAL_FUNC (on_progressbar_bws_lin_button_press_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (progressbar_bws_lout), "button_press_event",
                      GTK_SIGNAL_FUNC (on_progressbar_bws_lout_button_press_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_nodes), "select_row",
                      GTK_SIGNAL_FUNC (on_clist_nodes_select_row),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_nodes), "unselect_row",
                      GTK_SIGNAL_FUNC (on_clist_nodes_unselect_row),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_nodes), "button_press_event",
                      GTK_SIGNAL_FUNC (on_clist_nodes_button_press_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_nodes), "resize_column",
                      GTK_SIGNAL_FUNC (on_clist_nodes_resize_column),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_nodes_disconnect), "clicked",
                      GTK_SIGNAL_FUNC (on_button_nodes_disconnect_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_nodes_add), "clicked",
                      GTK_SIGNAL_FUNC (on_button_nodes_add_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_host), "changed",
                      GTK_SIGNAL_FUNC (on_entry_host_changed),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_host), "activate",
                      GTK_SIGNAL_FUNC (on_entry_host_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_gnet_stats_general), "resize_column",
                      GTK_SIGNAL_FUNC (on_clist_gnet_stats_general_resize_column),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_gnet_stats_drop_reasons), "resize_column",
                      GTK_SIGNAL_FUNC (on_clist_gnet_stats_drop_reasons_resize_column),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_gnet_stats_fc_ttl), "resize_column",
                      GTK_SIGNAL_FUNC (on_clist_gnet_stats_fc_ttl_resize_column),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_gnet_stats_fc_hops), "resize_column",
                      GTK_SIGNAL_FUNC (on_clist_gnet_stats_fc_hops_resize_column),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_gnet_stats_msg), "resize_column",
                      GTK_SIGNAL_FUNC (on_clist_gnet_stats_msg_resize_column),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_gnet_stats_horizon), "resize_column",
                      GTK_SIGNAL_FUNC (on_clist_gnet_stats_horizon_resize_column),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_hcache), "resize_column",
                      GTK_SIGNAL_FUNC (on_clist_hcache_resize_column),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_host_catcher_clear), "clicked",
                      GTK_SIGNAL_FUNC (on_button_host_catcher_clear_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_ultra_catcher_clear), "clicked",
                      GTK_SIGNAL_FUNC (on_button_ultra_catcher_clear_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_hostcache_clear_bad), "clicked",
                      GTK_SIGNAL_FUNC (on_button_hostcache_clear_bad_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_uploads), "select_row",
                      GTK_SIGNAL_FUNC (on_clist_uploads_select_row),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_uploads), "unselect_row",
                      GTK_SIGNAL_FUNC (on_clist_uploads_unselect_row),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_uploads), "button_press_event",
                      GTK_SIGNAL_FUNC (on_clist_uploads_button_press_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_uploads), "resize_column",
                      GTK_SIGNAL_FUNC (on_clist_uploads_resize_column),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_uploads_kill), "clicked",
                      GTK_SIGNAL_FUNC (on_button_uploads_kill_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_uploads_clear_completed), "clicked",
                      GTK_SIGNAL_FUNC (on_button_uploads_clear_completed_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_ul_stats), "click_column",
                      GTK_SIGNAL_FUNC (on_clist_ul_stats_click_column),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_ul_stats), "resize_column",
                      GTK_SIGNAL_FUNC (on_clist_ul_stats_resize_column),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_ul_stats_clear_deleted), "clicked",
                      GTK_SIGNAL_FUNC (on_button_ul_stats_clear_deleted_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_ul_stats_clear_all), "clicked",
                      GTK_SIGNAL_FUNC (on_button_ul_stats_clear_all_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_fileinfo), "resize_column",
                      GTK_SIGNAL_FUNC (on_clist_fileinfo_resize_column),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_fileinfo), "select_row",
                      GTK_SIGNAL_FUNC (on_clist_fileinfo_select_row),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_fileinfo), "unselect_row",
                      GTK_SIGNAL_FUNC (on_clist_fileinfo_unselect_row),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_fileinfo), "click_column",
                      GTK_SIGNAL_FUNC (on_clist_fileinfo_click_column),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_fi_regex), "activate",
                      GTK_SIGNAL_FUNC (on_entry_fi_regex_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (drawingarea_fi_progress), "realize",
                      GTK_SIGNAL_FUNC (on_drawingarea_fi_progress_realize),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (drawingarea_fi_progress), "expose_event",
                      GTK_SIGNAL_FUNC (on_drawingarea_fi_progress_expose_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_fi_purge), "clicked",
                      GTK_SIGNAL_FUNC (on_button_fi_purge_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (ctree_downloads), "tree_select_row",
                      GTK_SIGNAL_FUNC (on_ctree_downloads_tree_select_row),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (ctree_downloads), "tree_unselect_row",
                      GTK_SIGNAL_FUNC (on_ctree_downloads_tree_unselect_row),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (ctree_downloads), "button_press_event",
                      GTK_SIGNAL_FUNC (on_ctree_downloads_button_press_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (ctree_downloads), "resize_column",
                      GTK_SIGNAL_FUNC (on_ctree_downloads_resize_column),
                      NULL);
  gtk_signal_connect_after (GTK_OBJECT (ctree_downloads), "button_release_event",
                            GTK_SIGNAL_FUNC (on_ctree_downloads_button_release_event),
                            NULL);
  gtk_signal_connect (GTK_OBJECT (button_downloads_abort), "clicked",
                      GTK_SIGNAL_FUNC (on_button_downloads_abort_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_downloads_resume), "clicked",
                      GTK_SIGNAL_FUNC (on_button_downloads_resume_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_downloads_clear_stopped), "clicked",
                      GTK_SIGNAL_FUNC (on_button_downloads_clear_stopped_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (ctree_downloads_queue), "tree_select_row",
                      GTK_SIGNAL_FUNC (on_ctree_downloads_queue_tree_select_row),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (ctree_downloads_queue), "tree_unselect_row",
                      GTK_SIGNAL_FUNC (on_ctree_downloads_queue_tree_unselect_row),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (ctree_downloads_queue), "resize_column",
                      GTK_SIGNAL_FUNC (on_ctree_downloads_queue_resize_column),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (ctree_downloads_queue), "button_press_event",
                      GTK_SIGNAL_FUNC (on_ctree_downloads_queue_button_press_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (ctree_downloads_queue), "drag_begin",
                      GTK_SIGNAL_FUNC (on_ctree_downloads_queue_drag_begin),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (ctree_downloads_queue), "drag_end",
                      GTK_SIGNAL_FUNC (on_ctree_downloads_queue_drag_end),
                      NULL);
  gtk_signal_connect_after (GTK_OBJECT (ctree_downloads_queue), "button_release_event",
                            GTK_SIGNAL_FUNC (on_ctree_downloads_queue_button_release_event),
                            NULL);
  gtk_signal_connect (GTK_OBJECT (entry_queue_regex), "activate",
                      GTK_SIGNAL_FUNC (on_entry_queue_regex_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (togglebutton_queue_freeze), "toggled",
                      GTK_SIGNAL_FUNC (on_togglebutton_queue_freeze_toggled),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_search_close), "clicked",
                      GTK_SIGNAL_FUNC (on_button_search_close_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_search_download), "clicked",
                      GTK_SIGNAL_FUNC (on_button_search_download_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_search_filter), "clicked",
                      GTK_SIGNAL_FUNC (on_button_search_filter_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_search_expand_all), "clicked",
                      GTK_SIGNAL_FUNC (on_button_search_expand_all_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_search_collapse_all), "clicked",
                      GTK_SIGNAL_FUNC (on_button_search_collapse_all_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_search_clear), "clicked",
                      GTK_SIGNAL_FUNC (on_button_search_clear_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_monitor), "button_press_event",
                      GTK_SIGNAL_FUNC (on_clist_monitor_button_press_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_search_stats), "resize_column",
                      GTK_SIGNAL_FUNC (on_clist_search_stats_resize_column),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_search_stats_reset), "clicked",
                      GTK_SIGNAL_FUNC (on_button_search_stats_reset_clicked),
                      NULL);

  gtk_widget_add_accelerator (option_menu_gnet_stats_source, "grab_focus", accel_group,
                              label697_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (option_menu_gnet_stats_type, "grab_focus", accel_group,
                              label390_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_search_reissue_timeout, "grab_focus", accel_group,
                              search_reissue_label_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_monitor_items, "grab_focus", accel_group,
                              label68_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_search_stats_update_interval, "grab_focus", accel_group,
                              label101_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);

  gtk_object_set_data (GTK_OBJECT (main_window), "tooltips", tooltips);

  gtk_window_add_accel_group (GTK_WINDOW (main_window), accel_group);

  return main_window;
}

GtkWidget*
create_popup_dl_active (void)
{
  GtkWidget *popup_dl_active;
  GtkAccelGroup *popup_dl_active_accels;
  GtkWidget *popup_downloads_abort;
  GtkWidget *abort_all3;
  GtkWidget *abort_all3_menu;
  GtkAccelGroup *abort_all3_menu_accels;
  GtkWidget *popup_downloads_abort_named;
  GtkWidget *popup_downloads_abort_sha1;
  GtkWidget *popup_downloads_abort_host;
  GtkWidget *popup_downloads_remove_file;
  GtkWidget *popup_downloads_resume;
  GtkWidget *popup_downloads_queue;
  GtkWidget *separator9;
  GtkWidget *popup_downloads_push;
  GtkWidget *separator11;
  GtkWidget *popup_downloads_copy_url;
  GtkWidget *popup_downloads_connect;
  GtkWidget *separator16;
  GtkWidget *popup_downloads_expand_all;
  GtkWidget *popup_downloads_collapse_all;
  GtkWidget *popup_downloads_browse_host;

  popup_dl_active = gtk_menu_new ();
  gtk_widget_set_name (popup_dl_active, "popup_dl_active");
  gtk_object_set_data (GTK_OBJECT (popup_dl_active), "popup_dl_active", popup_dl_active);
  popup_dl_active_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (popup_dl_active));

  popup_downloads_abort = gtk_menu_item_new_with_label (_("Abort"));
  gtk_widget_set_name (popup_downloads_abort, "popup_downloads_abort");
  gtk_widget_ref (popup_downloads_abort);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_active), "popup_downloads_abort", popup_downloads_abort,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_downloads_abort);
  gtk_container_add (GTK_CONTAINER (popup_dl_active), popup_downloads_abort);

  abort_all3 = gtk_menu_item_new_with_label (_("Abort all..."));
  gtk_widget_set_name (abort_all3, "abort_all3");
  gtk_widget_ref (abort_all3);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_active), "abort_all3", abort_all3,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (abort_all3);
  gtk_container_add (GTK_CONTAINER (popup_dl_active), abort_all3);

  abort_all3_menu = gtk_menu_new ();
  gtk_widget_set_name (abort_all3_menu, "abort_all3_menu");
  gtk_widget_ref (abort_all3_menu);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_active), "abort_all3_menu", abort_all3_menu,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (abort_all3), abort_all3_menu);
  abort_all3_menu_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (abort_all3_menu));

  popup_downloads_abort_named = gtk_menu_item_new_with_label (_("with the same name"));
  gtk_widget_set_name (popup_downloads_abort_named, "popup_downloads_abort_named");
  gtk_widget_ref (popup_downloads_abort_named);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_active), "popup_downloads_abort_named", popup_downloads_abort_named,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_downloads_abort_named);
  gtk_container_add (GTK_CONTAINER (abort_all3_menu), popup_downloads_abort_named);

  popup_downloads_abort_sha1 = gtk_menu_item_new_with_label (_("with the same urn:sha1"));
  gtk_widget_set_name (popup_downloads_abort_sha1, "popup_downloads_abort_sha1");
  gtk_widget_ref (popup_downloads_abort_sha1);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_active), "popup_downloads_abort_sha1", popup_downloads_abort_sha1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_downloads_abort_sha1);
  gtk_container_add (GTK_CONTAINER (abort_all3_menu), popup_downloads_abort_sha1);

  popup_downloads_abort_host = gtk_menu_item_new_with_label (_("from the same host"));
  gtk_widget_set_name (popup_downloads_abort_host, "popup_downloads_abort_host");
  gtk_widget_ref (popup_downloads_abort_host);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_active), "popup_downloads_abort_host", popup_downloads_abort_host,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_downloads_abort_host);
  gtk_container_add (GTK_CONTAINER (abort_all3_menu), popup_downloads_abort_host);

  popup_downloads_remove_file = gtk_menu_item_new_with_label (_("Remove file"));
  gtk_widget_set_name (popup_downloads_remove_file, "popup_downloads_remove_file");
  gtk_widget_ref (popup_downloads_remove_file);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_active), "popup_downloads_remove_file", popup_downloads_remove_file,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_downloads_remove_file);
  gtk_container_add (GTK_CONTAINER (popup_dl_active), popup_downloads_remove_file);

  popup_downloads_resume = gtk_menu_item_new_with_label (_("Resume"));
  gtk_widget_set_name (popup_downloads_resume, "popup_downloads_resume");
  gtk_widget_ref (popup_downloads_resume);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_active), "popup_downloads_resume", popup_downloads_resume,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_downloads_resume);
  gtk_container_add (GTK_CONTAINER (popup_dl_active), popup_downloads_resume);

  popup_downloads_queue = gtk_menu_item_new_with_label (_("Move back to queue"));
  gtk_widget_set_name (popup_downloads_queue, "popup_downloads_queue");
  gtk_widget_ref (popup_downloads_queue);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_active), "popup_downloads_queue", popup_downloads_queue,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_downloads_queue);
  gtk_container_add (GTK_CONTAINER (popup_dl_active), popup_downloads_queue);

  separator9 = gtk_menu_item_new ();
  gtk_widget_set_name (separator9, "separator9");
  gtk_widget_ref (separator9);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_active), "separator9", separator9,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (separator9);
  gtk_container_add (GTK_CONTAINER (popup_dl_active), separator9);
  gtk_widget_set_sensitive (separator9, FALSE);

  popup_downloads_push = gtk_menu_item_new_with_label (_("Force push mode"));
  gtk_widget_set_name (popup_downloads_push, "popup_downloads_push");
  gtk_widget_ref (popup_downloads_push);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_active), "popup_downloads_push", popup_downloads_push,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_downloads_push);
  gtk_container_add (GTK_CONTAINER (popup_dl_active), popup_downloads_push);

  separator11 = gtk_menu_item_new ();
  gtk_widget_set_name (separator11, "separator11");
  gtk_widget_ref (separator11);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_active), "separator11", separator11,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (separator11);
  gtk_container_add (GTK_CONTAINER (popup_dl_active), separator11);
  gtk_widget_set_sensitive (separator11, FALSE);

  popup_downloads_copy_url = gtk_menu_item_new_with_label (_("Copy URL to clipboard"));
  gtk_widget_set_name (popup_downloads_copy_url, "popup_downloads_copy_url");
  gtk_widget_ref (popup_downloads_copy_url);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_active), "popup_downloads_copy_url", popup_downloads_copy_url,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_downloads_copy_url);
  gtk_container_add (GTK_CONTAINER (popup_dl_active), popup_downloads_copy_url);

  popup_downloads_connect = gtk_menu_item_new_with_label (_("Connect to host"));
  gtk_widget_set_name (popup_downloads_connect, "popup_downloads_connect");
  gtk_widget_ref (popup_downloads_connect);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_active), "popup_downloads_connect", popup_downloads_connect,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_downloads_connect);
  gtk_container_add (GTK_CONTAINER (popup_dl_active), popup_downloads_connect);

  separator16 = gtk_menu_item_new ();
  gtk_widget_set_name (separator16, "separator16");
  gtk_widget_ref (separator16);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_active), "separator16", separator16,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (separator16);
  gtk_container_add (GTK_CONTAINER (popup_dl_active), separator16);
  gtk_widget_set_sensitive (separator16, FALSE);

  popup_downloads_expand_all = gtk_menu_item_new_with_label (_("Expand all"));
  gtk_widget_set_name (popup_downloads_expand_all, "popup_downloads_expand_all");
  gtk_widget_ref (popup_downloads_expand_all);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_active), "popup_downloads_expand_all", popup_downloads_expand_all,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_downloads_expand_all);
  gtk_container_add (GTK_CONTAINER (popup_dl_active), popup_downloads_expand_all);

  popup_downloads_collapse_all = gtk_menu_item_new_with_label (_("Collapse all"));
  gtk_widget_set_name (popup_downloads_collapse_all, "popup_downloads_collapse_all");
  gtk_widget_ref (popup_downloads_collapse_all);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_active), "popup_downloads_collapse_all", popup_downloads_collapse_all,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_downloads_collapse_all);
  gtk_container_add (GTK_CONTAINER (popup_dl_active), popup_downloads_collapse_all);

  popup_downloads_browse_host = gtk_menu_item_new_with_label (_("Browse Host"));
  gtk_widget_set_name (popup_downloads_browse_host, "popup_downloads_browse_host");
  gtk_widget_ref (popup_downloads_browse_host);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_active), "popup_downloads_browse_host", popup_downloads_browse_host,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_downloads_browse_host);
  gtk_container_add (GTK_CONTAINER (popup_dl_active), popup_downloads_browse_host);

  gtk_signal_connect (GTK_OBJECT (popup_dl_active), "selection_get",
                      GTK_SIGNAL_FUNC (on_popup_downloads_selection_get),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_dl_active), "selection_clear_event",
                      GTK_SIGNAL_FUNC (on_popup_downloads_selection_clear_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_downloads_abort), "activate",
                      GTK_SIGNAL_FUNC (on_button_downloads_abort_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_downloads_abort_named), "activate",
                      GTK_SIGNAL_FUNC (on_popup_downloads_abort_named_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_downloads_abort_sha1), "activate",
                      GTK_SIGNAL_FUNC (on_popup_downloads_abort_sha1_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_downloads_abort_host), "activate",
                      GTK_SIGNAL_FUNC (on_popup_downloads_abort_host_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_downloads_remove_file), "activate",
                      GTK_SIGNAL_FUNC (on_popup_downloads_remove_file_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_downloads_resume), "activate",
                      GTK_SIGNAL_FUNC (on_button_downloads_resume_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_downloads_queue), "activate",
                      GTK_SIGNAL_FUNC (on_popup_downloads_queue_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_downloads_push), "activate",
                      GTK_SIGNAL_FUNC (on_popup_downloads_push_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_downloads_copy_url), "activate",
                      GTK_SIGNAL_FUNC (on_popup_downloads_copy_url_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_downloads_connect), "activate",
                      GTK_SIGNAL_FUNC (on_popup_downloads_connect_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_downloads_expand_all), "activate",
                      GTK_SIGNAL_FUNC (on_popup_downloads_expand_all_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_downloads_collapse_all), "activate",
                      GTK_SIGNAL_FUNC (on_popup_downloads_collapse_all_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_downloads_browse_host), "activate",
                      GTK_SIGNAL_FUNC (on_popup_downloads_browse_host_activate),
                      NULL);

  return popup_dl_active;
}

GtkWidget*
create_popup_dl_queued (void)
{
  GtkWidget *popup_dl_queued;
  GtkAccelGroup *popup_dl_queued_accels;
  GtkWidget *popup_queue_start_now;
  GtkWidget *popup_queue_abort;
  GtkWidget *abort_all2;
  GtkWidget *abort_all2_menu;
  GtkAccelGroup *abort_all2_menu_accels;
  GtkWidget *popup_queue_abort_named;
  GtkWidget *popup_queue_abort_sha1;
  GtkWidget *popup_queue_abort_host;
  GtkWidget *separator12;
  GtkWidget *popup_queue_copy_url;
  GtkWidget *popup_queue_connect;
  GtkWidget *separator17;
  GtkWidget *popup_queue_expand_all;
  GtkWidget *popup_queue_collapse_all;
  GtkWidget *popup_queue_browse_host;

  popup_dl_queued = gtk_menu_new ();
  gtk_widget_set_name (popup_dl_queued, "popup_dl_queued");
  gtk_object_set_data (GTK_OBJECT (popup_dl_queued), "popup_dl_queued", popup_dl_queued);
  popup_dl_queued_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (popup_dl_queued));

  popup_queue_start_now = gtk_menu_item_new_with_label (_("Start now"));
  gtk_widget_set_name (popup_queue_start_now, "popup_queue_start_now");
  gtk_widget_ref (popup_queue_start_now);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_queued), "popup_queue_start_now", popup_queue_start_now,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_queue_start_now);
  gtk_container_add (GTK_CONTAINER (popup_dl_queued), popup_queue_start_now);

  popup_queue_abort = gtk_menu_item_new_with_label (_("Abort"));
  gtk_widget_set_name (popup_queue_abort, "popup_queue_abort");
  gtk_widget_ref (popup_queue_abort);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_queued), "popup_queue_abort", popup_queue_abort,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_queue_abort);
  gtk_container_add (GTK_CONTAINER (popup_dl_queued), popup_queue_abort);

  abort_all2 = gtk_menu_item_new_with_label (_("Abort all..."));
  gtk_widget_set_name (abort_all2, "abort_all2");
  gtk_widget_ref (abort_all2);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_queued), "abort_all2", abort_all2,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (abort_all2);
  gtk_container_add (GTK_CONTAINER (popup_dl_queued), abort_all2);

  abort_all2_menu = gtk_menu_new ();
  gtk_widget_set_name (abort_all2_menu, "abort_all2_menu");
  gtk_widget_ref (abort_all2_menu);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_queued), "abort_all2_menu", abort_all2_menu,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (abort_all2), abort_all2_menu);
  abort_all2_menu_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (abort_all2_menu));

  popup_queue_abort_named = gtk_menu_item_new_with_label (_("with the same name"));
  gtk_widget_set_name (popup_queue_abort_named, "popup_queue_abort_named");
  gtk_widget_ref (popup_queue_abort_named);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_queued), "popup_queue_abort_named", popup_queue_abort_named,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_queue_abort_named);
  gtk_container_add (GTK_CONTAINER (abort_all2_menu), popup_queue_abort_named);

  popup_queue_abort_sha1 = gtk_menu_item_new_with_label (_("with the same urn:sha1"));
  gtk_widget_set_name (popup_queue_abort_sha1, "popup_queue_abort_sha1");
  gtk_widget_ref (popup_queue_abort_sha1);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_queued), "popup_queue_abort_sha1", popup_queue_abort_sha1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_queue_abort_sha1);
  gtk_container_add (GTK_CONTAINER (abort_all2_menu), popup_queue_abort_sha1);

  popup_queue_abort_host = gtk_menu_item_new_with_label (_("from the same host"));
  gtk_widget_set_name (popup_queue_abort_host, "popup_queue_abort_host");
  gtk_widget_ref (popup_queue_abort_host);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_queued), "popup_queue_abort_host", popup_queue_abort_host,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_queue_abort_host);
  gtk_container_add (GTK_CONTAINER (abort_all2_menu), popup_queue_abort_host);

  separator12 = gtk_menu_item_new ();
  gtk_widget_set_name (separator12, "separator12");
  gtk_widget_ref (separator12);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_queued), "separator12", separator12,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (separator12);
  gtk_container_add (GTK_CONTAINER (popup_dl_queued), separator12);
  gtk_widget_set_sensitive (separator12, FALSE);

  popup_queue_copy_url = gtk_menu_item_new_with_label (_("Copy URL to clipboard"));
  gtk_widget_set_name (popup_queue_copy_url, "popup_queue_copy_url");
  gtk_widget_ref (popup_queue_copy_url);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_queued), "popup_queue_copy_url", popup_queue_copy_url,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_queue_copy_url);
  gtk_container_add (GTK_CONTAINER (popup_dl_queued), popup_queue_copy_url);

  popup_queue_connect = gtk_menu_item_new_with_label (_("Connect to host"));
  gtk_widget_set_name (popup_queue_connect, "popup_queue_connect");
  gtk_widget_ref (popup_queue_connect);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_queued), "popup_queue_connect", popup_queue_connect,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_queue_connect);
  gtk_container_add (GTK_CONTAINER (popup_dl_queued), popup_queue_connect);

  separator17 = gtk_menu_item_new ();
  gtk_widget_set_name (separator17, "separator17");
  gtk_widget_ref (separator17);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_queued), "separator17", separator17,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (separator17);
  gtk_container_add (GTK_CONTAINER (popup_dl_queued), separator17);
  gtk_widget_set_sensitive (separator17, FALSE);

  popup_queue_expand_all = gtk_menu_item_new_with_label (_("Expand all"));
  gtk_widget_set_name (popup_queue_expand_all, "popup_queue_expand_all");
  gtk_widget_ref (popup_queue_expand_all);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_queued), "popup_queue_expand_all", popup_queue_expand_all,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_queue_expand_all);
  gtk_container_add (GTK_CONTAINER (popup_dl_queued), popup_queue_expand_all);

  popup_queue_collapse_all = gtk_menu_item_new_with_label (_("Collapse all"));
  gtk_widget_set_name (popup_queue_collapse_all, "popup_queue_collapse_all");
  gtk_widget_ref (popup_queue_collapse_all);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_queued), "popup_queue_collapse_all", popup_queue_collapse_all,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_queue_collapse_all);
  gtk_container_add (GTK_CONTAINER (popup_dl_queued), popup_queue_collapse_all);

  popup_queue_browse_host = gtk_menu_item_new_with_label (_("Browse Host"));
  gtk_widget_set_name (popup_queue_browse_host, "popup_queue_browse_host");
  gtk_widget_ref (popup_queue_browse_host);
  gtk_object_set_data_full (GTK_OBJECT (popup_dl_queued), "popup_queue_browse_host", popup_queue_browse_host,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_queue_browse_host);
  gtk_container_add (GTK_CONTAINER (popup_dl_queued), popup_queue_browse_host);

  gtk_signal_connect (GTK_OBJECT (popup_queue_start_now), "activate",
                      GTK_SIGNAL_FUNC (on_popup_queue_start_now_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_queue_abort), "activate",
                      GTK_SIGNAL_FUNC (on_popup_queue_abort_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_queue_abort_named), "activate",
                      GTK_SIGNAL_FUNC (on_popup_queue_abort_named_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_queue_abort_sha1), "activate",
                      GTK_SIGNAL_FUNC (on_popup_queue_abort_sha1_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_queue_abort_host), "activate",
                      GTK_SIGNAL_FUNC (on_popup_queue_abort_host_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_queue_copy_url), "activate",
                      GTK_SIGNAL_FUNC (on_popup_queue_copy_url_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_queue_connect), "activate",
                      GTK_SIGNAL_FUNC (on_popup_queue_connect_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_queue_expand_all), "activate",
                      GTK_SIGNAL_FUNC (on_popup_queue_expand_all_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_queue_collapse_all), "activate",
                      GTK_SIGNAL_FUNC (on_popup_queue_collapse_all_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_queue_browse_host), "activate",
                      GTK_SIGNAL_FUNC (on_popup_queue_browse_host_activate),
                      NULL);

  return popup_dl_queued;
}

GtkWidget*
create_popup_search (void)
{
  GtkWidget *popup_search;
  GtkAccelGroup *popup_search_accels;
  guint tmp_key;
  GtkWidget *popup_search_edit_filter;
  GtkWidget *separator13;
  GtkWidget *popup_search_drop;
  GtkWidget *popup_search_drop_menu;
  GtkAccelGroup *popup_search_drop_menu_accels;
  GtkWidget *popup_search_drop_name;
  GtkWidget *popup_search_drop_sha1;
  GtkWidget *popup_search_drop_host;
  GtkWidget *popup_search_drop_global;
  GtkWidget *popup_search_drop_global_menu;
  GtkAccelGroup *popup_search_drop_global_menu_accels;
  GtkWidget *popup_search_drop_name_global;
  GtkWidget *popup_search_drop_sha1_global;
  GtkWidget *popup_search_drop_host_global;
  GtkWidget *separator14;
  GtkWidget *popup_search_expand_all;
  GtkWidget *popup_search_collapse_all;
  GtkWidget *separator18;
  GtkWidget *popup_search_stop;
  GtkWidget *popup_search_resume;
  GtkWidget *popup_search_restart;
  GtkWidget *popup_search_duplicate;
  GtkWidget *separator2;
  GtkWidget *popup_search_toggle_tabs;
  GtkWidget *popup_search_config_cols;
  GtkWidget *popup_search_sort_defaults;
  GtkWidget *separator19;
  GtkWidget *popup_search_metadata;
  GtkWidget *popup_search_browse_host;
  GtkTooltips *tooltips;

  tooltips = gtk_tooltips_new ();

  popup_search = gtk_menu_new ();
  gtk_widget_set_name (popup_search, "popup_search");
  gtk_object_set_data (GTK_OBJECT (popup_search), "popup_search", popup_search);
  popup_search_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (popup_search));

  popup_search_edit_filter = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (popup_search_edit_filter)->child),
                                   _("_Edit filters"));
  gtk_widget_add_accelerator (popup_search_edit_filter, "activate_item", popup_search_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (popup_search_edit_filter, "popup_search_edit_filter");
  gtk_widget_ref (popup_search_edit_filter);
  gtk_object_set_data_full (GTK_OBJECT (popup_search), "popup_search_edit_filter", popup_search_edit_filter,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_search_edit_filter);
  gtk_container_add (GTK_CONTAINER (popup_search), popup_search_edit_filter);

  separator13 = gtk_menu_item_new ();
  gtk_widget_set_name (separator13, "separator13");
  gtk_widget_ref (separator13);
  gtk_object_set_data_full (GTK_OBJECT (popup_search), "separator13", separator13,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (separator13);
  gtk_container_add (GTK_CONTAINER (popup_search), separator13);
  gtk_widget_set_sensitive (separator13, FALSE);

  popup_search_drop = gtk_menu_item_new_with_label (_("Drop results..."));
  gtk_widget_set_name (popup_search_drop, "popup_search_drop");
  gtk_widget_ref (popup_search_drop);
  gtk_object_set_data_full (GTK_OBJECT (popup_search), "popup_search_drop", popup_search_drop,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_search_drop);
  gtk_container_add (GTK_CONTAINER (popup_search), popup_search_drop);

  popup_search_drop_menu = gtk_menu_new ();
  gtk_widget_set_name (popup_search_drop_menu, "popup_search_drop_menu");
  gtk_widget_ref (popup_search_drop_menu);
  gtk_object_set_data_full (GTK_OBJECT (popup_search), "popup_search_drop_menu", popup_search_drop_menu,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (popup_search_drop), popup_search_drop_menu);
  popup_search_drop_menu_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (popup_search_drop_menu));

  popup_search_drop_name = gtk_menu_item_new_with_label (_("with the same name"));
  gtk_widget_set_name (popup_search_drop_name, "popup_search_drop_name");
  gtk_widget_ref (popup_search_drop_name);
  gtk_object_set_data_full (GTK_OBJECT (popup_search), "popup_search_drop_name", popup_search_drop_name,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_search_drop_name);
  gtk_container_add (GTK_CONTAINER (popup_search_drop_menu), popup_search_drop_name);
  gtk_tooltips_set_tip (tooltips, popup_search_drop_name, _("Adds \"don't display\" rules matching the selected files names to the search filter."), NULL);

  popup_search_drop_sha1 = gtk_menu_item_new_with_label (_("with the same urn:sha1"));
  gtk_widget_set_name (popup_search_drop_sha1, "popup_search_drop_sha1");
  gtk_widget_ref (popup_search_drop_sha1);
  gtk_object_set_data_full (GTK_OBJECT (popup_search), "popup_search_drop_sha1", popup_search_drop_sha1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_search_drop_sha1);
  gtk_container_add (GTK_CONTAINER (popup_search_drop_menu), popup_search_drop_sha1);
  gtk_tooltips_set_tip (tooltips, popup_search_drop_sha1, _("Adds \"don't display\" rules matching the selected files urn:sha1 to the search filter."), NULL);

  popup_search_drop_host = gtk_menu_item_new_with_label (_("from the same host"));
  gtk_widget_set_name (popup_search_drop_host, "popup_search_drop_host");
  gtk_widget_ref (popup_search_drop_host);
  gtk_object_set_data_full (GTK_OBJECT (popup_search), "popup_search_drop_host", popup_search_drop_host,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_search_drop_host);
  gtk_container_add (GTK_CONTAINER (popup_search_drop_menu), popup_search_drop_host);

  popup_search_drop_global = gtk_menu_item_new_with_label (_("Globally drop results..."));
  gtk_widget_set_name (popup_search_drop_global, "popup_search_drop_global");
  gtk_widget_ref (popup_search_drop_global);
  gtk_object_set_data_full (GTK_OBJECT (popup_search), "popup_search_drop_global", popup_search_drop_global,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_search_drop_global);
  gtk_container_add (GTK_CONTAINER (popup_search), popup_search_drop_global);

  popup_search_drop_global_menu = gtk_menu_new ();
  gtk_widget_set_name (popup_search_drop_global_menu, "popup_search_drop_global_menu");
  gtk_widget_ref (popup_search_drop_global_menu);
  gtk_object_set_data_full (GTK_OBJECT (popup_search), "popup_search_drop_global_menu", popup_search_drop_global_menu,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (popup_search_drop_global), popup_search_drop_global_menu);
  popup_search_drop_global_menu_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (popup_search_drop_global_menu));

  popup_search_drop_name_global = gtk_menu_item_new_with_label (_("with the same name"));
  gtk_widget_set_name (popup_search_drop_name_global, "popup_search_drop_name_global");
  gtk_widget_ref (popup_search_drop_name_global);
  gtk_object_set_data_full (GTK_OBJECT (popup_search), "popup_search_drop_name_global", popup_search_drop_name_global,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_search_drop_name_global);
  gtk_container_add (GTK_CONTAINER (popup_search_drop_global_menu), popup_search_drop_name_global);
  gtk_tooltips_set_tip (tooltips, popup_search_drop_name_global, _("Adds \"don't display\" rules matching the selected files names to the global pre-filter."), NULL);

  popup_search_drop_sha1_global = gtk_menu_item_new_with_label (_("with the same urn:sha1"));
  gtk_widget_set_name (popup_search_drop_sha1_global, "popup_search_drop_sha1_global");
  gtk_widget_ref (popup_search_drop_sha1_global);
  gtk_object_set_data_full (GTK_OBJECT (popup_search), "popup_search_drop_sha1_global", popup_search_drop_sha1_global,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_search_drop_sha1_global);
  gtk_container_add (GTK_CONTAINER (popup_search_drop_global_menu), popup_search_drop_sha1_global);
  gtk_tooltips_set_tip (tooltips, popup_search_drop_sha1_global, _("Adds \"don't display\" rules matching the selected files urn:sha1 to the global pre-filter."), NULL);

  popup_search_drop_host_global = gtk_menu_item_new_with_label (_("from the same host"));
  gtk_widget_set_name (popup_search_drop_host_global, "popup_search_drop_host_global");
  gtk_widget_ref (popup_search_drop_host_global);
  gtk_object_set_data_full (GTK_OBJECT (popup_search), "popup_search_drop_host_global", popup_search_drop_host_global,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_search_drop_host_global);
  gtk_container_add (GTK_CONTAINER (popup_search_drop_global_menu), popup_search_drop_host_global);

  separator14 = gtk_menu_item_new ();
  gtk_widget_set_name (separator14, "separator14");
  gtk_widget_ref (separator14);
  gtk_object_set_data_full (GTK_OBJECT (popup_search), "separator14", separator14,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (separator14);
  gtk_container_add (GTK_CONTAINER (popup_search), separator14);
  gtk_widget_set_sensitive (separator14, FALSE);

  popup_search_expand_all = gtk_menu_item_new_with_label (_("Expand all"));
  gtk_widget_set_name (popup_search_expand_all, "popup_search_expand_all");
  gtk_widget_ref (popup_search_expand_all);
  gtk_object_set_data_full (GTK_OBJECT (popup_search), "popup_search_expand_all", popup_search_expand_all,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_search_expand_all);
  gtk_container_add (GTK_CONTAINER (popup_search), popup_search_expand_all);

  popup_search_collapse_all = gtk_menu_item_new_with_label (_("Collapse all"));
  gtk_widget_set_name (popup_search_collapse_all, "popup_search_collapse_all");
  gtk_widget_ref (popup_search_collapse_all);
  gtk_object_set_data_full (GTK_OBJECT (popup_search), "popup_search_collapse_all", popup_search_collapse_all,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_search_collapse_all);
  gtk_container_add (GTK_CONTAINER (popup_search), popup_search_collapse_all);

  separator18 = gtk_menu_item_new ();
  gtk_widget_set_name (separator18, "separator18");
  gtk_widget_ref (separator18);
  gtk_object_set_data_full (GTK_OBJECT (popup_search), "separator18", separator18,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (separator18);
  gtk_container_add (GTK_CONTAINER (popup_search), separator18);
  gtk_widget_set_sensitive (separator18, FALSE);

  popup_search_stop = gtk_menu_item_new_with_label (_("Stop this search"));
  gtk_widget_set_name (popup_search_stop, "popup_search_stop");
  gtk_widget_ref (popup_search_stop);
  gtk_object_set_data_full (GTK_OBJECT (popup_search), "popup_search_stop", popup_search_stop,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_search_stop);
  gtk_container_add (GTK_CONTAINER (popup_search), popup_search_stop);

  popup_search_resume = gtk_menu_item_new_with_label (_("Resume this search"));
  gtk_widget_set_name (popup_search_resume, "popup_search_resume");
  gtk_widget_ref (popup_search_resume);
  gtk_object_set_data_full (GTK_OBJECT (popup_search), "popup_search_resume", popup_search_resume,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_search_resume);
  gtk_container_add (GTK_CONTAINER (popup_search), popup_search_resume);

  popup_search_restart = gtk_menu_item_new_with_label (_("Restart this search"));
  gtk_widget_set_name (popup_search_restart, "popup_search_restart");
  gtk_widget_ref (popup_search_restart);
  gtk_object_set_data_full (GTK_OBJECT (popup_search), "popup_search_restart", popup_search_restart,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_search_restart);
  gtk_container_add (GTK_CONTAINER (popup_search), popup_search_restart);

  popup_search_duplicate = gtk_menu_item_new_with_label (_("Duplicate this search"));
  gtk_widget_set_name (popup_search_duplicate, "popup_search_duplicate");
  gtk_widget_ref (popup_search_duplicate);
  gtk_object_set_data_full (GTK_OBJECT (popup_search), "popup_search_duplicate", popup_search_duplicate,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_search_duplicate);
  gtk_container_add (GTK_CONTAINER (popup_search), popup_search_duplicate);

  separator2 = gtk_menu_item_new ();
  gtk_widget_set_name (separator2, "separator2");
  gtk_widget_ref (separator2);
  gtk_object_set_data_full (GTK_OBJECT (popup_search), "separator2", separator2,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (separator2);
  gtk_container_add (GTK_CONTAINER (popup_search), separator2);
  gtk_widget_set_sensitive (separator2, FALSE);

  popup_search_toggle_tabs = gtk_menu_item_new_with_label (_("Show tabs"));
  gtk_widget_set_name (popup_search_toggle_tabs, "popup_search_toggle_tabs");
  gtk_widget_ref (popup_search_toggle_tabs);
  gtk_object_set_data_full (GTK_OBJECT (popup_search), "popup_search_toggle_tabs", popup_search_toggle_tabs,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_search_toggle_tabs);
  gtk_container_add (GTK_CONTAINER (popup_search), popup_search_toggle_tabs);

  popup_search_config_cols = gtk_menu_item_new_with_label (_("Configure columns"));
  gtk_widget_set_name (popup_search_config_cols, "popup_search_config_cols");
  gtk_widget_ref (popup_search_config_cols);
  gtk_object_set_data_full (GTK_OBJECT (popup_search), "popup_search_config_cols", popup_search_config_cols,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_search_config_cols);
  gtk_container_add (GTK_CONTAINER (popup_search), popup_search_config_cols);

  popup_search_sort_defaults = gtk_menu_item_new_with_label (_("Make current sorting default"));
  gtk_widget_set_name (popup_search_sort_defaults, "popup_search_sort_defaults");
  gtk_widget_ref (popup_search_sort_defaults);
  gtk_object_set_data_full (GTK_OBJECT (popup_search), "popup_search_sort_defaults", popup_search_sort_defaults,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_search_sort_defaults);
  gtk_container_add (GTK_CONTAINER (popup_search), popup_search_sort_defaults);

  separator19 = gtk_menu_item_new ();
  gtk_widget_set_name (separator19, "separator19");
  gtk_widget_ref (separator19);
  gtk_object_set_data_full (GTK_OBJECT (popup_search), "separator19", separator19,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (separator19);
  gtk_container_add (GTK_CONTAINER (popup_search), separator19);
  gtk_widget_set_sensitive (separator19, FALSE);

  popup_search_metadata = gtk_menu_item_new_with_label (_("Bitzi Metadata"));
  gtk_widget_set_name (popup_search_metadata, "popup_search_metadata");
  gtk_widget_ref (popup_search_metadata);
  gtk_object_set_data_full (GTK_OBJECT (popup_search), "popup_search_metadata", popup_search_metadata,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_search_metadata);
  gtk_container_add (GTK_CONTAINER (popup_search), popup_search_metadata);

  popup_search_browse_host = gtk_menu_item_new_with_label (_("Browse Host"));
  gtk_widget_set_name (popup_search_browse_host, "popup_search_browse_host");
  gtk_widget_ref (popup_search_browse_host);
  gtk_object_set_data_full (GTK_OBJECT (popup_search), "popup_search_browse_host", popup_search_browse_host,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_search_browse_host);
  gtk_container_add (GTK_CONTAINER (popup_search), popup_search_browse_host);

  gtk_signal_connect (GTK_OBJECT (popup_search_edit_filter), "activate",
                      GTK_SIGNAL_FUNC (on_popup_search_edit_filter_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_search_drop_name), "activate",
                      GTK_SIGNAL_FUNC (on_popup_search_drop_name_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_search_drop_sha1), "activate",
                      GTK_SIGNAL_FUNC (on_popup_search_drop_sha1_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_search_drop_host), "activate",
                      GTK_SIGNAL_FUNC (on_popup_search_drop_host_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_search_drop_name_global), "activate",
                      GTK_SIGNAL_FUNC (on_popup_search_drop_name_global_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_search_drop_sha1_global), "activate",
                      GTK_SIGNAL_FUNC (on_popup_search_drop_sha1_global_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_search_drop_host_global), "activate",
                      GTK_SIGNAL_FUNC (on_popup_search_drop_host_global_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_search_expand_all), "activate",
                      GTK_SIGNAL_FUNC (on_popup_search_expand_all_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_search_collapse_all), "activate",
                      GTK_SIGNAL_FUNC (on_popup_search_collapse_all_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_search_stop), "activate",
                      GTK_SIGNAL_FUNC (on_popup_search_stop_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_search_resume), "activate",
                      GTK_SIGNAL_FUNC (on_popup_search_resume_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_search_restart), "activate",
                      GTK_SIGNAL_FUNC (on_popup_search_restart_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_search_duplicate), "activate",
                      GTK_SIGNAL_FUNC (on_popup_search_duplicate_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_search_toggle_tabs), "activate",
                      GTK_SIGNAL_FUNC (on_popup_search_toggle_tabs_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_search_config_cols), "activate",
                      GTK_SIGNAL_FUNC (on_popup_search_config_cols_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_search_sort_defaults), "activate",
                      GTK_SIGNAL_FUNC (on_popup_search_sort_defaults_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_search_metadata), "activate",
                      GTK_SIGNAL_FUNC (on_popup_search_metadata_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_search_browse_host), "activate",
                      GTK_SIGNAL_FUNC (on_popup_search_browse_host_activate),
                      NULL);

  gtk_object_set_data (GTK_OBJECT (popup_search), "tooltips", tooltips);

  return popup_search;
}

GtkWidget*
create_popup_monitor (void)
{
  GtkWidget *popup_monitor;
  GtkAccelGroup *popup_monitor_accels;
  GtkWidget *popup_monitor_add_search;

  popup_monitor = gtk_menu_new ();
  gtk_widget_set_name (popup_monitor, "popup_monitor");
  gtk_object_set_data (GTK_OBJECT (popup_monitor), "popup_monitor", popup_monitor);
  popup_monitor_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (popup_monitor));

  popup_monitor_add_search = gtk_menu_item_new_with_label (_("Add as search"));
  gtk_widget_set_name (popup_monitor_add_search, "popup_monitor_add_search");
  gtk_widget_ref (popup_monitor_add_search);
  gtk_object_set_data_full (GTK_OBJECT (popup_monitor), "popup_monitor_add_search", popup_monitor_add_search,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_monitor_add_search);
  gtk_container_add (GTK_CONTAINER (popup_monitor), popup_monitor_add_search);

  gtk_signal_connect (GTK_OBJECT (popup_monitor_add_search), "activate",
                      GTK_SIGNAL_FUNC (on_popup_monitor_add_search_activate),
                      NULL);

  return popup_monitor;
}

GtkWidget*
create_popup_nodes (void)
{
  GtkWidget *popup_nodes;
  GtkAccelGroup *popup_nodes_accels;
  GtkWidget *popup_nodes_disconnect;
  GtkWidget *popup_nodes_browse_host;
  GtkWidget *trennlinie1;
  GtkWidget *popup_nodes_config_cols;

  popup_nodes = gtk_menu_new ();
  gtk_widget_set_name (popup_nodes, "popup_nodes");
  gtk_object_set_data (GTK_OBJECT (popup_nodes), "popup_nodes", popup_nodes);
  popup_nodes_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (popup_nodes));

  popup_nodes_disconnect = gtk_menu_item_new_with_label (_("Disconnect"));
  gtk_widget_set_name (popup_nodes_disconnect, "popup_nodes_disconnect");
  gtk_widget_ref (popup_nodes_disconnect);
  gtk_object_set_data_full (GTK_OBJECT (popup_nodes), "popup_nodes_disconnect", popup_nodes_disconnect,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_nodes_disconnect);
  gtk_container_add (GTK_CONTAINER (popup_nodes), popup_nodes_disconnect);

  popup_nodes_browse_host = gtk_menu_item_new_with_label (_("Browse Host"));
  gtk_widget_set_name (popup_nodes_browse_host, "popup_nodes_browse_host");
  gtk_widget_ref (popup_nodes_browse_host);
  gtk_object_set_data_full (GTK_OBJECT (popup_nodes), "popup_nodes_browse_host", popup_nodes_browse_host,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_nodes_browse_host);
  gtk_container_add (GTK_CONTAINER (popup_nodes), popup_nodes_browse_host);

  trennlinie1 = gtk_menu_item_new ();
  gtk_widget_set_name (trennlinie1, "trennlinie1");
  gtk_widget_ref (trennlinie1);
  gtk_object_set_data_full (GTK_OBJECT (popup_nodes), "trennlinie1", trennlinie1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (trennlinie1);
  gtk_container_add (GTK_CONTAINER (popup_nodes), trennlinie1);
  gtk_widget_set_sensitive (trennlinie1, FALSE);

  popup_nodes_config_cols = gtk_menu_item_new_with_label (_("Configure columns"));
  gtk_widget_set_name (popup_nodes_config_cols, "popup_nodes_config_cols");
  gtk_widget_ref (popup_nodes_config_cols);
  gtk_object_set_data_full (GTK_OBJECT (popup_nodes), "popup_nodes_config_cols", popup_nodes_config_cols,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_nodes_config_cols);
  gtk_container_add (GTK_CONTAINER (popup_nodes), popup_nodes_config_cols);

  gtk_signal_connect (GTK_OBJECT (popup_nodes_disconnect), "activate",
                      GTK_SIGNAL_FUNC (on_popup_nodes_disconnect_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_nodes_browse_host), "activate",
                      GTK_SIGNAL_FUNC (on_popup_nodes_browse_host_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_nodes_config_cols), "activate",
                      GTK_SIGNAL_FUNC (on_popup_nodes_config_cols_activate),
                      NULL);

  return popup_nodes;
}

GtkWidget*
create_popup_uploads (void)
{
  GtkWidget *popup_uploads;
  GtkAccelGroup *popup_uploads_accels;
  GtkWidget *popup_uploads_browse_host;

  popup_uploads = gtk_menu_new ();
  gtk_widget_set_name (popup_uploads, "popup_uploads");
  gtk_object_set_data (GTK_OBJECT (popup_uploads), "popup_uploads", popup_uploads);
  popup_uploads_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (popup_uploads));

  popup_uploads_browse_host = gtk_menu_item_new_with_label (_("Browse Host"));
  gtk_widget_set_name (popup_uploads_browse_host, "popup_uploads_browse_host");
  gtk_widget_ref (popup_uploads_browse_host);
  gtk_object_set_data_full (GTK_OBJECT (popup_uploads), "popup_uploads_browse_host", popup_uploads_browse_host,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_uploads_browse_host);
  gtk_container_add (GTK_CONTAINER (popup_uploads), popup_uploads_browse_host);

  gtk_signal_connect (GTK_OBJECT (popup_uploads_browse_host), "activate",
                      GTK_SIGNAL_FUNC (on_popup_uploads_browse_host_activate),
                      NULL);

  return popup_uploads;
}

GtkWidget*
create_dlg_filters (void)
{
  GtkWidget *dlg_filters;
  GtkWidget *vbox_filter_main;
  GtkWidget *hpaned_filter_main;
  GtkWidget *vbox59;
  GtkWidget *hbox111;
  GtkWidget *entry_filter_new;
  guint button_filter_create_key;
  GtkWidget *button_filter_create;
  GtkWidget *scrolledwindow17;
  GtkWidget *ctree_filter_filters;
  GtkWidget *label222;
  GtkWidget *label223;
  GtkWidget *label224;
  GtkWidget *scrolledwindow48;
  GtkWidget *viewport46;
  GtkWidget *vbox32;
  GtkWidget *hbox97;
  GtkWidget *label221;
  GtkWidget *entry_filter_name;
  GtkWidget *checkbutton_filter_enabled;
  GtkWidget *button_filter_remove;
  GtkWidget *scrolledwindow490;
  GtkWidget *viewport47;
  GtkWidget *clist_filter_rules;
  GtkWidget *label212;
  GtkWidget *label213;
  GtkWidget *label214;
  GtkWidget *label215;
  GtkWidget *hbox125;
  GtkWidget *button_filter_clear;
  GtkWidget *button_filter_reset_all_rules;
  GtkWidget *button_filter_reset;
  GtkWidget *button_filter_reset_all;
  GtkWidget *hseparator6;
  GtkWidget *hbox210;
  GtkWidget *notebook_filter_detail;
  GtkWidget *alignment37;
  GtkWidget *hbox2100;
  GtkWidget *vbox137;
  GtkWidget *button_filter_add_rule_text;
  GtkWidget *button_filter_add_rule_size;
  GtkWidget *button_filter_add_rule_flag;
  GtkWidget *vbox138;
  GtkWidget *button_filter_add_rule_jump;
  GtkWidget *button_filter_add_rule_ip;
  GtkWidget *button_filter_add_rule_state;
  GtkWidget *label724;
  GtkWidget *vbox52;
  GtkWidget *alignment12;
  GtkWidget *hbox120;
  GtkWidget *frame31;
  GtkWidget *vbox55;
  GtkWidget *checkbutton_filter_text_invert_cond;
  GtkWidget *checkbutton_filter_text_active;
  GtkWidget *checkbutton_filter_text_soft;
  GtkWidget *frame25;
  GtkWidget *hbox117;
  GtkWidget *table22;
  GtkWidget *optionmenu_filter_text_type;
  GtkWidget *optionmenu_filter_text_type_menu;
  GtkWidget *glade_menuitem;
  GtkWidget *entry_filter_text_pattern;
  GtkWidget *checkbutton_filter_text_case;
  GtkWidget *hbox110;
  GtkWidget *frame26;
  GtkWidget *optionmenu_filter_text_target;
  GtkWidget *optionmenu_filter_text_target_menu;
  GtkWidget *vbox60;
  GtkWidget *hbox138;
  GtkWidget *button_filter_text_add;
  GtkWidget *button_filter_text_remove;
  GtkWidget *button16;
  GtkWidget *vseparator10;
  guint button_filter_text_reset_key;
  GtkWidget *button_filter_text_reset;
  GtkWidget *label725;
  GtkWidget *vbox51;
  GtkWidget *alignment11;
  GtkWidget *hbox121;
  GtkWidget *frame32;
  GtkWidget *vbox56;
  GtkWidget *checkbutton_filter_ip_invert_cond;
  GtkWidget *checkbutton_filter_ip_active;
  GtkWidget *checkbutton_filter_ip_soft;
  GtkWidget *frame23;
  GtkWidget *hbox118;
  GtkWidget *table23;
  GtkWidget *label191;
  GtkWidget *entry_filter_ip_address;
  GtkWidget *hbox109;
  GtkWidget *frame24;
  GtkWidget *optionmenu_filter_ip_target;
  GtkWidget *optionmenu_filter_ip_target_menu;
  GtkWidget *vbox61;
  GtkWidget *hbox139;
  GtkWidget *button4;
  GtkWidget *button5;
  GtkWidget *button17;
  GtkWidget *vseparator11;
  guint button_filter_ip_reset_key;
  GtkWidget *button_filter_ip_reset;
  GtkWidget *label726;
  GtkWidget *vbox49;
  GtkWidget *alignment10;
  GtkWidget *hbox122;
  GtkWidget *frame33;
  GtkWidget *vbox57;
  GtkWidget *checkbutton_filter_size_invert_cond;
  GtkWidget *checkbutton_filter_size_active;
  GtkWidget *checkbutton_filter_size_soft;
  GtkWidget *frame22;
  GtkWidget *hbox119;
  GtkWidget *table24;
  GtkWidget *label192;
  GtkWidget *label193;
  GtkWidget *label194;
  GtkWidget *label195;
  GtkWidget *entry_filter_size_min;
  GtkWidget *entry_filter_size_max;
  GtkWidget *hbox108;
  GtkWidget *frame21;
  GtkWidget *optionmenu_filter_size_target;
  GtkWidget *optionmenu_filter_size_target_menu;
  GtkWidget *vbox62;
  GtkWidget *hbox140;
  GtkWidget *button6;
  GtkWidget *button7;
  GtkWidget *button18;
  GtkWidget *vseparator12;
  guint button_filter_size_reset_key;
  GtkWidget *button_filter_size_reset;
  GtkWidget *label727;
  GtkWidget *vbox54;
  GtkWidget *alignment24;
  GtkWidget *hbox123;
  GtkWidget *frame34;
  GtkWidget *vbox58;
  GtkWidget *checkbutton_filter_jump_active;
  GtkWidget *frame29;
  GtkWidget *hbox115;
  GtkWidget *label209;
  GtkWidget *alignment17;
  GtkWidget *hbox114;
  GtkWidget *frame28;
  GtkWidget *optionmenu_filter_jump_target;
  GtkWidget *optionmenu_filter_jump_target_menu;
  GtkWidget *vbox63;
  GtkWidget *hbox141;
  GtkWidget *button8;
  GtkWidget *button9;
  GtkWidget *button19;
  GtkWidget *vseparator13;
  guint button_filter_jump_reset_key;
  GtkWidget *button_filter_jump_reset;
  GtkWidget *label728;
  GtkWidget *vbox64;
  GtkWidget *alignment20;
  GtkWidget *hbox126;
  GtkWidget *frame35;
  GtkWidget *vbox65;
  GtkWidget *checkbutton_filter_sha1_invert_cond;
  GtkWidget *checkbutton_filter_sha1_active;
  GtkWidget *checkbutton_filter_sha1_soft;
  GtkWidget *frame36;
  GtkWidget *hbox127;
  GtkWidget *table25;
  GtkWidget *label226;
  GtkWidget *entry_filter_sha1_hash;
  GtkWidget *hbox132;
  GtkWidget *label245;
  GtkWidget *entry_filter_sha1_origfile;
  GtkWidget *hbox128;
  GtkWidget *frame37;
  GtkWidget *optionmenu_filter_sha1_target;
  GtkWidget *optionmenu_filter_sha1_target_menu;
  GtkWidget *vbox66;
  GtkWidget *hbox142;
  GtkWidget *button10;
  GtkWidget *button11;
  GtkWidget *button20;
  GtkWidget *vseparator14;
  guint button_filter_sha1_reset_key;
  GtkWidget *button_filter_sha1_reset;
  GtkWidget *label729;
  GtkWidget *vbox68;
  GtkWidget *alignment21;
  GtkWidget *hbox129;
  GtkWidget *frame38;
  GtkWidget *vbox69;
  GtkWidget *checkbutton_filter_flag_active;
  GtkWidget *checkbutton_filter_flag_soft;
  GtkWidget *frame39;
  GtkWidget *hbox130;
  GtkWidget *table26;
  GtkWidget *label230;
  GtkWidget *label231;
  GSList *filter_busy_group_group = NULL;
  GtkWidget *radiobutton_filter_flag_busy_unset;
  GtkWidget *label241;
  GtkWidget *radiobutton_filter_flag_busy_ignore;
  GtkWidget *label242;
  GSList *filter_push_group_group = NULL;
  GtkWidget *radiobutton_filter_flag_push_ignore;
  GtkWidget *label243;
  GtkWidget *radiobutton_filter_flag_push_unset;
  GtkWidget *label240;
  GtkWidget *radiobutton_filter_flag_push_set;
  GtkWidget *label237;
  GtkWidget *radiobutton_filter_flag_busy_set;
  GtkWidget *label236;
  GtkWidget *label232;
  GSList *filter_stable_group_group = NULL;
  GtkWidget *radiobutton_filter_flag_stable_set;
  GtkWidget *label238;
  GtkWidget *radiobutton_filter_flag_stable_unset;
  GtkWidget *label239;
  GtkWidget *radiobutton_filter_flag_stable_ignore;
  GtkWidget *label244;
  GtkWidget *hbox131;
  GtkWidget *frame40;
  GtkWidget *optionmenu_filter_flag_target;
  GtkWidget *optionmenu_filter_flag_target_menu;
  GtkWidget *vbox70;
  GtkWidget *hbox143;
  GtkWidget *button12;
  GtkWidget *button13;
  GtkWidget *button21;
  GtkWidget *vseparator8;
  guint button_filter_flag_reset_key;
  GtkWidget *button_filter_flag_reset;
  GtkWidget *label730;
  GtkWidget *vbox71;
  GtkWidget *alignment22;
  GtkWidget *hbox133;
  GtkWidget *frame41;
  GtkWidget *vbox74;
  GtkWidget *checkbutton_filter_state_invert_cond;
  GtkWidget *checkbutton_filter_state_active;
  GtkWidget *checkbutton_filter_state_soft;
  GtkWidget *frame42;
  GtkWidget *alignment23;
  GtkWidget *table27;
  GtkWidget *label249;
  GSList *filter_download_group_group = NULL;
  GtkWidget *radiobutton_filter_state_download_dont;
  GtkWidget *label251;
  GtkWidget *radiobutton_filter_state_download_undef;
  GtkWidget *label252;
  GtkWidget *label257;
  GtkWidget *radiobutton_filter_state_download_do;
  GtkWidget *label256;
  GSList *filter_display_group_group = NULL;
  GtkWidget *radiobutton_filter_state_display_do;
  GtkWidget *label258;
  GtkWidget *radiobutton_filter_state_display_dont;
  GtkWidget *label259;
  GtkWidget *radiobutton_filter_state_display_undef;
  GtkWidget *label260;
  GtkWidget *radiobutton_filter_state_display_ignore;
  GtkWidget *label261;
  GtkWidget *radiobutton_filter_state_download_ignore;
  GtkWidget *label262;
  GtkWidget *hbox136;
  GtkWidget *frame43;
  GtkWidget *optionmenu_filter_state_target;
  GtkWidget *optionmenu_filter_state_target_menu;
  GtkWidget *vbox73;
  GtkWidget *hbox144;
  GtkWidget *button14;
  GtkWidget *button15;
  GtkWidget *button22;
  GtkWidget *vseparator9;
  guint button_filter_state_reset_key;
  GtkWidget *button_filter_state_reset;
  GtkWidget *label731;
  GtkWidget *hseparator5;
  GtkWidget *hbox103;
  GtkWidget *button_filter_apply;
  GtkWidget *button_filter_revert;
  GtkWidget *button_filter_ok;
  GtkWidget *button_filter_cancel;
  GtkAccelGroup *accel_group;
  GtkTooltips *tooltips;

  tooltips = gtk_tooltips_new ();

  accel_group = gtk_accel_group_new ();

  dlg_filters = gtk_window_new (GTK_WINDOW_DIALOG);
  gtk_widget_set_name (dlg_filters, "dlg_filters");
  gtk_object_set_data (GTK_OBJECT (dlg_filters), "dlg_filters", dlg_filters);
  gtk_window_set_title (GTK_WINDOW (dlg_filters), _("Ruleset editor"));
  gtk_window_set_position (GTK_WINDOW (dlg_filters), GTK_WIN_POS_CENTER);
  gtk_window_set_default_size (GTK_WINDOW (dlg_filters), 450, 300);
  gtk_window_set_policy (GTK_WINDOW (dlg_filters), TRUE, TRUE, FALSE);

  vbox_filter_main = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox_filter_main, "vbox_filter_main");
  gtk_widget_ref (vbox_filter_main);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vbox_filter_main", vbox_filter_main,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox_filter_main);
  gtk_container_add (GTK_CONTAINER (dlg_filters), vbox_filter_main);

  hpaned_filter_main = gtk_hpaned_new ();
  gtk_widget_set_name (hpaned_filter_main, "hpaned_filter_main");
  gtk_widget_ref (hpaned_filter_main);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hpaned_filter_main", hpaned_filter_main,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hpaned_filter_main);
  gtk_box_pack_start (GTK_BOX (vbox_filter_main), hpaned_filter_main, TRUE, TRUE, 0);
  gtk_paned_set_handle_size (GTK_PANED (hpaned_filter_main), 8);
  gtk_paned_set_gutter_size (GTK_PANED (hpaned_filter_main), 8);
  gtk_paned_set_position (GTK_PANED (hpaned_filter_main), 0);

  vbox59 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox59, "vbox59");
  gtk_widget_ref (vbox59);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vbox59", vbox59,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox59);
  gtk_paned_pack1 (GTK_PANED (hpaned_filter_main), vbox59, FALSE, TRUE);

  hbox111 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox111, "hbox111");
  gtk_widget_ref (hbox111);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox111", hbox111,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox111);
  gtk_box_pack_start (GTK_BOX (vbox59), hbox111, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox111), 2);

  entry_filter_new = gtk_entry_new ();
  gtk_widget_set_name (entry_filter_new, "entry_filter_new");
  gtk_widget_ref (entry_filter_new);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "entry_filter_new", entry_filter_new,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_filter_new);
  gtk_box_pack_start (GTK_BOX (hbox111), entry_filter_new, TRUE, TRUE, 0);

  button_filter_create = gtk_button_new_with_label ("");
  button_filter_create_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (button_filter_create)->child),
                                   _("_Create filter"));
  gtk_widget_add_accelerator (button_filter_create, "clicked", accel_group,
                              button_filter_create_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (button_filter_create, "button_filter_create");
  gtk_widget_ref (button_filter_create);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button_filter_create", button_filter_create,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_filter_create);
  gtk_box_pack_start (GTK_BOX (hbox111), button_filter_create, FALSE, FALSE, 0);

  scrolledwindow17 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow17, "scrolledwindow17");
  gtk_widget_ref (scrolledwindow17);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "scrolledwindow17", scrolledwindow17,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow17);
  gtk_box_pack_start (GTK_BOX (vbox59), scrolledwindow17, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (scrolledwindow17), 2);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow17), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  ctree_filter_filters = gtk_ctree_new (3, 0);
  gtk_widget_set_name (ctree_filter_filters, "ctree_filter_filters");
  gtk_widget_ref (ctree_filter_filters);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "ctree_filter_filters", ctree_filter_filters,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (ctree_filter_filters);
  gtk_container_add (GTK_CONTAINER (scrolledwindow17), ctree_filter_filters);
  gtk_clist_set_column_width (GTK_CLIST (ctree_filter_filters), 0, 80);
  gtk_clist_set_column_width (GTK_CLIST (ctree_filter_filters), 1, 80);
  gtk_clist_set_column_width (GTK_CLIST (ctree_filter_filters), 2, 80);
  gtk_clist_column_titles_show (GTK_CLIST (ctree_filter_filters));

  label222 = gtk_label_new (_("Filter"));
  gtk_widget_set_name (label222, "label222");
  gtk_widget_ref (label222);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label222", label222,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label222);
  gtk_clist_set_column_widget (GTK_CLIST (ctree_filter_filters), 0, label222);

  label223 = gtk_label_new (_("Rules"));
  gtk_widget_set_name (label223, "label223");
  gtk_widget_ref (label223);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label223", label223,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label223);
  gtk_clist_set_column_widget (GTK_CLIST (ctree_filter_filters), 1, label223);

  label224 = gtk_label_new (_("Match"));
  gtk_widget_set_name (label224, "label224");
  gtk_widget_ref (label224);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label224", label224,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label224);
  gtk_clist_set_column_widget (GTK_CLIST (ctree_filter_filters), 2, label224);

  scrolledwindow48 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow48, "scrolledwindow48");
  gtk_widget_ref (scrolledwindow48);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "scrolledwindow48", scrolledwindow48,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow48);
  gtk_paned_pack2 (GTK_PANED (hpaned_filter_main), scrolledwindow48, FALSE, TRUE);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow48), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  viewport46 = gtk_viewport_new (NULL, NULL);
  gtk_widget_set_name (viewport46, "viewport46");
  gtk_widget_ref (viewport46);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "viewport46", viewport46,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport46);
  gtk_container_add (GTK_CONTAINER (scrolledwindow48), viewport46);
  gtk_viewport_set_shadow_type (GTK_VIEWPORT (viewport46), GTK_SHADOW_NONE);

  vbox32 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox32, "vbox32");
  gtk_widget_ref (vbox32);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vbox32", vbox32,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox32);
  gtk_container_add (GTK_CONTAINER (viewport46), vbox32);

  hbox97 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox97, "hbox97");
  gtk_widget_ref (hbox97);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox97", hbox97,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox97);
  gtk_box_pack_start (GTK_BOX (vbox32), hbox97, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox97), 2);

  label221 = gtk_label_new (_("Filter"));
  gtk_widget_set_name (label221, "label221");
  gtk_widget_ref (label221);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label221", label221,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label221);
  gtk_box_pack_start (GTK_BOX (hbox97), label221, FALSE, FALSE, 0);

  entry_filter_name = gtk_entry_new ();
  gtk_widget_set_name (entry_filter_name, "entry_filter_name");
  gtk_widget_ref (entry_filter_name);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "entry_filter_name", entry_filter_name,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_filter_name);
  gtk_box_pack_start (GTK_BOX (hbox97), entry_filter_name, TRUE, TRUE, 0);
  gtk_entry_set_editable (GTK_ENTRY (entry_filter_name), FALSE);

  checkbutton_filter_enabled = gtk_check_button_new_with_label (_("enabled"));
  gtk_widget_set_name (checkbutton_filter_enabled, "checkbutton_filter_enabled");
  gtk_widget_ref (checkbutton_filter_enabled);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "checkbutton_filter_enabled", checkbutton_filter_enabled,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_filter_enabled);
  gtk_box_pack_start (GTK_BOX (hbox97), checkbutton_filter_enabled, FALSE, FALSE, 0);

  button_filter_remove = gtk_button_new_with_label (_("Remove filter"));
  gtk_widget_set_name (button_filter_remove, "button_filter_remove");
  gtk_widget_ref (button_filter_remove);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button_filter_remove", button_filter_remove,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_filter_remove);
  gtk_box_pack_start (GTK_BOX (hbox97), button_filter_remove, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, button_filter_remove, _("A filter cannot be removed if it is bound to a search or if it is in use (used as a target in a rule)."), NULL);

  scrolledwindow490 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow490, "scrolledwindow490");
  gtk_widget_ref (scrolledwindow490);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "scrolledwindow490", scrolledwindow490,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow490);
  gtk_box_pack_start (GTK_BOX (vbox32), scrolledwindow490, TRUE, TRUE, 0);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow490), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);

  viewport47 = gtk_viewport_new (NULL, NULL);
  gtk_widget_set_name (viewport47, "viewport47");
  gtk_widget_ref (viewport47);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "viewport47", viewport47,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport47);
  gtk_container_add (GTK_CONTAINER (scrolledwindow490), viewport47);
  gtk_viewport_set_shadow_type (GTK_VIEWPORT (viewport47), GTK_SHADOW_NONE);

  clist_filter_rules = gtk_clist_new (4);
  gtk_widget_set_name (clist_filter_rules, "clist_filter_rules");
  gtk_widget_ref (clist_filter_rules);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "clist_filter_rules", clist_filter_rules,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (clist_filter_rules);
  gtk_container_add (GTK_CONTAINER (viewport47), clist_filter_rules);
  gtk_clist_set_column_width (GTK_CLIST (clist_filter_rules), 0, 15);
  gtk_clist_set_column_width (GTK_CLIST (clist_filter_rules), 1, 211);
  gtk_clist_set_column_width (GTK_CLIST (clist_filter_rules), 2, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_filter_rules), 3, 80);
  gtk_clist_column_titles_show (GTK_CLIST (clist_filter_rules));

  label212 = gtk_label_new (_("!"));
  gtk_widget_set_name (label212, "label212");
  gtk_widget_ref (label212);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label212", label212,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label212);
  gtk_clist_set_column_widget (GTK_CLIST (clist_filter_rules), 0, label212);

  label213 = gtk_label_new (_("Condition"));
  gtk_widget_set_name (label213, "label213");
  gtk_widget_ref (label213);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label213", label213,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label213);
  gtk_clist_set_column_widget (GTK_CLIST (clist_filter_rules), 1, label213);

  label214 = gtk_label_new (_("Target"));
  gtk_widget_set_name (label214, "label214");
  gtk_widget_ref (label214);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label214", label214,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label214);
  gtk_clist_set_column_widget (GTK_CLIST (clist_filter_rules), 2, label214);

  label215 = gtk_label_new (_("Match"));
  gtk_widget_set_name (label215, "label215");
  gtk_widget_ref (label215);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label215", label215,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label215);
  gtk_clist_set_column_widget (GTK_CLIST (clist_filter_rules), 3, label215);

  hbox125 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox125, "hbox125");
  gtk_widget_ref (hbox125);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox125", hbox125,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox125);
  gtk_box_pack_start (GTK_BOX (vbox32), hbox125, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox125), 2);

  button_filter_clear = gtk_button_new_with_label (_("Remove all rules\nfrom this filter"));
  gtk_widget_set_name (button_filter_clear, "button_filter_clear");
  gtk_widget_ref (button_filter_clear);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button_filter_clear", button_filter_clear,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_filter_clear);
  gtk_box_pack_start (GTK_BOX (hbox125), button_filter_clear, FALSE, TRUE, 0);

  button_filter_reset_all_rules = gtk_button_new_with_label (_("Reset all rule stats\nin this filter"));
  gtk_widget_set_name (button_filter_reset_all_rules, "button_filter_reset_all_rules");
  gtk_widget_ref (button_filter_reset_all_rules);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button_filter_reset_all_rules", button_filter_reset_all_rules,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_filter_reset_all_rules);
  gtk_box_pack_start (GTK_BOX (hbox125), button_filter_reset_all_rules, FALSE, TRUE, 0);

  button_filter_reset = gtk_button_new_with_label (_("Reset filter stats\nfor this filter"));
  gtk_widget_set_name (button_filter_reset, "button_filter_reset");
  gtk_widget_ref (button_filter_reset);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button_filter_reset", button_filter_reset,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_filter_reset);
  gtk_box_pack_start (GTK_BOX (hbox125), button_filter_reset, FALSE, TRUE, 0);

  button_filter_reset_all = gtk_button_new_with_label (_("Reset filter stats\nfor all filters"));
  gtk_widget_set_name (button_filter_reset_all, "button_filter_reset_all");
  gtk_widget_ref (button_filter_reset_all);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button_filter_reset_all", button_filter_reset_all,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_filter_reset_all);
  gtk_box_pack_start (GTK_BOX (hbox125), button_filter_reset_all, FALSE, FALSE, 0);

  hseparator6 = gtk_hseparator_new ();
  gtk_widget_set_name (hseparator6, "hseparator6");
  gtk_widget_ref (hseparator6);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hseparator6", hseparator6,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_box_pack_start (GTK_BOX (vbox32), hseparator6, FALSE, FALSE, 0);

  hbox210 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox210, "hbox210");
  gtk_widget_ref (hbox210);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox210", hbox210,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox210);
  gtk_box_pack_start (GTK_BOX (vbox32), hbox210, FALSE, TRUE, 0);

  notebook_filter_detail = gtk_notebook_new ();
  gtk_widget_set_name (notebook_filter_detail, "notebook_filter_detail");
  gtk_widget_ref (notebook_filter_detail);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "notebook_filter_detail", notebook_filter_detail,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (notebook_filter_detail);
  gtk_box_pack_start (GTK_BOX (hbox210), notebook_filter_detail, TRUE, TRUE, 0);
  gtk_widget_set_usize (notebook_filter_detail, 429, -2);
  gtk_container_set_border_width (GTK_CONTAINER (notebook_filter_detail), 2);
  gtk_notebook_set_show_border (GTK_NOTEBOOK (notebook_filter_detail), FALSE);

  alignment37 = gtk_alignment_new (0.5, 0.5, 0, 0);
  gtk_widget_set_name (alignment37, "alignment37");
  gtk_widget_ref (alignment37);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "alignment37", alignment37,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (alignment37);
  gtk_container_add (GTK_CONTAINER (notebook_filter_detail), alignment37);

  hbox2100 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox2100, "hbox2100");
  gtk_widget_ref (hbox2100);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox2100", hbox2100,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox2100);
  gtk_container_add (GTK_CONTAINER (alignment37), hbox2100);
  gtk_container_set_border_width (GTK_CONTAINER (hbox2100), 2);

  vbox137 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox137, "vbox137");
  gtk_widget_ref (vbox137);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vbox137", vbox137,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox137);
  gtk_box_pack_start (GTK_BOX (hbox2100), vbox137, FALSE, FALSE, 0);

  button_filter_add_rule_text = gtk_button_new_with_label (_("Add name rule"));
  gtk_widget_set_name (button_filter_add_rule_text, "button_filter_add_rule_text");
  gtk_widget_ref (button_filter_add_rule_text);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button_filter_add_rule_text", button_filter_add_rule_text,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_filter_add_rule_text);
  gtk_box_pack_start (GTK_BOX (vbox137), button_filter_add_rule_text, FALSE, TRUE, 0);

  button_filter_add_rule_size = gtk_button_new_with_label (_("Add size rule"));
  gtk_widget_set_name (button_filter_add_rule_size, "button_filter_add_rule_size");
  gtk_widget_ref (button_filter_add_rule_size);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button_filter_add_rule_size", button_filter_add_rule_size,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_filter_add_rule_size);
  gtk_box_pack_start (GTK_BOX (vbox137), button_filter_add_rule_size, FALSE, TRUE, 0);

  button_filter_add_rule_flag = gtk_button_new_with_label (_("Add flag rule"));
  gtk_widget_set_name (button_filter_add_rule_flag, "button_filter_add_rule_flag");
  gtk_widget_ref (button_filter_add_rule_flag);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button_filter_add_rule_flag", button_filter_add_rule_flag,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_filter_add_rule_flag);
  gtk_box_pack_start (GTK_BOX (vbox137), button_filter_add_rule_flag, FALSE, TRUE, 0);

  vbox138 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox138, "vbox138");
  gtk_widget_ref (vbox138);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vbox138", vbox138,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox138);
  gtk_box_pack_start (GTK_BOX (hbox2100), vbox138, FALSE, FALSE, 0);

  button_filter_add_rule_jump = gtk_button_new_with_label (_("Add jump rule"));
  gtk_widget_set_name (button_filter_add_rule_jump, "button_filter_add_rule_jump");
  gtk_widget_ref (button_filter_add_rule_jump);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button_filter_add_rule_jump", button_filter_add_rule_jump,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_filter_add_rule_jump);
  gtk_box_pack_start (GTK_BOX (vbox138), button_filter_add_rule_jump, FALSE, TRUE, 0);

  button_filter_add_rule_ip = gtk_button_new_with_label (_("Add IP rule"));
  gtk_widget_set_name (button_filter_add_rule_ip, "button_filter_add_rule_ip");
  gtk_widget_ref (button_filter_add_rule_ip);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button_filter_add_rule_ip", button_filter_add_rule_ip,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_filter_add_rule_ip);
  gtk_box_pack_start (GTK_BOX (vbox138), button_filter_add_rule_ip, FALSE, TRUE, 0);

  button_filter_add_rule_state = gtk_button_new_with_label (_("Add state rule"));
  gtk_widget_set_name (button_filter_add_rule_state, "button_filter_add_rule_state");
  gtk_widget_ref (button_filter_add_rule_state);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button_filter_add_rule_state", button_filter_add_rule_state,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_filter_add_rule_state);
  gtk_box_pack_start (GTK_BOX (vbox138), button_filter_add_rule_state, FALSE, TRUE, 0);

  label724 = gtk_label_new (_("[Add/Remove]"));
  gtk_widget_set_name (label724, "label724");
  gtk_widget_ref (label724);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label724", label724,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label724);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_filter_detail), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_filter_detail), 0), label724);

  vbox52 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox52, "vbox52");
  gtk_widget_ref (vbox52);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vbox52", vbox52,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox52);
  gtk_container_add (GTK_CONTAINER (notebook_filter_detail), vbox52);

  alignment12 = gtk_alignment_new (0.5, 0, 1, 1);
  gtk_widget_set_name (alignment12, "alignment12");
  gtk_widget_ref (alignment12);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "alignment12", alignment12,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (alignment12);
  gtk_box_pack_start (GTK_BOX (vbox52), alignment12, TRUE, TRUE, 0);

  hbox120 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox120, "hbox120");
  gtk_widget_ref (hbox120);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox120", hbox120,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox120);
  gtk_container_add (GTK_CONTAINER (alignment12), hbox120);

  frame31 = gtk_frame_new (_("Flags"));
  gtk_widget_set_name (frame31, "frame31");
  gtk_widget_ref (frame31);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "frame31", frame31,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame31);
  gtk_box_pack_start (GTK_BOX (hbox120), frame31, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame31), 2);

  vbox55 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox55, "vbox55");
  gtk_widget_ref (vbox55);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vbox55", vbox55,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox55);
  gtk_container_add (GTK_CONTAINER (frame31), vbox55);

  checkbutton_filter_text_invert_cond = gtk_check_button_new_with_label (_("invert condition"));
  gtk_widget_set_name (checkbutton_filter_text_invert_cond, "checkbutton_filter_text_invert_cond");
  gtk_widget_ref (checkbutton_filter_text_invert_cond);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "checkbutton_filter_text_invert_cond", checkbutton_filter_text_invert_cond,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_filter_text_invert_cond);
  gtk_box_pack_start (GTK_BOX (vbox55), checkbutton_filter_text_invert_cond, FALSE, FALSE, 0);

  checkbutton_filter_text_active = gtk_check_button_new_with_label (_("active"));
  gtk_widget_set_name (checkbutton_filter_text_active, "checkbutton_filter_text_active");
  gtk_widget_ref (checkbutton_filter_text_active);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "checkbutton_filter_text_active", checkbutton_filter_text_active,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_filter_text_active);
  gtk_box_pack_start (GTK_BOX (vbox55), checkbutton_filter_text_active, FALSE, FALSE, 0);

  checkbutton_filter_text_soft = gtk_check_button_new_with_label (_("mark only"));
  gtk_widget_set_name (checkbutton_filter_text_soft, "checkbutton_filter_text_soft");
  gtk_widget_ref (checkbutton_filter_text_soft);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "checkbutton_filter_text_soft", checkbutton_filter_text_soft,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_filter_text_soft);
  gtk_box_pack_start (GTK_BOX (vbox55), checkbutton_filter_text_soft, FALSE, FALSE, 0);

  frame25 = gtk_frame_new (_("Condition: If filename matches"));
  gtk_widget_set_name (frame25, "frame25");
  gtk_widget_ref (frame25);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "frame25", frame25,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame25);
  gtk_box_pack_start (GTK_BOX (hbox120), frame25, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame25), 2);

  hbox117 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox117, "hbox117");
  gtk_widget_ref (hbox117);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox117", hbox117,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox117);
  gtk_container_add (GTK_CONTAINER (frame25), hbox117);

  table22 = gtk_table_new (2, 2, FALSE);
  gtk_widget_set_name (table22, "table22");
  gtk_widget_ref (table22);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "table22", table22,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table22);
  gtk_box_pack_start (GTK_BOX (hbox117), table22, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (table22), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table22), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table22), 4);

  optionmenu_filter_text_type = gtk_option_menu_new ();
  gtk_widget_set_name (optionmenu_filter_text_type, "optionmenu_filter_text_type");
  gtk_widget_ref (optionmenu_filter_text_type);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "optionmenu_filter_text_type", optionmenu_filter_text_type,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (optionmenu_filter_text_type);
  gtk_table_attach (GTK_TABLE (table22), optionmenu_filter_text_type, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  optionmenu_filter_text_type_menu = gtk_menu_new ();
  glade_menuitem = gtk_menu_item_new_with_label ("");
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu_filter_text_type_menu), glade_menuitem);
  gtk_option_menu_set_menu (GTK_OPTION_MENU (optionmenu_filter_text_type), optionmenu_filter_text_type_menu);

  entry_filter_text_pattern = gtk_entry_new ();
  gtk_widget_set_name (entry_filter_text_pattern, "entry_filter_text_pattern");
  gtk_widget_ref (entry_filter_text_pattern);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "entry_filter_text_pattern", entry_filter_text_pattern,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_filter_text_pattern);
  gtk_table_attach (GTK_TABLE (table22), entry_filter_text_pattern, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_filter_text_case = gtk_check_button_new_with_label (_("case sensitive"));
  gtk_widget_set_name (checkbutton_filter_text_case, "checkbutton_filter_text_case");
  gtk_widget_ref (checkbutton_filter_text_case);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "checkbutton_filter_text_case", checkbutton_filter_text_case,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_filter_text_case);
  gtk_table_attach (GTK_TABLE (table22), checkbutton_filter_text_case, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  hbox110 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox110, "hbox110");
  gtk_widget_ref (hbox110);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox110", hbox110,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox110);
  gtk_box_pack_start (GTK_BOX (vbox52), hbox110, FALSE, FALSE, 0);

  frame26 = gtk_frame_new (_("Target"));
  gtk_widget_set_name (frame26, "frame26");
  gtk_widget_ref (frame26);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "frame26", frame26,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame26);
  gtk_box_pack_start (GTK_BOX (hbox110), frame26, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame26), 2);

  optionmenu_filter_text_target = gtk_option_menu_new ();
  gtk_widget_set_name (optionmenu_filter_text_target, "optionmenu_filter_text_target");
  gtk_widget_ref (optionmenu_filter_text_target);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "optionmenu_filter_text_target", optionmenu_filter_text_target,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (optionmenu_filter_text_target);
  gtk_container_add (GTK_CONTAINER (frame26), optionmenu_filter_text_target);
  optionmenu_filter_text_target_menu = gtk_menu_new ();
  gtk_option_menu_set_menu (GTK_OPTION_MENU (optionmenu_filter_text_target), optionmenu_filter_text_target_menu);

  vbox60 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox60, "vbox60");
  gtk_widget_ref (vbox60);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vbox60", vbox60,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox60);
  gtk_box_pack_start (GTK_BOX (hbox110), vbox60, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (vbox60), 2);

  hbox138 = gtk_hbox_new (FALSE, 2);
  gtk_widget_set_name (hbox138, "hbox138");
  gtk_widget_ref (hbox138);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox138", hbox138,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox138);
  gtk_box_pack_start (GTK_BOX (vbox60), hbox138, FALSE, TRUE, 4);
  gtk_container_set_border_width (GTK_CONTAINER (hbox138), 4);

  button_filter_text_add = gtk_button_new_with_label (_("Save"));
  gtk_widget_set_name (button_filter_text_add, "button_filter_text_add");
  gtk_widget_ref (button_filter_text_add);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button_filter_text_add", button_filter_text_add,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_filter_text_add);
  gtk_box_pack_start (GTK_BOX (hbox138), button_filter_text_add, TRUE, TRUE, 0);

  button_filter_text_remove = gtk_button_new_with_label (_("Remove"));
  gtk_widget_set_name (button_filter_text_remove, "button_filter_text_remove");
  gtk_widget_ref (button_filter_text_remove);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button_filter_text_remove", button_filter_text_remove,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_filter_text_remove);
  gtk_box_pack_start (GTK_BOX (hbox138), button_filter_text_remove, TRUE, TRUE, 0);

  button16 = gtk_button_new_with_label (_("Abort"));
  gtk_widget_set_name (button16, "button16");
  gtk_widget_ref (button16);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button16", button16,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button16);
  gtk_box_pack_start (GTK_BOX (hbox138), button16, TRUE, TRUE, 0);

  vseparator10 = gtk_vseparator_new ();
  gtk_widget_set_name (vseparator10, "vseparator10");
  gtk_widget_ref (vseparator10);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vseparator10", vseparator10,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vseparator10);
  gtk_box_pack_start (GTK_BOX (hbox138), vseparator10, TRUE, TRUE, 0);

  button_filter_text_reset = gtk_button_new_with_label ("");
  button_filter_text_reset_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (button_filter_text_reset)->child),
                                   _("_Reset stats"));
  gtk_widget_add_accelerator (button_filter_text_reset, "clicked", accel_group,
                              button_filter_text_reset_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (button_filter_text_reset, "button_filter_text_reset");
  gtk_widget_ref (button_filter_text_reset);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button_filter_text_reset", button_filter_text_reset,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_filter_text_reset);
  gtk_box_pack_start (GTK_BOX (hbox138), button_filter_text_reset, TRUE, TRUE, 0);

  label725 = gtk_label_new (_("[Filename]"));
  gtk_widget_set_name (label725, "label725");
  gtk_widget_ref (label725);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label725", label725,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label725);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_filter_detail), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_filter_detail), 1), label725);

  vbox51 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox51, "vbox51");
  gtk_widget_ref (vbox51);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vbox51", vbox51,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox51);
  gtk_container_add (GTK_CONTAINER (notebook_filter_detail), vbox51);

  alignment11 = gtk_alignment_new (0.5, 0, 1, 1);
  gtk_widget_set_name (alignment11, "alignment11");
  gtk_widget_ref (alignment11);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "alignment11", alignment11,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (alignment11);
  gtk_box_pack_start (GTK_BOX (vbox51), alignment11, TRUE, TRUE, 0);

  hbox121 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox121, "hbox121");
  gtk_widget_ref (hbox121);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox121", hbox121,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox121);
  gtk_container_add (GTK_CONTAINER (alignment11), hbox121);

  frame32 = gtk_frame_new (_("Flags"));
  gtk_widget_set_name (frame32, "frame32");
  gtk_widget_ref (frame32);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "frame32", frame32,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame32);
  gtk_box_pack_start (GTK_BOX (hbox121), frame32, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame32), 2);

  vbox56 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox56, "vbox56");
  gtk_widget_ref (vbox56);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vbox56", vbox56,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox56);
  gtk_container_add (GTK_CONTAINER (frame32), vbox56);

  checkbutton_filter_ip_invert_cond = gtk_check_button_new_with_label (_("invert condition"));
  gtk_widget_set_name (checkbutton_filter_ip_invert_cond, "checkbutton_filter_ip_invert_cond");
  gtk_widget_ref (checkbutton_filter_ip_invert_cond);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "checkbutton_filter_ip_invert_cond", checkbutton_filter_ip_invert_cond,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_filter_ip_invert_cond);
  gtk_box_pack_start (GTK_BOX (vbox56), checkbutton_filter_ip_invert_cond, FALSE, FALSE, 0);

  checkbutton_filter_ip_active = gtk_check_button_new_with_label (_("active"));
  gtk_widget_set_name (checkbutton_filter_ip_active, "checkbutton_filter_ip_active");
  gtk_widget_ref (checkbutton_filter_ip_active);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "checkbutton_filter_ip_active", checkbutton_filter_ip_active,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_filter_ip_active);
  gtk_box_pack_start (GTK_BOX (vbox56), checkbutton_filter_ip_active, FALSE, FALSE, 0);

  checkbutton_filter_ip_soft = gtk_check_button_new_with_label (_("mark only"));
  gtk_widget_set_name (checkbutton_filter_ip_soft, "checkbutton_filter_ip_soft");
  gtk_widget_ref (checkbutton_filter_ip_soft);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "checkbutton_filter_ip_soft", checkbutton_filter_ip_soft,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_filter_ip_soft);
  gtk_box_pack_start (GTK_BOX (vbox56), checkbutton_filter_ip_soft, FALSE, FALSE, 0);

  frame23 = gtk_frame_new (_("Condition: If IP address matches"));
  gtk_widget_set_name (frame23, "frame23");
  gtk_widget_ref (frame23);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "frame23", frame23,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame23);
  gtk_box_pack_start (GTK_BOX (hbox121), frame23, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame23), 2);

  hbox118 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox118, "hbox118");
  gtk_widget_ref (hbox118);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox118", hbox118,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox118);
  gtk_container_add (GTK_CONTAINER (frame23), hbox118);

  table23 = gtk_table_new (1, 2, FALSE);
  gtk_widget_set_name (table23, "table23");
  gtk_widget_ref (table23);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "table23", table23,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table23);
  gtk_box_pack_start (GTK_BOX (hbox118), table23, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (table23), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table23), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table23), 4);

  label191 = gtk_label_new (_("IP address/mask"));
  gtk_widget_set_name (label191, "label191");
  gtk_widget_ref (label191);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label191", label191,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label191);
  gtk_table_attach (GTK_TABLE (table23), label191, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label191), 0, 0.5);

  entry_filter_ip_address = gtk_entry_new ();
  gtk_widget_set_name (entry_filter_ip_address, "entry_filter_ip_address");
  gtk_widget_ref (entry_filter_ip_address);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "entry_filter_ip_address", entry_filter_ip_address,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_filter_ip_address);
  gtk_table_attach (GTK_TABLE (table23), entry_filter_ip_address, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  hbox109 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox109, "hbox109");
  gtk_widget_ref (hbox109);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox109", hbox109,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox109);
  gtk_box_pack_start (GTK_BOX (vbox51), hbox109, FALSE, FALSE, 0);

  frame24 = gtk_frame_new (_("Target"));
  gtk_widget_set_name (frame24, "frame24");
  gtk_widget_ref (frame24);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "frame24", frame24,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame24);
  gtk_box_pack_start (GTK_BOX (hbox109), frame24, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame24), 2);

  optionmenu_filter_ip_target = gtk_option_menu_new ();
  gtk_widget_set_name (optionmenu_filter_ip_target, "optionmenu_filter_ip_target");
  gtk_widget_ref (optionmenu_filter_ip_target);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "optionmenu_filter_ip_target", optionmenu_filter_ip_target,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (optionmenu_filter_ip_target);
  gtk_container_add (GTK_CONTAINER (frame24), optionmenu_filter_ip_target);
  optionmenu_filter_ip_target_menu = gtk_menu_new ();
  glade_menuitem = gtk_menu_item_new_with_label ("");
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu_filter_ip_target_menu), glade_menuitem);
  gtk_option_menu_set_menu (GTK_OPTION_MENU (optionmenu_filter_ip_target), optionmenu_filter_ip_target_menu);

  vbox61 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox61, "vbox61");
  gtk_widget_ref (vbox61);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vbox61", vbox61,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox61);
  gtk_box_pack_start (GTK_BOX (hbox109), vbox61, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (vbox61), 2);

  hbox139 = gtk_hbox_new (FALSE, 2);
  gtk_widget_set_name (hbox139, "hbox139");
  gtk_widget_ref (hbox139);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox139", hbox139,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox139);
  gtk_box_pack_start (GTK_BOX (vbox61), hbox139, FALSE, FALSE, 4);
  gtk_container_set_border_width (GTK_CONTAINER (hbox139), 4);

  button4 = gtk_button_new_with_label (_("Save"));
  gtk_widget_set_name (button4, "button4");
  gtk_widget_ref (button4);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button4", button4,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button4);
  gtk_box_pack_start (GTK_BOX (hbox139), button4, TRUE, TRUE, 2);

  button5 = gtk_button_new_with_label (_("Remove"));
  gtk_widget_set_name (button5, "button5");
  gtk_widget_ref (button5);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button5", button5,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button5);
  gtk_box_pack_start (GTK_BOX (hbox139), button5, TRUE, TRUE, 0);

  button17 = gtk_button_new_with_label (_("Abort"));
  gtk_widget_set_name (button17, "button17");
  gtk_widget_ref (button17);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button17", button17,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button17);
  gtk_box_pack_start (GTK_BOX (hbox139), button17, TRUE, TRUE, 0);

  vseparator11 = gtk_vseparator_new ();
  gtk_widget_set_name (vseparator11, "vseparator11");
  gtk_widget_ref (vseparator11);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vseparator11", vseparator11,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vseparator11);
  gtk_box_pack_start (GTK_BOX (hbox139), vseparator11, TRUE, TRUE, 0);

  button_filter_ip_reset = gtk_button_new_with_label ("");
  button_filter_ip_reset_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (button_filter_ip_reset)->child),
                                   _("_Reset stats"));
  gtk_widget_add_accelerator (button_filter_ip_reset, "clicked", accel_group,
                              button_filter_ip_reset_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (button_filter_ip_reset, "button_filter_ip_reset");
  gtk_widget_ref (button_filter_ip_reset);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button_filter_ip_reset", button_filter_ip_reset,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_filter_ip_reset);
  gtk_box_pack_start (GTK_BOX (hbox139), button_filter_ip_reset, TRUE, TRUE, 0);

  label726 = gtk_label_new (_("[IP address]"));
  gtk_widget_set_name (label726, "label726");
  gtk_widget_ref (label726);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label726", label726,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label726);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_filter_detail), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_filter_detail), 2), label726);

  vbox49 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox49, "vbox49");
  gtk_widget_ref (vbox49);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vbox49", vbox49,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox49);
  gtk_container_add (GTK_CONTAINER (notebook_filter_detail), vbox49);

  alignment10 = gtk_alignment_new (0.5, 0, 1, 1);
  gtk_widget_set_name (alignment10, "alignment10");
  gtk_widget_ref (alignment10);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "alignment10", alignment10,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (alignment10);
  gtk_box_pack_start (GTK_BOX (vbox49), alignment10, TRUE, TRUE, 0);

  hbox122 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox122, "hbox122");
  gtk_widget_ref (hbox122);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox122", hbox122,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox122);
  gtk_container_add (GTK_CONTAINER (alignment10), hbox122);

  frame33 = gtk_frame_new (_("Flags"));
  gtk_widget_set_name (frame33, "frame33");
  gtk_widget_ref (frame33);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "frame33", frame33,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame33);
  gtk_box_pack_start (GTK_BOX (hbox122), frame33, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame33), 2);

  vbox57 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox57, "vbox57");
  gtk_widget_ref (vbox57);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vbox57", vbox57,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox57);
  gtk_container_add (GTK_CONTAINER (frame33), vbox57);

  checkbutton_filter_size_invert_cond = gtk_check_button_new_with_label (_("invert condition"));
  gtk_widget_set_name (checkbutton_filter_size_invert_cond, "checkbutton_filter_size_invert_cond");
  gtk_widget_ref (checkbutton_filter_size_invert_cond);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "checkbutton_filter_size_invert_cond", checkbutton_filter_size_invert_cond,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_filter_size_invert_cond);
  gtk_box_pack_start (GTK_BOX (vbox57), checkbutton_filter_size_invert_cond, FALSE, FALSE, 0);

  checkbutton_filter_size_active = gtk_check_button_new_with_label (_("active"));
  gtk_widget_set_name (checkbutton_filter_size_active, "checkbutton_filter_size_active");
  gtk_widget_ref (checkbutton_filter_size_active);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "checkbutton_filter_size_active", checkbutton_filter_size_active,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_filter_size_active);
  gtk_box_pack_start (GTK_BOX (vbox57), checkbutton_filter_size_active, FALSE, FALSE, 0);

  checkbutton_filter_size_soft = gtk_check_button_new_with_label (_("mark only"));
  gtk_widget_set_name (checkbutton_filter_size_soft, "checkbutton_filter_size_soft");
  gtk_widget_ref (checkbutton_filter_size_soft);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "checkbutton_filter_size_soft", checkbutton_filter_size_soft,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_filter_size_soft);
  gtk_box_pack_start (GTK_BOX (vbox57), checkbutton_filter_size_soft, FALSE, FALSE, 0);

  frame22 = gtk_frame_new (_("Condition: If file size matches"));
  gtk_widget_set_name (frame22, "frame22");
  gtk_widget_ref (frame22);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "frame22", frame22,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame22);
  gtk_box_pack_start (GTK_BOX (hbox122), frame22, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame22), 2);

  hbox119 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox119, "hbox119");
  gtk_widget_ref (hbox119);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox119", hbox119,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox119);
  gtk_container_add (GTK_CONTAINER (frame22), hbox119);

  table24 = gtk_table_new (2, 3, FALSE);
  gtk_widget_set_name (table24, "table24");
  gtk_widget_ref (table24);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "table24", table24,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table24);
  gtk_box_pack_start (GTK_BOX (hbox119), table24, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (table24), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table24), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table24), 4);

  label192 = gtk_label_new (_("Minimum size:"));
  gtk_widget_set_name (label192, "label192");
  gtk_widget_ref (label192);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label192", label192,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label192);
  gtk_table_attach (GTK_TABLE (table24), label192, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label192), 0, 0.5);

  label193 = gtk_label_new (_("Maximum size:"));
  gtk_widget_set_name (label193, "label193");
  gtk_widget_ref (label193);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label193", label193,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label193);
  gtk_table_attach (GTK_TABLE (table24), label193, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label193), 0, 0.5);

  label194 = gtk_label_new (_("bytes"));
  gtk_widget_set_name (label194, "label194");
  gtk_widget_ref (label194);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label194", label194,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label194);
  gtk_table_attach (GTK_TABLE (table24), label194, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label194), 0, 0.5);

  label195 = gtk_label_new (_("bytes"));
  gtk_widget_set_name (label195, "label195");
  gtk_widget_ref (label195);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label195", label195,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label195);
  gtk_table_attach (GTK_TABLE (table24), label195, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label195), 0, 0.5);

  entry_filter_size_min = gtk_entry_new ();
  gtk_widget_set_name (entry_filter_size_min, "entry_filter_size_min");
  gtk_widget_ref (entry_filter_size_min);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "entry_filter_size_min", entry_filter_size_min,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_filter_size_min);
  gtk_table_attach (GTK_TABLE (table24), entry_filter_size_min, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  entry_filter_size_max = gtk_entry_new ();
  gtk_widget_set_name (entry_filter_size_max, "entry_filter_size_max");
  gtk_widget_ref (entry_filter_size_max);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "entry_filter_size_max", entry_filter_size_max,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_filter_size_max);
  gtk_table_attach (GTK_TABLE (table24), entry_filter_size_max, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  hbox108 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox108, "hbox108");
  gtk_widget_ref (hbox108);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox108", hbox108,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox108);
  gtk_box_pack_start (GTK_BOX (vbox49), hbox108, FALSE, FALSE, 0);

  frame21 = gtk_frame_new (_("Target"));
  gtk_widget_set_name (frame21, "frame21");
  gtk_widget_ref (frame21);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "frame21", frame21,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame21);
  gtk_box_pack_start (GTK_BOX (hbox108), frame21, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame21), 2);

  optionmenu_filter_size_target = gtk_option_menu_new ();
  gtk_widget_set_name (optionmenu_filter_size_target, "optionmenu_filter_size_target");
  gtk_widget_ref (optionmenu_filter_size_target);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "optionmenu_filter_size_target", optionmenu_filter_size_target,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (optionmenu_filter_size_target);
  gtk_container_add (GTK_CONTAINER (frame21), optionmenu_filter_size_target);
  optionmenu_filter_size_target_menu = gtk_menu_new ();
  glade_menuitem = gtk_menu_item_new_with_label ("");
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu_filter_size_target_menu), glade_menuitem);
  gtk_option_menu_set_menu (GTK_OPTION_MENU (optionmenu_filter_size_target), optionmenu_filter_size_target_menu);

  vbox62 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox62, "vbox62");
  gtk_widget_ref (vbox62);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vbox62", vbox62,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox62);
  gtk_box_pack_start (GTK_BOX (hbox108), vbox62, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (vbox62), 2);

  hbox140 = gtk_hbox_new (FALSE, 2);
  gtk_widget_set_name (hbox140, "hbox140");
  gtk_widget_ref (hbox140);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox140", hbox140,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox140);
  gtk_box_pack_start (GTK_BOX (vbox62), hbox140, FALSE, FALSE, 4);
  gtk_container_set_border_width (GTK_CONTAINER (hbox140), 4);

  button6 = gtk_button_new_with_label (_("Save"));
  gtk_widget_set_name (button6, "button6");
  gtk_widget_ref (button6);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button6", button6,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button6);
  gtk_box_pack_start (GTK_BOX (hbox140), button6, TRUE, TRUE, 0);

  button7 = gtk_button_new_with_label (_("Remove"));
  gtk_widget_set_name (button7, "button7");
  gtk_widget_ref (button7);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button7", button7,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button7);
  gtk_box_pack_start (GTK_BOX (hbox140), button7, TRUE, TRUE, 0);

  button18 = gtk_button_new_with_label (_("Abort"));
  gtk_widget_set_name (button18, "button18");
  gtk_widget_ref (button18);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button18", button18,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button18);
  gtk_box_pack_start (GTK_BOX (hbox140), button18, TRUE, TRUE, 0);

  vseparator12 = gtk_vseparator_new ();
  gtk_widget_set_name (vseparator12, "vseparator12");
  gtk_widget_ref (vseparator12);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vseparator12", vseparator12,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vseparator12);
  gtk_box_pack_start (GTK_BOX (hbox140), vseparator12, TRUE, TRUE, 0);

  button_filter_size_reset = gtk_button_new_with_label ("");
  button_filter_size_reset_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (button_filter_size_reset)->child),
                                   _("_Reset stats"));
  gtk_widget_add_accelerator (button_filter_size_reset, "clicked", accel_group,
                              button_filter_size_reset_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (button_filter_size_reset, "button_filter_size_reset");
  gtk_widget_ref (button_filter_size_reset);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button_filter_size_reset", button_filter_size_reset,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_filter_size_reset);
  gtk_box_pack_start (GTK_BOX (hbox140), button_filter_size_reset, TRUE, TRUE, 0);

  label727 = gtk_label_new (_("[Filesize]"));
  gtk_widget_set_name (label727, "label727");
  gtk_widget_ref (label727);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label727", label727,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label727);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_filter_detail), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_filter_detail), 3), label727);

  vbox54 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox54, "vbox54");
  gtk_widget_ref (vbox54);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vbox54", vbox54,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox54);
  gtk_container_add (GTK_CONTAINER (notebook_filter_detail), vbox54);

  alignment24 = gtk_alignment_new (0.5, 7.45058e-09, 1, 1);
  gtk_widget_set_name (alignment24, "alignment24");
  gtk_widget_ref (alignment24);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "alignment24", alignment24,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (alignment24);
  gtk_box_pack_start (GTK_BOX (vbox54), alignment24, TRUE, TRUE, 0);

  hbox123 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox123, "hbox123");
  gtk_widget_ref (hbox123);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox123", hbox123,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox123);
  gtk_container_add (GTK_CONTAINER (alignment24), hbox123);

  frame34 = gtk_frame_new (_("Flags"));
  gtk_widget_set_name (frame34, "frame34");
  gtk_widget_ref (frame34);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "frame34", frame34,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame34);
  gtk_box_pack_start (GTK_BOX (hbox123), frame34, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame34), 2);

  vbox58 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox58, "vbox58");
  gtk_widget_ref (vbox58);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vbox58", vbox58,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox58);
  gtk_container_add (GTK_CONTAINER (frame34), vbox58);

  checkbutton_filter_jump_active = gtk_check_button_new_with_label (_("active"));
  gtk_widget_set_name (checkbutton_filter_jump_active, "checkbutton_filter_jump_active");
  gtk_widget_ref (checkbutton_filter_jump_active);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "checkbutton_filter_jump_active", checkbutton_filter_jump_active,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_filter_jump_active);
  gtk_box_pack_start (GTK_BOX (vbox58), checkbutton_filter_jump_active, FALSE, FALSE, 0);

  frame29 = gtk_frame_new (_("Condition: always"));
  gtk_widget_set_name (frame29, "frame29");
  gtk_widget_ref (frame29);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "frame29", frame29,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame29);
  gtk_box_pack_start (GTK_BOX (hbox123), frame29, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame29), 2);

  hbox115 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox115, "hbox115");
  gtk_widget_ref (hbox115);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox115", hbox115,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox115);
  gtk_container_add (GTK_CONTAINER (frame29), hbox115);
  gtk_container_set_border_width (GTK_CONTAINER (hbox115), 2);

  label209 = gtk_label_new (_("There is no condition. When this rule is reached, the matching will continue in the specified target filter. That's also why you can't invert this condition. If you could, this rule would just be ignored."));
  gtk_widget_set_name (label209, "label209");
  gtk_widget_ref (label209);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label209", label209,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label209);
  gtk_box_pack_start (GTK_BOX (hbox115), label209, FALSE, TRUE, 0);
  gtk_label_set_justify (GTK_LABEL (label209), GTK_JUSTIFY_LEFT);
  gtk_label_set_line_wrap (GTK_LABEL (label209), TRUE);

  alignment17 = gtk_alignment_new (0.5, 1, 1, 0);
  gtk_widget_set_name (alignment17, "alignment17");
  gtk_widget_ref (alignment17);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "alignment17", alignment17,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (alignment17);
  gtk_box_pack_start (GTK_BOX (vbox54), alignment17, TRUE, TRUE, 0);

  hbox114 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox114, "hbox114");
  gtk_widget_ref (hbox114);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox114", hbox114,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox114);
  gtk_container_add (GTK_CONTAINER (alignment17), hbox114);

  frame28 = gtk_frame_new (_("Target"));
  gtk_widget_set_name (frame28, "frame28");
  gtk_widget_ref (frame28);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "frame28", frame28,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame28);
  gtk_box_pack_start (GTK_BOX (hbox114), frame28, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame28), 2);

  optionmenu_filter_jump_target = gtk_option_menu_new ();
  gtk_widget_set_name (optionmenu_filter_jump_target, "optionmenu_filter_jump_target");
  gtk_widget_ref (optionmenu_filter_jump_target);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "optionmenu_filter_jump_target", optionmenu_filter_jump_target,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (optionmenu_filter_jump_target);
  gtk_container_add (GTK_CONTAINER (frame28), optionmenu_filter_jump_target);
  optionmenu_filter_jump_target_menu = gtk_menu_new ();
  glade_menuitem = gtk_menu_item_new_with_label ("");
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu_filter_jump_target_menu), glade_menuitem);
  gtk_option_menu_set_menu (GTK_OPTION_MENU (optionmenu_filter_jump_target), optionmenu_filter_jump_target_menu);

  vbox63 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox63, "vbox63");
  gtk_widget_ref (vbox63);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vbox63", vbox63,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox63);
  gtk_box_pack_start (GTK_BOX (hbox114), vbox63, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (vbox63), 2);

  hbox141 = gtk_hbox_new (FALSE, 2);
  gtk_widget_set_name (hbox141, "hbox141");
  gtk_widget_ref (hbox141);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox141", hbox141,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox141);
  gtk_box_pack_start (GTK_BOX (vbox63), hbox141, FALSE, TRUE, 4);
  gtk_container_set_border_width (GTK_CONTAINER (hbox141), 4);

  button8 = gtk_button_new_with_label (_("Save"));
  gtk_widget_set_name (button8, "button8");
  gtk_widget_ref (button8);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button8", button8,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button8);
  gtk_box_pack_start (GTK_BOX (hbox141), button8, TRUE, TRUE, 0);

  button9 = gtk_button_new_with_label (_("Remove"));
  gtk_widget_set_name (button9, "button9");
  gtk_widget_ref (button9);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button9", button9,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button9);
  gtk_box_pack_start (GTK_BOX (hbox141), button9, TRUE, TRUE, 0);

  button19 = gtk_button_new_with_label (_("Abort"));
  gtk_widget_set_name (button19, "button19");
  gtk_widget_ref (button19);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button19", button19,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button19);
  gtk_box_pack_start (GTK_BOX (hbox141), button19, TRUE, TRUE, 0);

  vseparator13 = gtk_vseparator_new ();
  gtk_widget_set_name (vseparator13, "vseparator13");
  gtk_widget_ref (vseparator13);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vseparator13", vseparator13,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vseparator13);
  gtk_box_pack_start (GTK_BOX (hbox141), vseparator13, TRUE, TRUE, 0);

  button_filter_jump_reset = gtk_button_new_with_label ("");
  button_filter_jump_reset_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (button_filter_jump_reset)->child),
                                   _("_Reset stats"));
  gtk_widget_add_accelerator (button_filter_jump_reset, "clicked", accel_group,
                              button_filter_jump_reset_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (button_filter_jump_reset, "button_filter_jump_reset");
  gtk_widget_ref (button_filter_jump_reset);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button_filter_jump_reset", button_filter_jump_reset,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_filter_jump_reset);
  gtk_box_pack_start (GTK_BOX (hbox141), button_filter_jump_reset, TRUE, TRUE, 0);

  label728 = gtk_label_new (_("[Jump]"));
  gtk_widget_set_name (label728, "label728");
  gtk_widget_ref (label728);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label728", label728,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label728);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_filter_detail), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_filter_detail), 4), label728);

  vbox64 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox64, "vbox64");
  gtk_widget_ref (vbox64);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vbox64", vbox64,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox64);
  gtk_container_add (GTK_CONTAINER (notebook_filter_detail), vbox64);

  alignment20 = gtk_alignment_new (0.5, 0, 1, 1);
  gtk_widget_set_name (alignment20, "alignment20");
  gtk_widget_ref (alignment20);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "alignment20", alignment20,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (alignment20);
  gtk_box_pack_start (GTK_BOX (vbox64), alignment20, TRUE, TRUE, 0);

  hbox126 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox126, "hbox126");
  gtk_widget_ref (hbox126);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox126", hbox126,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox126);
  gtk_container_add (GTK_CONTAINER (alignment20), hbox126);

  frame35 = gtk_frame_new (_("Flags"));
  gtk_widget_set_name (frame35, "frame35");
  gtk_widget_ref (frame35);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "frame35", frame35,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame35);
  gtk_box_pack_start (GTK_BOX (hbox126), frame35, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame35), 2);

  vbox65 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox65, "vbox65");
  gtk_widget_ref (vbox65);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vbox65", vbox65,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox65);
  gtk_container_add (GTK_CONTAINER (frame35), vbox65);

  checkbutton_filter_sha1_invert_cond = gtk_check_button_new_with_label (_("invert condition"));
  gtk_widget_set_name (checkbutton_filter_sha1_invert_cond, "checkbutton_filter_sha1_invert_cond");
  gtk_widget_ref (checkbutton_filter_sha1_invert_cond);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "checkbutton_filter_sha1_invert_cond", checkbutton_filter_sha1_invert_cond,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_box_pack_start (GTK_BOX (vbox65), checkbutton_filter_sha1_invert_cond, FALSE, FALSE, 0);

  checkbutton_filter_sha1_active = gtk_check_button_new_with_label (_("active"));
  gtk_widget_set_name (checkbutton_filter_sha1_active, "checkbutton_filter_sha1_active");
  gtk_widget_ref (checkbutton_filter_sha1_active);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "checkbutton_filter_sha1_active", checkbutton_filter_sha1_active,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_filter_sha1_active);
  gtk_box_pack_start (GTK_BOX (vbox65), checkbutton_filter_sha1_active, FALSE, FALSE, 0);
  gtk_widget_set_sensitive (checkbutton_filter_sha1_active, FALSE);

  checkbutton_filter_sha1_soft = gtk_check_button_new_with_label (_("mark only"));
  gtk_widget_set_name (checkbutton_filter_sha1_soft, "checkbutton_filter_sha1_soft");
  gtk_widget_ref (checkbutton_filter_sha1_soft);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "checkbutton_filter_sha1_soft", checkbutton_filter_sha1_soft,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_box_pack_start (GTK_BOX (vbox65), checkbutton_filter_sha1_soft, FALSE, FALSE, 0);

  frame36 = gtk_frame_new (_("Condition: If urn:sha1 matches"));
  gtk_widget_set_name (frame36, "frame36");
  gtk_widget_ref (frame36);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "frame36", frame36,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame36);
  gtk_box_pack_start (GTK_BOX (hbox126), frame36, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame36), 2);

  hbox127 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox127, "hbox127");
  gtk_widget_ref (hbox127);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox127", hbox127,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox127);
  gtk_container_add (GTK_CONTAINER (frame36), hbox127);

  table25 = gtk_table_new (3, 1, FALSE);
  gtk_widget_set_name (table25, "table25");
  gtk_widget_ref (table25);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "table25", table25,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table25);
  gtk_box_pack_start (GTK_BOX (hbox127), table25, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (table25), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table25), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table25), 4);

  label226 = gtk_label_new (_("SHA1 hash (not editable, add from search popup)"));
  gtk_widget_set_name (label226, "label226");
  gtk_widget_ref (label226);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label226", label226,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label226);
  gtk_table_attach (GTK_TABLE (table25), label226, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label226), 0, 0.5);

  entry_filter_sha1_hash = gtk_entry_new ();
  gtk_widget_set_name (entry_filter_sha1_hash, "entry_filter_sha1_hash");
  gtk_widget_ref (entry_filter_sha1_hash);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "entry_filter_sha1_hash", entry_filter_sha1_hash,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_filter_sha1_hash);
  gtk_table_attach (GTK_TABLE (table25), entry_filter_sha1_hash, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_entry_set_editable (GTK_ENTRY (entry_filter_sha1_hash), FALSE);

  hbox132 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox132, "hbox132");
  gtk_widget_ref (hbox132);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox132", hbox132,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox132);
  gtk_table_attach (GTK_TABLE (table25), hbox132, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  label245 = gtk_label_new (_("Originally obtained from"));
  gtk_widget_set_name (label245, "label245");
  gtk_widget_ref (label245);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label245", label245,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label245);
  gtk_box_pack_start (GTK_BOX (hbox132), label245, FALSE, FALSE, 0);

  entry_filter_sha1_origfile = gtk_entry_new ();
  gtk_widget_set_name (entry_filter_sha1_origfile, "entry_filter_sha1_origfile");
  gtk_widget_ref (entry_filter_sha1_origfile);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "entry_filter_sha1_origfile", entry_filter_sha1_origfile,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_filter_sha1_origfile);
  gtk_box_pack_start (GTK_BOX (hbox132), entry_filter_sha1_origfile, TRUE, TRUE, 0);
  gtk_entry_set_editable (GTK_ENTRY (entry_filter_sha1_origfile), FALSE);

  hbox128 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox128, "hbox128");
  gtk_widget_ref (hbox128);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox128", hbox128,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox128);
  gtk_box_pack_start (GTK_BOX (vbox64), hbox128, FALSE, FALSE, 0);

  frame37 = gtk_frame_new (_("Target"));
  gtk_widget_set_name (frame37, "frame37");
  gtk_widget_ref (frame37);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "frame37", frame37,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame37);
  gtk_box_pack_start (GTK_BOX (hbox128), frame37, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame37), 2);

  optionmenu_filter_sha1_target = gtk_option_menu_new ();
  gtk_widget_set_name (optionmenu_filter_sha1_target, "optionmenu_filter_sha1_target");
  gtk_widget_ref (optionmenu_filter_sha1_target);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "optionmenu_filter_sha1_target", optionmenu_filter_sha1_target,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (optionmenu_filter_sha1_target);
  gtk_container_add (GTK_CONTAINER (frame37), optionmenu_filter_sha1_target);
  gtk_widget_set_sensitive (optionmenu_filter_sha1_target, FALSE);
  optionmenu_filter_sha1_target_menu = gtk_menu_new ();
  glade_menuitem = gtk_menu_item_new_with_label ("");
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu_filter_sha1_target_menu), glade_menuitem);
  gtk_option_menu_set_menu (GTK_OPTION_MENU (optionmenu_filter_sha1_target), optionmenu_filter_sha1_target_menu);

  vbox66 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox66, "vbox66");
  gtk_widget_ref (vbox66);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vbox66", vbox66,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox66);
  gtk_box_pack_start (GTK_BOX (hbox128), vbox66, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (vbox66), 2);

  hbox142 = gtk_hbox_new (FALSE, 2);
  gtk_widget_set_name (hbox142, "hbox142");
  gtk_widget_ref (hbox142);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox142", hbox142,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox142);
  gtk_box_pack_start (GTK_BOX (vbox66), hbox142, FALSE, TRUE, 4);
  gtk_container_set_border_width (GTK_CONTAINER (hbox142), 4);

  button10 = gtk_button_new_with_label (_("Save"));
  gtk_widget_set_name (button10, "button10");
  gtk_widget_ref (button10);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button10", button10,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button10);
  gtk_box_pack_start (GTK_BOX (hbox142), button10, TRUE, TRUE, 0);

  button11 = gtk_button_new_with_label (_("Remove"));
  gtk_widget_set_name (button11, "button11");
  gtk_widget_ref (button11);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button11", button11,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button11);
  gtk_box_pack_start (GTK_BOX (hbox142), button11, TRUE, TRUE, 0);

  button20 = gtk_button_new_with_label (_("Abort"));
  gtk_widget_set_name (button20, "button20");
  gtk_widget_ref (button20);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button20", button20,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button20);
  gtk_box_pack_start (GTK_BOX (hbox142), button20, TRUE, TRUE, 0);

  vseparator14 = gtk_vseparator_new ();
  gtk_widget_set_name (vseparator14, "vseparator14");
  gtk_widget_ref (vseparator14);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vseparator14", vseparator14,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vseparator14);
  gtk_box_pack_start (GTK_BOX (hbox142), vseparator14, TRUE, TRUE, 0);

  button_filter_sha1_reset = gtk_button_new_with_label ("");
  button_filter_sha1_reset_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (button_filter_sha1_reset)->child),
                                   _("_Reset stats"));
  gtk_widget_add_accelerator (button_filter_sha1_reset, "clicked", accel_group,
                              button_filter_sha1_reset_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (button_filter_sha1_reset, "button_filter_sha1_reset");
  gtk_widget_ref (button_filter_sha1_reset);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button_filter_sha1_reset", button_filter_sha1_reset,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_filter_sha1_reset);
  gtk_box_pack_start (GTK_BOX (hbox142), button_filter_sha1_reset, TRUE, TRUE, 0);

  label729 = gtk_label_new (_("[SHA1]"));
  gtk_widget_set_name (label729, "label729");
  gtk_widget_ref (label729);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label729", label729,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label729);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_filter_detail), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_filter_detail), 5), label729);

  vbox68 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox68, "vbox68");
  gtk_widget_ref (vbox68);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vbox68", vbox68,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox68);
  gtk_container_add (GTK_CONTAINER (notebook_filter_detail), vbox68);

  alignment21 = gtk_alignment_new (0.5, 0, 1, 1);
  gtk_widget_set_name (alignment21, "alignment21");
  gtk_widget_ref (alignment21);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "alignment21", alignment21,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (alignment21);
  gtk_box_pack_start (GTK_BOX (vbox68), alignment21, TRUE, TRUE, 0);

  hbox129 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox129, "hbox129");
  gtk_widget_ref (hbox129);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox129", hbox129,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox129);
  gtk_container_add (GTK_CONTAINER (alignment21), hbox129);

  frame38 = gtk_frame_new (_("Flags"));
  gtk_widget_set_name (frame38, "frame38");
  gtk_widget_ref (frame38);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "frame38", frame38,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame38);
  gtk_box_pack_start (GTK_BOX (hbox129), frame38, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame38), 2);

  vbox69 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox69, "vbox69");
  gtk_widget_ref (vbox69);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vbox69", vbox69,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox69);
  gtk_container_add (GTK_CONTAINER (frame38), vbox69);

  checkbutton_filter_flag_active = gtk_check_button_new_with_label (_("active"));
  gtk_widget_set_name (checkbutton_filter_flag_active, "checkbutton_filter_flag_active");
  gtk_widget_ref (checkbutton_filter_flag_active);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "checkbutton_filter_flag_active", checkbutton_filter_flag_active,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_filter_flag_active);
  gtk_box_pack_start (GTK_BOX (vbox69), checkbutton_filter_flag_active, FALSE, FALSE, 0);

  checkbutton_filter_flag_soft = gtk_check_button_new_with_label (_("mark only"));
  gtk_widget_set_name (checkbutton_filter_flag_soft, "checkbutton_filter_flag_soft");
  gtk_widget_ref (checkbutton_filter_flag_soft);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "checkbutton_filter_flag_soft", checkbutton_filter_flag_soft,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_filter_flag_soft);
  gtk_box_pack_start (GTK_BOX (vbox69), checkbutton_filter_flag_soft, FALSE, FALSE, 0);

  frame39 = gtk_frame_new (_("Condition: If result has flags"));
  gtk_widget_set_name (frame39, "frame39");
  gtk_widget_ref (frame39);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "frame39", frame39,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame39);
  gtk_box_pack_start (GTK_BOX (hbox129), frame39, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame39), 2);

  hbox130 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox130, "hbox130");
  gtk_widget_ref (hbox130);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox130", hbox130,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox130);
  gtk_container_add (GTK_CONTAINER (frame39), hbox130);

  table26 = gtk_table_new (3, 4, TRUE);
  gtk_widget_set_name (table26, "table26");
  gtk_widget_ref (table26);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "table26", table26,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table26);
  gtk_box_pack_start (GTK_BOX (hbox130), table26, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (table26), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table26), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table26), 4);

  label230 = gtk_label_new (_("Busy"));
  gtk_widget_set_name (label230, "label230");
  gtk_widget_ref (label230);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label230", label230,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label230);
  gtk_table_attach (GTK_TABLE (table26), label230, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label230), 0, 0.5);

  label231 = gtk_label_new (_("Push"));
  gtk_widget_set_name (label231, "label231");
  gtk_widget_ref (label231);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label231", label231,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label231);
  gtk_table_attach (GTK_TABLE (table26), label231, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label231), 0, 0.5);

  radiobutton_filter_flag_busy_unset = gtk_radio_button_new (filter_busy_group_group);
  filter_busy_group_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton_filter_flag_busy_unset));
  gtk_widget_set_name (radiobutton_filter_flag_busy_unset, "radiobutton_filter_flag_busy_unset");
  gtk_widget_ref (radiobutton_filter_flag_busy_unset);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "radiobutton_filter_flag_busy_unset", radiobutton_filter_flag_busy_unset,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (radiobutton_filter_flag_busy_unset);
  gtk_table_attach (GTK_TABLE (table26), radiobutton_filter_flag_busy_unset, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (radiobutton_filter_flag_busy_unset), FALSE);

  label241 = gtk_label_new (_("unset"));
  gtk_widget_set_name (label241, "label241");
  gtk_widget_ref (label241);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label241", label241,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label241);
  gtk_container_add (GTK_CONTAINER (radiobutton_filter_flag_busy_unset), label241);

  radiobutton_filter_flag_busy_ignore = gtk_radio_button_new (filter_busy_group_group);
  filter_busy_group_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton_filter_flag_busy_ignore));
  gtk_widget_set_name (radiobutton_filter_flag_busy_ignore, "radiobutton_filter_flag_busy_ignore");
  gtk_widget_ref (radiobutton_filter_flag_busy_ignore);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "radiobutton_filter_flag_busy_ignore", radiobutton_filter_flag_busy_ignore,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (radiobutton_filter_flag_busy_ignore);
  gtk_table_attach (GTK_TABLE (table26), radiobutton_filter_flag_busy_ignore, 3, 4, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (radiobutton_filter_flag_busy_ignore), FALSE);

  label242 = gtk_label_new (_("ignored"));
  gtk_widget_set_name (label242, "label242");
  gtk_widget_ref (label242);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label242", label242,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label242);
  gtk_container_add (GTK_CONTAINER (radiobutton_filter_flag_busy_ignore), label242);

  radiobutton_filter_flag_push_ignore = gtk_radio_button_new (filter_push_group_group);
  filter_push_group_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton_filter_flag_push_ignore));
  gtk_widget_set_name (radiobutton_filter_flag_push_ignore, "radiobutton_filter_flag_push_ignore");
  gtk_widget_ref (radiobutton_filter_flag_push_ignore);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "radiobutton_filter_flag_push_ignore", radiobutton_filter_flag_push_ignore,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (radiobutton_filter_flag_push_ignore);
  gtk_table_attach (GTK_TABLE (table26), radiobutton_filter_flag_push_ignore, 3, 4, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (radiobutton_filter_flag_push_ignore), FALSE);

  label243 = gtk_label_new (_("ignored"));
  gtk_widget_set_name (label243, "label243");
  gtk_widget_ref (label243);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label243", label243,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label243);
  gtk_container_add (GTK_CONTAINER (radiobutton_filter_flag_push_ignore), label243);

  radiobutton_filter_flag_push_unset = gtk_radio_button_new (filter_push_group_group);
  filter_push_group_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton_filter_flag_push_unset));
  gtk_widget_set_name (radiobutton_filter_flag_push_unset, "radiobutton_filter_flag_push_unset");
  gtk_widget_ref (radiobutton_filter_flag_push_unset);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "radiobutton_filter_flag_push_unset", radiobutton_filter_flag_push_unset,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (radiobutton_filter_flag_push_unset);
  gtk_table_attach (GTK_TABLE (table26), radiobutton_filter_flag_push_unset, 2, 3, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (radiobutton_filter_flag_push_unset), FALSE);

  label240 = gtk_label_new (_("unset"));
  gtk_widget_set_name (label240, "label240");
  gtk_widget_ref (label240);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label240", label240,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label240);
  gtk_container_add (GTK_CONTAINER (radiobutton_filter_flag_push_unset), label240);

  radiobutton_filter_flag_push_set = gtk_radio_button_new (filter_push_group_group);
  filter_push_group_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton_filter_flag_push_set));
  gtk_widget_set_name (radiobutton_filter_flag_push_set, "radiobutton_filter_flag_push_set");
  gtk_widget_ref (radiobutton_filter_flag_push_set);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "radiobutton_filter_flag_push_set", radiobutton_filter_flag_push_set,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (radiobutton_filter_flag_push_set);
  gtk_table_attach (GTK_TABLE (table26), radiobutton_filter_flag_push_set, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (radiobutton_filter_flag_push_set), FALSE);

  label237 = gtk_label_new (_("set"));
  gtk_widget_set_name (label237, "label237");
  gtk_widget_ref (label237);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label237", label237,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label237);
  gtk_container_add (GTK_CONTAINER (radiobutton_filter_flag_push_set), label237);

  radiobutton_filter_flag_busy_set = gtk_radio_button_new (filter_busy_group_group);
  filter_busy_group_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton_filter_flag_busy_set));
  gtk_widget_set_name (radiobutton_filter_flag_busy_set, "radiobutton_filter_flag_busy_set");
  gtk_widget_ref (radiobutton_filter_flag_busy_set);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "radiobutton_filter_flag_busy_set", radiobutton_filter_flag_busy_set,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (radiobutton_filter_flag_busy_set);
  gtk_table_attach (GTK_TABLE (table26), radiobutton_filter_flag_busy_set, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND), 0, 0);
  gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (radiobutton_filter_flag_busy_set), FALSE);

  label236 = gtk_label_new (_("set"));
  gtk_widget_set_name (label236, "label236");
  gtk_widget_ref (label236);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label236", label236,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label236);
  gtk_container_add (GTK_CONTAINER (radiobutton_filter_flag_busy_set), label236);

  label232 = gtk_label_new (_("Stable"));
  gtk_widget_set_name (label232, "label232");
  gtk_widget_ref (label232);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label232", label232,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label232);
  gtk_table_attach (GTK_TABLE (table26), label232, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label232), 0, 0.5);

  radiobutton_filter_flag_stable_set = gtk_radio_button_new (filter_stable_group_group);
  filter_stable_group_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton_filter_flag_stable_set));
  gtk_widget_set_name (radiobutton_filter_flag_stable_set, "radiobutton_filter_flag_stable_set");
  gtk_widget_ref (radiobutton_filter_flag_stable_set);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "radiobutton_filter_flag_stable_set", radiobutton_filter_flag_stable_set,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (radiobutton_filter_flag_stable_set);
  gtk_table_attach (GTK_TABLE (table26), radiobutton_filter_flag_stable_set, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (radiobutton_filter_flag_stable_set), FALSE);

  label238 = gtk_label_new (_("set"));
  gtk_widget_set_name (label238, "label238");
  gtk_widget_ref (label238);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label238", label238,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label238);
  gtk_container_add (GTK_CONTAINER (radiobutton_filter_flag_stable_set), label238);

  radiobutton_filter_flag_stable_unset = gtk_radio_button_new (filter_stable_group_group);
  filter_stable_group_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton_filter_flag_stable_unset));
  gtk_widget_set_name (radiobutton_filter_flag_stable_unset, "radiobutton_filter_flag_stable_unset");
  gtk_widget_ref (radiobutton_filter_flag_stable_unset);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "radiobutton_filter_flag_stable_unset", radiobutton_filter_flag_stable_unset,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (radiobutton_filter_flag_stable_unset);
  gtk_table_attach (GTK_TABLE (table26), radiobutton_filter_flag_stable_unset, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (radiobutton_filter_flag_stable_unset), FALSE);

  label239 = gtk_label_new (_("unset"));
  gtk_widget_set_name (label239, "label239");
  gtk_widget_ref (label239);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label239", label239,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label239);
  gtk_container_add (GTK_CONTAINER (radiobutton_filter_flag_stable_unset), label239);

  radiobutton_filter_flag_stable_ignore = gtk_radio_button_new (filter_stable_group_group);
  filter_stable_group_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton_filter_flag_stable_ignore));
  gtk_widget_set_name (radiobutton_filter_flag_stable_ignore, "radiobutton_filter_flag_stable_ignore");
  gtk_widget_ref (radiobutton_filter_flag_stable_ignore);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "radiobutton_filter_flag_stable_ignore", radiobutton_filter_flag_stable_ignore,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (radiobutton_filter_flag_stable_ignore);
  gtk_table_attach (GTK_TABLE (table26), radiobutton_filter_flag_stable_ignore, 3, 4, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (radiobutton_filter_flag_stable_ignore), FALSE);

  label244 = gtk_label_new (_("ignored"));
  gtk_widget_set_name (label244, "label244");
  gtk_widget_ref (label244);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label244", label244,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label244);
  gtk_container_add (GTK_CONTAINER (radiobutton_filter_flag_stable_ignore), label244);

  hbox131 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox131, "hbox131");
  gtk_widget_ref (hbox131);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox131", hbox131,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox131);
  gtk_box_pack_start (GTK_BOX (vbox68), hbox131, FALSE, FALSE, 0);

  frame40 = gtk_frame_new (_("Target"));
  gtk_widget_set_name (frame40, "frame40");
  gtk_widget_ref (frame40);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "frame40", frame40,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame40);
  gtk_box_pack_start (GTK_BOX (hbox131), frame40, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame40), 2);

  optionmenu_filter_flag_target = gtk_option_menu_new ();
  gtk_widget_set_name (optionmenu_filter_flag_target, "optionmenu_filter_flag_target");
  gtk_widget_ref (optionmenu_filter_flag_target);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "optionmenu_filter_flag_target", optionmenu_filter_flag_target,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (optionmenu_filter_flag_target);
  gtk_container_add (GTK_CONTAINER (frame40), optionmenu_filter_flag_target);
  optionmenu_filter_flag_target_menu = gtk_menu_new ();
  glade_menuitem = gtk_menu_item_new_with_label ("");
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu_filter_flag_target_menu), glade_menuitem);
  gtk_option_menu_set_menu (GTK_OPTION_MENU (optionmenu_filter_flag_target), optionmenu_filter_flag_target_menu);

  vbox70 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox70, "vbox70");
  gtk_widget_ref (vbox70);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vbox70", vbox70,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox70);
  gtk_box_pack_start (GTK_BOX (hbox131), vbox70, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (vbox70), 2);

  hbox143 = gtk_hbox_new (FALSE, 2);
  gtk_widget_set_name (hbox143, "hbox143");
  gtk_widget_ref (hbox143);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox143", hbox143,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox143);
  gtk_box_pack_start (GTK_BOX (vbox70), hbox143, FALSE, TRUE, 4);
  gtk_container_set_border_width (GTK_CONTAINER (hbox143), 4);

  button12 = gtk_button_new_with_label (_("Save"));
  gtk_widget_set_name (button12, "button12");
  gtk_widget_ref (button12);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button12", button12,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button12);
  gtk_box_pack_start (GTK_BOX (hbox143), button12, TRUE, TRUE, 0);

  button13 = gtk_button_new_with_label (_("Remove"));
  gtk_widget_set_name (button13, "button13");
  gtk_widget_ref (button13);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button13", button13,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button13);
  gtk_box_pack_start (GTK_BOX (hbox143), button13, TRUE, TRUE, 0);

  button21 = gtk_button_new_with_label (_("Abort"));
  gtk_widget_set_name (button21, "button21");
  gtk_widget_ref (button21);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button21", button21,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button21);
  gtk_box_pack_start (GTK_BOX (hbox143), button21, TRUE, TRUE, 0);

  vseparator8 = gtk_vseparator_new ();
  gtk_widget_set_name (vseparator8, "vseparator8");
  gtk_widget_ref (vseparator8);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vseparator8", vseparator8,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vseparator8);
  gtk_box_pack_start (GTK_BOX (hbox143), vseparator8, TRUE, TRUE, 0);

  button_filter_flag_reset = gtk_button_new_with_label ("");
  button_filter_flag_reset_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (button_filter_flag_reset)->child),
                                   _("_Reset stats"));
  gtk_widget_add_accelerator (button_filter_flag_reset, "clicked", accel_group,
                              button_filter_flag_reset_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (button_filter_flag_reset, "button_filter_flag_reset");
  gtk_widget_ref (button_filter_flag_reset);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button_filter_flag_reset", button_filter_flag_reset,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_filter_flag_reset);
  gtk_box_pack_start (GTK_BOX (hbox143), button_filter_flag_reset, TRUE, TRUE, 0);

  label730 = gtk_label_new (_("[Flags]"));
  gtk_widget_set_name (label730, "label730");
  gtk_widget_ref (label730);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label730", label730,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label730);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_filter_detail), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_filter_detail), 6), label730);

  vbox71 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox71, "vbox71");
  gtk_widget_ref (vbox71);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vbox71", vbox71,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox71);
  gtk_container_add (GTK_CONTAINER (notebook_filter_detail), vbox71);

  alignment22 = gtk_alignment_new (0.5, 0, 1, 1);
  gtk_widget_set_name (alignment22, "alignment22");
  gtk_widget_ref (alignment22);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "alignment22", alignment22,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (alignment22);
  gtk_box_pack_start (GTK_BOX (vbox71), alignment22, TRUE, TRUE, 0);

  hbox133 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox133, "hbox133");
  gtk_widget_ref (hbox133);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox133", hbox133,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox133);
  gtk_container_add (GTK_CONTAINER (alignment22), hbox133);

  frame41 = gtk_frame_new (_("Flags"));
  gtk_widget_set_name (frame41, "frame41");
  gtk_widget_ref (frame41);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "frame41", frame41,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame41);
  gtk_box_pack_start (GTK_BOX (hbox133), frame41, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame41), 2);

  vbox74 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox74, "vbox74");
  gtk_widget_ref (vbox74);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vbox74", vbox74,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox74);
  gtk_container_add (GTK_CONTAINER (frame41), vbox74);

  checkbutton_filter_state_invert_cond = gtk_check_button_new_with_label (_("invert condition"));
  gtk_widget_set_name (checkbutton_filter_state_invert_cond, "checkbutton_filter_state_invert_cond");
  gtk_widget_ref (checkbutton_filter_state_invert_cond);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "checkbutton_filter_state_invert_cond", checkbutton_filter_state_invert_cond,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_filter_state_invert_cond);
  gtk_box_pack_start (GTK_BOX (vbox74), checkbutton_filter_state_invert_cond, FALSE, FALSE, 0);

  checkbutton_filter_state_active = gtk_check_button_new_with_label (_("active"));
  gtk_widget_set_name (checkbutton_filter_state_active, "checkbutton_filter_state_active");
  gtk_widget_ref (checkbutton_filter_state_active);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "checkbutton_filter_state_active", checkbutton_filter_state_active,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_filter_state_active);
  gtk_box_pack_start (GTK_BOX (vbox74), checkbutton_filter_state_active, FALSE, FALSE, 0);

  checkbutton_filter_state_soft = gtk_check_button_new_with_label (_("mark only"));
  gtk_widget_set_name (checkbutton_filter_state_soft, "checkbutton_filter_state_soft");
  gtk_widget_ref (checkbutton_filter_state_soft);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "checkbutton_filter_state_soft", checkbutton_filter_state_soft,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_filter_state_soft);
  gtk_box_pack_start (GTK_BOX (vbox74), checkbutton_filter_state_soft, FALSE, FALSE, 0);

  frame42 = gtk_frame_new (_("Condition: If current filter result properties match"));
  gtk_widget_set_name (frame42, "frame42");
  gtk_widget_ref (frame42);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "frame42", frame42,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame42);
  gtk_box_pack_start (GTK_BOX (hbox133), frame42, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame42), 2);

  alignment23 = gtk_alignment_new (0, 7.45058e-09, 1, 0);
  gtk_widget_set_name (alignment23, "alignment23");
  gtk_widget_ref (alignment23);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "alignment23", alignment23,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (alignment23);
  gtk_container_add (GTK_CONTAINER (frame42), alignment23);

  table27 = gtk_table_new (2, 5, FALSE);
  gtk_widget_set_name (table27, "table27");
  gtk_widget_ref (table27);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "table27", table27,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table27);
  gtk_container_add (GTK_CONTAINER (alignment23), table27);
  gtk_container_set_border_width (GTK_CONTAINER (table27), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table27), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table27), 4);

  label249 = gtk_label_new (_("DOWNLOAD"));
  gtk_widget_set_name (label249, "label249");
  gtk_widget_ref (label249);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label249", label249,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label249);
  gtk_table_attach (GTK_TABLE (table27), label249, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label249), 0, 0.5);

  radiobutton_filter_state_download_dont = gtk_radio_button_new (filter_download_group_group);
  filter_download_group_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton_filter_state_download_dont));
  gtk_widget_set_name (radiobutton_filter_state_download_dont, "radiobutton_filter_state_download_dont");
  gtk_widget_ref (radiobutton_filter_state_download_dont);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "radiobutton_filter_state_download_dont", radiobutton_filter_state_download_dont,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (radiobutton_filter_state_download_dont);
  gtk_table_attach (GTK_TABLE (table27), radiobutton_filter_state_download_dont, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (radiobutton_filter_state_download_dont), FALSE);

  label251 = gtk_label_new (_("don't"));
  gtk_widget_set_name (label251, "label251");
  gtk_widget_ref (label251);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label251", label251,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label251);
  gtk_container_add (GTK_CONTAINER (radiobutton_filter_state_download_dont), label251);

  radiobutton_filter_state_download_undef = gtk_radio_button_new (filter_download_group_group);
  filter_download_group_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton_filter_state_download_undef));
  gtk_widget_set_name (radiobutton_filter_state_download_undef, "radiobutton_filter_state_download_undef");
  gtk_widget_ref (radiobutton_filter_state_download_undef);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "radiobutton_filter_state_download_undef", radiobutton_filter_state_download_undef,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (radiobutton_filter_state_download_undef);
  gtk_table_attach (GTK_TABLE (table27), radiobutton_filter_state_download_undef, 3, 4, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (radiobutton_filter_state_download_undef), FALSE);

  label252 = gtk_label_new (_("undefined"));
  gtk_widget_set_name (label252, "label252");
  gtk_widget_ref (label252);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label252", label252,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label252);
  gtk_container_add (GTK_CONTAINER (radiobutton_filter_state_download_undef), label252);

  label257 = gtk_label_new (_("DISPLAY"));
  gtk_widget_set_name (label257, "label257");
  gtk_widget_ref (label257);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label257", label257,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label257);
  gtk_table_attach (GTK_TABLE (table27), label257, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label257), 0, 0.5);

  radiobutton_filter_state_download_do = gtk_radio_button_new (filter_download_group_group);
  filter_download_group_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton_filter_state_download_do));
  gtk_widget_set_name (radiobutton_filter_state_download_do, "radiobutton_filter_state_download_do");
  gtk_widget_ref (radiobutton_filter_state_download_do);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "radiobutton_filter_state_download_do", radiobutton_filter_state_download_do,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (radiobutton_filter_state_download_do);
  gtk_table_attach (GTK_TABLE (table27), radiobutton_filter_state_download_do, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (radiobutton_filter_state_download_do), FALSE);

  label256 = gtk_label_new (_("do"));
  gtk_widget_set_name (label256, "label256");
  gtk_widget_ref (label256);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label256", label256,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label256);
  gtk_container_add (GTK_CONTAINER (radiobutton_filter_state_download_do), label256);

  radiobutton_filter_state_display_do = gtk_radio_button_new (filter_display_group_group);
  filter_display_group_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton_filter_state_display_do));
  gtk_widget_set_name (radiobutton_filter_state_display_do, "radiobutton_filter_state_display_do");
  gtk_widget_ref (radiobutton_filter_state_display_do);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "radiobutton_filter_state_display_do", radiobutton_filter_state_display_do,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (radiobutton_filter_state_display_do);
  gtk_table_attach (GTK_TABLE (table27), radiobutton_filter_state_display_do, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (radiobutton_filter_state_display_do), FALSE);

  label258 = gtk_label_new (_("do"));
  gtk_widget_set_name (label258, "label258");
  gtk_widget_ref (label258);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label258", label258,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label258);
  gtk_container_add (GTK_CONTAINER (radiobutton_filter_state_display_do), label258);

  radiobutton_filter_state_display_dont = gtk_radio_button_new (filter_display_group_group);
  filter_display_group_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton_filter_state_display_dont));
  gtk_widget_set_name (radiobutton_filter_state_display_dont, "radiobutton_filter_state_display_dont");
  gtk_widget_ref (radiobutton_filter_state_display_dont);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "radiobutton_filter_state_display_dont", radiobutton_filter_state_display_dont,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (radiobutton_filter_state_display_dont);
  gtk_table_attach (GTK_TABLE (table27), radiobutton_filter_state_display_dont, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (radiobutton_filter_state_display_dont), FALSE);

  label259 = gtk_label_new (_("don't"));
  gtk_widget_set_name (label259, "label259");
  gtk_widget_ref (label259);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label259", label259,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label259);
  gtk_container_add (GTK_CONTAINER (radiobutton_filter_state_display_dont), label259);

  radiobutton_filter_state_display_undef = gtk_radio_button_new (filter_display_group_group);
  filter_display_group_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton_filter_state_display_undef));
  gtk_widget_set_name (radiobutton_filter_state_display_undef, "radiobutton_filter_state_display_undef");
  gtk_widget_ref (radiobutton_filter_state_display_undef);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "radiobutton_filter_state_display_undef", radiobutton_filter_state_display_undef,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (radiobutton_filter_state_display_undef);
  gtk_table_attach (GTK_TABLE (table27), radiobutton_filter_state_display_undef, 3, 4, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (radiobutton_filter_state_display_undef), FALSE);

  label260 = gtk_label_new (_("undefined"));
  gtk_widget_set_name (label260, "label260");
  gtk_widget_ref (label260);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label260", label260,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label260);
  gtk_container_add (GTK_CONTAINER (radiobutton_filter_state_display_undef), label260);

  radiobutton_filter_state_display_ignore = gtk_radio_button_new (filter_display_group_group);
  filter_display_group_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton_filter_state_display_ignore));
  gtk_widget_set_name (radiobutton_filter_state_display_ignore, "radiobutton_filter_state_display_ignore");
  gtk_widget_ref (radiobutton_filter_state_display_ignore);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "radiobutton_filter_state_display_ignore", radiobutton_filter_state_display_ignore,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (radiobutton_filter_state_display_ignore);
  gtk_table_attach (GTK_TABLE (table27), radiobutton_filter_state_display_ignore, 4, 5, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (radiobutton_filter_state_display_ignore), FALSE);

  label261 = gtk_label_new (_("ignore"));
  gtk_widget_set_name (label261, "label261");
  gtk_widget_ref (label261);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label261", label261,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label261);
  gtk_container_add (GTK_CONTAINER (radiobutton_filter_state_display_ignore), label261);

  radiobutton_filter_state_download_ignore = gtk_radio_button_new (filter_download_group_group);
  filter_download_group_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton_filter_state_download_ignore));
  gtk_widget_set_name (radiobutton_filter_state_download_ignore, "radiobutton_filter_state_download_ignore");
  gtk_widget_ref (radiobutton_filter_state_download_ignore);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "radiobutton_filter_state_download_ignore", radiobutton_filter_state_download_ignore,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (radiobutton_filter_state_download_ignore);
  gtk_table_attach (GTK_TABLE (table27), radiobutton_filter_state_download_ignore, 4, 5, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_toggle_button_set_mode (GTK_TOGGLE_BUTTON (radiobutton_filter_state_download_ignore), FALSE);

  label262 = gtk_label_new (_("ignore"));
  gtk_widget_set_name (label262, "label262");
  gtk_widget_ref (label262);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label262", label262,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label262);
  gtk_container_add (GTK_CONTAINER (radiobutton_filter_state_download_ignore), label262);

  hbox136 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox136, "hbox136");
  gtk_widget_ref (hbox136);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox136", hbox136,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox136);
  gtk_box_pack_start (GTK_BOX (vbox71), hbox136, FALSE, TRUE, 0);

  frame43 = gtk_frame_new (_("Target"));
  gtk_widget_set_name (frame43, "frame43");
  gtk_widget_ref (frame43);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "frame43", frame43,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame43);
  gtk_box_pack_start (GTK_BOX (hbox136), frame43, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame43), 2);

  optionmenu_filter_state_target = gtk_option_menu_new ();
  gtk_widget_set_name (optionmenu_filter_state_target, "optionmenu_filter_state_target");
  gtk_widget_ref (optionmenu_filter_state_target);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "optionmenu_filter_state_target", optionmenu_filter_state_target,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (optionmenu_filter_state_target);
  gtk_container_add (GTK_CONTAINER (frame43), optionmenu_filter_state_target);
  optionmenu_filter_state_target_menu = gtk_menu_new ();
  glade_menuitem = gtk_menu_item_new_with_label ("");
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu_filter_state_target_menu), glade_menuitem);
  gtk_option_menu_set_menu (GTK_OPTION_MENU (optionmenu_filter_state_target), optionmenu_filter_state_target_menu);

  vbox73 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox73, "vbox73");
  gtk_widget_ref (vbox73);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vbox73", vbox73,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox73);
  gtk_box_pack_start (GTK_BOX (hbox136), vbox73, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (vbox73), 2);

  hbox144 = gtk_hbox_new (FALSE, 2);
  gtk_widget_set_name (hbox144, "hbox144");
  gtk_widget_ref (hbox144);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox144", hbox144,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox144);
  gtk_box_pack_start (GTK_BOX (vbox73), hbox144, FALSE, TRUE, 4);
  gtk_container_set_border_width (GTK_CONTAINER (hbox144), 4);

  button14 = gtk_button_new_with_label (_("Save"));
  gtk_widget_set_name (button14, "button14");
  gtk_widget_ref (button14);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button14", button14,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button14);
  gtk_box_pack_start (GTK_BOX (hbox144), button14, TRUE, TRUE, 0);

  button15 = gtk_button_new_with_label (_("Remove"));
  gtk_widget_set_name (button15, "button15");
  gtk_widget_ref (button15);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button15", button15,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button15);
  gtk_box_pack_start (GTK_BOX (hbox144), button15, TRUE, TRUE, 0);

  button22 = gtk_button_new_with_label (_("Abort"));
  gtk_widget_set_name (button22, "button22");
  gtk_widget_ref (button22);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button22", button22,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button22);
  gtk_box_pack_start (GTK_BOX (hbox144), button22, TRUE, TRUE, 0);

  vseparator9 = gtk_vseparator_new ();
  gtk_widget_set_name (vseparator9, "vseparator9");
  gtk_widget_ref (vseparator9);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "vseparator9", vseparator9,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vseparator9);
  gtk_box_pack_start (GTK_BOX (hbox144), vseparator9, TRUE, TRUE, 0);

  button_filter_state_reset = gtk_button_new_with_label ("");
  button_filter_state_reset_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (button_filter_state_reset)->child),
                                   _("_Reset stats"));
  gtk_widget_add_accelerator (button_filter_state_reset, "clicked", accel_group,
                              button_filter_state_reset_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (button_filter_state_reset, "button_filter_state_reset");
  gtk_widget_ref (button_filter_state_reset);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button_filter_state_reset", button_filter_state_reset,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_filter_state_reset);
  gtk_box_pack_start (GTK_BOX (hbox144), button_filter_state_reset, TRUE, TRUE, 0);

  label731 = gtk_label_new (_("[State]"));
  gtk_widget_set_name (label731, "label731");
  gtk_widget_ref (label731);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "label731", label731,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label731);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_filter_detail), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_filter_detail), 7), label731);

  hseparator5 = gtk_hseparator_new ();
  gtk_widget_set_name (hseparator5, "hseparator5");
  gtk_widget_ref (hseparator5);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hseparator5", hseparator5,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hseparator5);
  gtk_box_pack_start (GTK_BOX (vbox_filter_main), hseparator5, FALSE, TRUE, 4);

  hbox103 = gtk_hbox_new (TRUE, 4);
  gtk_widget_set_name (hbox103, "hbox103");
  gtk_widget_ref (hbox103);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "hbox103", hbox103,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox103);
  gtk_box_pack_start (GTK_BOX (vbox_filter_main), hbox103, FALSE, TRUE, 0);

  button_filter_apply = gtk_button_new_with_label (_("Apply"));
  gtk_widget_set_name (button_filter_apply, "button_filter_apply");
  gtk_widget_ref (button_filter_apply);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button_filter_apply", button_filter_apply,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_filter_apply);
  gtk_box_pack_start (GTK_BOX (hbox103), button_filter_apply, FALSE, TRUE, 0);
  GTK_WIDGET_SET_FLAGS (button_filter_apply, GTK_CAN_DEFAULT);

  button_filter_revert = gtk_button_new_with_label (_("Revert"));
  gtk_widget_set_name (button_filter_revert, "button_filter_revert");
  gtk_widget_ref (button_filter_revert);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button_filter_revert", button_filter_revert,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_filter_revert);
  gtk_box_pack_start (GTK_BOX (hbox103), button_filter_revert, FALSE, TRUE, 0);
  GTK_WIDGET_SET_FLAGS (button_filter_revert, GTK_CAN_DEFAULT);

  button_filter_ok = gtk_button_new_with_label (_("Ok"));
  gtk_widget_set_name (button_filter_ok, "button_filter_ok");
  gtk_widget_ref (button_filter_ok);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button_filter_ok", button_filter_ok,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_filter_ok);
  gtk_box_pack_start (GTK_BOX (hbox103), button_filter_ok, FALSE, TRUE, 0);
  GTK_WIDGET_SET_FLAGS (button_filter_ok, GTK_CAN_DEFAULT);

  button_filter_cancel = gtk_button_new_with_label (_("Cancel"));
  gtk_widget_set_name (button_filter_cancel, "button_filter_cancel");
  gtk_widget_ref (button_filter_cancel);
  gtk_object_set_data_full (GTK_OBJECT (dlg_filters), "button_filter_cancel", button_filter_cancel,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_filter_cancel);
  gtk_box_pack_start (GTK_BOX (hbox103), button_filter_cancel, FALSE, TRUE, 0);
  GTK_WIDGET_SET_FLAGS (button_filter_cancel, GTK_CAN_DEFAULT);

  gtk_signal_connect (GTK_OBJECT (dlg_filters), "delete_event",
                      GTK_SIGNAL_FUNC (on_dlg_filters_delete_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_filter_new), "activate",
                      GTK_SIGNAL_FUNC (on_entry_filter_new_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_filter_create), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_create_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (ctree_filter_filters), "tree_select_row",
                      GTK_SIGNAL_FUNC (on_ctree_filter_filters_tree_select_row),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (ctree_filter_filters), "resize_column",
                      GTK_SIGNAL_FUNC (on_ctree_filter_filters_resize_column),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (checkbutton_filter_enabled), "toggled",
                      GTK_SIGNAL_FUNC (on_checkbutton_filter_enabled_toggled),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_filter_remove), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_remove_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_filter_rules), "unselect_row",
                      GTK_SIGNAL_FUNC (on_clist_filter_rules_unselect_row),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_filter_rules), "resize_column",
                      GTK_SIGNAL_FUNC (on_clist_filter_rules_resize_column),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_filter_rules), "drag_end",
                      GTK_SIGNAL_FUNC (on_clist_filter_rules_drag_end),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_filter_rules), "select_row",
                      GTK_SIGNAL_FUNC (on_clist_filter_rules_select_row),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_filter_rules), "button_press_event",
                      GTK_SIGNAL_FUNC (on_clist_filter_rules_button_press_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_filter_clear), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_clear_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_filter_reset_all_rules), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_reset_all_rules_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_filter_reset), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_reset_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_filter_reset_all), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_reset_all_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_filter_add_rule_text), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_add_rule_text_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_filter_add_rule_size), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_add_rule_size_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_filter_add_rule_flag), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_add_rule_flag_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_filter_add_rule_jump), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_add_rule_jump_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_filter_add_rule_ip), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_add_rule_ip_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_filter_add_rule_state), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_add_rule_state_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_filter_text_add), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_add_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_filter_text_remove), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_remove_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button16), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_abort_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_filter_text_reset), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_reset_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button4), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_add_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button5), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_remove_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button17), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_abort_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_filter_ip_reset), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_reset_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_filter_size_min), "focus_out_event",
                      GTK_SIGNAL_FUNC (on_entry_filter_size_focus_out_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_filter_size_min), "key_press_event",
                      GTK_SIGNAL_FUNC (on_entry_filter_size_key_press_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_filter_size_max), "focus_out_event",
                      GTK_SIGNAL_FUNC (on_entry_filter_size_focus_out_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_filter_size_max), "key_press_event",
                      GTK_SIGNAL_FUNC (on_entry_filter_size_key_press_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button6), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_add_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button7), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_remove_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button18), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_abort_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_filter_size_reset), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_reset_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button8), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_add_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button9), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_remove_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button19), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_abort_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_filter_jump_reset), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_reset_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button10), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_add_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button11), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_remove_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button20), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_abort_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_filter_sha1_reset), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_reset_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button12), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_add_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button13), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_remove_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button21), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_abort_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_filter_flag_reset), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_reset_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button14), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_add_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button15), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_remove_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button22), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_abort_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_filter_state_reset), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_reset_rule_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_filter_apply), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_apply_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_filter_revert), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_revert_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_filter_ok), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_ok_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_filter_cancel), "clicked",
                      GTK_SIGNAL_FUNC (on_button_filter_cancel_clicked),
                      NULL);

  gtk_widget_grab_default (button_filter_ok);
  gtk_object_set_data (GTK_OBJECT (dlg_filters), "tooltips", tooltips);

  gtk_window_add_accel_group (GTK_WINDOW (dlg_filters), accel_group);

  return dlg_filters;
}

GtkWidget*
create_shutdown_window (void)
{
  GtkWidget *shutdown_window;
  GtkWidget *frame30;
  GtkWidget *vbox44;
  GtkWidget *label184;
  GtkWidget *label_shutdown_count;

  shutdown_window = gtk_window_new (GTK_WINDOW_DIALOG);
  gtk_widget_set_name (shutdown_window, "shutdown_window");
  gtk_object_set_data (GTK_OBJECT (shutdown_window), "shutdown_window", shutdown_window);
  gtk_window_set_title (GTK_WINDOW (shutdown_window), _("gtk-gnutella shutdown"));
  gtk_window_set_position (GTK_WINDOW (shutdown_window), GTK_WIN_POS_CENTER);
  gtk_window_set_policy (GTK_WINDOW (shutdown_window), FALSE, FALSE, FALSE);

  frame30 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame30, "frame30");
  gtk_widget_ref (frame30);
  gtk_object_set_data_full (GTK_OBJECT (shutdown_window), "frame30", frame30,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame30);
  gtk_container_add (GTK_CONTAINER (shutdown_window), frame30);
  gtk_container_set_border_width (GTK_CONTAINER (frame30), 6);

  vbox44 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox44, "vbox44");
  gtk_widget_ref (vbox44);
  gtk_object_set_data_full (GTK_OBJECT (shutdown_window), "vbox44", vbox44,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox44);
  gtk_container_add (GTK_CONTAINER (frame30), vbox44);
  gtk_container_set_border_width (GTK_CONTAINER (vbox44), 30);

  label184 = gtk_label_new (_("Gtk-Gnutella is shutting down.\nSending bye messages to peers.\n\nGrace time remaining:"));
  gtk_widget_set_name (label184, "label184");
  gtk_widget_ref (label184);
  gtk_object_set_data_full (GTK_OBJECT (shutdown_window), "label184", label184,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label184);
  gtk_box_pack_start (GTK_BOX (vbox44), label184, FALSE, FALSE, 0);

  label_shutdown_count = gtk_label_new (_("[time]"));
  gtk_widget_set_name (label_shutdown_count, "label_shutdown_count");
  gtk_widget_ref (label_shutdown_count);
  gtk_object_set_data_full (GTK_OBJECT (shutdown_window), "label_shutdown_count", label_shutdown_count,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_shutdown_count);
  gtk_box_pack_start (GTK_BOX (vbox44), label_shutdown_count, FALSE, FALSE, 0);

  gtk_signal_connect (GTK_OBJECT (shutdown_window), "delete_event",
                      GTK_SIGNAL_FUNC (gtk_true),
                      NULL);

  return shutdown_window;
}

GtkWidget*
create_dlg_about (void)
{
  GtkWidget *dlg_about;
  GtkWidget *vbox67;
  GtkWidget *frame44;
  GtkWidget *vbox98;
  GtkWidget *hbox170;
  GtkWidget *pixmap4;
  GtkWidget *label_about_title;
  GtkWidget *label_about_rcsid;
  GtkWidget *hseparator7;
  GtkWidget *hbox161;
  GtkWidget *table28;
  GtkWidget *label264;
  GtkWidget *label270;
  GtkWidget *label527;
  GtkWidget *label266;
  GtkWidget *label271;
  GtkWidget *label291;
  GtkWidget *vseparator5;
  GtkWidget *label292;
  GtkWidget *label272;
  GtkWidget *label267;
  GtkWidget *label265;
  GtkWidget *label273;
  GtkWidget *label528;
  GtkWidget *label_about_translation;
  GtkWidget *frame46;
  GtkWidget *scrolledwindow18;
  GtkWidget *textview_about_contributors;
  GtkWidget *vbox133;
  GtkWidget *label719;
  GtkWidget *label716;
  GtkWidget *label717;
  GtkWidget *label718;
  GtkWidget *hbox137;
  GtkWidget *hseparator9;
  GtkWidget *vbox134;
  GtkWidget *label700;
  GtkWidget *hseparator15;
  GtkWidget *button_about_close;
  GtkAccelGroup *accel_group;

  accel_group = gtk_accel_group_new ();

  dlg_about = gtk_window_new (GTK_WINDOW_DIALOG);
  gtk_widget_set_name (dlg_about, "dlg_about");
  gtk_object_set_data (GTK_OBJECT (dlg_about), "dlg_about", dlg_about);
  gtk_window_set_title (GTK_WINDOW (dlg_about), _("About gtk-gnutella"));
  gtk_window_set_position (GTK_WINDOW (dlg_about), GTK_WIN_POS_CENTER);

  vbox67 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox67, "vbox67");
  gtk_widget_ref (vbox67);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "vbox67", vbox67,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox67);
  gtk_container_add (GTK_CONTAINER (dlg_about), vbox67);

  frame44 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame44, "frame44");
  gtk_widget_ref (frame44);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "frame44", frame44,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame44);
  gtk_box_pack_start (GTK_BOX (vbox67), frame44, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame44), 10);

  vbox98 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox98, "vbox98");
  gtk_widget_ref (vbox98);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "vbox98", vbox98,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox98);
  gtk_container_add (GTK_CONTAINER (frame44), vbox98);
  gtk_container_set_border_width (GTK_CONTAINER (vbox98), 10);

  hbox170 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox170, "hbox170");
  gtk_widget_ref (hbox170);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "hbox170", hbox170,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox170);
  gtk_box_pack_start (GTK_BOX (vbox98), hbox170, TRUE, TRUE, 0);

  pixmap4 = create_pixmap (dlg_about, "icon.xpm");
  gtk_widget_set_name (pixmap4, "pixmap4");
  gtk_widget_ref (pixmap4);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "pixmap4", pixmap4,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (pixmap4);
  gtk_box_pack_start (GTK_BOX (hbox170), pixmap4, FALSE, TRUE, 0);
  gtk_pixmap_set_build_insensitive (GTK_PIXMAP (pixmap4), FALSE);

  label_about_title = gtk_label_new (_("[name and version]"));
  gtk_widget_set_name (label_about_title, "label_about_title");
  gtk_widget_ref (label_about_title);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "label_about_title", label_about_title,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_about_title);
  gtk_box_pack_start (GTK_BOX (hbox170), label_about_title, TRUE, TRUE, 0);

  label_about_rcsid = gtk_label_new (_("$Id: interface-glade.c 13990 2007-06-30 00:59:50Z cbiere $"));
  gtk_widget_set_name (label_about_rcsid, "label_about_rcsid");
  gtk_widget_ref (label_about_rcsid);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "label_about_rcsid", label_about_rcsid,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_box_pack_start (GTK_BOX (vbox98), label_about_rcsid, FALSE, FALSE, 0);

  hseparator7 = gtk_hseparator_new ();
  gtk_widget_set_name (hseparator7, "hseparator7");
  gtk_widget_ref (hseparator7);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "hseparator7", hseparator7,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hseparator7);
  gtk_box_pack_start (GTK_BOX (vbox67), hseparator7, FALSE, TRUE, 0);

  hbox161 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox161, "hbox161");
  gtk_widget_ref (hbox161);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "hbox161", hbox161,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox161);
  gtk_box_pack_start (GTK_BOX (vbox67), hbox161, FALSE, FALSE, 0);

  table28 = gtk_table_new (3, 5, FALSE);
  gtk_widget_set_name (table28, "table28");
  gtk_widget_ref (table28);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "table28", table28,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table28);
  gtk_box_pack_start (GTK_BOX (hbox161), table28, TRUE, TRUE, 4);
  gtk_container_set_border_width (GTK_CONTAINER (table28), 4);
  gtk_table_set_row_spacings (GTK_TABLE (table28), 2);

  label264 = gtk_label_new (_("Original author:"));
  gtk_widget_set_name (label264, "label264");
  gtk_widget_ref (label264);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "label264", label264,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label264);
  gtk_table_attach (GTK_TABLE (table28), label264, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label264), 0, 0.5);
  gtk_misc_set_padding (GTK_MISC (label264), 4, 0);

  label270 = gtk_label_new (_("Core development:"));
  gtk_widget_set_name (label270, "label270");
  gtk_widget_ref (label270);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "label270", label270,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label270);
  gtk_table_attach (GTK_TABLE (table28), label270, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label270), 0, 0.5);
  gtk_misc_set_padding (GTK_MISC (label270), 4, 0);

  label527 = gtk_label_new (_("PARQ development:"));
  gtk_widget_set_name (label527, "label527");
  gtk_widget_ref (label527);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "label527", label527,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label527);
  gtk_table_attach (GTK_TABLE (table28), label527, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label527), 0, 0.5);
  gtk_misc_set_padding (GTK_MISC (label527), 4, 0);

  label266 = gtk_label_new (_("Project leader:"));
  gtk_widget_set_name (label266, "label266");
  gtk_widget_ref (label266);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "label266", label266,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label266);
  gtk_table_attach (GTK_TABLE (table28), label266, 3, 4, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label266), 0, 0.5);

  label271 = gtk_label_new (_("GUI development:"));
  gtk_widget_set_name (label271, "label271");
  gtk_widget_ref (label271);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "label271", label271,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label271);
  gtk_table_attach (GTK_TABLE (table28), label271, 3, 4, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label271), 0, 0.5);

  label291 = gtk_label_new (_("Swarming development:"));
  gtk_widget_set_name (label291, "label291");
  gtk_widget_ref (label291);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "label291", label291,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label291);
  gtk_table_attach (GTK_TABLE (table28), label291, 3, 4, 2, 3,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label291), 0, 0.5);

  vseparator5 = gtk_vseparator_new ();
  gtk_widget_set_name (vseparator5, "vseparator5");
  gtk_widget_ref (vseparator5);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "vseparator5", vseparator5,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vseparator5);
  gtk_table_attach (GTK_TABLE (table28), vseparator5, 2, 3, 0, 3,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 4, 0);

  label292 = gtk_label_new (_("Vidar Madsen"));
  gtk_widget_set_name (label292, "label292");
  gtk_widget_ref (label292);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "label292", label292,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label292);
  gtk_table_attach (GTK_TABLE (table28), label292, 4, 5, 2, 3,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 4, 0);
  gtk_misc_set_alignment (GTK_MISC (label292), 0, 0.5);

  label272 = gtk_label_new (_("Richard Eckart"));
  gtk_widget_set_name (label272, "label272");
  gtk_widget_ref (label272);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "label272", label272,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label272);
  gtk_table_attach (GTK_TABLE (table28), label272, 4, 5, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 4, 0);
  gtk_misc_set_alignment (GTK_MISC (label272), 0, 0.5);

  label267 = gtk_label_new (_("Raphael Manfredi"));
  gtk_widget_set_name (label267, "label267");
  gtk_widget_ref (label267);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "label267", label267,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label267);
  gtk_table_attach (GTK_TABLE (table28), label267, 4, 5, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 4, 0);
  gtk_misc_set_alignment (GTK_MISC (label267), 0, 0.5);

  label265 = gtk_label_new (_("Yann Grossel"));
  gtk_widget_set_name (label265, "label265");
  gtk_widget_ref (label265);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "label265", label265,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label265);
  gtk_table_attach (GTK_TABLE (table28), label265, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 4, 0);
  gtk_misc_set_alignment (GTK_MISC (label265), 0, 0.5);

  label273 = gtk_label_new (_("Raphael Manfredi"));
  gtk_widget_set_name (label273, "label273");
  gtk_widget_ref (label273);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "label273", label273,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label273);
  gtk_table_attach (GTK_TABLE (table28), label273, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 4, 0);
  gtk_misc_set_alignment (GTK_MISC (label273), 0, 0.5);

  label528 = gtk_label_new (_("Jeroen Asselman"));
  gtk_widget_set_name (label528, "label528");
  gtk_widget_ref (label528);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "label528", label528,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label528);
  gtk_table_attach (GTK_TABLE (table28), label528, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 4, 0);
  gtk_misc_set_alignment (GTK_MISC (label528), 0, 0.5);

  label_about_translation = gtk_label_new ("");
  gtk_widget_set_name (label_about_translation, "label_about_translation");
  gtk_widget_ref (label_about_translation);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "label_about_translation", label_about_translation,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_about_translation);
  gtk_box_pack_start (GTK_BOX (vbox67), label_about_translation, FALSE, FALSE, 0);

  frame46 = gtk_frame_new (_("Contributors:"));
  gtk_widget_set_name (frame46, "frame46");
  gtk_widget_ref (frame46);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "frame46", frame46,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame46);
  gtk_box_pack_start (GTK_BOX (vbox67), frame46, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame46), 3);

  scrolledwindow18 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow18, "scrolledwindow18");
  gtk_widget_ref (scrolledwindow18);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "scrolledwindow18", scrolledwindow18,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow18);
  gtk_container_add (GTK_CONTAINER (frame46), scrolledwindow18);
  gtk_container_set_border_width (GTK_CONTAINER (scrolledwindow18), 2);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow18), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);

  textview_about_contributors = gtk_text_new (NULL, NULL);
  gtk_widget_set_name (textview_about_contributors, "textview_about_contributors");
  gtk_widget_ref (textview_about_contributors);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "textview_about_contributors", textview_about_contributors,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (textview_about_contributors);
  gtk_container_add (GTK_CONTAINER (scrolledwindow18), textview_about_contributors);
  gtk_widget_set_usize (textview_about_contributors, 240, 100);

  vbox133 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox133, "vbox133");
  gtk_widget_ref (vbox133);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "vbox133", vbox133,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox133);
  gtk_box_pack_start (GTK_BOX (vbox67), vbox133, FALSE, FALSE, 4);

  label719 = gtk_label_new (_("==> We are looking for people who want to contribute to this fine tool. <=="));
  gtk_widget_set_name (label719, "label719");
  gtk_widget_ref (label719);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "label719", label719,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label719);
  gtk_box_pack_start (GTK_BOX (vbox133), label719, FALSE, FALSE, 0);

  label716 = gtk_label_new (_("Visit http://gtk-gnutella.sourceforge.net/."));
  gtk_widget_set_name (label716, "label716");
  gtk_widget_ref (label716);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "label716", label716,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label716);
  gtk_box_pack_start (GTK_BOX (vbox133), label716, FALSE, FALSE, 0);

  label717 = gtk_label_new (_("Join the users or developers mailing lists."));
  gtk_widget_set_name (label717, "label717");
  gtk_widget_ref (label717);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "label717", label717,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label717);
  gtk_box_pack_start (GTK_BOX (vbox133), label717, FALSE, FALSE, 0);

  label718 = gtk_label_new (_("Meet us on #gtk-gnutella at irc.freenode.net."));
  gtk_widget_set_name (label718, "label718");
  gtk_widget_ref (label718);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "label718", label718,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label718);
  gtk_box_pack_start (GTK_BOX (vbox133), label718, FALSE, FALSE, 0);

  hbox137 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox137, "hbox137");
  gtk_widget_ref (hbox137);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "hbox137", hbox137,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox137);
  gtk_box_pack_start (GTK_BOX (vbox67), hbox137, FALSE, TRUE, 0);

  hseparator9 = gtk_hseparator_new ();
  gtk_widget_set_name (hseparator9, "hseparator9");
  gtk_widget_ref (hseparator9);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "hseparator9", hseparator9,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hseparator9);
  gtk_box_pack_start (GTK_BOX (hbox137), hseparator9, TRUE, TRUE, 0);

  vbox134 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox134, "vbox134");
  gtk_widget_ref (vbox134);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "vbox134", vbox134,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox134);
  gtk_box_pack_start (GTK_BOX (vbox67), vbox134, FALSE, FALSE, 4);

  label700 = gtk_label_new (_("This product includes GeoIP data created by MaxMind, available from\nhttp://maxmind.com/"));
  gtk_widget_set_name (label700, "label700");
  gtk_widget_ref (label700);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "label700", label700,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label700);
  gtk_box_pack_start (GTK_BOX (vbox134), label700, FALSE, FALSE, 0);

  hseparator15 = gtk_hseparator_new ();
  gtk_widget_set_name (hseparator15, "hseparator15");
  gtk_widget_ref (hseparator15);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "hseparator15", hseparator15,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hseparator15);
  gtk_box_pack_start (GTK_BOX (vbox67), hseparator15, FALSE, TRUE, 0);

  button_about_close = gtk_button_new_with_label (_("Close"));
  gtk_widget_set_name (button_about_close, "button_about_close");
  gtk_widget_ref (button_about_close);
  gtk_object_set_data_full (GTK_OBJECT (dlg_about), "button_about_close", button_about_close,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_about_close);
  gtk_box_pack_start (GTK_BOX (vbox67), button_about_close, FALSE, FALSE, 0);
  GTK_WIDGET_SET_FLAGS (button_about_close, GTK_CAN_DEFAULT);
  gtk_widget_add_accelerator (button_about_close, "clicked", accel_group,
                              GDK_c, GDK_CONTROL_MASK,
                              GTK_ACCEL_VISIBLE);

  gtk_signal_connect (GTK_OBJECT (dlg_about), "delete_event",
                      GTK_SIGNAL_FUNC (on_dlg_about_delete_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_about_close), "clicked",
                      GTK_SIGNAL_FUNC (on_button_about_close_clicked),
                      NULL);

  gtk_window_add_accel_group (GTK_WINDOW (dlg_about), accel_group);

  return dlg_about;
}

GtkWidget*
create_popup_filter_rule (void)
{
  GtkWidget *popup_filter_rule;
  GtkAccelGroup *popup_filter_rule_accels;
  GtkWidget *popup_filter_rule_copy;
  GtkWidget *popup_filter_rule_paste;

  popup_filter_rule = gtk_menu_new ();
  gtk_widget_set_name (popup_filter_rule, "popup_filter_rule");
  gtk_object_set_data (GTK_OBJECT (popup_filter_rule), "popup_filter_rule", popup_filter_rule);
  popup_filter_rule_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (popup_filter_rule));

  popup_filter_rule_copy = gtk_menu_item_new_with_label (_("Copy rule"));
  gtk_widget_set_name (popup_filter_rule_copy, "popup_filter_rule_copy");
  gtk_widget_ref (popup_filter_rule_copy);
  gtk_object_set_data_full (GTK_OBJECT (popup_filter_rule), "popup_filter_rule_copy", popup_filter_rule_copy,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_filter_rule_copy);
  gtk_container_add (GTK_CONTAINER (popup_filter_rule), popup_filter_rule_copy);

  popup_filter_rule_paste = gtk_menu_item_new_with_label (_("Paste rule"));
  gtk_widget_set_name (popup_filter_rule_paste, "popup_filter_rule_paste");
  gtk_widget_ref (popup_filter_rule_paste);
  gtk_object_set_data_full (GTK_OBJECT (popup_filter_rule), "popup_filter_rule_paste", popup_filter_rule_paste,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_filter_rule_paste);
  gtk_container_add (GTK_CONTAINER (popup_filter_rule), popup_filter_rule_paste);

  gtk_signal_connect (GTK_OBJECT (popup_filter_rule_copy), "activate",
                      GTK_SIGNAL_FUNC (on_popup_filter_rule_copy_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_filter_rule_paste), "activate",
                      GTK_SIGNAL_FUNC (on_popup_filter_rule_paste_activate),
                      NULL);

  return popup_filter_rule;
}

GtkWidget*
create_dlg_quit (void)
{
  GtkWidget *dlg_quit;
  GtkWidget *dialog_vbox1;
  GtkWidget *frame51;
  GtkWidget *label295;
  GtkWidget *dialog_action_area1;
  GtkWidget *button_really_quit;
  GtkWidget *button_abort_quit;
  GtkAccelGroup *accel_group;

  accel_group = gtk_accel_group_new ();

  dlg_quit = gtk_dialog_new ();
  gtk_widget_set_name (dlg_quit, "dlg_quit");
  gtk_object_set_data (GTK_OBJECT (dlg_quit), "dlg_quit", dlg_quit);
  gtk_window_set_title (GTK_WINDOW (dlg_quit), _("gtk-gnutella: Quit?"));
  GTK_WINDOW (dlg_quit)->type = GTK_WINDOW_DIALOG;
  gtk_window_set_position (GTK_WINDOW (dlg_quit), GTK_WIN_POS_MOUSE);
  gtk_window_set_modal (GTK_WINDOW (dlg_quit), TRUE);
  gtk_window_set_policy (GTK_WINDOW (dlg_quit), FALSE, FALSE, TRUE);

  dialog_vbox1 = GTK_DIALOG (dlg_quit)->vbox;
  gtk_widget_set_name (dialog_vbox1, "dialog_vbox1");
  gtk_object_set_data (GTK_OBJECT (dlg_quit), "dialog_vbox1", dialog_vbox1);
  gtk_widget_show (dialog_vbox1);

  frame51 = gtk_frame_new (_("Please confirm:"));
  gtk_widget_set_name (frame51, "frame51");
  gtk_widget_ref (frame51);
  gtk_object_set_data_full (GTK_OBJECT (dlg_quit), "frame51", frame51,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame51);
  gtk_box_pack_start (GTK_BOX (dialog_vbox1), frame51, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame51), 10);

  label295 = gtk_label_new (_("Do you really want to quit?"));
  gtk_widget_set_name (label295, "label295");
  gtk_widget_ref (label295);
  gtk_object_set_data_full (GTK_OBJECT (dlg_quit), "label295", label295,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label295);
  gtk_container_add (GTK_CONTAINER (frame51), label295);
  gtk_misc_set_padding (GTK_MISC (label295), 10, 10);

  dialog_action_area1 = GTK_DIALOG (dlg_quit)->action_area;
  gtk_widget_set_name (dialog_action_area1, "dialog_action_area1");
  gtk_object_set_data (GTK_OBJECT (dlg_quit), "dialog_action_area1", dialog_action_area1);
  gtk_widget_show (dialog_action_area1);
  gtk_container_set_border_width (GTK_CONTAINER (dialog_action_area1), 10);

  button_really_quit = gtk_button_new_with_label (_("Yes"));
  gtk_widget_set_name (button_really_quit, "button_really_quit");
  gtk_widget_ref (button_really_quit);
  gtk_object_set_data_full (GTK_OBJECT (dlg_quit), "button_really_quit", button_really_quit,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_really_quit);
  gtk_box_pack_start (GTK_BOX (dialog_action_area1), button_really_quit, TRUE, TRUE, 0);
  GTK_WIDGET_SET_FLAGS (button_really_quit, GTK_CAN_DEFAULT);
  gtk_widget_add_accelerator (button_really_quit, "clicked", accel_group,
                              GDK_y, GDK_CONTROL_MASK,
                              GTK_ACCEL_VISIBLE);

  button_abort_quit = gtk_button_new_with_label (_("No, take me back!"));
  gtk_widget_set_name (button_abort_quit, "button_abort_quit");
  gtk_widget_ref (button_abort_quit);
  gtk_object_set_data_full (GTK_OBJECT (dlg_quit), "button_abort_quit", button_abort_quit,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_abort_quit);
  gtk_box_pack_start (GTK_BOX (dialog_action_area1), button_abort_quit, TRUE, TRUE, 0);
  GTK_WIDGET_SET_FLAGS (button_abort_quit, GTK_CAN_DEFAULT);
  gtk_widget_add_accelerator (button_abort_quit, "clicked", accel_group,
                              GDK_n, GDK_CONTROL_MASK,
                              GTK_ACCEL_VISIBLE);

  gtk_signal_connect (GTK_OBJECT (dlg_quit), "delete_event",
                      GTK_SIGNAL_FUNC (on_dlg_quit_delete_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_really_quit), "clicked",
                      GTK_SIGNAL_FUNC (on_button_really_quit_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_abort_quit), "clicked",
                      GTK_SIGNAL_FUNC (on_button_abort_quit_clicked),
                      NULL);

  gtk_widget_grab_default (button_abort_quit);
  gtk_window_add_accel_group (GTK_WINDOW (dlg_quit), accel_group);

  return dlg_quit;
}

GtkWidget*
create_dlg_prefs (void)
{
  GtkWidget *dlg_prefs;
  GtkWidget *dialog_vbox2;
  GtkWidget *notebook_prefs;
  GtkWidget *scrolledwindow32;
  GtkWidget *viewport3;
  GtkWidget *vbox24;
  GtkWidget *frame13;
  GtkWidget *vbox30;
  GtkWidget *hbox79;
  GtkWidget *label128;
  GtkWidget *frame116;
  GtkWidget *label_current_port;
  GtkWidget *hseparator2;
  GtkWidget *table5;
  guint label129_key;
  GtkWidget *label129;
  GtkObject *spinbutton_config_port_adj;
  GtkWidget *spinbutton_config_port;
  guint checkbutton_give_server_hostname_key;
  GtkWidget *checkbutton_give_server_hostname;
  GtkWidget *entry_server_hostname;
  guint checkbutton_enable_udp_key;
  GtkWidget *checkbutton_enable_udp;
  GtkWidget *label778;
  GtkWidget *option_menu_config_network_protocol;
  GtkWidget *option_menu_config_network_protocol_menu;
  GtkWidget *label35;
  GtkWidget *frame147;
  GtkWidget *hbox2108;
  guint checkbutton_config_force_ip_key;
  GtkWidget *checkbutton_config_force_ip;
  GtkWidget *entry_config_force_ip;
  GtkWidget *checkbutton_config_bind_ipv4;
  GtkWidget *frame148;
  GtkWidget *table97;
  guint checkbutton_config_force_ipv6_key;
  GtkWidget *checkbutton_config_force_ipv6;
  GtkWidget *entry_config_force_ipv6;
  GtkWidget *checkbutton_config_bind_ipv6;
  GtkWidget *entry_config_ipv6_trt_prefix;
  GtkWidget *checkbutton_config_ipv6_trt_enable;
  GtkWidget *frame_proxy_settings;
  GtkWidget *vbox100;
  GtkWidget *table53;
  guint label91_key;
  GtkWidget *label91;
  guint label92_key;
  GtkWidget *label92;
  guint label90_key;
  GtkWidget *label90;
  GtkObject *spinbutton_config_proxy_port_adj;
  GtkWidget *spinbutton_config_proxy_port;
  GtkWidget *entry_config_proxy_hostname;
  GtkWidget *option_menu_config_proxy_protocol;
  GtkWidget *option_menu_config_proxy_protocol_menu;
  GtkWidget *table54;
  guint checkbutton_config_proxy_auth_key;
  GtkWidget *checkbutton_config_proxy_auth;
  guint label93_key;
  GtkWidget *label93;
  guint label94_key;
  GtkWidget *label94;
  GtkWidget *entry_config_socks_password;
  GtkWidget *entry_config_socks_username;
  GtkWidget *frame_expert_nw_local;
  GtkWidget *vbox23_2;
  GtkWidget *hbox77;
  guint checkbutton_config_use_netmasks_key;
  GtkWidget *checkbutton_config_use_netmasks;
  guint checkbutton_config_no_rfc1918_key;
  GtkWidget *checkbutton_config_no_rfc1918;
  GtkWidget *hbox78;
  GtkWidget *label126_2;
  GtkWidget *entry_config_netmasks;
  GtkWidget *frame_expert_nw_misc;
  GtkWidget *table48;
  guint label441_key;
  GtkWidget *label441;
  guint label442_key;
  GtkWidget *label442;
  GtkObject *spinbutton_config_ban_max_fds_adj;
  GtkWidget *spinbutton_config_ban_max_fds;
  GtkObject *spinbutton_config_ban_ratio_fds_adj;
  GtkWidget *spinbutton_config_ban_ratio_fds;
  guint label502_key;
  GtkWidget *label502;
  GtkWidget *entry_config_max_banned_fd;
  GtkWidget *label654;
  GtkWidget *frame120;
  GtkWidget *label_banned_count;
  GtkWidget *checkbutton_use_global_hostiles;
  GtkWidget *frame80;
  GtkWidget *table62;
  guint checkbutton_host_runs_ntp_key;
  GtkWidget *checkbutton_host_runs_ntp;
  GtkWidget *label529;
  GtkWidget *frame117;
  GtkWidget *label_clock_skew;
  GtkWidget *frame86;
  GtkWidget *vbox120;
  guint checkbutton_enable_remote_shell_key;
  GtkWidget *checkbutton_enable_remote_shell;
  GtkWidget *frame_expert_rx_buffers;
  GtkWidget *table67;
  guint label553_key;
  GtkWidget *label553;
  GtkWidget *label554;
  GtkWidget *label555;
  guint label552_key;
  GtkWidget *label552;
  GtkObject *spinbutton_node_rx_size_adj;
  GtkWidget *spinbutton_node_rx_size;
  GtkObject *spinbutton_download_rx_size_adj;
  GtkWidget *spinbutton_download_rx_size;
  GtkWidget *label682;
  GtkWidget *scrolledwindow19;
  GtkWidget *viewport5;
  GtkWidget *vbox25;
  GtkWidget *frame71;
  GtkWidget *hbox186;
  GtkWidget *alignment30;
  GtkWidget *table82;
  GtkWidget *label439;
  GtkWidget *checkbutton_gnet_monitor_ip;
  GtkWidget *checkbutton_gnet_monitor_servents;
  GtkWidget *alignment34;
  GtkWidget *frame72;
  GtkWidget *table87;
  GtkWidget *label459;
  GtkWidget *label504;
  GtkObject *spinbutton_normal_connections_adj;
  GtkWidget *spinbutton_normal_connections;
  GtkObject *spinbutton_config_max_leaves_adj;
  GtkWidget *spinbutton_config_max_leaves;
  GtkWidget *option_menu_config_peermode;
  GtkWidget *option_menu_config_peermode_menu;
  GtkWidget *vbox121;
  GtkWidget *frame_gnet_can_become_ultra;
  GtkWidget *vbox116;
  GtkWidget *table73;
  GtkWidget *label577;
  GtkWidget *label579;
  GtkWidget *frame107;
  GtkWidget *label_node_last_ultracheck;
  GtkWidget *frame108;
  GtkWidget *label_last_ultra_leaf_switch;
  GtkWidget *hseparator14;
  GtkWidget *table74;
  GtkWidget *label584;
  GtkWidget *label591;
  GtkWidget *label592;
  GtkWidget *label593;
  GtkWidget *label594;
  GtkWidget *label583;
  GtkWidget *label581;
  GtkWidget *frame109;
  GtkWidget *label_up_req_avg_servent_uptime;
  GtkWidget *frame110;
  GtkWidget *label_up_req_node_uptime;
  GtkWidget *frame111;
  GtkWidget *label_up_req_enough_fd;
  GtkWidget *frame112;
  GtkWidget *label_up_req_enough_bw;
  GtkWidget *frame113;
  GtkWidget *label_up_req_avg_ip_uptime;
  GtkWidget *frame114;
  GtkWidget *label_up_req_not_firewalled;
  GtkWidget *frame115;
  GtkWidget *label_up_req_enough_mem;
  GtkWidget *label681;
  GtkWidget *frame132;
  GtkWidget *label_up_req_enough_conn;
  GtkWidget *vseparator2;
  GtkWidget *label784;
  GtkWidget *frame145;
  GtkWidget *label_up_req_good_udp;
  GtkWidget *frame_searches;
  GtkWidget *hbox188;
  GtkWidget *alignment31;
  GtkWidget *table83;
  guint label37_key;
  GtkWidget *label37;
  GtkObject *spinbutton_config_search_items_adj;
  GtkWidget *spinbutton_config_search_items;
  GtkWidget *label38;
  guint label567_key;
  GtkWidget *label567;
  GtkObject *spinbutton_config_search_reissue_timeout_adj;
  GtkWidget *spinbutton_config_search_reissue_timeout;
  GtkWidget *label568;
  GtkWidget *frame_expert_oob_queries;
  GtkWidget *vbox131;
  GtkWidget *checkbutton_send_oob_queries;
  GtkWidget *checkbutton_process_oob_queries;
  GtkWidget *checkbutton_proxy_oob_queries;
  GtkWidget *vbox122;
  GtkWidget *frame_expert_search_queue;
  GtkWidget *table75;
  GtkWidget *label595;
  GtkWidget *label596;
  GtkObject *spinbutton_search_queue_spacing_adj;
  GtkWidget *spinbutton_search_queue_spacing;
  GtkObject *spinbutton_search_queue_size_adj;
  GtkWidget *spinbutton_search_queue_size;
  GtkWidget *frame_expert_gnet_timeout;
  GtkWidget *table10;
  guint label175_key;
  GtkWidget *label175;
  guint label176_key;
  GtkWidget *label176;
  guint label177_key;
  GtkWidget *label177;
  GtkObject *spinbutton_config_node_tx_flowc_timeout_adj;
  GtkWidget *spinbutton_config_node_tx_flowc_timeout;
  GtkObject *spinbutton_config_node_connecting_timeout_adj;
  GtkWidget *spinbutton_config_node_connecting_timeout;
  GtkObject *spinbutton_config_node_connected_timeout_adj;
  GtkWidget *spinbutton_config_node_connected_timeout;
  GtkWidget *label503;
  GtkObject *spinbutton_config_incoming_connecting_timeout_adj;
  GtkWidget *spinbutton_config_incoming_connecting_timeout;
  GtkWidget *alignment26;
  GtkWidget *frame_expert_gnet_ttl;
  GtkWidget *table9;
  guint label84_key;
  GtkWidget *label84;
  guint label85_key;
  GtkWidget *label85;
  guint label158_key;
  GtkWidget *label158;
  guint label157_key;
  GtkWidget *label157;
  guint label159_key;
  GtkWidget *label159;
  GtkObject *spinbutton_config_maxttl_adj;
  GtkWidget *spinbutton_config_maxttl;
  GtkObject *spinbutton_config_max_high_ttl_msg_adj;
  GtkWidget *spinbutton_config_max_high_ttl_msg;
  GtkObject *spinbutton_config_hard_ttl_limit_adj;
  GtkWidget *spinbutton_config_hard_ttl_limit;
  GtkObject *spinbutton_config_myttl_adj;
  GtkWidget *spinbutton_config_myttl;
  GtkObject *spinbutton_config_max_high_ttl_radius_adj;
  GtkWidget *spinbutton_config_max_high_ttl_radius;
  GtkWidget *label160;
  GtkWidget *frame_expert_gnet_quality;
  GtkWidget *table30;
  guint label279_key;
  GtkWidget *label279;
  guint label278_key;
  GtkWidget *label278;
  GtkObject *spinbutton_config_min_dup_msg_adj;
  GtkWidget *spinbutton_config_min_dup_msg;
  GtkObject *spinbutton_config_min_dup_ratio_adj;
  GtkWidget *spinbutton_config_min_dup_ratio;
  GtkWidget *label457;
  GtkObject *spinbutton_config_node_rx_flowc_ratio_adj;
  GtkWidget *spinbutton_config_node_rx_flowc_ratio;
  GtkWidget *label280;
  GtkWidget *label281;
  GtkWidget *label458;
  GtkWidget *vseparator3;
  GtkWidget *checkbutton_node_watch_similar_queries;
  GtkWidget *label597;
  GtkObject *spinbutton_node_queries_half_life_adj;
  GtkWidget *spinbutton_node_queries_half_life;
  GtkWidget *label598;
  GtkObject *spinbutton_node_requery_threshold_adj;
  GtkWidget *spinbutton_node_requery_threshold;
  GtkWidget *frame_expert_gnet_connections;
  GtkWidget *table66;
  GtkWidget *label550;
  GtkWidget *label551;
  GtkObject *spinbutton_config_reserve_gtkg_nodes_adj;
  GtkWidget *spinbutton_config_reserve_gtkg_nodes;
  GtkObject *spinbutton_config_unique_nodes_adj;
  GtkWidget *spinbutton_config_unique_nodes;
  GtkWidget *label548;
  GtkWidget *label549;
  GtkWidget *frame_expert_gnet_other;
  GtkWidget *table33;
  GtkWidget *label290;
  GtkWidget *checkbutton_gnet_compact_query;
  GtkObject *spinbutton_config_hops_random_factor_adj;
  GtkWidget *spinbutton_config_hops_random_factor;
  GtkWidget *frame_expert_gnet_message_size;
  GtkWidget *table69;
  GtkWidget *label569;
  GtkWidget *label571;
  GtkWidget *label572;
  GtkWidget *label573;
  GtkWidget *label574;
  GtkWidget *label575;
  GtkObject *spinbutton_search_answers_forward_size_adj;
  GtkWidget *spinbutton_search_answers_forward_size;
  GtkObject *spinbutton_search_queries_forward_size_adj;
  GtkWidget *spinbutton_search_queries_forward_size;
  GtkWidget *label570;
  GtkObject *spinbutton_search_queries_kick_size_adj;
  GtkWidget *spinbutton_search_queries_kick_size;
  GtkObject *spinbutton_search_answers_kick_size_adj;
  GtkWidget *spinbutton_search_answers_kick_size;
  GtkObject *spinbutton_other_messages_kick_size_adj;
  GtkWidget *spinbutton_other_messages_kick_size;
  GtkWidget *label683;
  GtkWidget *scrolledwindow33;
  GtkWidget *viewport4;
  GtkWidget *vbox29;
  GtkWidget *frame70;
  GtkWidget *hbox183;
  GtkWidget *vbox115;
  guint checkbutton_config_bw_allow_stealing_key;
  GtkWidget *checkbutton_config_bw_allow_stealing;
  guint checkbutton_prefer_compressed_gnet_key;
  GtkWidget *checkbutton_prefer_compressed_gnet;
  guint checkbutton_config_use_ip_tos_key;
  GtkWidget *checkbutton_config_use_ip_tos;
  GtkWidget *frame83;
  GtkWidget *table69a;
  GtkWidget *label558;
  GtkWidget *label560;
  GtkWidget *label561;
  GtkWidget *label563;
  GtkWidget *label564;
  GtkWidget *label566;
  GtkWidget *viewport14;
  GtkWidget *label_output_bw_limit;
  GtkWidget *viewport15;
  GtkWidget *label_dl_http_latency;
  GtkWidget *viewport13;
  GtkWidget *label_input_bw_limit;
  GtkWidget *frame20;
  GtkWidget *hbox208;
  GtkWidget *frame138;
  GtkWidget *table13;
  GtkWidget *label181;
  GtkWidget *label182;
  GtkObject *spinbutton_config_bws_gin_adj;
  GtkWidget *spinbutton_config_bws_gin;
  GtkObject *spinbutton_config_bws_gout_adj;
  GtkWidget *spinbutton_config_bws_gout;
  guint checkbutton_config_bws_gout_key;
  GtkWidget *checkbutton_config_bws_gout;
  guint checkbutton_config_bws_gin_key;
  GtkWidget *checkbutton_config_bws_gin;
  GtkWidget *frame74;
  GtkWidget *table58;
  GtkObject *spinbutton_config_bws_glin_adj;
  GtkWidget *spinbutton_config_bws_glin;
  GtkObject *spinbutton_config_bws_glout_adj;
  GtkWidget *spinbutton_config_bws_glout;
  GtkWidget *label556;
  GtkWidget *label557;
  guint checkbutton_config_bws_glout_key;
  GtkWidget *checkbutton_config_bws_glout;
  guint checkbutton_config_bws_glin_key;
  GtkWidget *checkbutton_config_bws_glin;
  GtkWidget *frame12;
  GtkWidget *table4;
  GtkWidget *label126;
  GtkObject *spinbutton_config_bws_in_adj;
  GtkWidget *spinbutton_config_bws_in;
  GtkObject *spinbutton_config_bws_out_adj;
  GtkWidget *spinbutton_config_bws_out;
  guint checkbutton_config_bws_in_key;
  GtkWidget *checkbutton_config_bws_in;
  guint checkbutton_config_bws_out_key;
  GtkWidget *checkbutton_config_bws_out;
  guint checkbutton_config_bw_ul_usage_enabled_key;
  GtkWidget *checkbutton_config_bw_ul_usage_enabled;
  GtkObject *spinbutton_config_ul_usage_min_percentage_adj;
  GtkWidget *spinbutton_config_ul_usage_min_percentage;
  GtkWidget *label210;
  GtkWidget *label125;
  guint label156_key;
  GtkWidget *label156;
  GtkObject *spinbutton_config_speed_adj;
  GtkWidget *spinbutton_config_speed;
  GtkWidget *label36;
  GtkWidget *hseparator8;
  guint checkbutton_compute_connection_speed_key;
  GtkWidget *checkbutton_compute_connection_speed;
  GtkWidget *label684;
  GtkWidget *scrolledwindow34;
  GtkWidget *viewport6;
  GtkWidget *vbox38;
  GtkWidget *frame_save_new_files;
  GtkWidget *hbox96;
  GtkWidget *entry_config_save_path;
  guint button_config_save_path_key;
  GtkWidget *button_config_save_path;
  GtkWidget *frame_move_downloaded_files;
  GtkWidget *hbox95;
  GtkWidget *entry_config_move_path;
  guint button_config_move_path_key;
  GtkWidget *button_config_move_path;
  GtkWidget *frame66;
  GtkWidget *hbox158;
  GtkWidget *entry_config_bad_path;
  guint button_config_bad_path_key;
  GtkWidget *button_config_bad_path;
  GtkWidget *frame136;
  GtkWidget *table94;
  GtkWidget *checkbutton_config_convert_spaces;
  GtkWidget *checkbutton_config_convert_evil_chars;
  GtkWidget *checkbutton_config_convert_old_filenames;
  GtkWidget *frame16;
  GtkWidget *table46;
  guint label171_key;
  GtkWidget *label171;
  guint label172_key;
  GtkWidget *label172;
  GtkObject *spinbutton_config_download_max_retries_adj;
  GtkWidget *spinbutton_config_download_max_retries;
  GtkObject *spinbutton_config_download_overlap_range_adj;
  GtkWidget *spinbutton_config_download_overlap_range;
  GtkWidget *label173;
  GtkWidget *frame_expert_dl_source_quality;
  GtkWidget *table47;
  guint checkbutton_config_download_optimistic_start_key;
  GtkWidget *checkbutton_config_download_optimistic_start;
  guint checkbutton_config_req_urn_key;
  GtkWidget *checkbutton_config_req_urn;
  guint checkbutton_config_req_srv_name_key;
  GtkWidget *checkbutton_config_req_srv_name;
  GtkWidget *frame_expert_dl_timeout;
  GtkWidget *table8;
  GtkWidget *label162;
  GtkWidget *label163;
  GtkWidget *label164;
  GtkWidget *label165;
  GtkWidget *label166;
  GtkWidget *label167;
  guint label168_key;
  GtkWidget *label168;
  guint label169_key;
  GtkWidget *label169;
  guint label170_key;
  GtkWidget *label170;
  GtkObject *spinbutton_config_download_retry_stopped_delay_adj;
  GtkWidget *spinbutton_config_download_retry_stopped_delay;
  GtkObject *spinbutton_config_download_retry_refused_delay_adj;
  GtkWidget *spinbutton_config_download_retry_refused_delay;
  GtkObject *spinbutton_config_download_retry_busy_delay_adj;
  GtkWidget *spinbutton_config_download_retry_busy_delay;
  GtkObject *spinbutton_config_download_retry_timeout_delay_adj;
  GtkWidget *spinbutton_config_download_retry_timeout_delay;
  GtkObject *spinbutton_config_download_retry_timeout_max_adj;
  GtkWidget *spinbutton_config_download_retry_timeout_max;
  GtkObject *spinbutton_config_download_retry_timeout_min_adj;
  GtkWidget *spinbutton_config_download_retry_timeout_min;
  GtkObject *spinbutton_config_download_connecting_timeout_adj;
  GtkWidget *spinbutton_config_download_connecting_timeout;
  GtkObject *spinbutton_config_download_push_sent_timeout_adj;
  GtkWidget *spinbutton_config_download_push_sent_timeout;
  GtkObject *spinbutton_config_download_connected_timeout_adj;
  GtkWidget *spinbutton_config_download_connected_timeout;
  GtkWidget *frame48;
  GtkWidget *vbox99;
  guint checkbutton_config_use_swarming_key;
  GtkWidget *checkbutton_config_use_swarming;
  GtkWidget *hseparator11;
  GtkWidget *table51;
  guint checkbutton_config_aggressive_swarming_key;
  GtkWidget *checkbutton_config_aggressive_swarming;
  GtkWidget *vseparator1;
  guint label283_key;
  GtkWidget *label283;
  guint label284_key;
  GtkWidget *label284;
  GtkWidget *label732;
  GtkWidget *label733;
  GtkWidget *vseparator6;
  GtkObject *spinbutton_dl_minchunksize_adj;
  GtkWidget *spinbutton_dl_minchunksize;
  GtkObject *spinbutton_dl_maxchunksize_adj;
  GtkWidget *spinbutton_dl_maxchunksize;
  GtkWidget *label761;
  GtkObject *spinbutton_download_buffer_size_adj;
  GtkWidget *spinbutton_download_buffer_size;
  GtkWidget *label763;
  GtkWidget *hseparator12;
  GtkWidget *table52;
  guint checkbutton_config_strict_sha1_matching_key;
  GtkWidget *checkbutton_config_strict_sha1_matching;
  guint checkbutton_config_use_alternate_sources_key;
  GtkWidget *checkbutton_config_use_alternate_sources;
  guint checkbutton_auto_feed_dmesh_key;
  GtkWidget *checkbutton_auto_feed_dmesh;
  GtkWidget *label685;
  GtkWidget *scrolledwindow35;
  GtkWidget *viewport7;
  GtkWidget *vbox40;
  GtkWidget *frame_path_to_files;
  GtkWidget *vbox_path_to_files;
  GtkWidget *entry_config_path;
  GtkWidget *hbox_path_buttons;
  guint button_config_add_dir_key;
  GtkWidget *button_config_add_dir;
  guint button_config_rescan_dir_key;
  GtkWidget *button_config_rescan_dir;
  GtkWidget *label_files_scanned;
  GtkWidget *hbox173;
  GtkWidget *hbox174;
  guint checkbutton_scan_ignore_symlink_dirs_key;
  GtkWidget *checkbutton_scan_ignore_symlink_dirs;
  guint checkbutton_scan_ignore_symlink_regfiles_key;
  GtkWidget *checkbutton_scan_ignore_symlink_regfiles;
  GtkWidget *hbox27;
  guint label41_key;
  GtkWidget *label41;
  GtkWidget *entry_config_extensions;
  GtkWidget *frame149;
  GtkWidget *table98;
  guint checkbutton_enable_browse_host_key;
  GtkWidget *checkbutton_enable_browse_host;
  guint checkbutton_expose_relative_paths_key;
  GtkWidget *checkbutton_expose_relative_paths;
  GtkWidget *frame_expert_ul_timeout;
  GtkWidget *table12;
  guint label179_key;
  GtkWidget *label179;
  guint label180_key;
  GtkWidget *label180;
  GtkObject *spinbutton_config_upload_connecting_timeout_adj;
  GtkWidget *spinbutton_config_upload_connecting_timeout;
  GtkObject *spinbutton_config_upload_connected_timeout_adj;
  GtkWidget *spinbutton_config_upload_connected_timeout;
  GtkWidget *frame_partial_file_sharing;
  GtkWidget *table65;
  guint label547_key;
  GtkWidget *label547;
  guint checkbutton_pfsp_server_key;
  GtkWidget *checkbutton_pfsp_server;
  GtkObject *spinbutton_pfsp_first_chunk_adj;
  GtkWidget *spinbutton_pfsp_first_chunk;
  GtkWidget *label770;
  GtkObject *spinbutton_pfsp_minimum_filesize_adj;
  GtkWidget *spinbutton_pfsp_minimum_filesize;
  GtkWidget *frame140;
  GtkWidget *table96;
  GtkWidget *label753;
  GtkObject *spinbutton_parq_min_time_adj;
  GtkWidget *spinbutton_parq_min_time;
  GtkWidget *label752;
  GtkObject *spinbutton_parq_min_size_adj;
  GtkWidget *spinbutton_parq_min_size;
  GtkWidget *checkbutton_parq_optimistic;
  GtkWidget *frame_expert_share_statistics;
  GtkWidget *vbox117;
  GtkWidget *alignment36;
  GtkWidget *hbox184;
  GtkWidget *frame88;
  GtkWidget *table78;
  GtkWidget *label601;
  GtkWidget *label602;
  GtkWidget *frame99;
  GtkWidget *label_library_rescan_time;
  GtkWidget *frame100;
  GtkWidget *label_library_rescan_timestamp;
  GtkWidget *frame_qrp_statistics;
  GtkWidget *table79;
  GtkWidget *label606;
  GtkWidget *label608;
  GtkWidget *label611;
  GtkWidget *label613;
  GtkWidget *label616;
  GtkWidget *label618;
  GtkWidget *frame101;
  GtkWidget *label_qrp_indexing_timestamp;
  GtkWidget *frame102;
  GtkWidget *label_qrp_timestamp;
  GtkWidget *frame103;
  GtkWidget *label_qrp_patch_timestamp;
  GtkWidget *frame104;
  GtkWidget *label_qrp_indexing_time;
  GtkWidget *frame105;
  GtkWidget *label_qrp_computation_time;
  GtkWidget *frame106;
  GtkWidget *label_qrp_patch_computation_time;
  GtkWidget *alignment35;
  GtkWidget *hbox191;
  GtkWidget *frame_qrp_table_info;
  GtkWidget *table80;
  GtkWidget *label621;
  GtkWidget *label623;
  GtkWidget *label625;
  GtkWidget *label630;
  GtkWidget *label628;
  GtkWidget *label629;
  GtkWidget *label633;
  GtkWidget *label634;
  GtkWidget *vseparator4;
  GtkWidget *frame90;
  GtkWidget *label_qrp_hashed_keywords;
  GtkWidget *frame91;
  GtkWidget *label_qrp_slots;
  GtkWidget *frame92;
  GtkWidget *label_qrp_slots_filled;
  GtkWidget *frame93;
  GtkWidget *label_qrp_generation;
  GtkWidget *frame94;
  GtkWidget *label_qrp_fill_ratio;
  GtkWidget *frame95;
  GtkWidget *label_qrp_conflict_ratio;
  GtkWidget *frame_qrp_patch_info;
  GtkWidget *table81;
  GtkWidget *label635;
  GtkWidget *label636;
  GtkWidget *label637;
  GtkWidget *label638;
  GtkWidget *frame96;
  GtkWidget *label_qrp_patch_raw_length;
  GtkWidget *frame97;
  GtkWidget *label_qrp_patch_length;
  GtkWidget *frame98;
  GtkWidget *label_qrp_patch_comp_ratio;
  GtkWidget *label686;
  GtkWidget *scrolledwindow36;
  GtkWidget *viewport8;
  GtkWidget *vbox77;
  GtkWidget *frame52;
  GtkWidget *table35;
  guint checkbutton_config_confirm_quit_key;
  GtkWidget *checkbutton_config_confirm_quit;
  guint checkbutton_config_show_tooltips_key;
  GtkWidget *checkbutton_config_show_tooltips;
  guint checkbutton_config_metric_key;
  GtkWidget *checkbutton_config_metric;
  GtkWidget *checkbutton_search_jump_to_created;
  GtkWidget *label657;
  GtkWidget *option_menu_config_toolbar_style;
  GtkWidget *option_menu_config_toolbar_style_menu;
  GtkWidget *label652;
  GtkObject *spinbutton_search_accumulation_period_adj;
  GtkWidget *spinbutton_search_accumulation_period;
  GtkWidget *label653;
  GtkObject *spinbutton_entry_removal_timeout_adj;
  GtkWidget *spinbutton_entry_removal_timeout;
  GtkWidget *label600;
  GtkWidget *label599;
  GtkWidget *frame64;
  GtkWidget *table45;
  guint checkbutton_expert_mode_key;
  GtkWidget *checkbutton_expert_mode;
  GtkWidget *frame84;
  GtkWidget *hbox190;
  GtkWidget *alignment33;
  GtkWidget *vbox119;
  GtkWidget *checkbutton_node_show_detailed_info;
  GtkWidget *vbox123;
  GtkWidget *frame_gnet_detailed_traffic;
  GtkWidget *table71;
  GtkWidget *checkbutton_gnet_info_txc;
  GtkWidget *checkbutton_gnet_info_rxc;
  GtkWidget *checkbutton_gnet_info_tx_speed;
  GtkWidget *checkbutton_gnet_info_rx_speed;
  GtkWidget *checkbutton_gnet_info_tx_queries;
  GtkWidget *checkbutton_gnet_info_rx_queries;
  GtkWidget *checkbutton_gnet_info_tx_hits;
  GtkWidget *checkbutton_gnet_info_rx_hits;
  GtkWidget *checkbutton_gnet_info_gen_queries;
  GtkWidget *checkbutton_gnet_info_sq_queries;
  GtkWidget *checkbutton_gnet_info_tx_dropped;
  GtkWidget *checkbutton_gnet_info_rx_dropped;
  GtkWidget *checkbutton_gnet_info_qrp_stats;
  GtkWidget *checkbutton_gnet_info_dbw;
  GtkWidget *checkbutton_gnet_info_rt;
  GtkWidget *checkbutton_gnet_info_shared_size;
  GtkWidget *checkbutton_gnet_info_shared_files;
  GtkWidget *checkbutton_gnet_info_rx_wire;
  GtkWidget *checkbutton_gnet_info_tx_wire;
  GtkWidget *label687;
  GtkWidget *scrolledwindow37;
  GtkWidget *viewport9;
  GtkWidget *vbox75;
  GtkWidget *frame49;
  GtkWidget *vbox139;
  GtkWidget *hbox2102;
  GtkWidget *label765;
  GtkWidget *entry_dbg_property_pattern;
  GtkWidget *scrolledwindow492;
  GtkWidget *clist_dbg_property;
  GtkWidget *label766;
  GtkWidget *label767;
  GtkWidget *label_767;
  GtkWidget *label_768;
  GtkWidget *hbox2103;
  GtkWidget *label769;
  GtkWidget *label_dbg_property_name;
  GtkWidget *label771;
  GtkWidget *label_dbg_property_limits;
  GtkWidget *hbox2104;
  GtkWidget *label773;
  GtkWidget *entry_dbg_property_default;
  GtkWidget *hbox2105;
  GtkWidget *label774;
  GtkWidget *entry_dbg_property_value;
  GtkWidget *frame_expert_unmapped;
  GtkWidget *table57;
  GtkWidget *label466;
  GtkWidget *label468;
  GtkWidget *label480;
  GtkWidget *entry_average_ip_uptime;
  GtkWidget *entry_average_servent_uptime;
  GtkWidget *entry_sys_physmem;
  GtkWidget *label688;
  GtkWidget *dialog_action_area2;
  GtkWidget *hbox205;
  GtkWidget *button_prefs_close;
  GtkAccelGroup *accel_group;
  GtkTooltips *tooltips;

  tooltips = gtk_tooltips_new ();

  accel_group = gtk_accel_group_new ();

  dlg_prefs = gtk_dialog_new ();
  gtk_widget_set_name (dlg_prefs, "dlg_prefs");
  gtk_object_set_data (GTK_OBJECT (dlg_prefs), "dlg_prefs", dlg_prefs);
  gtk_window_set_title (GTK_WINDOW (dlg_prefs), _("Preferences"));
  gtk_window_set_default_size (GTK_WINDOW (dlg_prefs), 640, 480);
  gtk_window_set_policy (GTK_WINDOW (dlg_prefs), TRUE, TRUE, FALSE);

  dialog_vbox2 = GTK_DIALOG (dlg_prefs)->vbox;
  gtk_widget_set_name (dialog_vbox2, "dialog_vbox2");
  gtk_object_set_data (GTK_OBJECT (dlg_prefs), "dialog_vbox2", dialog_vbox2);
  gtk_widget_show (dialog_vbox2);

  notebook_prefs = gtk_notebook_new ();
  gtk_widget_set_name (notebook_prefs, "notebook_prefs");
  gtk_widget_ref (notebook_prefs);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "notebook_prefs", notebook_prefs,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (notebook_prefs);
  gtk_box_pack_start (GTK_BOX (dialog_vbox2), notebook_prefs, TRUE, TRUE, 0);

  scrolledwindow32 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow32, "scrolledwindow32");
  gtk_widget_ref (scrolledwindow32);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "scrolledwindow32", scrolledwindow32,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow32);
  gtk_container_add (GTK_CONTAINER (notebook_prefs), scrolledwindow32);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow32), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  viewport3 = gtk_viewport_new (NULL, NULL);
  gtk_widget_set_name (viewport3, "viewport3");
  gtk_widget_ref (viewport3);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "viewport3", viewport3,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport3);
  gtk_container_add (GTK_CONTAINER (scrolledwindow32), viewport3);

  vbox24 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox24, "vbox24");
  gtk_widget_ref (vbox24);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "vbox24", vbox24,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox24);
  gtk_container_add (GTK_CONTAINER (viewport3), vbox24);
  gtk_container_set_border_width (GTK_CONTAINER (vbox24), 2);

  frame13 = gtk_frame_new (_("IP settings"));
  gtk_widget_set_name (frame13, "frame13");
  gtk_widget_ref (frame13);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame13", frame13,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame13);
  gtk_box_pack_start (GTK_BOX (vbox24), frame13, FALSE, TRUE, 0);

  vbox30 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox30, "vbox30");
  gtk_widget_ref (vbox30);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "vbox30", vbox30,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox30);
  gtk_container_add (GTK_CONTAINER (frame13), vbox30);
  gtk_container_set_border_width (GTK_CONTAINER (vbox30), 2);

  hbox79 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox79, "hbox79");
  gtk_widget_ref (hbox79);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hbox79", hbox79,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox79);
  gtk_box_pack_start (GTK_BOX (vbox30), hbox79, FALSE, TRUE, 0);

  label128 = gtk_label_new (_("Current IP settings (Address:Port):"));
  gtk_widget_set_name (label128, "label128");
  gtk_widget_ref (label128);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label128", label128,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label128);
  gtk_box_pack_start (GTK_BOX (hbox79), label128, FALSE, FALSE, 0);

  frame116 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame116, "frame116");
  gtk_widget_ref (frame116);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame116", frame116,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame116);
  gtk_box_pack_start (GTK_BOX (hbox79), frame116, FALSE, FALSE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame116), GTK_SHADOW_IN);

  label_current_port = gtk_label_new (_("not yet determined"));
  gtk_widget_set_name (label_current_port, "label_current_port");
  gtk_widget_ref (label_current_port);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_current_port", label_current_port,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_current_port);
  gtk_container_add (GTK_CONTAINER (frame116), label_current_port);
  gtk_misc_set_padding (GTK_MISC (label_current_port), 5, 0);

  hseparator2 = gtk_hseparator_new ();
  gtk_widget_set_name (hseparator2, "hseparator2");
  gtk_widget_ref (hseparator2);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hseparator2", hseparator2,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hseparator2);
  gtk_box_pack_start (GTK_BOX (vbox30), hseparator2, FALSE, TRUE, 3);

  table5 = gtk_table_new (2, 7, FALSE);
  gtk_widget_set_name (table5, "table5");
  gtk_widget_ref (table5);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table5", table5,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table5);
  gtk_box_pack_start (GTK_BOX (vbox30), table5, TRUE, TRUE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table5), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table5), 4);

  label129 = gtk_label_new ("");
  label129_key = gtk_label_parse_uline (GTK_LABEL (label129),
                                   _("_Listen port"));
  gtk_widget_set_name (label129, "label129");
  gtk_widget_ref (label129);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label129", label129,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label129);
  gtk_table_attach (GTK_TABLE (table5), label129, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label129), 0, 0.5);

  spinbutton_config_port_adj = gtk_adjustment_new (6346, 0, 65535, 1, 10, 10);
  spinbutton_config_port = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_port_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_port, "spinbutton_config_port");
  gtk_widget_ref (spinbutton_config_port);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_port", spinbutton_config_port,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_port);
  gtk_table_attach (GTK_TABLE (table5), spinbutton_config_port, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (spinbutton_config_port, 64, -2);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_port), TRUE);

  checkbutton_give_server_hostname = gtk_check_button_new_with_label ("");
  checkbutton_give_server_hostname_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_give_server_hostname)->child),
                                   _("Public _hostname"));
  gtk_widget_add_accelerator (checkbutton_give_server_hostname, "clicked", accel_group,
                              checkbutton_give_server_hostname_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_give_server_hostname, "checkbutton_give_server_hostname");
  gtk_widget_ref (checkbutton_give_server_hostname);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_give_server_hostname", checkbutton_give_server_hostname,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_give_server_hostname);
  gtk_table_attach (GTK_TABLE (table5), checkbutton_give_server_hostname, 0, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  entry_server_hostname = gtk_entry_new_with_max_length (255);
  gtk_widget_set_name (entry_server_hostname, "entry_server_hostname");
  gtk_widget_ref (entry_server_hostname);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "entry_server_hostname", entry_server_hostname,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_server_hostname);
  gtk_table_attach (GTK_TABLE (table5), entry_server_hostname, 2, 4, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_enable_udp = gtk_check_button_new_with_label ("");
  checkbutton_enable_udp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_enable_udp)->child),
                                   _("Enable _UDP"));
  gtk_widget_add_accelerator (checkbutton_enable_udp, "clicked", accel_group,
                              checkbutton_enable_udp_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_enable_udp, "checkbutton_enable_udp");
  gtk_widget_ref (checkbutton_enable_udp);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_enable_udp", checkbutton_enable_udp,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_enable_udp);
  gtk_table_attach (GTK_TABLE (table5), checkbutton_enable_udp, 6, 7, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label778 = gtk_label_new (_("Network protocol:"));
  gtk_widget_set_name (label778, "label778");
  gtk_widget_ref (label778);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label778", label778,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label778);
  gtk_table_attach (GTK_TABLE (table5), label778, 3, 4, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label778), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label778), 4, 0);

  option_menu_config_network_protocol = gtk_option_menu_new ();
  gtk_widget_set_name (option_menu_config_network_protocol, "option_menu_config_network_protocol");
  gtk_widget_ref (option_menu_config_network_protocol);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "option_menu_config_network_protocol", option_menu_config_network_protocol,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (option_menu_config_network_protocol);
  gtk_table_attach (GTK_TABLE (table5), option_menu_config_network_protocol, 4, 6, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  option_menu_config_network_protocol_menu = gtk_menu_new ();
  gtk_option_menu_set_menu (GTK_OPTION_MENU (option_menu_config_network_protocol), option_menu_config_network_protocol_menu);

  label35 = gtk_label_new (_("(Disable: 0, Random: 1)"));
  gtk_widget_set_name (label35, "label35");
  gtk_widget_ref (label35);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label35", label35,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label35);
  gtk_table_attach (GTK_TABLE (table5), label35, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label35), 7.45058e-09, 0.5);

  frame147 = gtk_frame_new (_("IPv4 settings"));
  gtk_widget_set_name (frame147, "frame147");
  gtk_widget_ref (frame147);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame147", frame147,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame147);
  gtk_box_pack_start (GTK_BOX (vbox24), frame147, FALSE, TRUE, 0);

  hbox2108 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox2108, "hbox2108");
  gtk_widget_ref (hbox2108);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hbox2108", hbox2108,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox2108);
  gtk_container_add (GTK_CONTAINER (frame147), hbox2108);

  checkbutton_config_force_ip = gtk_check_button_new_with_label ("");
  checkbutton_config_force_ip_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_config_force_ip)->child),
                                   _("Force external IPv_4 address to"));
  gtk_widget_add_accelerator (checkbutton_config_force_ip, "clicked", accel_group,
                              checkbutton_config_force_ip_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_config_force_ip, "checkbutton_config_force_ip");
  gtk_widget_ref (checkbutton_config_force_ip);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_force_ip", checkbutton_config_force_ip,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_force_ip);
  gtk_box_pack_start (GTK_BOX (hbox2108), checkbutton_config_force_ip, FALSE, TRUE, 0);

  entry_config_force_ip = gtk_entry_new ();
  gtk_widget_set_name (entry_config_force_ip, "entry_config_force_ip");
  gtk_widget_ref (entry_config_force_ip);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "entry_config_force_ip", entry_config_force_ip,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_config_force_ip);
  gtk_box_pack_start (GTK_BOX (hbox2108), entry_config_force_ip, TRUE, TRUE, 0);

  checkbutton_config_bind_ipv4 = gtk_check_button_new_with_label (_("Bind to this address"));
  gtk_widget_set_name (checkbutton_config_bind_ipv4, "checkbutton_config_bind_ipv4");
  gtk_widget_ref (checkbutton_config_bind_ipv4);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_bind_ipv4", checkbutton_config_bind_ipv4,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_bind_ipv4);
  gtk_box_pack_start (GTK_BOX (hbox2108), checkbutton_config_bind_ipv4, FALSE, TRUE, 0);

  frame148 = gtk_frame_new (_("IPv6 settings"));
  gtk_widget_set_name (frame148, "frame148");
  gtk_widget_ref (frame148);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame148", frame148,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame148);
  gtk_box_pack_start (GTK_BOX (vbox24), frame148, FALSE, FALSE, 0);

  table97 = gtk_table_new (2, 3, FALSE);
  gtk_widget_set_name (table97, "table97");
  gtk_widget_ref (table97);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table97", table97,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table97);
  gtk_container_add (GTK_CONTAINER (frame148), table97);

  checkbutton_config_force_ipv6 = gtk_check_button_new_with_label ("");
  checkbutton_config_force_ipv6_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_config_force_ipv6)->child),
                                   _("Force external IPv_6 address to"));
  gtk_widget_add_accelerator (checkbutton_config_force_ipv6, "clicked", accel_group,
                              checkbutton_config_force_ipv6_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_config_force_ipv6, "checkbutton_config_force_ipv6");
  gtk_widget_ref (checkbutton_config_force_ipv6);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_force_ipv6", checkbutton_config_force_ipv6,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_force_ipv6);
  gtk_table_attach (GTK_TABLE (table97), checkbutton_config_force_ipv6, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  entry_config_force_ipv6 = gtk_entry_new ();
  gtk_widget_set_name (entry_config_force_ipv6, "entry_config_force_ipv6");
  gtk_widget_ref (entry_config_force_ipv6);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "entry_config_force_ipv6", entry_config_force_ipv6,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_config_force_ipv6);
  gtk_table_attach (GTK_TABLE (table97), entry_config_force_ipv6, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_config_bind_ipv6 = gtk_check_button_new_with_label (_("Bind to this address"));
  gtk_widget_set_name (checkbutton_config_bind_ipv6, "checkbutton_config_bind_ipv6");
  gtk_widget_ref (checkbutton_config_bind_ipv6);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_bind_ipv6", checkbutton_config_bind_ipv6,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_bind_ipv6);
  gtk_table_attach (GTK_TABLE (table97), checkbutton_config_bind_ipv6, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  entry_config_ipv6_trt_prefix = gtk_entry_new ();
  gtk_widget_set_name (entry_config_ipv6_trt_prefix, "entry_config_ipv6_trt_prefix");
  gtk_widget_ref (entry_config_ipv6_trt_prefix);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "entry_config_ipv6_trt_prefix", entry_config_ipv6_trt_prefix,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_config_ipv6_trt_prefix);
  gtk_table_attach (GTK_TABLE (table97), entry_config_ipv6_trt_prefix, 1, 3, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_config_ipv6_trt_enable = gtk_check_button_new_with_label (_("Use IPv6-to-IPv4 TRT prefix:"));
  gtk_widget_set_name (checkbutton_config_ipv6_trt_enable, "checkbutton_config_ipv6_trt_enable");
  gtk_widget_ref (checkbutton_config_ipv6_trt_enable);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_ipv6_trt_enable", checkbutton_config_ipv6_trt_enable,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_ipv6_trt_enable);
  gtk_table_attach (GTK_TABLE (table97), checkbutton_config_ipv6_trt_enable, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_SHRINK | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  frame_proxy_settings = gtk_frame_new (_("Proxy settings"));
  gtk_widget_set_name (frame_proxy_settings, "frame_proxy_settings");
  gtk_widget_ref (frame_proxy_settings);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame_proxy_settings", frame_proxy_settings,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_proxy_settings);
  gtk_box_pack_start (GTK_BOX (vbox24), frame_proxy_settings, FALSE, TRUE, 0);

  vbox100 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox100, "vbox100");
  gtk_widget_ref (vbox100);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "vbox100", vbox100,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox100);
  gtk_container_add (GTK_CONTAINER (frame_proxy_settings), vbox100);
  gtk_container_set_border_width (GTK_CONTAINER (vbox100), 2);

  table53 = gtk_table_new (2, 4, FALSE);
  gtk_widget_set_name (table53, "table53");
  gtk_widget_ref (table53);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table53", table53,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table53);
  gtk_box_pack_start (GTK_BOX (vbox100), table53, FALSE, TRUE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table53), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table53), 4);

  label91 = gtk_label_new ("");
  label91_key = gtk_label_parse_uline (GTK_LABEL (label91),
                                   _("H_ost:"));
  gtk_widget_set_name (label91, "label91");
  gtk_widget_ref (label91);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label91", label91,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label91);
  gtk_table_attach (GTK_TABLE (table53), label91, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label91), 7.45058e-09, 0.5);

  label92 = gtk_label_new ("");
  label92_key = gtk_label_parse_uline (GTK_LABEL (label92),
                                   _("TCP _Port:"));
  gtk_widget_set_name (label92, "label92");
  gtk_widget_ref (label92);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label92", label92,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label92);
  gtk_table_attach (GTK_TABLE (table53), label92, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label90 = gtk_label_new ("");
  label90_key = gtk_label_parse_uline (GTK_LABEL (label90),
                                   _("Proxy _type:"));
  gtk_widget_set_name (label90, "label90");
  gtk_widget_ref (label90);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label90", label90,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label90);
  gtk_table_attach (GTK_TABLE (table53), label90, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  spinbutton_config_proxy_port_adj = gtk_adjustment_new (3128, 1, 65535, 1, 10, 10);
  spinbutton_config_proxy_port = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_proxy_port_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_proxy_port, "spinbutton_config_proxy_port");
  gtk_widget_ref (spinbutton_config_proxy_port);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_proxy_port", spinbutton_config_proxy_port,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_proxy_port);
  gtk_table_attach (GTK_TABLE (table53), spinbutton_config_proxy_port, 3, 4, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (spinbutton_config_proxy_port, 64, -2);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_proxy_port), TRUE);

  entry_config_proxy_hostname = gtk_entry_new ();
  gtk_widget_set_name (entry_config_proxy_hostname, "entry_config_proxy_hostname");
  gtk_widget_ref (entry_config_proxy_hostname);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "entry_config_proxy_hostname", entry_config_proxy_hostname,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_config_proxy_hostname);
  gtk_table_attach (GTK_TABLE (table53), entry_config_proxy_hostname, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  option_menu_config_proxy_protocol = gtk_option_menu_new ();
  gtk_widget_set_name (option_menu_config_proxy_protocol, "option_menu_config_proxy_protocol");
  gtk_widget_ref (option_menu_config_proxy_protocol);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "option_menu_config_proxy_protocol", option_menu_config_proxy_protocol,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (option_menu_config_proxy_protocol);
  gtk_table_attach (GTK_TABLE (table53), option_menu_config_proxy_protocol, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  option_menu_config_proxy_protocol_menu = gtk_menu_new ();
  gtk_option_menu_set_menu (GTK_OPTION_MENU (option_menu_config_proxy_protocol), option_menu_config_proxy_protocol_menu);

  table54 = gtk_table_new (2, 4, FALSE);
  gtk_widget_set_name (table54, "table54");
  gtk_widget_ref (table54);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table54", table54,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table54);
  gtk_box_pack_start (GTK_BOX (vbox100), table54, FALSE, TRUE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table54), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table54), 4);

  checkbutton_config_proxy_auth = gtk_check_button_new_with_label ("");
  checkbutton_config_proxy_auth_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_config_proxy_auth)->child),
                                   _("Use username and password to _authenticate to proxy"));
  gtk_widget_add_accelerator (checkbutton_config_proxy_auth, "clicked", accel_group,
                              checkbutton_config_proxy_auth_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_config_proxy_auth, "checkbutton_config_proxy_auth");
  gtk_widget_ref (checkbutton_config_proxy_auth);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_proxy_auth", checkbutton_config_proxy_auth,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_proxy_auth);
  gtk_table_attach (GTK_TABLE (table54), checkbutton_config_proxy_auth, 0, 4, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label93 = gtk_label_new ("");
  label93_key = gtk_label_parse_uline (GTK_LABEL (label93),
                                   _("_Username"));
  gtk_widget_set_name (label93, "label93");
  gtk_widget_ref (label93);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label93", label93,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label93);
  gtk_table_attach (GTK_TABLE (table54), label93, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label93), 7.45058e-09, 0.5);

  label94 = gtk_label_new ("");
  label94_key = gtk_label_parse_uline (GTK_LABEL (label94),
                                   _("Pass_word"));
  gtk_widget_set_name (label94, "label94");
  gtk_widget_ref (label94);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label94", label94,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label94);
  gtk_table_attach (GTK_TABLE (table54), label94, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label94), 7.45058e-09, 0.5);

  entry_config_socks_password = gtk_entry_new ();
  gtk_widget_set_name (entry_config_socks_password, "entry_config_socks_password");
  gtk_widget_ref (entry_config_socks_password);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "entry_config_socks_password", entry_config_socks_password,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_config_socks_password);
  gtk_table_attach (GTK_TABLE (table54), entry_config_socks_password, 3, 4, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (entry_config_socks_password, 82, -2);

  entry_config_socks_username = gtk_entry_new ();
  gtk_widget_set_name (entry_config_socks_username, "entry_config_socks_username");
  gtk_widget_ref (entry_config_socks_username);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "entry_config_socks_username", entry_config_socks_username,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_config_socks_username);
  gtk_table_attach (GTK_TABLE (table54), entry_config_socks_username, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (entry_config_socks_username, 82, -2);

  frame_expert_nw_local = gtk_frame_new (_("Local networks"));
  gtk_widget_set_name (frame_expert_nw_local, "frame_expert_nw_local");
  gtk_widget_ref (frame_expert_nw_local);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame_expert_nw_local", frame_expert_nw_local,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_expert_nw_local);
  gtk_box_pack_start (GTK_BOX (vbox24), frame_expert_nw_local, FALSE, TRUE, 0);

  vbox23_2 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox23_2, "vbox23_2");
  gtk_widget_ref (vbox23_2);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "vbox23_2", vbox23_2,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox23_2);
  gtk_container_add (GTK_CONTAINER (frame_expert_nw_local), vbox23_2);
  gtk_container_set_border_width (GTK_CONTAINER (vbox23_2), 2);

  hbox77 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox77, "hbox77");
  gtk_widget_ref (hbox77);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hbox77", hbox77,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox77);
  gtk_box_pack_start (GTK_BOX (vbox23_2), hbox77, FALSE, FALSE, 0);

  checkbutton_config_use_netmasks = gtk_check_button_new_with_label ("");
  checkbutton_config_use_netmasks_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_config_use_netmasks)->child),
                                   _("_Try to connect to local networks first"));
  gtk_widget_add_accelerator (checkbutton_config_use_netmasks, "clicked", accel_group,
                              checkbutton_config_use_netmasks_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_config_use_netmasks, "checkbutton_config_use_netmasks");
  gtk_widget_ref (checkbutton_config_use_netmasks);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_use_netmasks", checkbutton_config_use_netmasks,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_use_netmasks);
  gtk_box_pack_start (GTK_BOX (hbox77), checkbutton_config_use_netmasks, FALSE, FALSE, 0);

  checkbutton_config_no_rfc1918 = gtk_check_button_new_with_label ("");
  checkbutton_config_no_rfc1918_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_config_no_rfc1918)->child),
                                   _("Allow connections from and to _LAN addresses"));
  gtk_widget_add_accelerator (checkbutton_config_no_rfc1918, "clicked", accel_group,
                              checkbutton_config_no_rfc1918_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_config_no_rfc1918, "checkbutton_config_no_rfc1918");
  gtk_widget_ref (checkbutton_config_no_rfc1918);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_no_rfc1918", checkbutton_config_no_rfc1918,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_no_rfc1918);
  gtk_box_pack_start (GTK_BOX (hbox77), checkbutton_config_no_rfc1918, FALSE, FALSE, 0);

  hbox78 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox78, "hbox78");
  gtk_widget_ref (hbox78);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hbox78", hbox78,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox78);
  gtk_box_pack_start (GTK_BOX (vbox23_2), hbox78, FALSE, FALSE, 0);

  label126_2 = gtk_label_new (_("Local networks"));
  gtk_widget_set_name (label126_2, "label126_2");
  gtk_widget_ref (label126_2);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label126_2", label126_2,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label126_2);
  gtk_box_pack_start (GTK_BOX (hbox78), label126_2, FALSE, FALSE, 0);

  entry_config_netmasks = gtk_entry_new ();
  gtk_widget_set_name (entry_config_netmasks, "entry_config_netmasks");
  gtk_widget_ref (entry_config_netmasks);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "entry_config_netmasks", entry_config_netmasks,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_config_netmasks);
  gtk_box_pack_start (GTK_BOX (hbox78), entry_config_netmasks, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, entry_config_netmasks, _("Enter a semicolon separated list of networks that are local to you in the form of ip/bits or ip/netmask (eg 192.168.1.0/24 or 192.168.1.0/255.255.255.0)"), NULL);

  frame_expert_nw_misc = gtk_frame_new (_("Banning"));
  gtk_widget_set_name (frame_expert_nw_misc, "frame_expert_nw_misc");
  gtk_widget_ref (frame_expert_nw_misc);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame_expert_nw_misc", frame_expert_nw_misc,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_expert_nw_misc);
  gtk_box_pack_start (GTK_BOX (vbox24), frame_expert_nw_misc, FALSE, TRUE, 0);

  table48 = gtk_table_new (4, 4, FALSE);
  gtk_widget_set_name (table48, "table48");
  gtk_widget_ref (table48);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table48", table48,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table48);
  gtk_container_add (GTK_CONTAINER (frame_expert_nw_misc), table48);
  gtk_container_set_border_width (GTK_CONTAINER (table48), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table48), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table48), 4);

  label441 = gtk_label_new ("");
  label441_key = gtk_label_parse_uline (GTK_LABEL (label441),
                                   _("Max. file _descriptors reserved"));
  gtk_widget_set_name (label441, "label441");
  gtk_widget_ref (label441);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label441", label441,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label441);
  gtk_table_attach (GTK_TABLE (table48), label441, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label441), 0, 0.5);

  label442 = gtk_label_new ("");
  label442_key = gtk_label_parse_uline (GTK_LABEL (label442),
                                   _("Max. _percentage of file descriptors"));
  gtk_widget_set_name (label442, "label442");
  gtk_widget_ref (label442);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label442", label442,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label442);
  gtk_table_attach (GTK_TABLE (table48), label442, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label442), 0, 0.5);

  spinbutton_config_ban_max_fds_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_config_ban_max_fds = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_ban_max_fds_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_ban_max_fds, "spinbutton_config_ban_max_fds");
  gtk_widget_ref (spinbutton_config_ban_max_fds);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_ban_max_fds", spinbutton_config_ban_max_fds,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_ban_max_fds);
  gtk_table_attach (GTK_TABLE (table48), spinbutton_config_ban_max_fds, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (spinbutton_config_ban_max_fds, 64, -2);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_ban_max_fds), TRUE);

  spinbutton_config_ban_ratio_fds_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_config_ban_ratio_fds = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_ban_ratio_fds_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_ban_ratio_fds, "spinbutton_config_ban_ratio_fds");
  gtk_widget_ref (spinbutton_config_ban_ratio_fds);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_ban_ratio_fds", spinbutton_config_ban_ratio_fds,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_ban_ratio_fds);
  gtk_table_attach (GTK_TABLE (table48), spinbutton_config_ban_ratio_fds, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_ban_ratio_fds), TRUE);

  label502 = gtk_label_new ("");
  label502_key = gtk_label_parse_uline (GTK_LABEL (label502),
                                   _("Hard limit of _file descriptors used"));
  gtk_widget_set_name (label502, "label502");
  gtk_widget_ref (label502);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label502", label502,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label502);
  gtk_table_attach (GTK_TABLE (table48), label502, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label502), 0, 0.5);

  entry_config_max_banned_fd = gtk_entry_new ();
  gtk_widget_set_name (entry_config_max_banned_fd, "entry_config_max_banned_fd");
  gtk_widget_ref (entry_config_max_banned_fd);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "entry_config_max_banned_fd", entry_config_max_banned_fd,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_config_max_banned_fd);
  gtk_table_attach (GTK_TABLE (table48), entry_config_max_banned_fd, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_sensitive (entry_config_max_banned_fd, FALSE);
  gtk_tooltips_set_tip (tooltips, entry_config_max_banned_fd, _("Actual amount of file descriptors used -- cannot be changed at runtime"), NULL);
  gtk_entry_set_editable (GTK_ENTRY (entry_config_max_banned_fd), FALSE);

  label654 = gtk_label_new (_("Currently used"));
  gtk_widget_set_name (label654, "label654");
  gtk_widget_ref (label654);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label654", label654,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label654);
  gtk_table_attach (GTK_TABLE (table48), label654, 2, 3, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label654), 0, 0.5);

  frame120 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame120, "frame120");
  gtk_widget_ref (frame120);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame120", frame120,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame120);
  gtk_table_attach (GTK_TABLE (table48), frame120, 3, 4, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame120), GTK_SHADOW_IN);

  label_banned_count = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_banned_count, "label_banned_count");
  gtk_widget_ref (label_banned_count);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_banned_count", label_banned_count,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_banned_count);
  gtk_container_add (GTK_CONTAINER (frame120), label_banned_count);
  gtk_misc_set_padding (GTK_MISC (label_banned_count), 5, 0);

  checkbutton_use_global_hostiles = gtk_check_button_new_with_label (_("Use global hostiles.txt"));
  gtk_widget_set_name (checkbutton_use_global_hostiles, "checkbutton_use_global_hostiles");
  gtk_widget_ref (checkbutton_use_global_hostiles);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_use_global_hostiles", checkbutton_use_global_hostiles,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_use_global_hostiles);
  gtk_table_attach (GTK_TABLE (table48), checkbutton_use_global_hostiles, 0, 1, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  frame80 = gtk_frame_new (_("Clock synchronization"));
  gtk_widget_set_name (frame80, "frame80");
  gtk_widget_ref (frame80);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame80", frame80,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame80);
  gtk_box_pack_start (GTK_BOX (vbox24), frame80, FALSE, TRUE, 0);

  table62 = gtk_table_new (1, 3, FALSE);
  gtk_widget_set_name (table62, "table62");
  gtk_widget_ref (table62);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table62", table62,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table62);
  gtk_container_add (GTK_CONTAINER (frame80), table62);
  gtk_container_set_border_width (GTK_CONTAINER (table62), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table62), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table62), 4);

  checkbutton_host_runs_ntp = gtk_check_button_new_with_label ("");
  checkbutton_host_runs_ntp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_host_runs_ntp)->child),
                                   _("Host runs _NTP"));
  gtk_widget_add_accelerator (checkbutton_host_runs_ntp, "clicked", accel_group,
                              checkbutton_host_runs_ntp_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_host_runs_ntp, "checkbutton_host_runs_ntp");
  gtk_widget_ref (checkbutton_host_runs_ntp);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_host_runs_ntp", checkbutton_host_runs_ntp,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_host_runs_ntp);
  gtk_table_attach (GTK_TABLE (table62), checkbutton_host_runs_ntp, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label529 = gtk_label_new (_("Clock skew:"));
  gtk_widget_set_name (label529, "label529");
  gtk_widget_ref (label529);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label529", label529,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label529);
  gtk_table_attach (GTK_TABLE (table62), label529, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label529), 0, 0.5);

  frame117 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame117, "frame117");
  gtk_widget_ref (frame117);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame117", frame117,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame117);
  gtk_table_attach (GTK_TABLE (table62), frame117, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame117), GTK_SHADOW_IN);

  label_clock_skew = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_clock_skew, "label_clock_skew");
  gtk_widget_ref (label_clock_skew);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_clock_skew", label_clock_skew,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_clock_skew);
  gtk_container_add (GTK_CONTAINER (frame117), label_clock_skew);
  gtk_misc_set_padding (GTK_MISC (label_clock_skew), 5, 0);

  frame86 = gtk_frame_new (_("Miscellaneous"));
  gtk_widget_set_name (frame86, "frame86");
  gtk_widget_ref (frame86);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame86", frame86,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame86);
  gtk_box_pack_start (GTK_BOX (vbox24), frame86, FALSE, TRUE, 0);

  vbox120 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox120, "vbox120");
  gtk_widget_ref (vbox120);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "vbox120", vbox120,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox120);
  gtk_container_add (GTK_CONTAINER (frame86), vbox120);

  checkbutton_enable_remote_shell = gtk_check_button_new_with_label ("");
  checkbutton_enable_remote_shell_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_enable_remote_shell)->child),
                                   _("Enable remote _shell control interface"));
  gtk_widget_add_accelerator (checkbutton_enable_remote_shell, "clicked", accel_group,
                              checkbutton_enable_remote_shell_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_enable_remote_shell, "checkbutton_enable_remote_shell");
  gtk_widget_ref (checkbutton_enable_remote_shell);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_enable_remote_shell", checkbutton_enable_remote_shell,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_enable_remote_shell);
  gtk_box_pack_start (GTK_BOX (vbox120), checkbutton_enable_remote_shell, FALSE, FALSE, 0);

  frame_expert_rx_buffers = gtk_frame_new (_("Socket receive buffer size"));
  gtk_widget_set_name (frame_expert_rx_buffers, "frame_expert_rx_buffers");
  gtk_widget_ref (frame_expert_rx_buffers);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame_expert_rx_buffers", frame_expert_rx_buffers,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_expert_rx_buffers);
  gtk_box_pack_start (GTK_BOX (vbox24), frame_expert_rx_buffers, FALSE, TRUE, 0);

  table67 = gtk_table_new (2, 3, FALSE);
  gtk_widget_set_name (table67, "table67");
  gtk_widget_ref (table67);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table67", table67,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table67);
  gtk_container_add (GTK_CONTAINER (frame_expert_rx_buffers), table67);
  gtk_container_set_border_width (GTK_CONTAINER (table67), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table67), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table67), 4);

  label553 = gtk_label_new ("");
  label553_key = gtk_label_parse_uline (GTK_LABEL (label553),
                                   _("_Gnutella RX buffer:"));
  gtk_widget_set_name (label553, "label553");
  gtk_widget_ref (label553);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label553", label553,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label553);
  gtk_table_attach (GTK_TABLE (table67), label553, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label553), 0, 0.5);

  label554 = gtk_label_new (_("KiB"));
  gtk_widget_set_name (label554, "label554");
  gtk_widget_ref (label554);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label554", label554,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label554);
  gtk_table_attach (GTK_TABLE (table67), label554, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label554), 0, 0.5);

  label555 = gtk_label_new (_("KiB"));
  gtk_widget_set_name (label555, "label555");
  gtk_widget_ref (label555);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label555", label555,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label555);
  gtk_table_attach (GTK_TABLE (table67), label555, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label555), 0, 0.5);

  label552 = gtk_label_new ("");
  label552_key = gtk_label_parse_uline (GTK_LABEL (label552),
                                   _("_Download RX buffer:"));
  gtk_widget_set_name (label552, "label552");
  gtk_widget_ref (label552);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label552", label552,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label552);
  gtk_table_attach (GTK_TABLE (table67), label552, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label552), 0, 0.5);

  spinbutton_node_rx_size_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_node_rx_size = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_node_rx_size_adj), 1, 0);
  gtk_widget_set_name (spinbutton_node_rx_size, "spinbutton_node_rx_size");
  gtk_widget_ref (spinbutton_node_rx_size);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_node_rx_size", spinbutton_node_rx_size,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_node_rx_size);
  gtk_table_attach (GTK_TABLE (table67), spinbutton_node_rx_size, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_node_rx_size), TRUE);

  spinbutton_download_rx_size_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_download_rx_size = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_download_rx_size_adj), 1, 0);
  gtk_widget_set_name (spinbutton_download_rx_size, "spinbutton_download_rx_size");
  gtk_widget_ref (spinbutton_download_rx_size);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_download_rx_size", spinbutton_download_rx_size,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_download_rx_size);
  gtk_table_attach (GTK_TABLE (table67), spinbutton_download_rx_size, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_download_rx_size), TRUE);

  label682 = gtk_label_new (_("Network"));
  gtk_widget_set_name (label682, "label682");
  gtk_widget_ref (label682);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label682", label682,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label682);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_prefs), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_prefs), 0), label682);

  scrolledwindow19 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow19, "scrolledwindow19");
  gtk_widget_ref (scrolledwindow19);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "scrolledwindow19", scrolledwindow19,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow19);
  gtk_container_add (GTK_CONTAINER (notebook_prefs), scrolledwindow19);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow19), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  viewport5 = gtk_viewport_new (NULL, NULL);
  gtk_widget_set_name (viewport5, "viewport5");
  gtk_widget_ref (viewport5);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "viewport5", viewport5,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport5);
  gtk_container_add (GTK_CONTAINER (scrolledwindow19), viewport5);

  vbox25 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox25, "vbox25");
  gtk_widget_ref (vbox25);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "vbox25", vbox25,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox25);
  gtk_container_add (GTK_CONTAINER (viewport5), vbox25);
  gtk_container_set_border_width (GTK_CONTAINER (vbox25), 2);

  frame71 = gtk_frame_new (_("Gnutella network mode"));
  gtk_widget_set_name (frame71, "frame71");
  gtk_widget_ref (frame71);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame71", frame71,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame71);
  gtk_box_pack_start (GTK_BOX (vbox25), frame71, FALSE, FALSE, 0);

  hbox186 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox186, "hbox186");
  gtk_widget_ref (hbox186);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hbox186", hbox186,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox186);
  gtk_container_add (GTK_CONTAINER (frame71), hbox186);
  gtk_container_set_border_width (GTK_CONTAINER (hbox186), 2);

  alignment30 = gtk_alignment_new (7.45058e-09, 0.5, 0, 1);
  gtk_widget_set_name (alignment30, "alignment30");
  gtk_widget_ref (alignment30);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "alignment30", alignment30,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (alignment30);
  gtk_box_pack_start (GTK_BOX (hbox186), alignment30, TRUE, TRUE, 0);

  table82 = gtk_table_new (4, 2, FALSE);
  gtk_widget_set_name (table82, "table82");
  gtk_widget_ref (table82);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table82", table82,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table82);
  gtk_container_add (GTK_CONTAINER (alignment30), table82);

  label439 = gtk_label_new (_("Configured peermode"));
  gtk_widget_set_name (label439, "label439");
  gtk_widget_ref (label439);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label439", label439,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label439);
  gtk_table_attach (GTK_TABLE (table82), label439, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_label_set_justify (GTK_LABEL (label439), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (label439), 0, 0.5);
  gtk_misc_set_padding (GTK_MISC (label439), 2, 0);

  checkbutton_gnet_monitor_ip = gtk_check_button_new_with_label (_("Monitor bad node IP addresses"));
  gtk_widget_set_name (checkbutton_gnet_monitor_ip, "checkbutton_gnet_monitor_ip");
  gtk_widget_ref (checkbutton_gnet_monitor_ip);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_gnet_monitor_ip", checkbutton_gnet_monitor_ip,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_gnet_monitor_ip);
  gtk_table_attach (GTK_TABLE (table82), checkbutton_gnet_monitor_ip, 0, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_gnet_monitor_servents = gtk_check_button_new_with_label (_("Monitor and auto-ban unstable servent types"));
  gtk_widget_set_name (checkbutton_gnet_monitor_servents, "checkbutton_gnet_monitor_servents");
  gtk_widget_ref (checkbutton_gnet_monitor_servents);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_gnet_monitor_servents", checkbutton_gnet_monitor_servents,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_gnet_monitor_servents);
  gtk_table_attach (GTK_TABLE (table82), checkbutton_gnet_monitor_servents, 0, 2, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  alignment34 = gtk_alignment_new (7.45058e-09, 0.5, 0, 1);
  gtk_widget_set_name (alignment34, "alignment34");
  gtk_widget_ref (alignment34);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "alignment34", alignment34,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (alignment34);
  gtk_table_attach (GTK_TABLE (table82), alignment34, 0, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  frame72 = gtk_frame_new (_("Ultrapeer mode settings"));
  gtk_widget_set_name (frame72, "frame72");
  gtk_widget_ref (frame72);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame72", frame72,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame72);
  gtk_container_add (GTK_CONTAINER (alignment34), frame72);
  gtk_frame_set_shadow_type (GTK_FRAME (frame72), GTK_SHADOW_OUT);

  table87 = gtk_table_new (2, 2, FALSE);
  gtk_widget_set_name (table87, "table87");
  gtk_widget_ref (table87);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table87", table87,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table87);
  gtk_container_add (GTK_CONTAINER (frame72), table87);
  gtk_container_set_border_width (GTK_CONTAINER (table87), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table87), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table87), 4);

  label459 = gtk_label_new (_("Legacy connections"));
  gtk_widget_set_name (label459, "label459");
  gtk_widget_ref (label459);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label459", label459,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label459);
  gtk_table_attach (GTK_TABLE (table87), label459, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label504 = gtk_label_new (_("Maximum # of leaves"));
  gtk_widget_set_name (label504, "label504");
  gtk_widget_ref (label504);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label504", label504,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label504);
  gtk_table_attach (GTK_TABLE (table87), label504, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label504), 0, 0.5);

  spinbutton_normal_connections_adj = gtk_adjustment_new (0, 0, 100, 1, 10, 10);
  spinbutton_normal_connections = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_normal_connections_adj), 1, 0);
  gtk_widget_set_name (spinbutton_normal_connections, "spinbutton_normal_connections");
  gtk_widget_ref (spinbutton_normal_connections);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_normal_connections", spinbutton_normal_connections,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_normal_connections);
  gtk_table_attach (GTK_TABLE (table87), spinbutton_normal_connections, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  spinbutton_config_max_leaves_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_config_max_leaves = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_max_leaves_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_max_leaves, "spinbutton_config_max_leaves");
  gtk_widget_ref (spinbutton_config_max_leaves);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_max_leaves", spinbutton_config_max_leaves,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_max_leaves);
  gtk_table_attach (GTK_TABLE (table87), spinbutton_config_max_leaves, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  option_menu_config_peermode = gtk_option_menu_new ();
  gtk_widget_set_name (option_menu_config_peermode, "option_menu_config_peermode");
  gtk_widget_ref (option_menu_config_peermode);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "option_menu_config_peermode", option_menu_config_peermode,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (option_menu_config_peermode);
  gtk_table_attach (GTK_TABLE (table82), option_menu_config_peermode, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  option_menu_config_peermode_menu = gtk_menu_new ();
  gtk_option_menu_set_menu (GTK_OPTION_MENU (option_menu_config_peermode), option_menu_config_peermode_menu);

  vbox121 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox121, "vbox121");
  gtk_widget_ref (vbox121);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "vbox121", vbox121,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox121);
  gtk_box_pack_start (GTK_BOX (hbox186), vbox121, FALSE, TRUE, 0);

  frame_gnet_can_become_ultra = gtk_frame_new (_("Ultrapeer promotion statistics"));
  gtk_widget_set_name (frame_gnet_can_become_ultra, "frame_gnet_can_become_ultra");
  gtk_widget_ref (frame_gnet_can_become_ultra);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame_gnet_can_become_ultra", frame_gnet_can_become_ultra,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_gnet_can_become_ultra);
  gtk_box_pack_start (GTK_BOX (vbox121), frame_gnet_can_become_ultra, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame_gnet_can_become_ultra), GTK_SHADOW_OUT);

  vbox116 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox116, "vbox116");
  gtk_widget_ref (vbox116);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "vbox116", vbox116,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox116);
  gtk_container_add (GTK_CONTAINER (frame_gnet_can_become_ultra), vbox116);
  gtk_container_set_border_width (GTK_CONTAINER (vbox116), 2);

  table73 = gtk_table_new (1, 4, FALSE);
  gtk_widget_set_name (table73, "table73");
  gtk_widget_ref (table73);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table73", table73,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table73);
  gtk_box_pack_start (GTK_BOX (vbox116), table73, TRUE, TRUE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table73), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table73), 4);

  label577 = gtk_label_new (_("Last check"));
  gtk_widget_set_name (label577, "label577");
  gtk_widget_ref (label577);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label577", label577,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label577);
  gtk_table_attach (GTK_TABLE (table73), label577, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label577), 0, 0.5);
  gtk_misc_set_padding (GTK_MISC (label577), 2, 0);

  label579 = gtk_label_new (_("Last switch"));
  gtk_widget_set_name (label579, "label579");
  gtk_widget_ref (label579);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label579", label579,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label579);
  gtk_table_attach (GTK_TABLE (table73), label579, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label579), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label579), 2, 0);

  frame107 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame107, "frame107");
  gtk_widget_ref (frame107);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame107", frame107,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame107);
  gtk_table_attach (GTK_TABLE (table73), frame107, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame107), GTK_SHADOW_IN);

  label_node_last_ultracheck = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_node_last_ultracheck, "label_node_last_ultracheck");
  gtk_widget_ref (label_node_last_ultracheck);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_node_last_ultracheck", label_node_last_ultracheck,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_node_last_ultracheck);
  gtk_container_add (GTK_CONTAINER (frame107), label_node_last_ultracheck);
  gtk_misc_set_padding (GTK_MISC (label_node_last_ultracheck), 5, 0);

  frame108 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame108, "frame108");
  gtk_widget_ref (frame108);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame108", frame108,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame108);
  gtk_table_attach (GTK_TABLE (table73), frame108, 3, 4, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame108), GTK_SHADOW_IN);

  label_last_ultra_leaf_switch = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_last_ultra_leaf_switch, "label_last_ultra_leaf_switch");
  gtk_widget_ref (label_last_ultra_leaf_switch);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_last_ultra_leaf_switch", label_last_ultra_leaf_switch,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_last_ultra_leaf_switch);
  gtk_container_add (GTK_CONTAINER (frame108), label_last_ultra_leaf_switch);
  gtk_misc_set_padding (GTK_MISC (label_last_ultra_leaf_switch), 5, 0);

  hseparator14 = gtk_hseparator_new ();
  gtk_widget_set_name (hseparator14, "hseparator14");
  gtk_widget_ref (hseparator14);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hseparator14", hseparator14,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hseparator14);
  gtk_box_pack_start (GTK_BOX (vbox116), hseparator14, FALSE, TRUE, 0);

  table74 = gtk_table_new (5, 5, FALSE);
  gtk_widget_set_name (table74, "table74");
  gtk_widget_ref (table74);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table74", table74,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table74);
  gtk_box_pack_start (GTK_BOX (vbox116), table74, TRUE, TRUE, 0);
  gtk_table_set_col_spacings (GTK_TABLE (table74), 2);

  label584 = gtk_label_new (_("Large enough uptime"));
  gtk_widget_set_name (label584, "label584");
  gtk_widget_ref (label584);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label584", label584,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label584);
  gtk_table_attach (GTK_TABLE (table74), label584, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label584), 0, 0.5);
  gtk_misc_set_padding (GTK_MISC (label584), 2, 0);

  label591 = gtk_label_new (_("Not firewalled"));
  gtk_widget_set_name (label591, "label591");
  gtk_widget_ref (label591);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label591", label591,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label591);
  gtk_table_attach (GTK_TABLE (table74), label591, 3, 4, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label591), 0, 0.5);

  label592 = gtk_label_new (_("Enough file descriptors"));
  gtk_widget_set_name (label592, "label592");
  gtk_widget_ref (label592);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label592", label592,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label592);
  gtk_table_attach (GTK_TABLE (table74), label592, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label592), 0, 0.5);
  gtk_misc_set_padding (GTK_MISC (label592), 2, 0);

  label593 = gtk_label_new (_("Enough physical memory"));
  gtk_widget_set_name (label593, "label593");
  gtk_widget_ref (label593);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label593", label593,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label593);
  gtk_table_attach (GTK_TABLE (table74), label593, 3, 4, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label593), 0, 0.5);

  label594 = gtk_label_new (_("Enough available bandwidth"));
  gtk_widget_set_name (label594, "label594");
  gtk_widget_ref (label594);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label594", label594,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label594);
  gtk_table_attach (GTK_TABLE (table74), label594, 0, 1, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label594), 0, 0.5);
  gtk_misc_set_padding (GTK_MISC (label594), 2, 0);

  label583 = gtk_label_new (_("IP address stability"));
  gtk_widget_set_name (label583, "label583");
  gtk_widget_ref (label583);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label583", label583,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label583);
  gtk_table_attach (GTK_TABLE (table74), label583, 3, 4, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label583), 0, 0.5);

  label581 = gtk_label_new (_("Sufficient average uptime"));
  gtk_widget_set_name (label581, "label581");
  gtk_widget_ref (label581);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label581", label581,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label581);
  gtk_table_attach (GTK_TABLE (table74), label581, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label581), 0, 0.5);
  gtk_misc_set_padding (GTK_MISC (label581), 2, 0);

  frame109 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame109, "frame109");
  gtk_widget_ref (frame109);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame109", frame109,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame109);
  gtk_table_attach (GTK_TABLE (table74), frame109, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame109), GTK_SHADOW_IN);

  label_up_req_avg_servent_uptime = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_up_req_avg_servent_uptime, "label_up_req_avg_servent_uptime");
  gtk_widget_ref (label_up_req_avg_servent_uptime);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_up_req_avg_servent_uptime", label_up_req_avg_servent_uptime,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_up_req_avg_servent_uptime);
  gtk_container_add (GTK_CONTAINER (frame109), label_up_req_avg_servent_uptime);
  gtk_misc_set_alignment (GTK_MISC (label_up_req_avg_servent_uptime), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_up_req_avg_servent_uptime), 5, 0);

  frame110 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame110, "frame110");
  gtk_widget_ref (frame110);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame110", frame110,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame110);
  gtk_table_attach (GTK_TABLE (table74), frame110, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame110), GTK_SHADOW_IN);

  label_up_req_node_uptime = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_up_req_node_uptime, "label_up_req_node_uptime");
  gtk_widget_ref (label_up_req_node_uptime);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_up_req_node_uptime", label_up_req_node_uptime,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_up_req_node_uptime);
  gtk_container_add (GTK_CONTAINER (frame110), label_up_req_node_uptime);
  gtk_misc_set_alignment (GTK_MISC (label_up_req_node_uptime), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_up_req_node_uptime), 5, 0);

  frame111 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame111, "frame111");
  gtk_widget_ref (frame111);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame111", frame111,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame111);
  gtk_table_attach (GTK_TABLE (table74), frame111, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame111), GTK_SHADOW_IN);

  label_up_req_enough_fd = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_up_req_enough_fd, "label_up_req_enough_fd");
  gtk_widget_ref (label_up_req_enough_fd);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_up_req_enough_fd", label_up_req_enough_fd,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_up_req_enough_fd);
  gtk_container_add (GTK_CONTAINER (frame111), label_up_req_enough_fd);
  gtk_misc_set_alignment (GTK_MISC (label_up_req_enough_fd), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_up_req_enough_fd), 5, 0);

  frame112 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame112, "frame112");
  gtk_widget_ref (frame112);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame112", frame112,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame112);
  gtk_table_attach (GTK_TABLE (table74), frame112, 1, 2, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame112), GTK_SHADOW_IN);

  label_up_req_enough_bw = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_up_req_enough_bw, "label_up_req_enough_bw");
  gtk_widget_ref (label_up_req_enough_bw);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_up_req_enough_bw", label_up_req_enough_bw,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_up_req_enough_bw);
  gtk_container_add (GTK_CONTAINER (frame112), label_up_req_enough_bw);
  gtk_misc_set_alignment (GTK_MISC (label_up_req_enough_bw), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_up_req_enough_bw), 5, 0);

  frame113 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame113, "frame113");
  gtk_widget_ref (frame113);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame113", frame113,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame113);
  gtk_table_attach (GTK_TABLE (table74), frame113, 4, 5, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame113), GTK_SHADOW_IN);

  label_up_req_avg_ip_uptime = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_up_req_avg_ip_uptime, "label_up_req_avg_ip_uptime");
  gtk_widget_ref (label_up_req_avg_ip_uptime);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_up_req_avg_ip_uptime", label_up_req_avg_ip_uptime,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_up_req_avg_ip_uptime);
  gtk_container_add (GTK_CONTAINER (frame113), label_up_req_avg_ip_uptime);
  gtk_misc_set_alignment (GTK_MISC (label_up_req_avg_ip_uptime), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_up_req_avg_ip_uptime), 5, 0);

  frame114 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame114, "frame114");
  gtk_widget_ref (frame114);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame114", frame114,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame114);
  gtk_table_attach (GTK_TABLE (table74), frame114, 4, 5, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame114), GTK_SHADOW_IN);

  label_up_req_not_firewalled = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_up_req_not_firewalled, "label_up_req_not_firewalled");
  gtk_widget_ref (label_up_req_not_firewalled);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_up_req_not_firewalled", label_up_req_not_firewalled,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_up_req_not_firewalled);
  gtk_container_add (GTK_CONTAINER (frame114), label_up_req_not_firewalled);
  gtk_misc_set_alignment (GTK_MISC (label_up_req_not_firewalled), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_up_req_not_firewalled), 5, 0);

  frame115 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame115, "frame115");
  gtk_widget_ref (frame115);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame115", frame115,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame115);
  gtk_table_attach (GTK_TABLE (table74), frame115, 4, 5, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame115), GTK_SHADOW_IN);

  label_up_req_enough_mem = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_up_req_enough_mem, "label_up_req_enough_mem");
  gtk_widget_ref (label_up_req_enough_mem);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_up_req_enough_mem", label_up_req_enough_mem,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_up_req_enough_mem);
  gtk_container_add (GTK_CONTAINER (frame115), label_up_req_enough_mem);
  gtk_misc_set_alignment (GTK_MISC (label_up_req_enough_mem), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_up_req_enough_mem), 5, 0);

  label681 = gtk_label_new (_("Enough min # of connections"));
  gtk_widget_set_name (label681, "label681");
  gtk_widget_ref (label681);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label681", label681,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label681);
  gtk_table_attach (GTK_TABLE (table74), label681, 3, 4, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label681), 0, 0.5);

  frame132 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame132, "frame132");
  gtk_widget_ref (frame132);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame132", frame132,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame132);
  gtk_table_attach (GTK_TABLE (table74), frame132, 4, 5, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame132), GTK_SHADOW_IN);

  label_up_req_enough_conn = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_up_req_enough_conn, "label_up_req_enough_conn");
  gtk_widget_ref (label_up_req_enough_conn);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_up_req_enough_conn", label_up_req_enough_conn,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_up_req_enough_conn);
  gtk_container_add (GTK_CONTAINER (frame132), label_up_req_enough_conn);
  gtk_misc_set_alignment (GTK_MISC (label_up_req_enough_conn), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_up_req_enough_conn), 5, 0);

  vseparator2 = gtk_vseparator_new ();
  gtk_widget_set_name (vseparator2, "vseparator2");
  gtk_widget_ref (vseparator2);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "vseparator2", vseparator2,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vseparator2);
  gtk_table_attach (GTK_TABLE (table74), vseparator2, 2, 3, 0, 5,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  label784 = gtk_label_new (_("Enough UDP support"));
  gtk_widget_set_name (label784, "label784");
  gtk_widget_ref (label784);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label784", label784,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label784);
  gtk_table_attach (GTK_TABLE (table74), label784, 0, 1, 4, 5,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label784), 0, 0.5);
  gtk_misc_set_padding (GTK_MISC (label784), 2, 0);

  frame145 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame145, "frame145");
  gtk_widget_ref (frame145);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame145", frame145,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame145);
  gtk_table_attach (GTK_TABLE (table74), frame145, 1, 2, 4, 5,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame145), GTK_SHADOW_IN);

  label_up_req_good_udp = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_up_req_good_udp, "label_up_req_good_udp");
  gtk_widget_ref (label_up_req_good_udp);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_up_req_good_udp", label_up_req_good_udp,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_up_req_good_udp);
  gtk_container_add (GTK_CONTAINER (frame145), label_up_req_good_udp);
  gtk_misc_set_alignment (GTK_MISC (label_up_req_good_udp), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_up_req_good_udp), 5, 0);

  frame_searches = gtk_frame_new (_("Searches"));
  gtk_widget_set_name (frame_searches, "frame_searches");
  gtk_widget_ref (frame_searches);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame_searches", frame_searches,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_searches);
  gtk_box_pack_start (GTK_BOX (vbox25), frame_searches, FALSE, TRUE, 0);

  hbox188 = gtk_hbox_new (FALSE, 2);
  gtk_widget_set_name (hbox188, "hbox188");
  gtk_widget_ref (hbox188);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hbox188", hbox188,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox188);
  gtk_container_add (GTK_CONTAINER (frame_searches), hbox188);
  gtk_container_set_border_width (GTK_CONTAINER (hbox188), 2);

  alignment31 = gtk_alignment_new (7.45058e-09, 0.5, 0, 1);
  gtk_widget_set_name (alignment31, "alignment31");
  gtk_widget_ref (alignment31);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "alignment31", alignment31,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (alignment31);
  gtk_box_pack_start (GTK_BOX (hbox188), alignment31, FALSE, TRUE, 0);

  table83 = gtk_table_new (2, 3, FALSE);
  gtk_widget_set_name (table83, "table83");
  gtk_widget_ref (table83);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table83", table83,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table83);
  gtk_container_add (GTK_CONTAINER (alignment31), table83);
  gtk_table_set_row_spacings (GTK_TABLE (table83), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table83), 4);

  label37 = gtk_label_new ("");
  label37_key = gtk_label_parse_uline (GTK_LABEL (label37),
                                   _("Limit search _results to "));
  gtk_widget_set_name (label37, "label37");
  gtk_widget_ref (label37);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label37", label37,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label37);
  gtk_table_attach (GTK_TABLE (table83), label37, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label37), 7.45058e-09, 0.5);

  spinbutton_config_search_items_adj = gtk_adjustment_new (1, 1, 255, 1, 10, 10);
  spinbutton_config_search_items = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_search_items_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_search_items, "spinbutton_config_search_items");
  gtk_widget_ref (spinbutton_config_search_items);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_search_items", spinbutton_config_search_items,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_search_items);
  gtk_table_attach (GTK_TABLE (table83), spinbutton_config_search_items, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (spinbutton_config_search_items, 64, -2);
  gtk_tooltips_set_tip (tooltips, spinbutton_config_search_items, _("This limits how many results gnutella returns to other people searching your files."), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_search_items), TRUE);

  label38 = gtk_label_new (_("items"));
  gtk_widget_set_name (label38, "label38");
  gtk_widget_ref (label38);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label38", label38,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label38);
  gtk_table_attach (GTK_TABLE (table83), label38, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label38), 7.45058e-09, 0.5);

  label567 = gtk_label_new ("");
  label567_key = gtk_label_parse_uline (GTK_LABEL (label567),
                                   _("Default search _reissue timeout"));
  gtk_widget_set_name (label567, "label567");
  gtk_widget_ref (label567);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label567", label567,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label567);
  gtk_table_attach (GTK_TABLE (table83), label567, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label567), 0, 0.5);

  spinbutton_config_search_reissue_timeout_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_config_search_reissue_timeout = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_search_reissue_timeout_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_search_reissue_timeout, "spinbutton_config_search_reissue_timeout");
  gtk_widget_ref (spinbutton_config_search_reissue_timeout);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_search_reissue_timeout", spinbutton_config_search_reissue_timeout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_search_reissue_timeout);
  gtk_table_attach (GTK_TABLE (table83), spinbutton_config_search_reissue_timeout, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_search_reissue_timeout), TRUE);

  label568 = gtk_label_new (_("seconds"));
  gtk_widget_set_name (label568, "label568");
  gtk_widget_ref (label568);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label568", label568,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label568);
  gtk_table_attach (GTK_TABLE (table83), label568, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label568), 0, 0.5);

  frame_expert_oob_queries = gtk_frame_new (_("Out of Band Querying"));
  gtk_widget_set_name (frame_expert_oob_queries, "frame_expert_oob_queries");
  gtk_widget_ref (frame_expert_oob_queries);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame_expert_oob_queries", frame_expert_oob_queries,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_expert_oob_queries);
  gtk_box_pack_start (GTK_BOX (hbox188), frame_expert_oob_queries, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame_expert_oob_queries), GTK_SHADOW_OUT);

  vbox131 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox131, "vbox131");
  gtk_widget_ref (vbox131);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "vbox131", vbox131,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox131);
  gtk_container_add (GTK_CONTAINER (frame_expert_oob_queries), vbox131);

  checkbutton_send_oob_queries = gtk_check_button_new_with_label (_("Queries ask for OOB results"));
  gtk_widget_set_name (checkbutton_send_oob_queries, "checkbutton_send_oob_queries");
  gtk_widget_ref (checkbutton_send_oob_queries);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_send_oob_queries", checkbutton_send_oob_queries,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_send_oob_queries);
  gtk_box_pack_start (GTK_BOX (vbox131), checkbutton_send_oob_queries, FALSE, FALSE, 0);

  checkbutton_process_oob_queries = gtk_check_button_new_with_label (_("Honor OOB flag in queries"));
  gtk_widget_set_name (checkbutton_process_oob_queries, "checkbutton_process_oob_queries");
  gtk_widget_ref (checkbutton_process_oob_queries);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_process_oob_queries", checkbutton_process_oob_queries,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_process_oob_queries);
  gtk_box_pack_start (GTK_BOX (vbox131), checkbutton_process_oob_queries, FALSE, FALSE, 0);

  checkbutton_proxy_oob_queries = gtk_check_button_new_with_label (_("Act as OOB proxy for leaves"));
  gtk_widget_set_name (checkbutton_proxy_oob_queries, "checkbutton_proxy_oob_queries");
  gtk_widget_ref (checkbutton_proxy_oob_queries);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_proxy_oob_queries", checkbutton_proxy_oob_queries,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_proxy_oob_queries);
  gtk_box_pack_start (GTK_BOX (vbox131), checkbutton_proxy_oob_queries, FALSE, FALSE, 0);

  vbox122 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox122, "vbox122");
  gtk_widget_ref (vbox122);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "vbox122", vbox122,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox122);
  gtk_box_pack_start (GTK_BOX (hbox188), vbox122, TRUE, TRUE, 0);

  frame_expert_search_queue = gtk_frame_new (_("Search queue"));
  gtk_widget_set_name (frame_expert_search_queue, "frame_expert_search_queue");
  gtk_widget_ref (frame_expert_search_queue);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame_expert_search_queue", frame_expert_search_queue,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_expert_search_queue);
  gtk_box_pack_start (GTK_BOX (vbox122), frame_expert_search_queue, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame_expert_search_queue), GTK_SHADOW_OUT);

  table75 = gtk_table_new (1, 4, FALSE);
  gtk_widget_set_name (table75, "table75");
  gtk_widget_ref (table75);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table75", table75,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table75);
  gtk_container_add (GTK_CONTAINER (frame_expert_search_queue), table75);
  gtk_container_set_border_width (GTK_CONTAINER (table75), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table75), 4);

  label595 = gtk_label_new (_("Size"));
  gtk_widget_set_name (label595, "label595");
  gtk_widget_ref (label595);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label595", label595,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label595);
  gtk_table_attach (GTK_TABLE (table75), label595, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label595), 0, 0.5);
  gtk_misc_set_padding (GTK_MISC (label595), 2, 0);

  label596 = gtk_label_new (_("Spacing"));
  gtk_widget_set_name (label596, "label596");
  gtk_widget_ref (label596);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label596", label596,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label596);
  gtk_table_attach (GTK_TABLE (table75), label596, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label596), 0, 0.5);

  spinbutton_search_queue_spacing_adj = gtk_adjustment_new (60, 0, 100, 1, 10, 10);
  spinbutton_search_queue_spacing = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_search_queue_spacing_adj), 1, 0);
  gtk_widget_set_name (spinbutton_search_queue_spacing, "spinbutton_search_queue_spacing");
  gtk_widget_ref (spinbutton_search_queue_spacing);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_search_queue_spacing", spinbutton_search_queue_spacing,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_search_queue_spacing);
  gtk_table_attach (GTK_TABLE (table75), spinbutton_search_queue_spacing, 3, 4, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (spinbutton_search_queue_spacing, 45, -2);

  spinbutton_search_queue_size_adj = gtk_adjustment_new (1000, 0, 1000, 1, 10, 10);
  spinbutton_search_queue_size = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_search_queue_size_adj), 1, 0);
  gtk_widget_set_name (spinbutton_search_queue_size, "spinbutton_search_queue_size");
  gtk_widget_ref (spinbutton_search_queue_size);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_search_queue_size", spinbutton_search_queue_size,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_search_queue_size);
  gtk_table_attach (GTK_TABLE (table75), spinbutton_search_queue_size, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (spinbutton_search_queue_size, 59, -2);

  frame_expert_gnet_timeout = gtk_frame_new (_("GnutellaNet timeouts (all values in seconds)"));
  gtk_widget_set_name (frame_expert_gnet_timeout, "frame_expert_gnet_timeout");
  gtk_widget_ref (frame_expert_gnet_timeout);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame_expert_gnet_timeout", frame_expert_gnet_timeout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_expert_gnet_timeout);
  gtk_box_pack_start (GTK_BOX (vbox25), frame_expert_gnet_timeout, FALSE, TRUE, 0);

  table10 = gtk_table_new (2, 4, FALSE);
  gtk_widget_set_name (table10, "table10");
  gtk_widget_ref (table10);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table10", table10,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table10);
  gtk_container_add (GTK_CONTAINER (frame_expert_gnet_timeout), table10);
  gtk_container_set_border_width (GTK_CONTAINER (table10), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table10), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table10), 4);

  label175 = gtk_label_new ("");
  label175_key = gtk_label_parse_uline (GTK_LABEL (label175),
                                   _("Connectin_g timeout"));
  gtk_widget_set_name (label175, "label175");
  gtk_widget_ref (label175);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label175", label175,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label175);
  gtk_table_attach (GTK_TABLE (table10), label175, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label175), 0, 0.5);

  label176 = gtk_label_new ("");
  label176_key = gtk_label_parse_uline (GTK_LABEL (label176),
                                   _("Connected time_out"));
  gtk_widget_set_name (label176, "label176");
  gtk_widget_ref (label176);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label176", label176,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label176);
  gtk_table_attach (GTK_TABLE (table10), label176, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label176), 0, 0.5);

  label177 = gtk_label_new ("");
  label177_key = gtk_label_parse_uline (GTK_LABEL (label177),
                                   _("T_X flow control timeout"));
  gtk_widget_set_name (label177, "label177");
  gtk_widget_ref (label177);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label177", label177,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label177);
  gtk_table_attach (GTK_TABLE (table10), label177, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label177), 0, 0.5);

  spinbutton_config_node_tx_flowc_timeout_adj = gtk_adjustment_new (1, 1, 100000, 1, 10, 10);
  spinbutton_config_node_tx_flowc_timeout = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_node_tx_flowc_timeout_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_node_tx_flowc_timeout, "spinbutton_config_node_tx_flowc_timeout");
  gtk_widget_ref (spinbutton_config_node_tx_flowc_timeout);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_node_tx_flowc_timeout", spinbutton_config_node_tx_flowc_timeout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_node_tx_flowc_timeout);
  gtk_table_attach (GTK_TABLE (table10), spinbutton_config_node_tx_flowc_timeout, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (spinbutton_config_node_tx_flowc_timeout, 64, -2);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_node_tx_flowc_timeout), TRUE);

  spinbutton_config_node_connecting_timeout_adj = gtk_adjustment_new (1, 1, 100000, 1, 10, 10);
  spinbutton_config_node_connecting_timeout = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_node_connecting_timeout_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_node_connecting_timeout, "spinbutton_config_node_connecting_timeout");
  gtk_widget_ref (spinbutton_config_node_connecting_timeout);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_node_connecting_timeout", spinbutton_config_node_connecting_timeout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_node_connecting_timeout);
  gtk_table_attach (GTK_TABLE (table10), spinbutton_config_node_connecting_timeout, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (spinbutton_config_node_connecting_timeout, 64, -2);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_node_connecting_timeout), TRUE);

  spinbutton_config_node_connected_timeout_adj = gtk_adjustment_new (1, 1, 100000, 1, 10, 10);
  spinbutton_config_node_connected_timeout = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_node_connected_timeout_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_node_connected_timeout, "spinbutton_config_node_connected_timeout");
  gtk_widget_ref (spinbutton_config_node_connected_timeout);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_node_connected_timeout", spinbutton_config_node_connected_timeout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_node_connected_timeout);
  gtk_table_attach (GTK_TABLE (table10), spinbutton_config_node_connected_timeout, 3, 4, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (spinbutton_config_node_connected_timeout, 64, -2);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_node_connected_timeout), TRUE);

  label503 = gtk_label_new (_("Incoming connecting timeout"));
  gtk_widget_set_name (label503, "label503");
  gtk_widget_ref (label503);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label503", label503,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label503);
  gtk_table_attach (GTK_TABLE (table10), label503, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label503), 0, 0.5);

  spinbutton_config_incoming_connecting_timeout_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_config_incoming_connecting_timeout = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_incoming_connecting_timeout_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_incoming_connecting_timeout, "spinbutton_config_incoming_connecting_timeout");
  gtk_widget_ref (spinbutton_config_incoming_connecting_timeout);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_incoming_connecting_timeout", spinbutton_config_incoming_connecting_timeout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_incoming_connecting_timeout);
  gtk_table_attach (GTK_TABLE (table10), spinbutton_config_incoming_connecting_timeout, 3, 4, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  alignment26 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_set_name (alignment26, "alignment26");
  gtk_widget_ref (alignment26);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "alignment26", alignment26,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (alignment26);
  gtk_box_pack_start (GTK_BOX (vbox25), alignment26, FALSE, TRUE, 0);

  frame_expert_gnet_ttl = gtk_frame_new (_("GnutellaNet TTL settings"));
  gtk_widget_set_name (frame_expert_gnet_ttl, "frame_expert_gnet_ttl");
  gtk_widget_ref (frame_expert_gnet_ttl);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame_expert_gnet_ttl", frame_expert_gnet_ttl,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_expert_gnet_ttl);
  gtk_container_add (GTK_CONTAINER (alignment26), frame_expert_gnet_ttl);

  table9 = gtk_table_new (3, 5, FALSE);
  gtk_widget_set_name (table9, "table9");
  gtk_widget_ref (table9);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table9", table9,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table9);
  gtk_container_add (GTK_CONTAINER (frame_expert_gnet_ttl), table9);
  gtk_container_set_border_width (GTK_CONTAINER (table9), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table9), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table9), 4);

  label84 = gtk_label_new ("");
  label84_key = gtk_label_parse_uline (GTK_LABEL (label84),
                                   _("Max _TTL"));
  gtk_widget_set_name (label84, "label84");
  gtk_widget_ref (label84);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label84", label84,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label84);
  gtk_table_attach (GTK_TABLE (table9), label84, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label84), 7.45058e-09, 0.5);

  label85 = gtk_label_new ("");
  label85_key = gtk_label_parse_uline (GTK_LABEL (label85),
                                   _("M_y TTL"));
  gtk_widget_set_name (label85, "label85");
  gtk_widget_ref (label85);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label85", label85,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label85);
  gtk_table_attach (GTK_TABLE (table9), label85, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label85), 7.45058e-09, 0.5);

  label158 = gtk_label_new ("");
  label158_key = gtk_label_parse_uline (GTK_LABEL (label158),
                                   _("from _nodes within a"));
  gtk_widget_set_name (label158, "label158");
  gtk_widget_ref (label158);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label158", label158,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label158);
  gtk_table_attach (GTK_TABLE (table9), label158, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label158), 0, 0.5);

  label157 = gtk_label_new ("");
  label157_key = gtk_label_parse_uline (GTK_LABEL (label157),
                                   _("Max # of _high TTL msg"));
  gtk_widget_set_name (label157, "label157");
  gtk_widget_ref (label157);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label157", label157,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label157);
  gtk_table_attach (GTK_TABLE (table9), label157, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label157), 0, 0.5);

  label159 = gtk_label_new ("");
  label159_key = gtk_label_parse_uline (GTK_LABEL (label159),
                                   _("H_ard TTL limit"));
  gtk_widget_set_name (label159, "label159");
  gtk_widget_ref (label159);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label159", label159,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label159);
  gtk_table_attach (GTK_TABLE (table9), label159, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label159), 0, 0.5);

  spinbutton_config_maxttl_adj = gtk_adjustment_new (1, 1, 99, 1, 5, 5);
  spinbutton_config_maxttl = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_maxttl_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_maxttl, "spinbutton_config_maxttl");
  gtk_widget_ref (spinbutton_config_maxttl);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_maxttl", spinbutton_config_maxttl,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_maxttl);
  gtk_table_attach (GTK_TABLE (table9), spinbutton_config_maxttl, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (spinbutton_config_maxttl, 64, -2);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_maxttl), TRUE);

  spinbutton_config_max_high_ttl_msg_adj = gtk_adjustment_new (1, 0, 99, 1, 10, 10);
  spinbutton_config_max_high_ttl_msg = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_max_high_ttl_msg_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_max_high_ttl_msg, "spinbutton_config_max_high_ttl_msg");
  gtk_widget_ref (spinbutton_config_max_high_ttl_msg);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_max_high_ttl_msg", spinbutton_config_max_high_ttl_msg,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_max_high_ttl_msg);
  gtk_table_attach (GTK_TABLE (table9), spinbutton_config_max_high_ttl_msg, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, spinbutton_config_max_high_ttl_msg, _("Amount of tolerable messages above hard TTL limit per node"), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_max_high_ttl_msg), TRUE);

  spinbutton_config_hard_ttl_limit_adj = gtk_adjustment_new (1, 5, 99, 1, 10, 10);
  spinbutton_config_hard_ttl_limit = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_hard_ttl_limit_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_hard_ttl_limit, "spinbutton_config_hard_ttl_limit");
  gtk_widget_ref (spinbutton_config_hard_ttl_limit);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_hard_ttl_limit", spinbutton_config_hard_ttl_limit,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_hard_ttl_limit);
  gtk_table_attach (GTK_TABLE (table9), spinbutton_config_hard_ttl_limit, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, spinbutton_config_hard_ttl_limit, _("Max hard TTL limit (hop+ttl) on message"), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_hard_ttl_limit), TRUE);

  spinbutton_config_myttl_adj = gtk_adjustment_new (1, 1, 99, 1, 5, 5);
  spinbutton_config_myttl = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_myttl_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_myttl, "spinbutton_config_myttl");
  gtk_widget_ref (spinbutton_config_myttl);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_myttl", spinbutton_config_myttl,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_myttl);
  gtk_table_attach (GTK_TABLE (table9), spinbutton_config_myttl, 3, 4, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (spinbutton_config_myttl, 64, -2);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_myttl), TRUE);

  spinbutton_config_max_high_ttl_radius_adj = gtk_adjustment_new (1, 1, 99, 1, 10, 10);
  spinbutton_config_max_high_ttl_radius = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_max_high_ttl_radius_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_max_high_ttl_radius, "spinbutton_config_max_high_ttl_radius");
  gtk_widget_ref (spinbutton_config_max_high_ttl_radius);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_max_high_ttl_radius", spinbutton_config_max_high_ttl_radius,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_max_high_ttl_radius);
  gtk_table_attach (GTK_TABLE (table9), spinbutton_config_max_high_ttl_radius, 3, 4, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, spinbutton_config_max_high_ttl_radius, _("Hop radius for counting high TTL limit messages (#hops lower than...)"), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_max_high_ttl_radius), TRUE);

  label160 = gtk_label_new (_("hops radius"));
  gtk_widget_set_name (label160, "label160");
  gtk_widget_ref (label160);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label160", label160,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label160);
  gtk_table_attach (GTK_TABLE (table9), label160, 4, 5, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  frame_expert_gnet_quality = gtk_frame_new (_("Quality management"));
  gtk_widget_set_name (frame_expert_gnet_quality, "frame_expert_gnet_quality");
  gtk_widget_ref (frame_expert_gnet_quality);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame_expert_gnet_quality", frame_expert_gnet_quality,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_expert_gnet_quality);
  gtk_box_pack_start (GTK_BOX (vbox25), frame_expert_gnet_quality, FALSE, TRUE, 0);

  table30 = gtk_table_new (3, 6, FALSE);
  gtk_widget_set_name (table30, "table30");
  gtk_widget_ref (table30);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table30", table30,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table30);
  gtk_container_add (GTK_CONTAINER (frame_expert_gnet_quality), table30);
  gtk_container_set_border_width (GTK_CONTAINER (table30), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table30), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table30), 4);

  label279 = gtk_label_new ("");
  label279_key = gtk_label_parse_uline (GTK_LABEL (label279),
                                   _("Ratio of tolerable duplicate messages per _node"));
  gtk_widget_set_name (label279, "label279");
  gtk_widget_ref (label279);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label279", label279,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label279);
  gtk_table_attach (GTK_TABLE (table30), label279, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label279), 0, 0.5);

  label278 = gtk_label_new ("");
  label278_key = gtk_label_parse_uline (GTK_LABEL (label278),
                                   _("Number of tolerable _duplicate messages per node"));
  gtk_widget_set_name (label278, "label278");
  gtk_widget_ref (label278);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label278", label278,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label278);
  gtk_table_attach (GTK_TABLE (table30), label278, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label278), 0, 0.5);

  spinbutton_config_min_dup_msg_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_config_min_dup_msg = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_min_dup_msg_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_min_dup_msg, "spinbutton_config_min_dup_msg");
  gtk_widget_ref (spinbutton_config_min_dup_msg);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_min_dup_msg", spinbutton_config_min_dup_msg,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_min_dup_msg);
  gtk_table_attach (GTK_TABLE (table30), spinbutton_config_min_dup_msg, 1, 2, 0, 1,
                    (GtkAttachOptions) (0),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_min_dup_msg), TRUE);

  spinbutton_config_min_dup_ratio_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_config_min_dup_ratio = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_min_dup_ratio_adj), 1, 2);
  gtk_widget_set_name (spinbutton_config_min_dup_ratio, "spinbutton_config_min_dup_ratio");
  gtk_widget_ref (spinbutton_config_min_dup_ratio);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_min_dup_ratio", spinbutton_config_min_dup_ratio,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_min_dup_ratio);
  gtk_table_attach (GTK_TABLE (table30), spinbutton_config_min_dup_ratio, 1, 2, 1, 2,
                    (GtkAttachOptions) (0),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_min_dup_ratio), TRUE);

  label457 = gtk_label_new (_("RX flow control ratio"));
  gtk_widget_set_name (label457, "label457");
  gtk_widget_ref (label457);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label457", label457,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label457);
  gtk_table_attach (GTK_TABLE (table30), label457, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label457), 0, 0.5);

  spinbutton_config_node_rx_flowc_ratio_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_config_node_rx_flowc_ratio = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_node_rx_flowc_ratio_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_node_rx_flowc_ratio, "spinbutton_config_node_rx_flowc_ratio");
  gtk_widget_ref (spinbutton_config_node_rx_flowc_ratio);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_node_rx_flowc_ratio", spinbutton_config_node_rx_flowc_ratio,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_node_rx_flowc_ratio);
  gtk_table_attach (GTK_TABLE (table30), spinbutton_config_node_rx_flowc_ratio, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label280 = gtk_label_new ("");
  gtk_label_parse_uline (GTK_LABEL (label280),
                         _("_Messages"));
  gtk_widget_set_name (label280, "label280");
  gtk_widget_ref (label280);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label280", label280,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label280);
  gtk_table_attach (GTK_TABLE (table30), label280, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label280), 0, 0.5);

  label281 = gtk_label_new (_("%"));
  gtk_widget_set_name (label281, "label281");
  gtk_widget_ref (label281);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label281", label281,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label281);
  gtk_table_attach (GTK_TABLE (table30), label281, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label281), 0, 0.5);

  label458 = gtk_label_new (_("%"));
  gtk_widget_set_name (label458, "label458");
  gtk_widget_ref (label458);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label458", label458,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label458);
  gtk_table_attach (GTK_TABLE (table30), label458, 2, 3, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label458), 0, 0.5);

  vseparator3 = gtk_vseparator_new ();
  gtk_widget_set_name (vseparator3, "vseparator3");
  gtk_widget_ref (vseparator3);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "vseparator3", vseparator3,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vseparator3);
  gtk_table_attach (GTK_TABLE (table30), vseparator3, 3, 4, 0, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  checkbutton_node_watch_similar_queries = gtk_check_button_new_with_label (_("Watch for similar queries"));
  gtk_widget_set_name (checkbutton_node_watch_similar_queries, "checkbutton_node_watch_similar_queries");
  gtk_widget_ref (checkbutton_node_watch_similar_queries);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_node_watch_similar_queries", checkbutton_node_watch_similar_queries,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_node_watch_similar_queries);
  gtk_table_attach (GTK_TABLE (table30), checkbutton_node_watch_similar_queries, 4, 6, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label597 = gtk_label_new (_("Similar query half-life"));
  gtk_widget_set_name (label597, "label597");
  gtk_widget_ref (label597);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label597", label597,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label597);
  gtk_table_attach (GTK_TABLE (table30), label597, 4, 5, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label597), 0, 0.5);

  spinbutton_node_queries_half_life_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_node_queries_half_life = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_node_queries_half_life_adj), 1, 0);
  gtk_widget_set_name (spinbutton_node_queries_half_life, "spinbutton_node_queries_half_life");
  gtk_widget_ref (spinbutton_node_queries_half_life);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_node_queries_half_life", spinbutton_node_queries_half_life,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_node_queries_half_life);
  gtk_table_attach (GTK_TABLE (table30), spinbutton_node_queries_half_life, 5, 6, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label598 = gtk_label_new (_("Leaf requery threshold"));
  gtk_widget_set_name (label598, "label598");
  gtk_widget_ref (label598);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label598", label598,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label598);
  gtk_table_attach (GTK_TABLE (table30), label598, 4, 5, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label598), 0, 0.5);

  spinbutton_node_requery_threshold_adj = gtk_adjustment_new (1700, 0, 1800, 1, 10, 10);
  spinbutton_node_requery_threshold = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_node_requery_threshold_adj), 1, 0);
  gtk_widget_set_name (spinbutton_node_requery_threshold, "spinbutton_node_requery_threshold");
  gtk_widget_ref (spinbutton_node_requery_threshold);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_node_requery_threshold", spinbutton_node_requery_threshold,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_node_requery_threshold);
  gtk_table_attach (GTK_TABLE (table30), spinbutton_node_requery_threshold, 5, 6, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (spinbutton_node_requery_threshold, 56, -2);

  frame_expert_gnet_connections = gtk_frame_new (_("Connection settings"));
  gtk_widget_set_name (frame_expert_gnet_connections, "frame_expert_gnet_connections");
  gtk_widget_ref (frame_expert_gnet_connections);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame_expert_gnet_connections", frame_expert_gnet_connections,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_expert_gnet_connections);
  gtk_box_pack_start (GTK_BOX (vbox25), frame_expert_gnet_connections, FALSE, TRUE, 0);

  table66 = gtk_table_new (2, 3, FALSE);
  gtk_widget_set_name (table66, "table66");
  gtk_widget_ref (table66);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table66", table66,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table66);
  gtk_container_add (GTK_CONTAINER (frame_expert_gnet_connections), table66);
  gtk_container_set_border_width (GTK_CONTAINER (table66), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table66), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table66), 4);

  label550 = gtk_label_new (_("%"));
  gtk_widget_set_name (label550, "label550");
  gtk_widget_ref (label550);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label550", label550,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label550);
  gtk_table_attach (GTK_TABLE (table66), label550, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label550), 0, 0.5);

  label551 = gtk_label_new (_("%"));
  gtk_widget_set_name (label551, "label551");
  gtk_widget_ref (label551);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label551", label551,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label551);
  gtk_table_attach (GTK_TABLE (table66), label551, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label551), 0, 0.5);

  spinbutton_config_reserve_gtkg_nodes_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_config_reserve_gtkg_nodes = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_reserve_gtkg_nodes_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_reserve_gtkg_nodes, "spinbutton_config_reserve_gtkg_nodes");
  gtk_widget_ref (spinbutton_config_reserve_gtkg_nodes);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_reserve_gtkg_nodes", spinbutton_config_reserve_gtkg_nodes,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_reserve_gtkg_nodes);
  gtk_table_attach (GTK_TABLE (table66), spinbutton_config_reserve_gtkg_nodes, 1, 2, 0, 1,
                    (GtkAttachOptions) (0),
                    (GtkAttachOptions) (0), 0, 0);

  spinbutton_config_unique_nodes_adj = gtk_adjustment_new (1, 1, 100, 1, 10, 10);
  spinbutton_config_unique_nodes = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_unique_nodes_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_unique_nodes, "spinbutton_config_unique_nodes");
  gtk_widget_ref (spinbutton_config_unique_nodes);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_unique_nodes", spinbutton_config_unique_nodes,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_unique_nodes);
  gtk_table_attach (GTK_TABLE (table66), spinbutton_config_unique_nodes, 1, 2, 1, 2,
                    (GtkAttachOptions) (0),
                    (GtkAttachOptions) (0), 0, 0);

  label548 = gtk_label_new (_("Connections reserved for gtk-gnutella nodes"));
  gtk_widget_set_name (label548, "label548");
  gtk_widget_ref (label548);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label548", label548,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label548);
  gtk_table_attach (GTK_TABLE (table66), label548, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label548), 0, 0.5);

  label549 = gtk_label_new (_("Max connections allowed per unique vendor"));
  gtk_widget_set_name (label549, "label549");
  gtk_widget_ref (label549);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label549", label549,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label549);
  gtk_table_attach (GTK_TABLE (table66), label549, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_label_set_justify (GTK_LABEL (label549), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (label549), 0, 0.5);

  frame_expert_gnet_other = gtk_frame_new (_("Other"));
  gtk_widget_set_name (frame_expert_gnet_other, "frame_expert_gnet_other");
  gtk_widget_ref (frame_expert_gnet_other);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame_expert_gnet_other", frame_expert_gnet_other,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_expert_gnet_other);
  gtk_box_pack_start (GTK_BOX (vbox25), frame_expert_gnet_other, FALSE, TRUE, 0);

  table33 = gtk_table_new (2, 2, FALSE);
  gtk_widget_set_name (table33, "table33");
  gtk_widget_ref (table33);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table33", table33,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table33);
  gtk_container_add (GTK_CONTAINER (frame_expert_gnet_other), table33);
  gtk_container_set_border_width (GTK_CONTAINER (table33), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table33), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table33), 4);

  label290 = gtk_label_new (_("Hops random factor"));
  gtk_widget_set_name (label290, "label290");
  gtk_widget_ref (label290);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label290", label290,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label290);
  gtk_table_attach (GTK_TABLE (table33), label290, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label290), 0, 0.5);

  checkbutton_gnet_compact_query = gtk_check_button_new_with_label (_("Clean up queries before processing"));
  gtk_widget_set_name (checkbutton_gnet_compact_query, "checkbutton_gnet_compact_query");
  gtk_widget_ref (checkbutton_gnet_compact_query);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_gnet_compact_query", checkbutton_gnet_compact_query,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_gnet_compact_query);
  gtk_table_attach (GTK_TABLE (table33), checkbutton_gnet_compact_query, 0, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  spinbutton_config_hops_random_factor_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_config_hops_random_factor = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_hops_random_factor_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_hops_random_factor, "spinbutton_config_hops_random_factor");
  gtk_widget_ref (spinbutton_config_hops_random_factor);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_hops_random_factor", spinbutton_config_hops_random_factor,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_hops_random_factor);
  gtk_table_attach (GTK_TABLE (table33), spinbutton_config_hops_random_factor, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_hops_random_factor), TRUE);

  frame_expert_gnet_message_size = gtk_frame_new (_("GnutellaNet message size limits"));
  gtk_widget_set_name (frame_expert_gnet_message_size, "frame_expert_gnet_message_size");
  gtk_widget_ref (frame_expert_gnet_message_size);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame_expert_gnet_message_size", frame_expert_gnet_message_size,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_expert_gnet_message_size);
  gtk_box_pack_start (GTK_BOX (vbox25), frame_expert_gnet_message_size, TRUE, TRUE, 0);

  table69 = gtk_table_new (4, 3, FALSE);
  gtk_widget_set_name (table69, "table69");
  gtk_widget_ref (table69);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table69", table69,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table69);
  gtk_container_add (GTK_CONTAINER (frame_expert_gnet_message_size), table69);
  gtk_container_set_border_width (GTK_CONTAINER (table69), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table69), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table69), 4);

  label569 = gtk_label_new (_("Forwarded\nmessage"));
  gtk_widget_set_name (label569, "label569");
  gtk_widget_ref (label569);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label569", label569,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label569);
  gtk_table_attach (GTK_TABLE (table69), label569, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label569), 0, 0.5);

  label571 = gtk_label_new (_("Size threshold\nbefore kicking"));
  gtk_widget_set_name (label571, "label571");
  gtk_widget_ref (label571);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label571", label571,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label571);
  gtk_table_attach (GTK_TABLE (table69), label571, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label571), 0, 0.5);

  label572 = gtk_label_new (_("Query"));
  gtk_widget_set_name (label572, "label572");
  gtk_widget_ref (label572);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label572", label572,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label572);
  gtk_table_attach (GTK_TABLE (table69), label572, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label572), 0, 0.5);

  label573 = gtk_label_new (_("Query hit"));
  gtk_widget_set_name (label573, "label573");
  gtk_widget_ref (label573);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label573", label573,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label573);
  gtk_table_attach (GTK_TABLE (table69), label573, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label573), 0, 0.5);

  label574 = gtk_label_new (_("Unknown"));
  gtk_widget_set_name (label574, "label574");
  gtk_widget_ref (label574);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label574", label574,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label574);
  gtk_table_attach (GTK_TABLE (table69), label574, 0, 1, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label574), 0, 0.5);

  label575 = gtk_label_new (_("(not forwarded)"));
  gtk_widget_set_name (label575, "label575");
  gtk_widget_ref (label575);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label575", label575,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label575);
  gtk_table_attach (GTK_TABLE (table69), label575, 1, 2, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label575), 0, 0.5);

  spinbutton_search_answers_forward_size_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_search_answers_forward_size = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_search_answers_forward_size_adj), 1, 0);
  gtk_widget_set_name (spinbutton_search_answers_forward_size, "spinbutton_search_answers_forward_size");
  gtk_widget_ref (spinbutton_search_answers_forward_size);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_search_answers_forward_size", spinbutton_search_answers_forward_size,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_search_answers_forward_size);
  gtk_table_attach (GTK_TABLE (table69), spinbutton_search_answers_forward_size, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  spinbutton_search_queries_forward_size_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_search_queries_forward_size = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_search_queries_forward_size_adj), 1, 0);
  gtk_widget_set_name (spinbutton_search_queries_forward_size, "spinbutton_search_queries_forward_size");
  gtk_widget_ref (spinbutton_search_queries_forward_size);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_search_queries_forward_size", spinbutton_search_queries_forward_size,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_search_queries_forward_size);
  gtk_table_attach (GTK_TABLE (table69), spinbutton_search_queries_forward_size, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label570 = gtk_label_new (_("Maximum size\nallowed"));
  gtk_widget_set_name (label570, "label570");
  gtk_widget_ref (label570);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label570", label570,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label570);
  gtk_table_attach (GTK_TABLE (table69), label570, 1, 2, 0, 1,
                    (GtkAttachOptions) (0),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label570), 0, 0.5);

  spinbutton_search_queries_kick_size_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_search_queries_kick_size = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_search_queries_kick_size_adj), 1, 0);
  gtk_widget_set_name (spinbutton_search_queries_kick_size, "spinbutton_search_queries_kick_size");
  gtk_widget_ref (spinbutton_search_queries_kick_size);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_search_queries_kick_size", spinbutton_search_queries_kick_size,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_search_queries_kick_size);
  gtk_table_attach (GTK_TABLE (table69), spinbutton_search_queries_kick_size, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  spinbutton_search_answers_kick_size_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_search_answers_kick_size = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_search_answers_kick_size_adj), 1, 0);
  gtk_widget_set_name (spinbutton_search_answers_kick_size, "spinbutton_search_answers_kick_size");
  gtk_widget_ref (spinbutton_search_answers_kick_size);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_search_answers_kick_size", spinbutton_search_answers_kick_size,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_search_answers_kick_size);
  gtk_table_attach (GTK_TABLE (table69), spinbutton_search_answers_kick_size, 2, 3, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  spinbutton_other_messages_kick_size_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_other_messages_kick_size = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_other_messages_kick_size_adj), 1, 0);
  gtk_widget_set_name (spinbutton_other_messages_kick_size, "spinbutton_other_messages_kick_size");
  gtk_widget_ref (spinbutton_other_messages_kick_size);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_other_messages_kick_size", spinbutton_other_messages_kick_size,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_other_messages_kick_size);
  gtk_table_attach (GTK_TABLE (table69), spinbutton_other_messages_kick_size, 2, 3, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label683 = gtk_label_new (_("GnutellaNet"));
  gtk_widget_set_name (label683, "label683");
  gtk_widget_ref (label683);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label683", label683,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label683);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_prefs), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_prefs), 1), label683);

  scrolledwindow33 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow33, "scrolledwindow33");
  gtk_widget_ref (scrolledwindow33);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "scrolledwindow33", scrolledwindow33,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow33);
  gtk_container_add (GTK_CONTAINER (notebook_prefs), scrolledwindow33);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow33), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  viewport4 = gtk_viewport_new (NULL, NULL);
  gtk_widget_set_name (viewport4, "viewport4");
  gtk_widget_ref (viewport4);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "viewport4", viewport4,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport4);
  gtk_container_add (GTK_CONTAINER (scrolledwindow33), viewport4);

  vbox29 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox29, "vbox29");
  gtk_widget_ref (vbox29);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "vbox29", vbox29,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox29);
  gtk_container_add (GTK_CONTAINER (viewport4), vbox29);
  gtk_container_set_border_width (GTK_CONTAINER (vbox29), 2);

  frame70 = gtk_frame_new (_("General"));
  gtk_widget_set_name (frame70, "frame70");
  gtk_widget_ref (frame70);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame70", frame70,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame70);
  gtk_box_pack_start (GTK_BOX (vbox29), frame70, FALSE, TRUE, 0);

  hbox183 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox183, "hbox183");
  gtk_widget_ref (hbox183);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hbox183", hbox183,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox183);
  gtk_container_add (GTK_CONTAINER (frame70), hbox183);

  vbox115 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox115, "vbox115");
  gtk_widget_ref (vbox115);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "vbox115", vbox115,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox115);
  gtk_box_pack_start (GTK_BOX (hbox183), vbox115, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (vbox115), 2);

  checkbutton_config_bw_allow_stealing = gtk_check_button_new_with_label ("");
  checkbutton_config_bw_allow_stealing_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_config_bw_allow_stealing)->child),
                                   _("Use _surplus bandwidth"));
  gtk_widget_add_accelerator (checkbutton_config_bw_allow_stealing, "clicked", accel_group,
                              checkbutton_config_bw_allow_stealing_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_config_bw_allow_stealing, "checkbutton_config_bw_allow_stealing");
  gtk_widget_ref (checkbutton_config_bw_allow_stealing);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_bw_allow_stealing", checkbutton_config_bw_allow_stealing,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_bw_allow_stealing);
  gtk_box_pack_start (GTK_BOX (vbox115), checkbutton_config_bw_allow_stealing, FALSE, FALSE, 0);

  checkbutton_prefer_compressed_gnet = gtk_check_button_new_with_label ("");
  checkbutton_prefer_compressed_gnet_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_prefer_compressed_gnet)->child),
                                   _("Prefer _compressed connections"));
  gtk_widget_add_accelerator (checkbutton_prefer_compressed_gnet, "clicked", accel_group,
                              checkbutton_prefer_compressed_gnet_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_prefer_compressed_gnet, "checkbutton_prefer_compressed_gnet");
  gtk_widget_ref (checkbutton_prefer_compressed_gnet);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_prefer_compressed_gnet", checkbutton_prefer_compressed_gnet,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_prefer_compressed_gnet);
  gtk_box_pack_start (GTK_BOX (vbox115), checkbutton_prefer_compressed_gnet, FALSE, FALSE, 0);

  checkbutton_config_use_ip_tos = gtk_check_button_new_with_label ("");
  checkbutton_config_use_ip_tos_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_config_use_ip_tos)->child),
                                   _("Use IP _Type of Service (TOS)"));
  gtk_widget_add_accelerator (checkbutton_config_use_ip_tos, "clicked", accel_group,
                              checkbutton_config_use_ip_tos_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_config_use_ip_tos, "checkbutton_config_use_ip_tos");
  gtk_widget_ref (checkbutton_config_use_ip_tos);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_use_ip_tos", checkbutton_config_use_ip_tos,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_use_ip_tos);
  gtk_box_pack_start (GTK_BOX (vbox115), checkbutton_config_use_ip_tos, FALSE, FALSE, 0);

  frame83 = gtk_frame_new (_("Available bandwidth"));
  gtk_widget_set_name (frame83, "frame83");
  gtk_widget_ref (frame83);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame83", frame83,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame83);
  gtk_box_pack_start (GTK_BOX (hbox183), frame83, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame83), 2);
  gtk_frame_set_shadow_type (GTK_FRAME (frame83), GTK_SHADOW_OUT);

  table69a = gtk_table_new (3, 3, FALSE);
  gtk_widget_set_name (table69a, "table69a");
  gtk_widget_ref (table69a);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table69a", table69a,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table69a);
  gtk_container_add (GTK_CONTAINER (frame83), table69a);
  gtk_container_set_border_width (GTK_CONTAINER (table69a), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table69a), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table69a), 4);

  label558 = gtk_label_new (_("Total input bandwidth limit:"));
  gtk_widget_set_name (label558, "label558");
  gtk_widget_ref (label558);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label558", label558,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label558);
  gtk_table_attach (GTK_TABLE (table69a), label558, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label558), 7.45058e-09, 0.5);

  label560 = gtk_label_new (_("KiB/s"));
  gtk_widget_set_name (label560, "label560");
  gtk_widget_ref (label560);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label560", label560,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label560);
  gtk_table_attach (GTK_TABLE (table69a), label560, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label561 = gtk_label_new (_("Total output bandwidth limit:"));
  gtk_widget_set_name (label561, "label561");
  gtk_widget_ref (label561);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label561", label561,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label561);
  gtk_table_attach (GTK_TABLE (table69a), label561, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label561), 7.45058e-09, 0.5);

  label563 = gtk_label_new (_("KiB/s"));
  gtk_widget_set_name (label563, "label563");
  gtk_widget_ref (label563);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label563", label563,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label563);
  gtk_table_attach (GTK_TABLE (table69a), label563, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label564 = gtk_label_new (_("Measured HTTP latency:"));
  gtk_widget_set_name (label564, "label564");
  gtk_widget_ref (label564);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label564", label564,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label564);
  gtk_table_attach (GTK_TABLE (table69a), label564, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label564), 7.45058e-09, 0.5);

  label566 = gtk_label_new (_("secs"));
  gtk_widget_set_name (label566, "label566");
  gtk_widget_ref (label566);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label566", label566,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label566);
  gtk_table_attach (GTK_TABLE (table69a), label566, 2, 3, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  viewport14 = gtk_viewport_new (NULL, NULL);
  gtk_widget_set_name (viewport14, "viewport14");
  gtk_widget_ref (viewport14);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "viewport14", viewport14,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport14);
  gtk_table_attach (GTK_TABLE (table69a), viewport14, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  label_output_bw_limit = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_output_bw_limit, "label_output_bw_limit");
  gtk_widget_ref (label_output_bw_limit);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_output_bw_limit", label_output_bw_limit,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_output_bw_limit);
  gtk_container_add (GTK_CONTAINER (viewport14), label_output_bw_limit);
  gtk_misc_set_alignment (GTK_MISC (label_output_bw_limit), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_output_bw_limit), 5, 0);

  viewport15 = gtk_viewport_new (NULL, NULL);
  gtk_widget_set_name (viewport15, "viewport15");
  gtk_widget_ref (viewport15);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "viewport15", viewport15,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport15);
  gtk_table_attach (GTK_TABLE (table69a), viewport15, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  label_dl_http_latency = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_dl_http_latency, "label_dl_http_latency");
  gtk_widget_ref (label_dl_http_latency);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_dl_http_latency", label_dl_http_latency,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_dl_http_latency);
  gtk_container_add (GTK_CONTAINER (viewport15), label_dl_http_latency);
  gtk_misc_set_alignment (GTK_MISC (label_dl_http_latency), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_dl_http_latency), 5, 0);

  viewport13 = gtk_viewport_new (NULL, NULL);
  gtk_widget_set_name (viewport13, "viewport13");
  gtk_widget_ref (viewport13);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "viewport13", viewport13,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport13);
  gtk_table_attach (GTK_TABLE (table69a), viewport13, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  label_input_bw_limit = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_input_bw_limit, "label_input_bw_limit");
  gtk_widget_ref (label_input_bw_limit);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_input_bw_limit", label_input_bw_limit,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_input_bw_limit);
  gtk_container_add (GTK_CONTAINER (viewport13), label_input_bw_limit);
  gtk_misc_set_alignment (GTK_MISC (label_input_bw_limit), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_input_bw_limit), 5, 0);

  frame20 = gtk_frame_new (_("Bandwidth limits for GnutellaNet traffic"));
  gtk_widget_set_name (frame20, "frame20");
  gtk_widget_ref (frame20);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame20", frame20,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame20);
  gtk_box_pack_start (GTK_BOX (vbox29), frame20, FALSE, TRUE, 0);

  hbox208 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox208, "hbox208");
  gtk_widget_ref (hbox208);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hbox208", hbox208,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox208);
  gtk_container_add (GTK_CONTAINER (frame20), hbox208);
  gtk_container_set_border_width (GTK_CONTAINER (hbox208), 2);

  frame138 = gtk_frame_new (_("General"));
  gtk_widget_set_name (frame138, "frame138");
  gtk_widget_ref (frame138);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame138", frame138,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame138);
  gtk_box_pack_start (GTK_BOX (hbox208), frame138, TRUE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame138), GTK_SHADOW_OUT);

  table13 = gtk_table_new (2, 3, FALSE);
  gtk_widget_set_name (table13, "table13");
  gtk_widget_ref (table13);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table13", table13,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table13);
  gtk_container_add (GTK_CONTAINER (frame138), table13);
  gtk_table_set_row_spacings (GTK_TABLE (table13), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table13), 4);

  label181 = gtk_label_new (_("KiB/s"));
  gtk_widget_set_name (label181, "label181");
  gtk_widget_ref (label181);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label181", label181,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label181);
  gtk_table_attach (GTK_TABLE (table13), label181, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label181), 0, 0.5);

  label182 = gtk_label_new (_("KiB/s"));
  gtk_widget_set_name (label182, "label182");
  gtk_widget_ref (label182);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label182", label182,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label182);
  gtk_table_attach (GTK_TABLE (table13), label182, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label182), 0, 0.5);

  spinbutton_config_bws_gin_adj = gtk_adjustment_new (1, 1, 2000, 1, 5, 16);
  spinbutton_config_bws_gin = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_bws_gin_adj), 1, 2);
  gtk_widget_set_name (spinbutton_config_bws_gin, "spinbutton_config_bws_gin");
  gtk_widget_ref (spinbutton_config_bws_gin);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_bws_gin", spinbutton_config_bws_gin,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_bws_gin);
  gtk_table_attach (GTK_TABLE (table13), spinbutton_config_bws_gin, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (spinbutton_config_bws_gin, 64, -2);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_bws_gin), TRUE);

  spinbutton_config_bws_gout_adj = gtk_adjustment_new (1, 1, 2000, 1, 5, 16);
  spinbutton_config_bws_gout = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_bws_gout_adj), 1, 2);
  gtk_widget_set_name (spinbutton_config_bws_gout, "spinbutton_config_bws_gout");
  gtk_widget_ref (spinbutton_config_bws_gout);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_bws_gout", spinbutton_config_bws_gout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_bws_gout);
  gtk_table_attach (GTK_TABLE (table13), spinbutton_config_bws_gout, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (spinbutton_config_bws_gout, 64, -2);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_bws_gout), TRUE);

  checkbutton_config_bws_gout = gtk_check_button_new_with_label ("");
  checkbutton_config_bws_gout_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_config_bws_gout)->child),
                                   _("_Outgoing traffic"));
  gtk_widget_add_accelerator (checkbutton_config_bws_gout, "clicked", accel_group,
                              checkbutton_config_bws_gout_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_config_bws_gout, "checkbutton_config_bws_gout");
  gtk_widget_ref (checkbutton_config_bws_gout);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_bws_gout", checkbutton_config_bws_gout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_bws_gout);
  gtk_table_attach (GTK_TABLE (table13), checkbutton_config_bws_gout, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_SHRINK | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_config_bws_gin = gtk_check_button_new_with_label ("");
  checkbutton_config_bws_gin_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_config_bws_gin)->child),
                                   _("_Incoming traffic"));
  gtk_widget_add_accelerator (checkbutton_config_bws_gin, "clicked", accel_group,
                              checkbutton_config_bws_gin_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_config_bws_gin, "checkbutton_config_bws_gin");
  gtk_widget_ref (checkbutton_config_bws_gin);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_bws_gin", checkbutton_config_bws_gin,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_bws_gin);
  gtk_table_attach (GTK_TABLE (table13), checkbutton_config_bws_gin, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_SHRINK | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  frame74 = gtk_frame_new (_("Ultrapeer mode"));
  gtk_widget_set_name (frame74, "frame74");
  gtk_widget_ref (frame74);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame74", frame74,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame74);
  gtk_box_pack_start (GTK_BOX (hbox208), frame74, TRUE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame74), GTK_SHADOW_OUT);

  table58 = gtk_table_new (2, 3, FALSE);
  gtk_widget_set_name (table58, "table58");
  gtk_widget_ref (table58);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table58", table58,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table58);
  gtk_container_add (GTK_CONTAINER (frame74), table58);
  gtk_container_set_border_width (GTK_CONTAINER (table58), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table58), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table58), 4);

  spinbutton_config_bws_glin_adj = gtk_adjustment_new (1, 0, 100, 1, 5, 10);
  spinbutton_config_bws_glin = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_bws_glin_adj), 1, 2);
  gtk_widget_set_name (spinbutton_config_bws_glin, "spinbutton_config_bws_glin");
  gtk_widget_ref (spinbutton_config_bws_glin);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_bws_glin", spinbutton_config_bws_glin,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_bws_glin);
  gtk_table_attach (GTK_TABLE (table58), spinbutton_config_bws_glin, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (spinbutton_config_bws_glin, 64, -2);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_bws_glin), TRUE);

  spinbutton_config_bws_glout_adj = gtk_adjustment_new (1, 0, 100, 1, 5, 10);
  spinbutton_config_bws_glout = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_bws_glout_adj), 1, 2);
  gtk_widget_set_name (spinbutton_config_bws_glout, "spinbutton_config_bws_glout");
  gtk_widget_ref (spinbutton_config_bws_glout);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_bws_glout", spinbutton_config_bws_glout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_bws_glout);
  gtk_table_attach (GTK_TABLE (table58), spinbutton_config_bws_glout, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (spinbutton_config_bws_glout, 64, -2);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_bws_glout), TRUE);

  label556 = gtk_label_new (_("KiB/s"));
  gtk_widget_set_name (label556, "label556");
  gtk_widget_ref (label556);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label556", label556,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label556);
  gtk_table_attach (GTK_TABLE (table58), label556, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label556), 0, 0.5);

  label557 = gtk_label_new (_("KiB/s"));
  gtk_widget_set_name (label557, "label557");
  gtk_widget_ref (label557);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label557", label557,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label557);
  gtk_table_attach (GTK_TABLE (table58), label557, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label557), 0, 0.5);

  checkbutton_config_bws_glout = gtk_check_button_new_with_label ("");
  checkbutton_config_bws_glout_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_config_bws_glout)->child),
                                   _("Outgoing traffic to lea_ves"));
  gtk_widget_add_accelerator (checkbutton_config_bws_glout, "clicked", accel_group,
                              checkbutton_config_bws_glout_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_config_bws_glout, "checkbutton_config_bws_glout");
  gtk_widget_ref (checkbutton_config_bws_glout);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_bws_glout", checkbutton_config_bws_glout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_bws_glout);
  gtk_table_attach (GTK_TABLE (table58), checkbutton_config_bws_glout, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_SHRINK | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_config_bws_glin = gtk_check_button_new_with_label ("");
  checkbutton_config_bws_glin_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_config_bws_glin)->child),
                                   _("Incoming traffic from _leaves"));
  gtk_widget_add_accelerator (checkbutton_config_bws_glin, "clicked", accel_group,
                              checkbutton_config_bws_glin_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_config_bws_glin, "checkbutton_config_bws_glin");
  gtk_widget_ref (checkbutton_config_bws_glin);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_bws_glin", checkbutton_config_bws_glin,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_bws_glin);
  gtk_table_attach (GTK_TABLE (table58), checkbutton_config_bws_glin, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_SHRINK | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  frame12 = gtk_frame_new (_("Bandwidth limits for HTTP traffic"));
  gtk_widget_set_name (frame12, "frame12");
  gtk_widget_ref (frame12);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame12", frame12,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame12);
  gtk_box_pack_start (GTK_BOX (vbox29), frame12, FALSE, TRUE, 0);

  table4 = gtk_table_new (6, 3, FALSE);
  gtk_widget_set_name (table4, "table4");
  gtk_widget_ref (table4);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table4", table4,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table4);
  gtk_container_add (GTK_CONTAINER (frame12), table4);
  gtk_container_set_border_width (GTK_CONTAINER (table4), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table4), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table4), 4);

  label126 = gtk_label_new (_("KiB/s"));
  gtk_widget_set_name (label126, "label126");
  gtk_widget_ref (label126);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label126", label126,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label126);
  gtk_table_attach (GTK_TABLE (table4), label126, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label126), 0, 0.5);

  spinbutton_config_bws_in_adj = gtk_adjustment_new (1, 1, 2000, 1, 5, 16);
  spinbutton_config_bws_in = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_bws_in_adj), 1, 2);
  gtk_widget_set_name (spinbutton_config_bws_in, "spinbutton_config_bws_in");
  gtk_widget_ref (spinbutton_config_bws_in);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_bws_in", spinbutton_config_bws_in,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_bws_in);
  gtk_table_attach (GTK_TABLE (table4), spinbutton_config_bws_in, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (spinbutton_config_bws_in, 64, -2);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_bws_in), TRUE);

  spinbutton_config_bws_out_adj = gtk_adjustment_new (1, 1, 2000, 1, 5, 1024);
  spinbutton_config_bws_out = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_bws_out_adj), 1, 2);
  gtk_widget_set_name (spinbutton_config_bws_out, "spinbutton_config_bws_out");
  gtk_widget_ref (spinbutton_config_bws_out);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_bws_out", spinbutton_config_bws_out,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_bws_out);
  gtk_table_attach (GTK_TABLE (table4), spinbutton_config_bws_out, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (spinbutton_config_bws_out, 64, -2);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_bws_out), TRUE);

  checkbutton_config_bws_in = gtk_check_button_new_with_label ("");
  checkbutton_config_bws_in_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_config_bws_in)->child),
                                   _("Cumulative _download rate"));
  gtk_widget_add_accelerator (checkbutton_config_bws_in, "clicked", accel_group,
                              checkbutton_config_bws_in_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_config_bws_in, "checkbutton_config_bws_in");
  gtk_widget_ref (checkbutton_config_bws_in);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_bws_in", checkbutton_config_bws_in,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_bws_in);
  gtk_table_attach (GTK_TABLE (table4), checkbutton_config_bws_in, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_config_bws_out = gtk_check_button_new_with_label ("");
  checkbutton_config_bws_out_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_config_bws_out)->child),
                                   _("Cumulative _upload rate"));
  gtk_widget_add_accelerator (checkbutton_config_bws_out, "clicked", accel_group,
                              checkbutton_config_bws_out_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_config_bws_out, "checkbutton_config_bws_out");
  gtk_widget_ref (checkbutton_config_bws_out);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_bws_out", checkbutton_config_bws_out,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_bws_out);
  gtk_table_attach (GTK_TABLE (table4), checkbutton_config_bws_out, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_config_bw_ul_usage_enabled = gtk_check_button_new_with_label ("");
  checkbutton_config_bw_ul_usage_enabled_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_config_bw_ul_usage_enabled)->child),
                                   _("Enable dynamic upload slots _allocation"));
  gtk_widget_add_accelerator (checkbutton_config_bw_ul_usage_enabled, "clicked", accel_group,
                              checkbutton_config_bw_ul_usage_enabled_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_config_bw_ul_usage_enabled, "checkbutton_config_bw_ul_usage_enabled");
  gtk_widget_ref (checkbutton_config_bw_ul_usage_enabled);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_bw_ul_usage_enabled", checkbutton_config_bw_ul_usage_enabled,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_bw_ul_usage_enabled);
  gtk_table_attach (GTK_TABLE (table4), checkbutton_config_bw_ul_usage_enabled, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  spinbutton_config_ul_usage_min_percentage_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_config_ul_usage_min_percentage = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_ul_usage_min_percentage_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_ul_usage_min_percentage, "spinbutton_config_ul_usage_min_percentage");
  gtk_widget_ref (spinbutton_config_ul_usage_min_percentage);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_ul_usage_min_percentage", spinbutton_config_ul_usage_min_percentage,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_ul_usage_min_percentage);
  gtk_table_attach (GTK_TABLE (table4), spinbutton_config_ul_usage_min_percentage, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, spinbutton_config_ul_usage_min_percentage, _("Until the configured percentage of outgoing HTTP bandwidth is in use, open additional upload slots on request."), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_ul_usage_min_percentage), TRUE);

  label210 = gtk_label_new (_("%"));
  gtk_widget_set_name (label210, "label210");
  gtk_widget_ref (label210);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label210", label210,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label210);
  gtk_table_attach (GTK_TABLE (table4), label210, 2, 3, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label210), 0, 0.5);

  label125 = gtk_label_new (_("KiB/s"));
  gtk_widget_set_name (label125, "label125");
  gtk_widget_ref (label125);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label125", label125,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label125);
  gtk_table_attach (GTK_TABLE (table4), label125, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label125), 0, 0.5);

  label156 = gtk_label_new ("");
  label156_key = gtk_label_parse_uline (GTK_LABEL (label156),
                                   _("Report an upload connection _speed of"));
  gtk_widget_set_name (label156, "label156");
  gtk_widget_ref (label156);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label156", label156,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label156);
  gtk_table_attach (GTK_TABLE (table4), label156, 0, 1, 4, 5,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label156), 7.45058e-09, 0.5);

  spinbutton_config_speed_adj = gtk_adjustment_new (64, 0, 2e+06, 1, 8, 16);
  spinbutton_config_speed = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_speed_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_speed, "spinbutton_config_speed");
  gtk_widget_ref (spinbutton_config_speed);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_speed", spinbutton_config_speed,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_speed);
  gtk_table_attach (GTK_TABLE (table4), spinbutton_config_speed, 1, 2, 4, 5,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (spinbutton_config_speed, 64, -2);
  gtk_tooltips_set_tip (tooltips, spinbutton_config_speed, _("What other people see as your connection speed."), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_speed), TRUE);

  label36 = gtk_label_new (_("kbps to peers"));
  gtk_widget_set_name (label36, "label36");
  gtk_widget_ref (label36);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label36", label36,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label36);
  gtk_table_attach (GTK_TABLE (table4), label36, 2, 3, 4, 5,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label36), 7.45058e-09, 0.5);

  hseparator8 = gtk_hseparator_new ();
  gtk_widget_set_name (hseparator8, "hseparator8");
  gtk_widget_ref (hseparator8);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hseparator8", hseparator8,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hseparator8);
  gtk_table_attach (GTK_TABLE (table4), hseparator8, 0, 3, 3, 4,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  checkbutton_compute_connection_speed = gtk_check_button_new_with_label ("");
  checkbutton_compute_connection_speed_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_compute_connection_speed)->child),
                                   _("_Compute upload connection speed"));
  gtk_widget_add_accelerator (checkbutton_compute_connection_speed, "clicked", accel_group,
                              checkbutton_compute_connection_speed_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_compute_connection_speed, "checkbutton_compute_connection_speed");
  gtk_widget_ref (checkbutton_compute_connection_speed);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_compute_connection_speed", checkbutton_compute_connection_speed,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_compute_connection_speed);
  gtk_table_attach (GTK_TABLE (table4), checkbutton_compute_connection_speed, 0, 3, 5, 6,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label684 = gtk_label_new (_("Bandwidth"));
  gtk_widget_set_name (label684, "label684");
  gtk_widget_ref (label684);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label684", label684,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label684);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_prefs), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_prefs), 2), label684);

  scrolledwindow34 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow34, "scrolledwindow34");
  gtk_widget_ref (scrolledwindow34);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "scrolledwindow34", scrolledwindow34,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow34);
  gtk_container_add (GTK_CONTAINER (notebook_prefs), scrolledwindow34);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow34), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  viewport6 = gtk_viewport_new (NULL, NULL);
  gtk_widget_set_name (viewport6, "viewport6");
  gtk_widget_ref (viewport6);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "viewport6", viewport6,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport6);
  gtk_container_add (GTK_CONTAINER (scrolledwindow34), viewport6);

  vbox38 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox38, "vbox38");
  gtk_widget_ref (vbox38);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "vbox38", vbox38,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox38);
  gtk_container_add (GTK_CONTAINER (viewport6), vbox38);
  gtk_container_set_border_width (GTK_CONTAINER (vbox38), 2);

  frame_save_new_files = gtk_frame_new (_("Keep downloading/incomplete files in"));
  gtk_widget_set_name (frame_save_new_files, "frame_save_new_files");
  gtk_widget_ref (frame_save_new_files);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame_save_new_files", frame_save_new_files,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_save_new_files);
  gtk_box_pack_start (GTK_BOX (vbox38), frame_save_new_files, FALSE, TRUE, 0);

  hbox96 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox96, "hbox96");
  gtk_widget_ref (hbox96);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hbox96", hbox96,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox96);
  gtk_container_add (GTK_CONTAINER (frame_save_new_files), hbox96);
  gtk_container_set_border_width (GTK_CONTAINER (hbox96), 2);

  entry_config_save_path = gtk_entry_new ();
  gtk_widget_set_name (entry_config_save_path, "entry_config_save_path");
  gtk_widget_ref (entry_config_save_path);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "entry_config_save_path", entry_config_save_path,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_config_save_path);
  gtk_box_pack_start (GTK_BOX (hbox96), entry_config_save_path, TRUE, TRUE, 0);
  gtk_entry_set_editable (GTK_ENTRY (entry_config_save_path), FALSE);

  button_config_save_path = gtk_button_new_with_label ("");
  button_config_save_path_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (button_config_save_path)->child),
                                   _("_Browse"));
  gtk_widget_add_accelerator (button_config_save_path, "clicked", accel_group,
                              button_config_save_path_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (button_config_save_path, "button_config_save_path");
  gtk_widget_ref (button_config_save_path);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "button_config_save_path", button_config_save_path,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_config_save_path);
  gtk_box_pack_start (GTK_BOX (hbox96), button_config_save_path, FALSE, FALSE, 0);

  frame_move_downloaded_files = gtk_frame_new (_("Move completely downloaded files to"));
  gtk_widget_set_name (frame_move_downloaded_files, "frame_move_downloaded_files");
  gtk_widget_ref (frame_move_downloaded_files);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame_move_downloaded_files", frame_move_downloaded_files,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_move_downloaded_files);
  gtk_box_pack_start (GTK_BOX (vbox38), frame_move_downloaded_files, FALSE, TRUE, 0);

  hbox95 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox95, "hbox95");
  gtk_widget_ref (hbox95);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hbox95", hbox95,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox95);
  gtk_container_add (GTK_CONTAINER (frame_move_downloaded_files), hbox95);
  gtk_container_set_border_width (GTK_CONTAINER (hbox95), 2);

  entry_config_move_path = gtk_entry_new ();
  gtk_widget_set_name (entry_config_move_path, "entry_config_move_path");
  gtk_widget_ref (entry_config_move_path);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "entry_config_move_path", entry_config_move_path,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_config_move_path);
  gtk_box_pack_start (GTK_BOX (hbox95), entry_config_move_path, TRUE, TRUE, 0);
  gtk_entry_set_editable (GTK_ENTRY (entry_config_move_path), FALSE);

  button_config_move_path = gtk_button_new_with_label ("");
  button_config_move_path_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (button_config_move_path)->child),
                                   _("_Browse"));
  gtk_widget_add_accelerator (button_config_move_path, "clicked", accel_group,
                              button_config_move_path_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (button_config_move_path, "button_config_move_path");
  gtk_widget_ref (button_config_move_path);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "button_config_move_path", button_config_move_path,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_config_move_path);
  gtk_box_pack_start (GTK_BOX (hbox95), button_config_move_path, FALSE, FALSE, 0);

  frame66 = gtk_frame_new (_("Move corrupted downloaded files to"));
  gtk_widget_set_name (frame66, "frame66");
  gtk_widget_ref (frame66);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame66", frame66,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame66);
  gtk_box_pack_start (GTK_BOX (vbox38), frame66, FALSE, TRUE, 0);

  hbox158 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox158, "hbox158");
  gtk_widget_ref (hbox158);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hbox158", hbox158,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox158);
  gtk_container_add (GTK_CONTAINER (frame66), hbox158);
  gtk_container_set_border_width (GTK_CONTAINER (hbox158), 2);

  entry_config_bad_path = gtk_entry_new ();
  gtk_widget_set_name (entry_config_bad_path, "entry_config_bad_path");
  gtk_widget_ref (entry_config_bad_path);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "entry_config_bad_path", entry_config_bad_path,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_config_bad_path);
  gtk_box_pack_start (GTK_BOX (hbox158), entry_config_bad_path, TRUE, TRUE, 0);
  gtk_entry_set_editable (GTK_ENTRY (entry_config_bad_path), FALSE);

  button_config_bad_path = gtk_button_new_with_label ("");
  button_config_bad_path_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (button_config_bad_path)->child),
                                   _("_Browse"));
  gtk_widget_add_accelerator (button_config_bad_path, "clicked", accel_group,
                              button_config_bad_path_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (button_config_bad_path, "button_config_bad_path");
  gtk_widget_ref (button_config_bad_path);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "button_config_bad_path", button_config_bad_path,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_config_bad_path);
  gtk_box_pack_start (GTK_BOX (hbox158), button_config_bad_path, FALSE, FALSE, 0);

  frame136 = gtk_frame_new (_("Miscellaneous"));
  gtk_widget_set_name (frame136, "frame136");
  gtk_widget_ref (frame136);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame136", frame136,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame136);
  gtk_box_pack_start (GTK_BOX (vbox38), frame136, TRUE, TRUE, 0);

  table94 = gtk_table_new (3, 1, FALSE);
  gtk_widget_set_name (table94, "table94");
  gtk_widget_ref (table94);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table94", table94,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table94);
  gtk_container_add (GTK_CONTAINER (frame136), table94);

  checkbutton_config_convert_spaces = gtk_check_button_new_with_label (_("Convert spaces to underscores in generated filenames"));
  gtk_widget_set_name (checkbutton_config_convert_spaces, "checkbutton_config_convert_spaces");
  gtk_widget_ref (checkbutton_config_convert_spaces);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_convert_spaces", checkbutton_config_convert_spaces,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_convert_spaces);
  gtk_table_attach (GTK_TABLE (table94), checkbutton_config_convert_spaces, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_config_convert_evil_chars = gtk_check_button_new_with_label (_("Convert \"evil\" characters (like shell meta characters) to underscores in generated filenames"));
  gtk_widget_set_name (checkbutton_config_convert_evil_chars, "checkbutton_config_convert_evil_chars");
  gtk_widget_ref (checkbutton_config_convert_evil_chars);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_convert_evil_chars", checkbutton_config_convert_evil_chars,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_convert_evil_chars);
  gtk_table_attach (GTK_TABLE (table94), checkbutton_config_convert_evil_chars, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_config_convert_old_filenames = gtk_check_button_new_with_label (_("Apply above conversions, upon startup, to existing files in the downloading directory"));
  gtk_widget_set_name (checkbutton_config_convert_old_filenames, "checkbutton_config_convert_old_filenames");
  gtk_widget_ref (checkbutton_config_convert_old_filenames);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_convert_old_filenames", checkbutton_config_convert_old_filenames,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_convert_old_filenames);
  gtk_table_attach (GTK_TABLE (table94), checkbutton_config_convert_old_filenames, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  frame16 = gtk_frame_new (_("Resume and retry"));
  gtk_widget_set_name (frame16, "frame16");
  gtk_widget_ref (frame16);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame16", frame16,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame16);
  gtk_box_pack_start (GTK_BOX (vbox38), frame16, FALSE, TRUE, 0);

  table46 = gtk_table_new (2, 3, FALSE);
  gtk_widget_set_name (table46, "table46");
  gtk_widget_ref (table46);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table46", table46,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table46);
  gtk_container_add (GTK_CONTAINER (frame16), table46);
  gtk_container_set_border_width (GTK_CONTAINER (table46), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table46), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table46), 4);

  label171 = gtk_label_new ("");
  label171_key = gtk_label_parse_uline (GTK_LABEL (label171),
                                   _("_Overlap when resuming"));
  gtk_widget_set_name (label171, "label171");
  gtk_widget_ref (label171);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label171", label171,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label171);
  gtk_table_attach (GTK_TABLE (table46), label171, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label171), 7.45058e-09, 0.5);

  label172 = gtk_label_new ("");
  label172_key = gtk_label_parse_uline (GTK_LABEL (label172),
                                   _("Maximum number of _retries"));
  gtk_widget_set_name (label172, "label172");
  gtk_widget_ref (label172);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label172", label172,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label172);
  gtk_table_attach (GTK_TABLE (table46), label172, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label172), 7.45058e-09, 0.5);

  spinbutton_config_download_max_retries_adj = gtk_adjustment_new (1, 0, 100000, 1, 10, 10);
  spinbutton_config_download_max_retries = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_download_max_retries_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_download_max_retries, "spinbutton_config_download_max_retries");
  gtk_widget_ref (spinbutton_config_download_max_retries);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_download_max_retries", spinbutton_config_download_max_retries,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_download_max_retries);
  gtk_table_attach (GTK_TABLE (table46), spinbutton_config_download_max_retries, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (spinbutton_config_download_max_retries, 64, -2);
  gtk_tooltips_set_tip (tooltips, spinbutton_config_download_max_retries, _("Maximum attempts to make, not counting HTTP busy indications"), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_download_max_retries), TRUE);

  spinbutton_config_download_overlap_range_adj = gtk_adjustment_new (1, 128, 4096, 1, 10, 10);
  spinbutton_config_download_overlap_range = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_download_overlap_range_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_download_overlap_range, "spinbutton_config_download_overlap_range");
  gtk_widget_ref (spinbutton_config_download_overlap_range);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_download_overlap_range", spinbutton_config_download_overlap_range,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_download_overlap_range);
  gtk_table_attach (GTK_TABLE (table46), spinbutton_config_download_overlap_range, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (spinbutton_config_download_overlap_range, 96, -2);
  gtk_tooltips_set_tip (tooltips, spinbutton_config_download_overlap_range, _("Amount of bytes to overlap when resuming download"), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_download_overlap_range), TRUE);

  label173 = gtk_label_new (_("bytes"));
  gtk_widget_set_name (label173, "label173");
  gtk_widget_ref (label173);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label173", label173,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label173);
  gtk_table_attach (GTK_TABLE (table46), label173, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label173), 7.45058e-09, 0.5);

  frame_expert_dl_source_quality = gtk_frame_new (_("Source quality"));
  gtk_widget_set_name (frame_expert_dl_source_quality, "frame_expert_dl_source_quality");
  gtk_widget_ref (frame_expert_dl_source_quality);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame_expert_dl_source_quality", frame_expert_dl_source_quality,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_expert_dl_source_quality);
  gtk_box_pack_start (GTK_BOX (vbox38), frame_expert_dl_source_quality, FALSE, TRUE, 0);

  table47 = gtk_table_new (1, 3, FALSE);
  gtk_widget_set_name (table47, "table47");
  gtk_widget_ref (table47);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table47", table47,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table47);
  gtk_container_add (GTK_CONTAINER (frame_expert_dl_source_quality), table47);
  gtk_container_set_border_width (GTK_CONTAINER (table47), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table47), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table47), 4);

  checkbutton_config_download_optimistic_start = gtk_check_button_new_with_label ("");
  checkbutton_config_download_optimistic_start_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_config_download_optimistic_start)->child),
                                   _("Optimistic first _chunk"));
  gtk_widget_add_accelerator (checkbutton_config_download_optimistic_start, "clicked", accel_group,
                              checkbutton_config_download_optimistic_start_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_config_download_optimistic_start, "checkbutton_config_download_optimistic_start");
  gtk_widget_ref (checkbutton_config_download_optimistic_start);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_download_optimistic_start", checkbutton_config_download_optimistic_start,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_download_optimistic_start);
  gtk_table_attach (GTK_TABLE (table47), checkbutton_config_download_optimistic_start, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_config_req_urn = gtk_check_button_new_with_label ("");
  checkbutton_config_req_urn_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_config_req_urn)->child),
                                   _("Require _URN"));
  gtk_widget_add_accelerator (checkbutton_config_req_urn, "clicked", accel_group,
                              checkbutton_config_req_urn_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_config_req_urn, "checkbutton_config_req_urn");
  gtk_widget_ref (checkbutton_config_req_urn);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_req_urn", checkbutton_config_req_urn,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_req_urn);
  gtk_table_attach (GTK_TABLE (table47), checkbutton_config_req_urn, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_config_req_srv_name = gtk_check_button_new_with_label ("");
  checkbutton_config_req_srv_name_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_config_req_srv_name)->child),
                                   _("Require _server name"));
  gtk_widget_add_accelerator (checkbutton_config_req_srv_name, "clicked", accel_group,
                              checkbutton_config_req_srv_name_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_config_req_srv_name, "checkbutton_config_req_srv_name");
  gtk_widget_ref (checkbutton_config_req_srv_name);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_req_srv_name", checkbutton_config_req_srv_name,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_req_srv_name);
  gtk_table_attach (GTK_TABLE (table47), checkbutton_config_req_srv_name, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  frame_expert_dl_timeout = gtk_frame_new (_("Delays and timeouts (all values in seconds)"));
  gtk_widget_set_name (frame_expert_dl_timeout, "frame_expert_dl_timeout");
  gtk_widget_ref (frame_expert_dl_timeout);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame_expert_dl_timeout", frame_expert_dl_timeout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_expert_dl_timeout);
  gtk_box_pack_start (GTK_BOX (vbox38), frame_expert_dl_timeout, FALSE, TRUE, 0);

  table8 = gtk_table_new (3, 6, FALSE);
  gtk_widget_set_name (table8, "table8");
  gtk_widget_ref (table8);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table8", table8,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table8);
  gtk_container_add (GTK_CONTAINER (frame_expert_dl_timeout), table8);
  gtk_container_set_border_width (GTK_CONTAINER (table8), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table8), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table8), 4);

  label162 = gtk_label_new (_("Retry stopped delay"));
  gtk_widget_set_name (label162, "label162");
  gtk_widget_ref (label162);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label162", label162,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label162);
  gtk_table_attach (GTK_TABLE (table8), label162, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label162), 0, 0.5);

  label163 = gtk_label_new (_("Retry refused delay"));
  gtk_widget_set_name (label163, "label163");
  gtk_widget_ref (label163);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label163", label163,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label163);
  gtk_table_attach (GTK_TABLE (table8), label163, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label163), 0, 0.5);

  label164 = gtk_label_new (_("Retry busy delay"));
  gtk_widget_set_name (label164, "label164");
  gtk_widget_ref (label164);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label164", label164,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label164);
  gtk_table_attach (GTK_TABLE (table8), label164, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label164), 0, 0.5);

  label165 = gtk_label_new (_("Retry timeout delay"));
  gtk_widget_set_name (label165, "label165");
  gtk_widget_ref (label165);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label165", label165,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label165);
  gtk_table_attach (GTK_TABLE (table8), label165, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label165), 0, 0.5);

  label166 = gtk_label_new (_("Retry timeout max"));
  gtk_widget_set_name (label166, "label166");
  gtk_widget_ref (label166);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label166", label166,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label166);
  gtk_table_attach (GTK_TABLE (table8), label166, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label166), 0, 0.5);

  label167 = gtk_label_new (_("Retry timeout min"));
  gtk_widget_set_name (label167, "label167");
  gtk_widget_ref (label167);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label167", label167,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label167);
  gtk_table_attach (GTK_TABLE (table8), label167, 2, 3, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label167), 0, 0.5);

  label168 = gtk_label_new ("");
  label168_key = gtk_label_parse_uline (GTK_LABEL (label168),
                                   _("Connectin_g timeout"));
  gtk_widget_set_name (label168, "label168");
  gtk_widget_ref (label168);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label168", label168,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label168);
  gtk_table_attach (GTK_TABLE (table8), label168, 4, 5, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label168), 0, 0.5);

  label169 = gtk_label_new ("");
  label169_key = gtk_label_parse_uline (GTK_LABEL (label169),
                                   _("_Push sent timeout"));
  gtk_widget_set_name (label169, "label169");
  gtk_widget_ref (label169);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label169", label169,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label169);
  gtk_table_attach (GTK_TABLE (table8), label169, 4, 5, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label169), 0, 0.5);

  label170 = gtk_label_new ("");
  label170_key = gtk_label_parse_uline (GTK_LABEL (label170),
                                   _("Connected time_out"));
  gtk_widget_set_name (label170, "label170");
  gtk_widget_ref (label170);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label170", label170,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label170);
  gtk_table_attach (GTK_TABLE (table8), label170, 4, 5, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label170), 0, 0.5);

  spinbutton_config_download_retry_stopped_delay_adj = gtk_adjustment_new (15, 15, 100000, 1, 10, 10);
  spinbutton_config_download_retry_stopped_delay = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_download_retry_stopped_delay_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_download_retry_stopped_delay, "spinbutton_config_download_retry_stopped_delay");
  gtk_widget_ref (spinbutton_config_download_retry_stopped_delay);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_download_retry_stopped_delay", spinbutton_config_download_retry_stopped_delay,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_download_retry_stopped_delay);
  gtk_table_attach (GTK_TABLE (table8), spinbutton_config_download_retry_stopped_delay, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, spinbutton_config_download_retry_stopped_delay, _("Delay in seconds to wait when running download stops"), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_download_retry_stopped_delay), TRUE);

  spinbutton_config_download_retry_refused_delay_adj = gtk_adjustment_new (1, 15, 100000, 1, 10, 10);
  spinbutton_config_download_retry_refused_delay = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_download_retry_refused_delay_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_download_retry_refused_delay, "spinbutton_config_download_retry_refused_delay");
  gtk_widget_ref (spinbutton_config_download_retry_refused_delay);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_download_retry_refused_delay", spinbutton_config_download_retry_refused_delay,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_download_retry_refused_delay);
  gtk_table_attach (GTK_TABLE (table8), spinbutton_config_download_retry_refused_delay, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (spinbutton_config_download_retry_refused_delay, 50, -2);
  gtk_tooltips_set_tip (tooltips, spinbutton_config_download_retry_refused_delay, _("Delay in seconds to wait if connection is refused"), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_download_retry_refused_delay), TRUE);

  spinbutton_config_download_retry_busy_delay_adj = gtk_adjustment_new (1, 15, 100000, 1, 10, 10);
  spinbutton_config_download_retry_busy_delay = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_download_retry_busy_delay_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_download_retry_busy_delay, "spinbutton_config_download_retry_busy_delay");
  gtk_widget_ref (spinbutton_config_download_retry_busy_delay);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_download_retry_busy_delay", spinbutton_config_download_retry_busy_delay,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_download_retry_busy_delay);
  gtk_table_attach (GTK_TABLE (table8), spinbutton_config_download_retry_busy_delay, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, spinbutton_config_download_retry_busy_delay, _("Delay in seconds to wait after HTTP busy indication"), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_download_retry_busy_delay), TRUE);

  spinbutton_config_download_retry_timeout_delay_adj = gtk_adjustment_new (1, 15, 100000, 1, 10, 10);
  spinbutton_config_download_retry_timeout_delay = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_download_retry_timeout_delay_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_download_retry_timeout_delay, "spinbutton_config_download_retry_timeout_delay");
  gtk_widget_ref (spinbutton_config_download_retry_timeout_delay);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_download_retry_timeout_delay", spinbutton_config_download_retry_timeout_delay,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_download_retry_timeout_delay);
  gtk_table_attach (GTK_TABLE (table8), spinbutton_config_download_retry_timeout_delay, 3, 4, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (spinbutton_config_download_retry_timeout_delay, 50, -2);
  gtk_tooltips_set_tip (tooltips, spinbutton_config_download_retry_timeout_delay, _("Delay in seconds to wait after connection failure"), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_download_retry_timeout_delay), TRUE);

  spinbutton_config_download_retry_timeout_max_adj = gtk_adjustment_new (15, 15, 100000, 1, 10, 10);
  spinbutton_config_download_retry_timeout_max = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_download_retry_timeout_max_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_download_retry_timeout_max, "spinbutton_config_download_retry_timeout_max");
  gtk_widget_ref (spinbutton_config_download_retry_timeout_max);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_download_retry_timeout_max", spinbutton_config_download_retry_timeout_max,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_download_retry_timeout_max);
  gtk_table_attach (GTK_TABLE (table8), spinbutton_config_download_retry_timeout_max, 3, 4, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, spinbutton_config_download_retry_timeout_max, _("Maximum seconds to wait on auto-retry timeouts"), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_download_retry_timeout_max), TRUE);

  spinbutton_config_download_retry_timeout_min_adj = gtk_adjustment_new (1, 15, 100000, 1, 10, 10);
  spinbutton_config_download_retry_timeout_min = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_download_retry_timeout_min_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_download_retry_timeout_min, "spinbutton_config_download_retry_timeout_min");
  gtk_widget_ref (spinbutton_config_download_retry_timeout_min);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_download_retry_timeout_min", spinbutton_config_download_retry_timeout_min,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_download_retry_timeout_min);
  gtk_table_attach (GTK_TABLE (table8), spinbutton_config_download_retry_timeout_min, 3, 4, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, spinbutton_config_download_retry_timeout_min, _("Minimum seconds to wait on auto-retry timeouts"), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_download_retry_timeout_min), TRUE);

  spinbutton_config_download_connecting_timeout_adj = gtk_adjustment_new (1, 1, 100000, 1, 10, 10);
  spinbutton_config_download_connecting_timeout = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_download_connecting_timeout_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_download_connecting_timeout, "spinbutton_config_download_connecting_timeout");
  gtk_widget_ref (spinbutton_config_download_connecting_timeout);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_download_connecting_timeout", spinbutton_config_download_connecting_timeout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_download_connecting_timeout);
  gtk_table_attach (GTK_TABLE (table8), spinbutton_config_download_connecting_timeout, 5, 6, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, spinbutton_config_download_connecting_timeout, _("Number of seconds before timeout for a connecting download"), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_download_connecting_timeout), TRUE);

  spinbutton_config_download_push_sent_timeout_adj = gtk_adjustment_new (1, 1, 100000, 1, 10, 10);
  spinbutton_config_download_push_sent_timeout = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_download_push_sent_timeout_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_download_push_sent_timeout, "spinbutton_config_download_push_sent_timeout");
  gtk_widget_ref (spinbutton_config_download_push_sent_timeout);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_download_push_sent_timeout", spinbutton_config_download_push_sent_timeout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_download_push_sent_timeout);
  gtk_table_attach (GTK_TABLE (table8), spinbutton_config_download_push_sent_timeout, 5, 6, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, spinbutton_config_download_push_sent_timeout, _("Number of seconds before timeout for a 'push sent' download"), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_download_push_sent_timeout), TRUE);

  spinbutton_config_download_connected_timeout_adj = gtk_adjustment_new (1, 1, 100000, 1, 10, 10);
  spinbutton_config_download_connected_timeout = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_download_connected_timeout_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_download_connected_timeout, "spinbutton_config_download_connected_timeout");
  gtk_widget_ref (spinbutton_config_download_connected_timeout);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_download_connected_timeout", spinbutton_config_download_connected_timeout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_download_connected_timeout);
  gtk_table_attach (GTK_TABLE (table8), spinbutton_config_download_connected_timeout, 5, 6, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, spinbutton_config_download_connected_timeout, _("Number of seconds before timeout for a connected download"), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_download_connected_timeout), TRUE);

  frame48 = gtk_frame_new (_("Downloading from multiple sources (swarming)"));
  gtk_widget_set_name (frame48, "frame48");
  gtk_widget_ref (frame48);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame48", frame48,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame48);
  gtk_box_pack_start (GTK_BOX (vbox38), frame48, FALSE, TRUE, 0);

  vbox99 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox99, "vbox99");
  gtk_widget_ref (vbox99);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "vbox99", vbox99,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox99);
  gtk_container_add (GTK_CONTAINER (frame48), vbox99);
  gtk_container_set_border_width (GTK_CONTAINER (vbox99), 2);

  checkbutton_config_use_swarming = gtk_check_button_new_with_label ("");
  checkbutton_config_use_swarming_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_config_use_swarming)->child),
                                   _("Enable s_warming"));
  gtk_widget_add_accelerator (checkbutton_config_use_swarming, "clicked", accel_group,
                              checkbutton_config_use_swarming_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_config_use_swarming, "checkbutton_config_use_swarming");
  gtk_widget_ref (checkbutton_config_use_swarming);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_use_swarming", checkbutton_config_use_swarming,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_use_swarming);
  gtk_box_pack_start (GTK_BOX (vbox99), checkbutton_config_use_swarming, FALSE, FALSE, 0);

  hseparator11 = gtk_hseparator_new ();
  gtk_widget_set_name (hseparator11, "hseparator11");
  gtk_widget_ref (hseparator11);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hseparator11", hseparator11,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hseparator11);
  gtk_box_pack_start (GTK_BOX (vbox99), hseparator11, FALSE, TRUE, 0);

  table51 = gtk_table_new (2, 9, FALSE);
  gtk_widget_set_name (table51, "table51");
  gtk_widget_ref (table51);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table51", table51,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table51);
  gtk_box_pack_start (GTK_BOX (vbox99), table51, FALSE, TRUE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table51), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table51), 4);

  checkbutton_config_aggressive_swarming = gtk_check_button_new_with_label ("");
  checkbutton_config_aggressive_swarming_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_config_aggressive_swarming)->child),
                                   _("A_ggressive mode"));
  gtk_widget_add_accelerator (checkbutton_config_aggressive_swarming, "clicked", accel_group,
                              checkbutton_config_aggressive_swarming_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_config_aggressive_swarming, "checkbutton_config_aggressive_swarming");
  gtk_widget_ref (checkbutton_config_aggressive_swarming);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_aggressive_swarming", checkbutton_config_aggressive_swarming,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_aggressive_swarming);
  gtk_table_attach (GTK_TABLE (table51), checkbutton_config_aggressive_swarming, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  vseparator1 = gtk_vseparator_new ();
  gtk_widget_set_name (vseparator1, "vseparator1");
  gtk_widget_ref (vseparator1);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "vseparator1", vseparator1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vseparator1);
  gtk_table_attach (GTK_TABLE (table51), vseparator1, 1, 2, 0, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);

  label283 = gtk_label_new ("");
  label283_key = gtk_label_parse_uline (GTK_LABEL (label283),
                                   _("M_inimum chunk size"));
  gtk_widget_set_name (label283, "label283");
  gtk_widget_ref (label283);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label283", label283,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label283);
  gtk_table_attach (GTK_TABLE (table51), label283, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label283), 0, 0.5);

  label284 = gtk_label_new ("");
  label284_key = gtk_label_parse_uline (GTK_LABEL (label284),
                                   _("Ma_ximum chunk size"));
  gtk_widget_set_name (label284, "label284");
  gtk_widget_ref (label284);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label284", label284,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label284);
  gtk_table_attach (GTK_TABLE (table51), label284, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label284), 0, 0.5);

  label732 = gtk_label_new (_("bytes"));
  gtk_widget_set_name (label732, "label732");
  gtk_widget_ref (label732);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label732", label732,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label732);
  gtk_table_attach (GTK_TABLE (table51), label732, 4, 5, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label732), 7.45058e-09, 0.5);

  label733 = gtk_label_new (_("bytes"));
  gtk_widget_set_name (label733, "label733");
  gtk_widget_ref (label733);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label733", label733,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label733);
  gtk_table_attach (GTK_TABLE (table51), label733, 4, 5, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label733), 7.45058e-09, 0.5);

  vseparator6 = gtk_vseparator_new ();
  gtk_widget_set_name (vseparator6, "vseparator6");
  gtk_widget_ref (vseparator6);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "vseparator6", vseparator6,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vseparator6);
  gtk_table_attach (GTK_TABLE (table51), vseparator6, 5, 6, 0, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);

  spinbutton_dl_minchunksize_adj = gtk_adjustment_new (1, 0, 100, 1, 1024, 1024);
  spinbutton_dl_minchunksize = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_dl_minchunksize_adj), 1, 0);
  gtk_widget_set_name (spinbutton_dl_minchunksize, "spinbutton_dl_minchunksize");
  gtk_widget_ref (spinbutton_dl_minchunksize);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_dl_minchunksize", spinbutton_dl_minchunksize,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_dl_minchunksize);
  gtk_table_attach (GTK_TABLE (table51), spinbutton_dl_minchunksize, 3, 4, 0, 1,
                    (GtkAttachOptions) (0),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (spinbutton_dl_minchunksize, 90, -2);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_dl_minchunksize), TRUE);

  spinbutton_dl_maxchunksize_adj = gtk_adjustment_new (1, 0, 100, 1, 1024, 1024);
  spinbutton_dl_maxchunksize = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_dl_maxchunksize_adj), 1, 0);
  gtk_widget_set_name (spinbutton_dl_maxchunksize, "spinbutton_dl_maxchunksize");
  gtk_widget_ref (spinbutton_dl_maxchunksize);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_dl_maxchunksize", spinbutton_dl_maxchunksize,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_dl_maxchunksize);
  gtk_table_attach (GTK_TABLE (table51), spinbutton_dl_maxchunksize, 3, 4, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_dl_maxchunksize), TRUE);

  label761 = gtk_label_new (_("Write buffer size"));
  gtk_widget_set_name (label761, "label761");
  gtk_widget_ref (label761);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label761", label761,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label761);
  gtk_table_attach (GTK_TABLE (table51), label761, 6, 7, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label761), 0, 0.5);

  spinbutton_download_buffer_size_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_download_buffer_size = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_download_buffer_size_adj), 1, 0);
  gtk_widget_set_name (spinbutton_download_buffer_size, "spinbutton_download_buffer_size");
  gtk_widget_ref (spinbutton_download_buffer_size);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_download_buffer_size", spinbutton_download_buffer_size,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_download_buffer_size);
  gtk_table_attach (GTK_TABLE (table51), spinbutton_download_buffer_size, 7, 8, 0, 1,
                    (GtkAttachOptions) (0),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (spinbutton_download_buffer_size, 90, -2);

  label763 = gtk_label_new (_("bytes"));
  gtk_widget_set_name (label763, "label763");
  gtk_widget_ref (label763);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label763", label763,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label763);
  gtk_table_attach (GTK_TABLE (table51), label763, 8, 9, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label763), 0, 0.5);

  hseparator12 = gtk_hseparator_new ();
  gtk_widget_set_name (hseparator12, "hseparator12");
  gtk_widget_ref (hseparator12);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hseparator12", hseparator12,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hseparator12);
  gtk_box_pack_start (GTK_BOX (vbox99), hseparator12, FALSE, TRUE, 0);

  table52 = gtk_table_new (3, 4, FALSE);
  gtk_widget_set_name (table52, "table52");
  gtk_widget_ref (table52);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table52", table52,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table52);
  gtk_box_pack_start (GTK_BOX (vbox99), table52, FALSE, TRUE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table52), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table52), 4);

  checkbutton_config_strict_sha1_matching = gtk_check_button_new_with_label ("");
  checkbutton_config_strict_sha1_matching_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_config_strict_sha1_matching)->child),
                                   _("Strict SHA_1 matching"));
  gtk_widget_add_accelerator (checkbutton_config_strict_sha1_matching, "clicked", accel_group,
                              checkbutton_config_strict_sha1_matching_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_config_strict_sha1_matching, "checkbutton_config_strict_sha1_matching");
  gtk_widget_ref (checkbutton_config_strict_sha1_matching);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_strict_sha1_matching", checkbutton_config_strict_sha1_matching,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_strict_sha1_matching);
  gtk_table_attach (GTK_TABLE (table52), checkbutton_config_strict_sha1_matching, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_config_use_alternate_sources = gtk_check_button_new_with_label ("");
  checkbutton_config_use_alternate_sources_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_config_use_alternate_sources)->child),
                                   _("Watch hits for _alternate sources"));
  gtk_widget_add_accelerator (checkbutton_config_use_alternate_sources, "clicked", accel_group,
                              checkbutton_config_use_alternate_sources_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_config_use_alternate_sources, "checkbutton_config_use_alternate_sources");
  gtk_widget_ref (checkbutton_config_use_alternate_sources);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_use_alternate_sources", checkbutton_config_use_alternate_sources,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_use_alternate_sources);
  gtk_table_attach (GTK_TABLE (table52), checkbutton_config_use_alternate_sources, 0, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_auto_feed_dmesh = gtk_check_button_new_with_label ("");
  checkbutton_auto_feed_dmesh_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_auto_feed_dmesh)->child),
                                   _("_Feed mesh from hits"));
  gtk_widget_add_accelerator (checkbutton_auto_feed_dmesh, "clicked", accel_group,
                              checkbutton_auto_feed_dmesh_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_auto_feed_dmesh, "checkbutton_auto_feed_dmesh");
  gtk_widget_ref (checkbutton_auto_feed_dmesh);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_auto_feed_dmesh", checkbutton_auto_feed_dmesh,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_auto_feed_dmesh);
  gtk_table_attach (GTK_TABLE (table52), checkbutton_auto_feed_dmesh, 2, 4, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label685 = gtk_label_new (_("Downloads"));
  gtk_widget_set_name (label685, "label685");
  gtk_widget_ref (label685);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label685", label685,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label685);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_prefs), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_prefs), 3), label685);

  scrolledwindow35 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow35, "scrolledwindow35");
  gtk_widget_ref (scrolledwindow35);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "scrolledwindow35", scrolledwindow35,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow35);
  gtk_container_add (GTK_CONTAINER (notebook_prefs), scrolledwindow35);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow35), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  viewport7 = gtk_viewport_new (NULL, NULL);
  gtk_widget_set_name (viewport7, "viewport7");
  gtk_widget_ref (viewport7);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "viewport7", viewport7,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport7);
  gtk_container_add (GTK_CONTAINER (scrolledwindow35), viewport7);

  vbox40 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox40, "vbox40");
  gtk_widget_ref (vbox40);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "vbox40", vbox40,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox40);
  gtk_container_add (GTK_CONTAINER (viewport7), vbox40);
  gtk_container_set_border_width (GTK_CONTAINER (vbox40), 4);

  frame_path_to_files = gtk_frame_new (_("_Path(s) to files"));
  gtk_widget_set_name (frame_path_to_files, "frame_path_to_files");
  gtk_widget_ref (frame_path_to_files);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame_path_to_files", frame_path_to_files,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_path_to_files);
  gtk_box_pack_start (GTK_BOX (vbox40), frame_path_to_files, FALSE, TRUE, 0);

  vbox_path_to_files = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox_path_to_files, "vbox_path_to_files");
  gtk_widget_ref (vbox_path_to_files);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "vbox_path_to_files", vbox_path_to_files,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox_path_to_files);
  gtk_container_add (GTK_CONTAINER (frame_path_to_files), vbox_path_to_files);
  gtk_container_set_border_width (GTK_CONTAINER (vbox_path_to_files), 2);

  entry_config_path = gtk_entry_new ();
  gtk_widget_set_name (entry_config_path, "entry_config_path");
  gtk_widget_ref (entry_config_path);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "entry_config_path", entry_config_path,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_config_path);
  gtk_box_pack_start (GTK_BOX (vbox_path_to_files), entry_config_path, FALSE, FALSE, 0);

  hbox_path_buttons = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox_path_buttons, "hbox_path_buttons");
  gtk_widget_ref (hbox_path_buttons);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hbox_path_buttons", hbox_path_buttons,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox_path_buttons);
  gtk_box_pack_start (GTK_BOX (vbox_path_to_files), hbox_path_buttons, FALSE, FALSE, 0);

  button_config_add_dir = gtk_button_new_with_label ("");
  button_config_add_dir_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (button_config_add_dir)->child),
                                   _("_Add directory"));
  gtk_widget_add_accelerator (button_config_add_dir, "clicked", accel_group,
                              button_config_add_dir_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (button_config_add_dir, "button_config_add_dir");
  gtk_widget_ref (button_config_add_dir);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "button_config_add_dir", button_config_add_dir,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_config_add_dir);
  gtk_box_pack_start (GTK_BOX (hbox_path_buttons), button_config_add_dir, FALSE, TRUE, 0);

  button_config_rescan_dir = gtk_button_new_with_label ("");
  button_config_rescan_dir_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (button_config_rescan_dir)->child),
                                   _("_Rescan"));
  gtk_widget_add_accelerator (button_config_rescan_dir, "clicked", accel_group,
                              button_config_rescan_dir_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (button_config_rescan_dir, "button_config_rescan_dir");
  gtk_widget_ref (button_config_rescan_dir);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "button_config_rescan_dir", button_config_rescan_dir,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_config_rescan_dir);
  gtk_box_pack_start (GTK_BOX (hbox_path_buttons), button_config_rescan_dir, FALSE, TRUE, 0);

  label_files_scanned = gtk_label_new (_("Files scanned"));
  gtk_widget_set_name (label_files_scanned, "label_files_scanned");
  gtk_widget_ref (label_files_scanned);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_files_scanned", label_files_scanned,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_files_scanned);
  gtk_box_pack_start (GTK_BOX (hbox_path_buttons), label_files_scanned, TRUE, TRUE, 0);
  gtk_misc_set_alignment (GTK_MISC (label_files_scanned), 7.45058e-09, 0.5);

  hbox173 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox173, "hbox173");
  gtk_widget_ref (hbox173);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hbox173", hbox173,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox173);
  gtk_box_pack_start (GTK_BOX (vbox_path_to_files), hbox173, TRUE, TRUE, 0);

  hbox174 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox174, "hbox174");
  gtk_widget_ref (hbox174);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hbox174", hbox174,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox174);
  gtk_box_pack_start (GTK_BOX (hbox173), hbox174, TRUE, TRUE, 0);

  checkbutton_scan_ignore_symlink_dirs = gtk_check_button_new_with_label ("");
  checkbutton_scan_ignore_symlink_dirs_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_scan_ignore_symlink_dirs)->child),
                                   _("Ignore symbolically linked _directories"));
  gtk_widget_add_accelerator (checkbutton_scan_ignore_symlink_dirs, "clicked", accel_group,
                              checkbutton_scan_ignore_symlink_dirs_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_scan_ignore_symlink_dirs, "checkbutton_scan_ignore_symlink_dirs");
  gtk_widget_ref (checkbutton_scan_ignore_symlink_dirs);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_scan_ignore_symlink_dirs", checkbutton_scan_ignore_symlink_dirs,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_scan_ignore_symlink_dirs);
  gtk_box_pack_start (GTK_BOX (hbox174), checkbutton_scan_ignore_symlink_dirs, FALSE, FALSE, 0);

  checkbutton_scan_ignore_symlink_regfiles = gtk_check_button_new_with_label ("");
  checkbutton_scan_ignore_symlink_regfiles_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_scan_ignore_symlink_regfiles)->child),
                                   _("Ignore symbolically linked regular _files"));
  gtk_widget_add_accelerator (checkbutton_scan_ignore_symlink_regfiles, "clicked", accel_group,
                              checkbutton_scan_ignore_symlink_regfiles_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_scan_ignore_symlink_regfiles, "checkbutton_scan_ignore_symlink_regfiles");
  gtk_widget_ref (checkbutton_scan_ignore_symlink_regfiles);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_scan_ignore_symlink_regfiles", checkbutton_scan_ignore_symlink_regfiles,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_scan_ignore_symlink_regfiles);
  gtk_box_pack_start (GTK_BOX (hbox174), checkbutton_scan_ignore_symlink_regfiles, FALSE, FALSE, 0);

  hbox27 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox27, "hbox27");
  gtk_widget_ref (hbox27);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hbox27", hbox27,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox27);
  gtk_box_pack_start (GTK_BOX (vbox_path_to_files), hbox27, FALSE, TRUE, 0);

  label41 = gtk_label_new ("");
  label41_key = gtk_label_parse_uline (GTK_LABEL (label41),
                                   _("Search _extensions"));
  gtk_widget_set_name (label41, "label41");
  gtk_widget_ref (label41);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label41", label41,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label41);
  gtk_box_pack_start (GTK_BOX (hbox27), label41, FALSE, FALSE, 0);

  entry_config_extensions = gtk_entry_new ();
  gtk_widget_set_name (entry_config_extensions, "entry_config_extensions");
  gtk_widget_ref (entry_config_extensions);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "entry_config_extensions", entry_config_extensions,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_config_extensions);
  gtk_box_pack_start (GTK_BOX (hbox27), entry_config_extensions, TRUE, TRUE, 0);

  frame149 = gtk_frame_new (_("Miscellaneous"));
  gtk_widget_set_name (frame149, "frame149");
  gtk_widget_ref (frame149);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame149", frame149,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame149);
  gtk_box_pack_start (GTK_BOX (vbox40), frame149, FALSE, TRUE, 0);

  table98 = gtk_table_new (2, 1, FALSE);
  gtk_widget_set_name (table98, "table98");
  gtk_widget_ref (table98);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table98", table98,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table98);
  gtk_container_add (GTK_CONTAINER (frame149), table98);
  gtk_table_set_row_spacings (GTK_TABLE (table98), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table98), 4);

  checkbutton_enable_browse_host = gtk_check_button_new_with_label ("");
  checkbutton_enable_browse_host_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_enable_browse_host)->child),
                                   _("Enable \"_Browse Host\" feature"));
  gtk_widget_add_accelerator (checkbutton_enable_browse_host, "clicked", accel_group,
                              checkbutton_enable_browse_host_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_enable_browse_host, "checkbutton_enable_browse_host");
  gtk_widget_ref (checkbutton_enable_browse_host);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_enable_browse_host", checkbutton_enable_browse_host,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_enable_browse_host);
  gtk_table_attach (GTK_TABLE (table98), checkbutton_enable_browse_host, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_expose_relative_paths = gtk_check_button_new_with_label ("");
  checkbutton_expose_relative_paths_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_expose_relative_paths)->child),
                                   _("E_xpose relative paths"));
  gtk_widget_add_accelerator (checkbutton_expose_relative_paths, "clicked", accel_group,
                              checkbutton_expose_relative_paths_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_expose_relative_paths, "checkbutton_expose_relative_paths");
  gtk_widget_ref (checkbutton_expose_relative_paths);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_expose_relative_paths", checkbutton_expose_relative_paths,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_expose_relative_paths);
  gtk_table_attach (GTK_TABLE (table98), checkbutton_expose_relative_paths, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  frame_expert_ul_timeout = gtk_frame_new (_("Timeouts (all values in seconds)"));
  gtk_widget_set_name (frame_expert_ul_timeout, "frame_expert_ul_timeout");
  gtk_widget_ref (frame_expert_ul_timeout);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame_expert_ul_timeout", frame_expert_ul_timeout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_expert_ul_timeout);
  gtk_box_pack_start (GTK_BOX (vbox40), frame_expert_ul_timeout, FALSE, TRUE, 0);

  table12 = gtk_table_new (1, 4, FALSE);
  gtk_widget_set_name (table12, "table12");
  gtk_widget_ref (table12);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table12", table12,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table12);
  gtk_container_add (GTK_CONTAINER (frame_expert_ul_timeout), table12);
  gtk_container_set_border_width (GTK_CONTAINER (table12), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table12), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table12), 4);

  label179 = gtk_label_new ("");
  label179_key = gtk_label_parse_uline (GTK_LABEL (label179),
                                   _("Connectin_g timeout"));
  gtk_widget_set_name (label179, "label179");
  gtk_widget_ref (label179);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label179", label179,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label179);
  gtk_table_attach (GTK_TABLE (table12), label179, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label179), 0, 0.5);

  label180 = gtk_label_new ("");
  label180_key = gtk_label_parse_uline (GTK_LABEL (label180),
                                   _("Connected time_out"));
  gtk_widget_set_name (label180, "label180");
  gtk_widget_ref (label180);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label180", label180,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label180);
  gtk_table_attach (GTK_TABLE (table12), label180, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label180), 0, 0.5);

  spinbutton_config_upload_connecting_timeout_adj = gtk_adjustment_new (1, 1, 100000, 1, 10, 10);
  spinbutton_config_upload_connecting_timeout = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_upload_connecting_timeout_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_upload_connecting_timeout, "spinbutton_config_upload_connecting_timeout");
  gtk_widget_ref (spinbutton_config_upload_connecting_timeout);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_upload_connecting_timeout", spinbutton_config_upload_connecting_timeout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_upload_connecting_timeout);
  gtk_table_attach (GTK_TABLE (table12), spinbutton_config_upload_connecting_timeout, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_upload_connecting_timeout), TRUE);

  spinbutton_config_upload_connected_timeout_adj = gtk_adjustment_new (1, 1, 100000, 1, 10, 10);
  spinbutton_config_upload_connected_timeout = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_config_upload_connected_timeout_adj), 1, 0);
  gtk_widget_set_name (spinbutton_config_upload_connected_timeout, "spinbutton_config_upload_connected_timeout");
  gtk_widget_ref (spinbutton_config_upload_connected_timeout);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_config_upload_connected_timeout", spinbutton_config_upload_connected_timeout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_config_upload_connected_timeout);
  gtk_table_attach (GTK_TABLE (table12), spinbutton_config_upload_connected_timeout, 3, 4, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_config_upload_connected_timeout), TRUE);

  frame_partial_file_sharing = gtk_frame_new (_("Partial File Sharing"));
  gtk_widget_set_name (frame_partial_file_sharing, "frame_partial_file_sharing");
  gtk_widget_ref (frame_partial_file_sharing);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame_partial_file_sharing", frame_partial_file_sharing,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_partial_file_sharing);
  gtk_box_pack_start (GTK_BOX (vbox40), frame_partial_file_sharing, FALSE, TRUE, 0);

  table65 = gtk_table_new (1, 5, FALSE);
  gtk_widget_set_name (table65, "table65");
  gtk_widget_ref (table65);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table65", table65,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table65);
  gtk_container_add (GTK_CONTAINER (frame_partial_file_sharing), table65);
  gtk_container_set_border_width (GTK_CONTAINER (table65), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table65), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table65), 4);

  label547 = gtk_label_new ("");
  label547_key = gtk_label_parse_uline (GTK_LABEL (label547),
                                   _("First chunk _size"));
  gtk_widget_set_name (label547, "label547");
  gtk_widget_ref (label547);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label547", label547,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label547);
  gtk_table_attach (GTK_TABLE (table65), label547, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label547), 0, 0.5);

  checkbutton_pfsp_server = gtk_check_button_new_with_label ("");
  checkbutton_pfsp_server_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_pfsp_server)->child),
                                   _("Enable upload of _partially downloaded files"));
  gtk_widget_add_accelerator (checkbutton_pfsp_server, "clicked", accel_group,
                              checkbutton_pfsp_server_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_pfsp_server, "checkbutton_pfsp_server");
  gtk_widget_ref (checkbutton_pfsp_server);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_pfsp_server", checkbutton_pfsp_server,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_pfsp_server);
  gtk_table_attach (GTK_TABLE (table65), checkbutton_pfsp_server, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  spinbutton_pfsp_first_chunk_adj = gtk_adjustment_new (1, 0, 1e+06, 1, 1024, 1024);
  spinbutton_pfsp_first_chunk = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_pfsp_first_chunk_adj), 1, 0);
  gtk_widget_set_name (spinbutton_pfsp_first_chunk, "spinbutton_pfsp_first_chunk");
  gtk_widget_ref (spinbutton_pfsp_first_chunk);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_pfsp_first_chunk", spinbutton_pfsp_first_chunk,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_pfsp_first_chunk);
  gtk_table_attach (GTK_TABLE (table65), spinbutton_pfsp_first_chunk, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_usize (spinbutton_pfsp_first_chunk, 76, -2);

  label770 = gtk_label_new (_("Minimum file size"));
  gtk_widget_set_name (label770, "label770");
  gtk_widget_ref (label770);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label770", label770,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label770);
  gtk_table_attach (GTK_TABLE (table65), label770, 3, 4, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label770), 0, 0.5);

  spinbutton_pfsp_minimum_filesize_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_pfsp_minimum_filesize = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_pfsp_minimum_filesize_adj), 1, 0);
  gtk_widget_set_name (spinbutton_pfsp_minimum_filesize, "spinbutton_pfsp_minimum_filesize");
  gtk_widget_ref (spinbutton_pfsp_minimum_filesize);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_pfsp_minimum_filesize", spinbutton_pfsp_minimum_filesize,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_pfsp_minimum_filesize);
  gtk_table_attach (GTK_TABLE (table65), spinbutton_pfsp_minimum_filesize, 4, 5, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  frame140 = gtk_frame_new (_("Queuing details"));
  gtk_widget_set_name (frame140, "frame140");
  gtk_widget_ref (frame140);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame140", frame140,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame140);
  gtk_box_pack_start (GTK_BOX (vbox40), frame140, FALSE, TRUE, 0);

  table96 = gtk_table_new (3, 2, FALSE);
  gtk_widget_set_name (table96, "table96");
  gtk_widget_ref (table96);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table96", table96,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table96);
  gtk_container_add (GTK_CONTAINER (frame140), table96);
  gtk_container_set_border_width (GTK_CONTAINER (table96), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table96), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table96), 4);

  label753 = gtk_label_new (_("Minimum upload time"));
  gtk_widget_set_name (label753, "label753");
  gtk_widget_ref (label753);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label753", label753,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label753);
  gtk_table_attach (GTK_TABLE (table96), label753, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label753), 0, 0.5);

  spinbutton_parq_min_time_adj = gtk_adjustment_new (1, 1, 100000, 1, 10, 10);
  spinbutton_parq_min_time = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_parq_min_time_adj), 1, 0);
  gtk_widget_set_name (spinbutton_parq_min_time, "spinbutton_parq_min_time");
  gtk_widget_ref (spinbutton_parq_min_time);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_parq_min_time", spinbutton_parq_min_time,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_parq_min_time);
  gtk_table_attach (GTK_TABLE (table96), spinbutton_parq_min_time, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_parq_min_time), TRUE);

  label752 = gtk_label_new (_("Minimum chunk size"));
  gtk_widget_set_name (label752, "label752");
  gtk_widget_ref (label752);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label752", label752,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label752);
  gtk_table_attach (GTK_TABLE (table96), label752, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label752), 0, 0.5);

  spinbutton_parq_min_size_adj = gtk_adjustment_new (1, 1, 100000, 1, 10, 10);
  spinbutton_parq_min_size = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_parq_min_size_adj), 1, 0);
  gtk_widget_set_name (spinbutton_parq_min_size, "spinbutton_parq_min_size");
  gtk_widget_ref (spinbutton_parq_min_size);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_parq_min_size", spinbutton_parq_min_size,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_parq_min_size);
  gtk_table_attach (GTK_TABLE (table96), spinbutton_parq_min_size, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spinbutton_parq_min_size), TRUE);

  checkbutton_parq_optimistic = gtk_check_button_new_with_label (_("Use realistic PARQ estimates"));
  gtk_widget_set_name (checkbutton_parq_optimistic, "checkbutton_parq_optimistic");
  gtk_widget_ref (checkbutton_parq_optimistic);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_parq_optimistic", checkbutton_parq_optimistic,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_parq_optimistic);
  gtk_table_attach (GTK_TABLE (table96), checkbutton_parq_optimistic, 0, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  frame_expert_share_statistics = gtk_frame_new (_("Statistics:"));
  gtk_widget_set_name (frame_expert_share_statistics, "frame_expert_share_statistics");
  gtk_widget_ref (frame_expert_share_statistics);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame_expert_share_statistics", frame_expert_share_statistics,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_expert_share_statistics);
  gtk_box_pack_start (GTK_BOX (vbox40), frame_expert_share_statistics, FALSE, FALSE, 0);

  vbox117 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox117, "vbox117");
  gtk_widget_ref (vbox117);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "vbox117", vbox117,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox117);
  gtk_container_add (GTK_CONTAINER (frame_expert_share_statistics), vbox117);
  gtk_container_set_border_width (GTK_CONTAINER (vbox117), 2);

  alignment36 = gtk_alignment_new (0.5, 0.5, 0, 1);
  gtk_widget_set_name (alignment36, "alignment36");
  gtk_widget_ref (alignment36);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "alignment36", alignment36,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (alignment36);
  gtk_box_pack_start (GTK_BOX (vbox117), alignment36, FALSE, TRUE, 0);

  hbox184 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox184, "hbox184");
  gtk_widget_ref (hbox184);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hbox184", hbox184,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox184);
  gtk_container_add (GTK_CONTAINER (alignment36), hbox184);

  frame88 = gtk_frame_new (_("Library scanning:"));
  gtk_widget_set_name (frame88, "frame88");
  gtk_widget_ref (frame88);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame88", frame88,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame88);
  gtk_box_pack_start (GTK_BOX (hbox184), frame88, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame88), GTK_SHADOW_OUT);

  table78 = gtk_table_new (2, 2, FALSE);
  gtk_widget_set_name (table78, "table78");
  gtk_widget_ref (table78);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table78", table78,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table78);
  gtk_container_add (GTK_CONTAINER (frame88), table78);
  gtk_container_set_border_width (GTK_CONTAINER (table78), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table78), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table78), 4);

  label601 = gtk_label_new (_("Last scan initiated on:"));
  gtk_widget_set_name (label601, "label601");
  gtk_widget_ref (label601);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label601", label601,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label601);
  gtk_table_attach (GTK_TABLE (table78), label601, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label601), 0, 0.5);

  label602 = gtk_label_new (_("File scanning time:"));
  gtk_widget_set_name (label602, "label602");
  gtk_widget_ref (label602);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label602", label602,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label602);
  gtk_table_attach (GTK_TABLE (table78), label602, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label602), 0, 0.5);

  frame99 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame99, "frame99");
  gtk_widget_ref (frame99);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame99", frame99,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame99);
  gtk_table_attach (GTK_TABLE (table78), frame99, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame99), GTK_SHADOW_IN);

  label_library_rescan_time = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_library_rescan_time, "label_library_rescan_time");
  gtk_widget_ref (label_library_rescan_time);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_library_rescan_time", label_library_rescan_time,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_library_rescan_time);
  gtk_container_add (GTK_CONTAINER (frame99), label_library_rescan_time);
  gtk_misc_set_alignment (GTK_MISC (label_library_rescan_time), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_library_rescan_time), 5, 0);

  frame100 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame100, "frame100");
  gtk_widget_ref (frame100);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame100", frame100,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame100);
  gtk_table_attach (GTK_TABLE (table78), frame100, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame100), GTK_SHADOW_IN);

  label_library_rescan_timestamp = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_library_rescan_timestamp, "label_library_rescan_timestamp");
  gtk_widget_ref (label_library_rescan_timestamp);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_library_rescan_timestamp", label_library_rescan_timestamp,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_library_rescan_timestamp);
  gtk_container_add (GTK_CONTAINER (frame100), label_library_rescan_timestamp);
  gtk_misc_set_alignment (GTK_MISC (label_library_rescan_timestamp), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_library_rescan_timestamp), 5, 0);

  frame_qrp_statistics = gtk_frame_new (_("Query Routing Protocol:"));
  gtk_widget_set_name (frame_qrp_statistics, "frame_qrp_statistics");
  gtk_widget_ref (frame_qrp_statistics);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame_qrp_statistics", frame_qrp_statistics,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_qrp_statistics);
  gtk_box_pack_start (GTK_BOX (hbox184), frame_qrp_statistics, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame_qrp_statistics), GTK_SHADOW_OUT);

  table79 = gtk_table_new (3, 4, FALSE);
  gtk_widget_set_name (table79, "table79");
  gtk_widget_ref (table79);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table79", table79,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table79);
  gtk_container_add (GTK_CONTAINER (frame_qrp_statistics), table79);
  gtk_container_set_border_width (GTK_CONTAINER (table79), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table79), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table79), 4);

  label606 = gtk_label_new (_("Indexing started on:"));
  gtk_widget_set_name (label606, "label606");
  gtk_widget_ref (label606);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label606", label606,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label606);
  gtk_table_attach (GTK_TABLE (table79), label606, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label606), 0, 0.5);

  label608 = gtk_label_new (_("and lasted"));
  gtk_widget_set_name (label608, "label608");
  gtk_widget_ref (label608);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label608", label608,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label608);
  gtk_table_attach (GTK_TABLE (table79), label608, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label608), 0, 0.5);

  label611 = gtk_label_new (_("Table generation started on:"));
  gtk_widget_set_name (label611, "label611");
  gtk_widget_ref (label611);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label611", label611,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label611);
  gtk_table_attach (GTK_TABLE (table79), label611, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label611), 0, 0.5);

  label613 = gtk_label_new (_("and lasted"));
  gtk_widget_set_name (label613, "label613");
  gtk_widget_ref (label613);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label613", label613,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label613);
  gtk_table_attach (GTK_TABLE (table79), label613, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label613), 0, 0.5);

  label616 = gtk_label_new (_("Patch generation started on:"));
  gtk_widget_set_name (label616, "label616");
  gtk_widget_ref (label616);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label616", label616,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label616);
  gtk_table_attach (GTK_TABLE (table79), label616, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label616), 0, 0.5);

  label618 = gtk_label_new (_("and lasted"));
  gtk_widget_set_name (label618, "label618");
  gtk_widget_ref (label618);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label618", label618,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label618);
  gtk_table_attach (GTK_TABLE (table79), label618, 2, 3, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label618), 0, 0.5);

  frame101 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame101, "frame101");
  gtk_widget_ref (frame101);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame101", frame101,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame101);
  gtk_table_attach (GTK_TABLE (table79), frame101, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame101), GTK_SHADOW_IN);

  label_qrp_indexing_timestamp = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_qrp_indexing_timestamp, "label_qrp_indexing_timestamp");
  gtk_widget_ref (label_qrp_indexing_timestamp);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_qrp_indexing_timestamp", label_qrp_indexing_timestamp,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_qrp_indexing_timestamp);
  gtk_container_add (GTK_CONTAINER (frame101), label_qrp_indexing_timestamp);
  gtk_misc_set_alignment (GTK_MISC (label_qrp_indexing_timestamp), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_qrp_indexing_timestamp), 5, 0);

  frame102 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame102, "frame102");
  gtk_widget_ref (frame102);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame102", frame102,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame102);
  gtk_table_attach (GTK_TABLE (table79), frame102, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame102), GTK_SHADOW_IN);

  label_qrp_timestamp = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_qrp_timestamp, "label_qrp_timestamp");
  gtk_widget_ref (label_qrp_timestamp);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_qrp_timestamp", label_qrp_timestamp,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_qrp_timestamp);
  gtk_container_add (GTK_CONTAINER (frame102), label_qrp_timestamp);
  gtk_misc_set_alignment (GTK_MISC (label_qrp_timestamp), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_qrp_timestamp), 5, 0);

  frame103 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame103, "frame103");
  gtk_widget_ref (frame103);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame103", frame103,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame103);
  gtk_table_attach (GTK_TABLE (table79), frame103, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame103), GTK_SHADOW_IN);

  label_qrp_patch_timestamp = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_qrp_patch_timestamp, "label_qrp_patch_timestamp");
  gtk_widget_ref (label_qrp_patch_timestamp);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_qrp_patch_timestamp", label_qrp_patch_timestamp,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_qrp_patch_timestamp);
  gtk_container_add (GTK_CONTAINER (frame103), label_qrp_patch_timestamp);
  gtk_misc_set_alignment (GTK_MISC (label_qrp_patch_timestamp), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_qrp_patch_timestamp), 5, 0);

  frame104 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame104, "frame104");
  gtk_widget_ref (frame104);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame104", frame104,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame104);
  gtk_table_attach (GTK_TABLE (table79), frame104, 3, 4, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame104), GTK_SHADOW_IN);

  label_qrp_indexing_time = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_qrp_indexing_time, "label_qrp_indexing_time");
  gtk_widget_ref (label_qrp_indexing_time);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_qrp_indexing_time", label_qrp_indexing_time,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_qrp_indexing_time);
  gtk_container_add (GTK_CONTAINER (frame104), label_qrp_indexing_time);
  gtk_misc_set_alignment (GTK_MISC (label_qrp_indexing_time), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_qrp_indexing_time), 5, 0);

  frame105 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame105, "frame105");
  gtk_widget_ref (frame105);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame105", frame105,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame105);
  gtk_table_attach (GTK_TABLE (table79), frame105, 3, 4, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame105), GTK_SHADOW_IN);

  label_qrp_computation_time = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_qrp_computation_time, "label_qrp_computation_time");
  gtk_widget_ref (label_qrp_computation_time);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_qrp_computation_time", label_qrp_computation_time,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_qrp_computation_time);
  gtk_container_add (GTK_CONTAINER (frame105), label_qrp_computation_time);
  gtk_misc_set_alignment (GTK_MISC (label_qrp_computation_time), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_qrp_computation_time), 5, 0);

  frame106 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame106, "frame106");
  gtk_widget_ref (frame106);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame106", frame106,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame106);
  gtk_table_attach (GTK_TABLE (table79), frame106, 3, 4, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame106), GTK_SHADOW_IN);

  label_qrp_patch_computation_time = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_qrp_patch_computation_time, "label_qrp_patch_computation_time");
  gtk_widget_ref (label_qrp_patch_computation_time);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_qrp_patch_computation_time", label_qrp_patch_computation_time,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_qrp_patch_computation_time);
  gtk_container_add (GTK_CONTAINER (frame106), label_qrp_patch_computation_time);
  gtk_misc_set_alignment (GTK_MISC (label_qrp_patch_computation_time), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_qrp_patch_computation_time), 5, 0);

  alignment35 = gtk_alignment_new (0.5, 0.5, 0, 1);
  gtk_widget_set_name (alignment35, "alignment35");
  gtk_widget_ref (alignment35);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "alignment35", alignment35,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (alignment35);
  gtk_box_pack_start (GTK_BOX (vbox117), alignment35, FALSE, TRUE, 0);

  hbox191 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox191, "hbox191");
  gtk_widget_ref (hbox191);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hbox191", hbox191,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox191);
  gtk_container_add (GTK_CONTAINER (alignment35), hbox191);

  frame_qrp_table_info = gtk_frame_new (_("Query routing table information:"));
  gtk_widget_set_name (frame_qrp_table_info, "frame_qrp_table_info");
  gtk_widget_ref (frame_qrp_table_info);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame_qrp_table_info", frame_qrp_table_info,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_qrp_table_info);
  gtk_box_pack_start (GTK_BOX (hbox191), frame_qrp_table_info, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame_qrp_table_info), GTK_SHADOW_OUT);

  table80 = gtk_table_new (3, 6, FALSE);
  gtk_widget_set_name (table80, "table80");
  gtk_widget_ref (table80);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table80", table80,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table80);
  gtk_container_add (GTK_CONTAINER (frame_qrp_table_info), table80);
  gtk_container_set_border_width (GTK_CONTAINER (table80), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table80), 4);

  label621 = gtk_label_new (_("Keywords:"));
  gtk_widget_set_name (label621, "label621");
  gtk_widget_ref (label621);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label621", label621,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label621);
  gtk_table_attach (GTK_TABLE (table80), label621, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label621), 0, 0.5);

  label623 = gtk_label_new (_("Slots:"));
  gtk_widget_set_name (label623, "label623");
  gtk_widget_ref (label623);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label623", label623,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label623);
  gtk_table_attach (GTK_TABLE (table80), label623, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label623), 0, 0.5);

  label625 = gtk_label_new (_("Filled slots:"));
  gtk_widget_set_name (label625, "label625");
  gtk_widget_ref (label625);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label625", label625,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label625);
  gtk_table_attach (GTK_TABLE (table80), label625, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label625), 0, 0.5);

  label630 = gtk_label_new (_("Generation:"));
  gtk_widget_set_name (label630, "label630");
  gtk_widget_ref (label630);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label630", label630,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label630);
  gtk_table_attach (GTK_TABLE (table80), label630, 3, 4, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label630), 0, 0.5);

  label628 = gtk_label_new (_("Filled ratio:"));
  gtk_widget_set_name (label628, "label628");
  gtk_widget_ref (label628);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label628", label628,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label628);
  gtk_table_attach (GTK_TABLE (table80), label628, 3, 4, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label628), 0, 0.5);

  label629 = gtk_label_new (_("Conflict ratio:"));
  gtk_widget_set_name (label629, "label629");
  gtk_widget_ref (label629);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label629", label629,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label629);
  gtk_table_attach (GTK_TABLE (table80), label629, 3, 4, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label629), 0, 0.5);

  label633 = gtk_label_new (_("%"));
  gtk_widget_set_name (label633, "label633");
  gtk_widget_ref (label633);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label633", label633,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label633);
  gtk_table_attach (GTK_TABLE (table80), label633, 5, 6, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label633), 0, 0.5);

  label634 = gtk_label_new (_("%"));
  gtk_widget_set_name (label634, "label634");
  gtk_widget_ref (label634);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label634", label634,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label634);
  gtk_table_attach (GTK_TABLE (table80), label634, 5, 6, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label634), 0, 0.5);

  vseparator4 = gtk_vseparator_new ();
  gtk_widget_set_name (vseparator4, "vseparator4");
  gtk_widget_ref (vseparator4);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "vseparator4", vseparator4,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vseparator4);
  gtk_table_attach (GTK_TABLE (table80), vseparator4, 2, 3, 0, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  frame90 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame90, "frame90");
  gtk_widget_ref (frame90);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame90", frame90,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame90);
  gtk_table_attach (GTK_TABLE (table80), frame90, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame90), GTK_SHADOW_IN);

  label_qrp_hashed_keywords = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_qrp_hashed_keywords, "label_qrp_hashed_keywords");
  gtk_widget_ref (label_qrp_hashed_keywords);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_qrp_hashed_keywords", label_qrp_hashed_keywords,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_qrp_hashed_keywords);
  gtk_container_add (GTK_CONTAINER (frame90), label_qrp_hashed_keywords);
  gtk_misc_set_alignment (GTK_MISC (label_qrp_hashed_keywords), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_qrp_hashed_keywords), 5, 0);

  frame91 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame91, "frame91");
  gtk_widget_ref (frame91);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame91", frame91,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame91);
  gtk_table_attach (GTK_TABLE (table80), frame91, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame91), GTK_SHADOW_IN);

  label_qrp_slots = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_qrp_slots, "label_qrp_slots");
  gtk_widget_ref (label_qrp_slots);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_qrp_slots", label_qrp_slots,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_qrp_slots);
  gtk_container_add (GTK_CONTAINER (frame91), label_qrp_slots);
  gtk_misc_set_alignment (GTK_MISC (label_qrp_slots), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_qrp_slots), 5, 0);

  frame92 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame92, "frame92");
  gtk_widget_ref (frame92);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame92", frame92,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame92);
  gtk_table_attach (GTK_TABLE (table80), frame92, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame92), GTK_SHADOW_IN);

  label_qrp_slots_filled = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_qrp_slots_filled, "label_qrp_slots_filled");
  gtk_widget_ref (label_qrp_slots_filled);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_qrp_slots_filled", label_qrp_slots_filled,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_qrp_slots_filled);
  gtk_container_add (GTK_CONTAINER (frame92), label_qrp_slots_filled);
  gtk_misc_set_alignment (GTK_MISC (label_qrp_slots_filled), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_qrp_slots_filled), 5, 0);

  frame93 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame93, "frame93");
  gtk_widget_ref (frame93);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame93", frame93,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame93);
  gtk_table_attach (GTK_TABLE (table80), frame93, 4, 5, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame93), GTK_SHADOW_IN);

  label_qrp_generation = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_qrp_generation, "label_qrp_generation");
  gtk_widget_ref (label_qrp_generation);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_qrp_generation", label_qrp_generation,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_qrp_generation);
  gtk_container_add (GTK_CONTAINER (frame93), label_qrp_generation);
  gtk_misc_set_alignment (GTK_MISC (label_qrp_generation), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_qrp_generation), 5, 0);

  frame94 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame94, "frame94");
  gtk_widget_ref (frame94);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame94", frame94,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame94);
  gtk_table_attach (GTK_TABLE (table80), frame94, 4, 5, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame94), GTK_SHADOW_IN);

  label_qrp_fill_ratio = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_qrp_fill_ratio, "label_qrp_fill_ratio");
  gtk_widget_ref (label_qrp_fill_ratio);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_qrp_fill_ratio", label_qrp_fill_ratio,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_qrp_fill_ratio);
  gtk_container_add (GTK_CONTAINER (frame94), label_qrp_fill_ratio);
  gtk_misc_set_alignment (GTK_MISC (label_qrp_fill_ratio), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_qrp_fill_ratio), 5, 0);

  frame95 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame95, "frame95");
  gtk_widget_ref (frame95);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame95", frame95,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame95);
  gtk_table_attach (GTK_TABLE (table80), frame95, 4, 5, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame95), GTK_SHADOW_IN);

  label_qrp_conflict_ratio = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_qrp_conflict_ratio, "label_qrp_conflict_ratio");
  gtk_widget_ref (label_qrp_conflict_ratio);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_qrp_conflict_ratio", label_qrp_conflict_ratio,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_qrp_conflict_ratio);
  gtk_container_add (GTK_CONTAINER (frame95), label_qrp_conflict_ratio);
  gtk_misc_set_alignment (GTK_MISC (label_qrp_conflict_ratio), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_qrp_conflict_ratio), 5, 0);

  frame_qrp_patch_info = gtk_frame_new (_("Query routing patch information:"));
  gtk_widget_set_name (frame_qrp_patch_info, "frame_qrp_patch_info");
  gtk_widget_ref (frame_qrp_patch_info);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame_qrp_patch_info", frame_qrp_patch_info,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_qrp_patch_info);
  gtk_box_pack_start (GTK_BOX (hbox191), frame_qrp_patch_info, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame_qrp_patch_info), GTK_SHADOW_OUT);

  table81 = gtk_table_new (3, 3, FALSE);
  gtk_widget_set_name (table81, "table81");
  gtk_widget_ref (table81);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table81", table81,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table81);
  gtk_container_add (GTK_CONTAINER (frame_qrp_patch_info), table81);
  gtk_container_set_border_width (GTK_CONTAINER (table81), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table81), 4);

  label635 = gtk_label_new (_("Raw length:"));
  gtk_widget_set_name (label635, "label635");
  gtk_widget_ref (label635);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label635", label635,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label635);
  gtk_table_attach (GTK_TABLE (table81), label635, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label635), 0, 0.5);

  label636 = gtk_label_new (_("Compressed length:"));
  gtk_widget_set_name (label636, "label636");
  gtk_widget_ref (label636);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label636", label636,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label636);
  gtk_table_attach (GTK_TABLE (table81), label636, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label636), 0, 0.5);

  label637 = gtk_label_new (_("Compression ratio:"));
  gtk_widget_set_name (label637, "label637");
  gtk_widget_ref (label637);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label637", label637,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label637);
  gtk_table_attach (GTK_TABLE (table81), label637, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label637), 0, 0.5);

  label638 = gtk_label_new (_("%"));
  gtk_widget_set_name (label638, "label638");
  gtk_widget_ref (label638);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label638", label638,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label638);
  gtk_table_attach (GTK_TABLE (table81), label638, 2, 3, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label638), 0, 0.5);

  frame96 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame96, "frame96");
  gtk_widget_ref (frame96);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame96", frame96,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame96);
  gtk_table_attach (GTK_TABLE (table81), frame96, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame96), GTK_SHADOW_IN);

  label_qrp_patch_raw_length = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_qrp_patch_raw_length, "label_qrp_patch_raw_length");
  gtk_widget_ref (label_qrp_patch_raw_length);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_qrp_patch_raw_length", label_qrp_patch_raw_length,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_qrp_patch_raw_length);
  gtk_container_add (GTK_CONTAINER (frame96), label_qrp_patch_raw_length);
  gtk_misc_set_alignment (GTK_MISC (label_qrp_patch_raw_length), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_qrp_patch_raw_length), 5, 0);

  frame97 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame97, "frame97");
  gtk_widget_ref (frame97);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame97", frame97,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame97);
  gtk_table_attach (GTK_TABLE (table81), frame97, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame97), GTK_SHADOW_IN);

  label_qrp_patch_length = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_qrp_patch_length, "label_qrp_patch_length");
  gtk_widget_ref (label_qrp_patch_length);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_qrp_patch_length", label_qrp_patch_length,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_qrp_patch_length);
  gtk_container_add (GTK_CONTAINER (frame97), label_qrp_patch_length);
  gtk_misc_set_alignment (GTK_MISC (label_qrp_patch_length), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_qrp_patch_length), 5, 0);

  frame98 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame98, "frame98");
  gtk_widget_ref (frame98);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame98", frame98,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame98);
  gtk_table_attach (GTK_TABLE (table81), frame98, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame98), GTK_SHADOW_IN);

  label_qrp_patch_comp_ratio = gtk_label_new (_("[place holder]"));
  gtk_widget_set_name (label_qrp_patch_comp_ratio, "label_qrp_patch_comp_ratio");
  gtk_widget_ref (label_qrp_patch_comp_ratio);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_qrp_patch_comp_ratio", label_qrp_patch_comp_ratio,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_qrp_patch_comp_ratio);
  gtk_container_add (GTK_CONTAINER (frame98), label_qrp_patch_comp_ratio);
  gtk_misc_set_alignment (GTK_MISC (label_qrp_patch_comp_ratio), 1, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_qrp_patch_comp_ratio), 5, 0);

  label686 = gtk_label_new (_("Uploads"));
  gtk_widget_set_name (label686, "label686");
  gtk_widget_ref (label686);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label686", label686,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label686);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_prefs), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_prefs), 4), label686);

  scrolledwindow36 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow36, "scrolledwindow36");
  gtk_widget_ref (scrolledwindow36);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "scrolledwindow36", scrolledwindow36,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow36);
  gtk_container_add (GTK_CONTAINER (notebook_prefs), scrolledwindow36);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow36), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  viewport8 = gtk_viewport_new (NULL, NULL);
  gtk_widget_set_name (viewport8, "viewport8");
  gtk_widget_ref (viewport8);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "viewport8", viewport8,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport8);
  gtk_container_add (GTK_CONTAINER (scrolledwindow36), viewport8);

  vbox77 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox77, "vbox77");
  gtk_widget_ref (vbox77);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "vbox77", vbox77,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox77);
  gtk_container_add (GTK_CONTAINER (viewport8), vbox77);
  gtk_container_set_border_width (GTK_CONTAINER (vbox77), 4);

  frame52 = gtk_frame_new (_("Miscellaneous"));
  gtk_widget_set_name (frame52, "frame52");
  gtk_widget_ref (frame52);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame52", frame52,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame52);
  gtk_box_pack_start (GTK_BOX (vbox77), frame52, FALSE, TRUE, 0);

  table35 = gtk_table_new (7, 3, FALSE);
  gtk_widget_set_name (table35, "table35");
  gtk_widget_ref (table35);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table35", table35,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table35);
  gtk_container_add (GTK_CONTAINER (frame52), table35);
  gtk_container_set_border_width (GTK_CONTAINER (table35), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table35), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table35), 4);

  checkbutton_config_confirm_quit = gtk_check_button_new_with_label ("");
  checkbutton_config_confirm_quit_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_config_confirm_quit)->child),
                                   _("Show _confirmation dialog when leaving gtk-gnutella"));
  gtk_widget_add_accelerator (checkbutton_config_confirm_quit, "clicked", accel_group,
                              checkbutton_config_confirm_quit_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_config_confirm_quit, "checkbutton_config_confirm_quit");
  gtk_widget_ref (checkbutton_config_confirm_quit);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_confirm_quit", checkbutton_config_confirm_quit,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_confirm_quit);
  gtk_table_attach (GTK_TABLE (table35), checkbutton_config_confirm_quit, 0, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_config_show_tooltips = gtk_check_button_new_with_label ("");
  checkbutton_config_show_tooltips_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_config_show_tooltips)->child),
                                   _("Show _tooltips (does not affect all tooltips yet)"));
  gtk_widget_add_accelerator (checkbutton_config_show_tooltips, "clicked", accel_group,
                              checkbutton_config_show_tooltips_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_config_show_tooltips, "checkbutton_config_show_tooltips");
  gtk_widget_ref (checkbutton_config_show_tooltips);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_show_tooltips", checkbutton_config_show_tooltips,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_show_tooltips);
  gtk_table_attach (GTK_TABLE (table35), checkbutton_config_show_tooltips, 0, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_config_metric = gtk_check_button_new_with_label ("");
  checkbutton_config_metric_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_config_metric)->child),
                                   _("Show _metric units"));
  gtk_widget_add_accelerator (checkbutton_config_metric, "clicked", accel_group,
                              checkbutton_config_metric_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_config_metric, "checkbutton_config_metric");
  gtk_widget_ref (checkbutton_config_metric);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_config_metric", checkbutton_config_metric,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_config_metric);
  gtk_table_attach (GTK_TABLE (table35), checkbutton_config_metric, 0, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_search_jump_to_created = gtk_check_button_new_with_label (_("Jump to newly created searches"));
  gtk_widget_set_name (checkbutton_search_jump_to_created, "checkbutton_search_jump_to_created");
  gtk_widget_ref (checkbutton_search_jump_to_created);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_search_jump_to_created", checkbutton_search_jump_to_created,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_search_jump_to_created);
  gtk_table_attach (GTK_TABLE (table35), checkbutton_search_jump_to_created, 0, 1, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label657 = gtk_label_new (_("Toolbar style"));
  gtk_widget_set_name (label657, "label657");
  gtk_widget_ref (label657);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label657", label657,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_table_attach (GTK_TABLE (table35), label657, 0, 1, 6, 7,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label657), 0, 0.5);

  option_menu_config_toolbar_style = gtk_option_menu_new ();
  gtk_widget_set_name (option_menu_config_toolbar_style, "option_menu_config_toolbar_style");
  gtk_widget_ref (option_menu_config_toolbar_style);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "option_menu_config_toolbar_style", option_menu_config_toolbar_style,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_table_attach (GTK_TABLE (table35), option_menu_config_toolbar_style, 1, 2, 6, 7,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  option_menu_config_toolbar_style_menu = gtk_menu_new ();
  gtk_option_menu_set_menu (GTK_OPTION_MENU (option_menu_config_toolbar_style), option_menu_config_toolbar_style_menu);

  label652 = gtk_label_new (_("Update search results pane every"));
  gtk_widget_set_name (label652, "label652");
  gtk_widget_ref (label652);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label652", label652,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label652);
  gtk_table_attach (GTK_TABLE (table35), label652, 0, 1, 5, 6,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label652), 0, 0.5);

  spinbutton_search_accumulation_period_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_search_accumulation_period = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_search_accumulation_period_adj), 1, 0);
  gtk_widget_set_name (spinbutton_search_accumulation_period, "spinbutton_search_accumulation_period");
  gtk_widget_ref (spinbutton_search_accumulation_period);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_search_accumulation_period", spinbutton_search_accumulation_period,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_search_accumulation_period);
  gtk_table_attach (GTK_TABLE (table35), spinbutton_search_accumulation_period, 1, 2, 5, 6,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label653 = gtk_label_new (_("seconds"));
  gtk_widget_set_name (label653, "label653");
  gtk_widget_ref (label653);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label653", label653,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label653);
  gtk_table_attach (GTK_TABLE (table35), label653, 2, 3, 5, 6,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label653), 0, 0.5);

  spinbutton_entry_removal_timeout_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  spinbutton_entry_removal_timeout = gtk_spin_button_new (GTK_ADJUSTMENT (spinbutton_entry_removal_timeout_adj), 1, 0);
  gtk_widget_set_name (spinbutton_entry_removal_timeout, "spinbutton_entry_removal_timeout");
  gtk_widget_ref (spinbutton_entry_removal_timeout);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "spinbutton_entry_removal_timeout", spinbutton_entry_removal_timeout,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (spinbutton_entry_removal_timeout);
  gtk_table_attach (GTK_TABLE (table35), spinbutton_entry_removal_timeout, 1, 2, 4, 5,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label600 = gtk_label_new (_("seconds"));
  gtk_widget_set_name (label600, "label600");
  gtk_widget_ref (label600);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label600", label600,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label600);
  gtk_table_attach (GTK_TABLE (table35), label600, 2, 3, 4, 5,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label600), 0, 0.5);

  label599 = gtk_label_new (_("Try to keep 'dead' entries around for"));
  gtk_widget_set_name (label599, "label599");
  gtk_widget_ref (label599);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label599", label599,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label599);
  gtk_table_attach (GTK_TABLE (table35), label599, 0, 1, 4, 5,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label599), 0, 0.5);

  frame64 = gtk_frame_new (_("Expert mode"));
  gtk_widget_set_name (frame64, "frame64");
  gtk_widget_ref (frame64);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame64", frame64,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame64);
  gtk_box_pack_start (GTK_BOX (vbox77), frame64, FALSE, TRUE, 0);

  table45 = gtk_table_new (1, 1, FALSE);
  gtk_widget_set_name (table45, "table45");
  gtk_widget_ref (table45);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table45", table45,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table45);
  gtk_container_add (GTK_CONTAINER (frame64), table45);

  checkbutton_expert_mode = gtk_check_button_new_with_label ("");
  checkbutton_expert_mode_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (checkbutton_expert_mode)->child),
                                   _("Show additional information and settings for advanced and _expert users"));
  gtk_widget_add_accelerator (checkbutton_expert_mode, "clicked", accel_group,
                              checkbutton_expert_mode_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_set_name (checkbutton_expert_mode, "checkbutton_expert_mode");
  gtk_widget_ref (checkbutton_expert_mode);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_expert_mode", checkbutton_expert_mode,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_expert_mode);
  gtk_table_attach (GTK_TABLE (table45), checkbutton_expert_mode, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  frame84 = gtk_frame_new (_("GnutellaNet display"));
  gtk_widget_set_name (frame84, "frame84");
  gtk_widget_ref (frame84);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame84", frame84,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame84);
  gtk_box_pack_start (GTK_BOX (vbox77), frame84, FALSE, TRUE, 0);

  hbox190 = gtk_hbox_new (FALSE, 2);
  gtk_widget_set_name (hbox190, "hbox190");
  gtk_widget_ref (hbox190);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hbox190", hbox190,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox190);
  gtk_container_add (GTK_CONTAINER (frame84), hbox190);
  gtk_container_set_border_width (GTK_CONTAINER (hbox190), 2);

  alignment33 = gtk_alignment_new (7.45058e-09, 0.5, 0, 1);
  gtk_widget_set_name (alignment33, "alignment33");
  gtk_widget_ref (alignment33);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "alignment33", alignment33,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (alignment33);
  gtk_box_pack_start (GTK_BOX (hbox190), alignment33, TRUE, TRUE, 0);

  vbox119 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox119, "vbox119");
  gtk_widget_ref (vbox119);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "vbox119", vbox119,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox119);
  gtk_container_add (GTK_CONTAINER (alignment33), vbox119);

  checkbutton_node_show_detailed_info = gtk_check_button_new_with_label (_("Display detailed traffic information"));
  gtk_widget_set_name (checkbutton_node_show_detailed_info, "checkbutton_node_show_detailed_info");
  gtk_widget_ref (checkbutton_node_show_detailed_info);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_node_show_detailed_info", checkbutton_node_show_detailed_info,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_node_show_detailed_info);
  gtk_box_pack_start (GTK_BOX (vbox119), checkbutton_node_show_detailed_info, FALSE, FALSE, 0);

  vbox123 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox123, "vbox123");
  gtk_widget_ref (vbox123);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "vbox123", vbox123,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox123);
  gtk_box_pack_start (GTK_BOX (hbox190), vbox123, FALSE, TRUE, 0);

  frame_gnet_detailed_traffic = gtk_frame_new (_("Detailed traffic information to display"));
  gtk_widget_set_name (frame_gnet_detailed_traffic, "frame_gnet_detailed_traffic");
  gtk_widget_ref (frame_gnet_detailed_traffic);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame_gnet_detailed_traffic", frame_gnet_detailed_traffic,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_gnet_detailed_traffic);
  gtk_box_pack_start (GTK_BOX (vbox123), frame_gnet_detailed_traffic, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame_gnet_detailed_traffic), GTK_SHADOW_OUT);

  table71 = gtk_table_new (7, 3, FALSE);
  gtk_widget_set_name (table71, "table71");
  gtk_widget_ref (table71);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table71", table71,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table71);
  gtk_container_add (GTK_CONTAINER (frame_gnet_detailed_traffic), table71);
  gtk_container_set_border_width (GTK_CONTAINER (table71), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table71), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table71), 4);

  checkbutton_gnet_info_txc = gtk_check_button_new_with_label (_("TX compression"));
  gtk_widget_set_name (checkbutton_gnet_info_txc, "checkbutton_gnet_info_txc");
  gtk_widget_ref (checkbutton_gnet_info_txc);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_gnet_info_txc", checkbutton_gnet_info_txc,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_gnet_info_txc);
  gtk_table_attach (GTK_TABLE (table71), checkbutton_gnet_info_txc, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_gnet_info_rxc = gtk_check_button_new_with_label (_("RX compression"));
  gtk_widget_set_name (checkbutton_gnet_info_rxc, "checkbutton_gnet_info_rxc");
  gtk_widget_ref (checkbutton_gnet_info_rxc);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_gnet_info_rxc", checkbutton_gnet_info_rxc,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_gnet_info_rxc);
  gtk_table_attach (GTK_TABLE (table71), checkbutton_gnet_info_rxc, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_gnet_info_tx_speed = gtk_check_button_new_with_label (_("TX speed"));
  gtk_widget_set_name (checkbutton_gnet_info_tx_speed, "checkbutton_gnet_info_tx_speed");
  gtk_widget_ref (checkbutton_gnet_info_tx_speed);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_gnet_info_tx_speed", checkbutton_gnet_info_tx_speed,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_gnet_info_tx_speed);
  gtk_table_attach (GTK_TABLE (table71), checkbutton_gnet_info_tx_speed, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_gnet_info_rx_speed = gtk_check_button_new_with_label (_("RX speed"));
  gtk_widget_set_name (checkbutton_gnet_info_rx_speed, "checkbutton_gnet_info_rx_speed");
  gtk_widget_ref (checkbutton_gnet_info_rx_speed);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_gnet_info_rx_speed", checkbutton_gnet_info_rx_speed,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_gnet_info_rx_speed);
  gtk_table_attach (GTK_TABLE (table71), checkbutton_gnet_info_rx_speed, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_gnet_info_tx_queries = gtk_check_button_new_with_label (_("TX queries"));
  gtk_widget_set_name (checkbutton_gnet_info_tx_queries, "checkbutton_gnet_info_tx_queries");
  gtk_widget_ref (checkbutton_gnet_info_tx_queries);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_gnet_info_tx_queries", checkbutton_gnet_info_tx_queries,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_gnet_info_tx_queries);
  gtk_table_attach (GTK_TABLE (table71), checkbutton_gnet_info_tx_queries, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_gnet_info_rx_queries = gtk_check_button_new_with_label (_("RX queries"));
  gtk_widget_set_name (checkbutton_gnet_info_rx_queries, "checkbutton_gnet_info_rx_queries");
  gtk_widget_ref (checkbutton_gnet_info_rx_queries);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_gnet_info_rx_queries", checkbutton_gnet_info_rx_queries,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_gnet_info_rx_queries);
  gtk_table_attach (GTK_TABLE (table71), checkbutton_gnet_info_rx_queries, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_gnet_info_tx_hits = gtk_check_button_new_with_label (_("TX query hits"));
  gtk_widget_set_name (checkbutton_gnet_info_tx_hits, "checkbutton_gnet_info_tx_hits");
  gtk_widget_ref (checkbutton_gnet_info_tx_hits);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_gnet_info_tx_hits", checkbutton_gnet_info_tx_hits,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_gnet_info_tx_hits);
  gtk_table_attach (GTK_TABLE (table71), checkbutton_gnet_info_tx_hits, 0, 1, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_gnet_info_rx_hits = gtk_check_button_new_with_label (_("RX query hits"));
  gtk_widget_set_name (checkbutton_gnet_info_rx_hits, "checkbutton_gnet_info_rx_hits");
  gtk_widget_ref (checkbutton_gnet_info_rx_hits);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_gnet_info_rx_hits", checkbutton_gnet_info_rx_hits,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_gnet_info_rx_hits);
  gtk_table_attach (GTK_TABLE (table71), checkbutton_gnet_info_rx_hits, 1, 2, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_gnet_info_gen_queries = gtk_check_button_new_with_label (_("Generated queries"));
  gtk_widget_set_name (checkbutton_gnet_info_gen_queries, "checkbutton_gnet_info_gen_queries");
  gtk_widget_ref (checkbutton_gnet_info_gen_queries);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_gnet_info_gen_queries", checkbutton_gnet_info_gen_queries,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_gnet_info_gen_queries);
  gtk_table_attach (GTK_TABLE (table71), checkbutton_gnet_info_gen_queries, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_gnet_info_sq_queries = gtk_check_button_new_with_label (_("Pending local queries"));
  gtk_widget_set_name (checkbutton_gnet_info_sq_queries, "checkbutton_gnet_info_sq_queries");
  gtk_widget_ref (checkbutton_gnet_info_sq_queries);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_gnet_info_sq_queries", checkbutton_gnet_info_sq_queries,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_gnet_info_sq_queries);
  gtk_table_attach (GTK_TABLE (table71), checkbutton_gnet_info_sq_queries, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_gnet_info_tx_dropped = gtk_check_button_new_with_label (_("TX dropped"));
  gtk_widget_set_name (checkbutton_gnet_info_tx_dropped, "checkbutton_gnet_info_tx_dropped");
  gtk_widget_ref (checkbutton_gnet_info_tx_dropped);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_gnet_info_tx_dropped", checkbutton_gnet_info_tx_dropped,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_gnet_info_tx_dropped);
  gtk_table_attach (GTK_TABLE (table71), checkbutton_gnet_info_tx_dropped, 0, 1, 4, 5,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_gnet_info_rx_dropped = gtk_check_button_new_with_label (_("RX dropped"));
  gtk_widget_set_name (checkbutton_gnet_info_rx_dropped, "checkbutton_gnet_info_rx_dropped");
  gtk_widget_ref (checkbutton_gnet_info_rx_dropped);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_gnet_info_rx_dropped", checkbutton_gnet_info_rx_dropped,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_gnet_info_rx_dropped);
  gtk_table_attach (GTK_TABLE (table71), checkbutton_gnet_info_rx_dropped, 1, 2, 4, 5,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_gnet_info_qrp_stats = gtk_check_button_new_with_label (_("QRP stats"));
  gtk_widget_set_name (checkbutton_gnet_info_qrp_stats, "checkbutton_gnet_info_qrp_stats");
  gtk_widget_ref (checkbutton_gnet_info_qrp_stats);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_gnet_info_qrp_stats", checkbutton_gnet_info_qrp_stats,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_gnet_info_qrp_stats);
  gtk_table_attach (GTK_TABLE (table71), checkbutton_gnet_info_qrp_stats, 2, 3, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_gnet_info_dbw = gtk_check_button_new_with_label (_("Dup / Bad / Weird"));
  gtk_widget_set_name (checkbutton_gnet_info_dbw, "checkbutton_gnet_info_dbw");
  gtk_widget_ref (checkbutton_gnet_info_dbw);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_gnet_info_dbw", checkbutton_gnet_info_dbw,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_gnet_info_dbw);
  gtk_table_attach (GTK_TABLE (table71), checkbutton_gnet_info_dbw, 2, 3, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_gnet_info_rt = gtk_check_button_new_with_label (_("Ping / Pong round trip"));
  gtk_widget_set_name (checkbutton_gnet_info_rt, "checkbutton_gnet_info_rt");
  gtk_widget_ref (checkbutton_gnet_info_rt);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_gnet_info_rt", checkbutton_gnet_info_rt,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_gnet_info_rt);
  gtk_table_attach (GTK_TABLE (table71), checkbutton_gnet_info_rt, 2, 3, 4, 5,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_gnet_info_shared_size = gtk_check_button_new_with_label (_("Library size"));
  gtk_widget_set_name (checkbutton_gnet_info_shared_size, "checkbutton_gnet_info_shared_size");
  gtk_widget_ref (checkbutton_gnet_info_shared_size);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_gnet_info_shared_size", checkbutton_gnet_info_shared_size,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_gnet_info_shared_size);
  gtk_table_attach (GTK_TABLE (table71), checkbutton_gnet_info_shared_size, 0, 1, 6, 7,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_gnet_info_shared_files = gtk_check_button_new_with_label (_("Library # of files"));
  gtk_widget_set_name (checkbutton_gnet_info_shared_files, "checkbutton_gnet_info_shared_files");
  gtk_widget_ref (checkbutton_gnet_info_shared_files);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_gnet_info_shared_files", checkbutton_gnet_info_shared_files,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_gnet_info_shared_files);
  gtk_table_attach (GTK_TABLE (table71), checkbutton_gnet_info_shared_files, 1, 2, 6, 7,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_gnet_info_rx_wire = gtk_check_button_new_with_label (_("RX wire bytes"));
  gtk_widget_set_name (checkbutton_gnet_info_rx_wire, "checkbutton_gnet_info_rx_wire");
  gtk_widget_ref (checkbutton_gnet_info_rx_wire);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_gnet_info_rx_wire", checkbutton_gnet_info_rx_wire,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_gnet_info_rx_wire);
  gtk_table_attach (GTK_TABLE (table71), checkbutton_gnet_info_rx_wire, 1, 2, 5, 6,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  checkbutton_gnet_info_tx_wire = gtk_check_button_new_with_label (_("TX wire bytes"));
  gtk_widget_set_name (checkbutton_gnet_info_tx_wire, "checkbutton_gnet_info_tx_wire");
  gtk_widget_ref (checkbutton_gnet_info_tx_wire);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "checkbutton_gnet_info_tx_wire", checkbutton_gnet_info_tx_wire,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton_gnet_info_tx_wire);
  gtk_table_attach (GTK_TABLE (table71), checkbutton_gnet_info_tx_wire, 0, 1, 5, 6,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label687 = gtk_label_new (_("User Interface"));
  gtk_widget_set_name (label687, "label687");
  gtk_widget_ref (label687);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label687", label687,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label687);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_prefs), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_prefs), 5), label687);

  scrolledwindow37 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow37, "scrolledwindow37");
  gtk_widget_ref (scrolledwindow37);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "scrolledwindow37", scrolledwindow37,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow37);
  gtk_container_add (GTK_CONTAINER (notebook_prefs), scrolledwindow37);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow37), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  viewport9 = gtk_viewport_new (NULL, NULL);
  gtk_widget_set_name (viewport9, "viewport9");
  gtk_widget_ref (viewport9);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "viewport9", viewport9,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport9);
  gtk_container_add (GTK_CONTAINER (scrolledwindow37), viewport9);

  vbox75 = gtk_vbox_new (FALSE, 2);
  gtk_widget_set_name (vbox75, "vbox75");
  gtk_widget_ref (vbox75);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "vbox75", vbox75,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox75);
  gtk_container_add (GTK_CONTAINER (viewport9), vbox75);
  gtk_container_set_border_width (GTK_CONTAINER (vbox75), 4);

  frame49 = gtk_frame_new (_("Property browser"));
  gtk_widget_set_name (frame49, "frame49");
  gtk_widget_ref (frame49);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame49", frame49,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame49);
  gtk_box_pack_start (GTK_BOX (vbox75), frame49, TRUE, TRUE, 0);

  vbox139 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox139, "vbox139");
  gtk_widget_ref (vbox139);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "vbox139", vbox139,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox139);
  gtk_container_add (GTK_CONTAINER (frame49), vbox139);

  hbox2102 = gtk_hbox_new (FALSE, 2);
  gtk_widget_set_name (hbox2102, "hbox2102");
  gtk_widget_ref (hbox2102);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hbox2102", hbox2102,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox2102);
  gtk_box_pack_start (GTK_BOX (vbox139), hbox2102, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox2102), 2);

  label765 = gtk_label_new (_("Property pattern:"));
  gtk_widget_set_name (label765, "label765");
  gtk_widget_ref (label765);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label765", label765,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label765);
  gtk_box_pack_start (GTK_BOX (hbox2102), label765, FALSE, FALSE, 0);

  entry_dbg_property_pattern = gtk_entry_new ();
  gtk_widget_set_name (entry_dbg_property_pattern, "entry_dbg_property_pattern");
  gtk_widget_ref (entry_dbg_property_pattern);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "entry_dbg_property_pattern", entry_dbg_property_pattern,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_dbg_property_pattern);
  gtk_box_pack_start (GTK_BOX (hbox2102), entry_dbg_property_pattern, TRUE, TRUE, 0);

  scrolledwindow492 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow492, "scrolledwindow492");
  gtk_widget_ref (scrolledwindow492);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "scrolledwindow492", scrolledwindow492,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow492);
  gtk_box_pack_start (GTK_BOX (vbox139), scrolledwindow492, TRUE, TRUE, 0);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow492), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  clist_dbg_property = gtk_clist_new (4);
  gtk_widget_set_name (clist_dbg_property, "clist_dbg_property");
  gtk_widget_ref (clist_dbg_property);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "clist_dbg_property", clist_dbg_property,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (clist_dbg_property);
  gtk_container_add (GTK_CONTAINER (scrolledwindow492), clist_dbg_property);
  gtk_clist_set_column_width (GTK_CLIST (clist_dbg_property), 0, 80);
  gtk_clist_set_column_width (GTK_CLIST (clist_dbg_property), 1, 160);
  gtk_clist_set_column_width (GTK_CLIST (clist_dbg_property), 2, 160);
  gtk_clist_set_column_width (GTK_CLIST (clist_dbg_property), 3, 80);
  gtk_clist_set_selection_mode (GTK_CLIST (clist_dbg_property), GTK_SELECTION_BROWSE);
  gtk_clist_column_titles_show (GTK_CLIST (clist_dbg_property));

  label766 = gtk_label_new (_("Saved"));
  gtk_widget_set_name (label766, "label766");
  gtk_widget_ref (label766);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label766", label766,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label766);
  gtk_clist_set_column_widget (GTK_CLIST (clist_dbg_property), 0, label766);

  label767 = gtk_label_new (_("Type"));
  gtk_widget_set_name (label767, "label767");
  gtk_widget_ref (label767);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label767", label767,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label767);
  gtk_clist_set_column_widget (GTK_CLIST (clist_dbg_property), 1, label767);

  label_767 = gtk_label_new (_("Property"));
  gtk_widget_set_name (label_767, "label_767");
  gtk_widget_ref (label_767);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_767", label_767,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_767);
  gtk_clist_set_column_widget (GTK_CLIST (clist_dbg_property), 2, label_767);

  label_768 = gtk_label_new (_("Value"));
  gtk_widget_set_name (label_768, "label_768");
  gtk_widget_ref (label_768);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_768", label_768,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_768);
  gtk_clist_set_column_widget (GTK_CLIST (clist_dbg_property), 3, label_768);
  gtk_misc_set_alignment (GTK_MISC (label_768), 0, 0.5);

  hbox2103 = gtk_hbox_new (FALSE, 2);
  gtk_widget_set_name (hbox2103, "hbox2103");
  gtk_widget_ref (hbox2103);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hbox2103", hbox2103,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox2103);
  gtk_box_pack_start (GTK_BOX (vbox139), hbox2103, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox2103), 2);

  label769 = gtk_label_new (_("Selected property:"));
  gtk_widget_set_name (label769, "label769");
  gtk_widget_ref (label769);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label769", label769,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label769);
  gtk_box_pack_start (GTK_BOX (hbox2103), label769, FALSE, TRUE, 0);

  label_dbg_property_name = gtk_label_new (_("<no property selected>"));
  gtk_widget_set_name (label_dbg_property_name, "label_dbg_property_name");
  gtk_widget_ref (label_dbg_property_name);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_dbg_property_name", label_dbg_property_name,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_dbg_property_name);
  gtk_box_pack_start (GTK_BOX (hbox2103), label_dbg_property_name, FALSE, TRUE, 0);
  gtk_misc_set_alignment (GTK_MISC (label_dbg_property_name), 7.45058e-09, 0.5);

  label771 = gtk_label_new (_("Min/Max:"));
  gtk_widget_set_name (label771, "label771");
  gtk_widget_ref (label771);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label771", label771,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label771);
  gtk_box_pack_start (GTK_BOX (hbox2103), label771, TRUE, TRUE, 0);
  gtk_misc_set_alignment (GTK_MISC (label771), 1, 0.5);

  label_dbg_property_limits = gtk_label_new (_("<no property selected>"));
  gtk_widget_set_name (label_dbg_property_limits, "label_dbg_property_limits");
  gtk_widget_ref (label_dbg_property_limits);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label_dbg_property_limits", label_dbg_property_limits,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label_dbg_property_limits);
  gtk_box_pack_start (GTK_BOX (hbox2103), label_dbg_property_limits, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label_dbg_property_limits), 7.45058e-09, 0.5);
  gtk_misc_set_padding (GTK_MISC (label_dbg_property_limits), 4, 0);

  hbox2104 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox2104, "hbox2104");
  gtk_widget_ref (hbox2104);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hbox2104", hbox2104,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox2104);
  gtk_box_pack_start (GTK_BOX (vbox139), hbox2104, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox2104), 2);

  label773 = gtk_label_new (_("Default value:"));
  gtk_widget_set_name (label773, "label773");
  gtk_widget_ref (label773);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label773", label773,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label773);
  gtk_box_pack_start (GTK_BOX (hbox2104), label773, FALSE, FALSE, 0);

  entry_dbg_property_default = gtk_entry_new ();
  gtk_widget_set_name (entry_dbg_property_default, "entry_dbg_property_default");
  gtk_widget_ref (entry_dbg_property_default);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "entry_dbg_property_default", entry_dbg_property_default,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_dbg_property_default);
  gtk_box_pack_start (GTK_BOX (hbox2104), entry_dbg_property_default, TRUE, TRUE, 0);
  gtk_entry_set_editable (GTK_ENTRY (entry_dbg_property_default), FALSE);
  gtk_entry_set_text (GTK_ENTRY (entry_dbg_property_default), _("<no property selected>"));

  hbox2105 = gtk_hbox_new (FALSE, 4);
  gtk_widget_set_name (hbox2105, "hbox2105");
  gtk_widget_ref (hbox2105);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hbox2105", hbox2105,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox2105);
  gtk_box_pack_start (GTK_BOX (vbox139), hbox2105, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox2105), 2);

  label774 = gtk_label_new (_("Edit value:"));
  gtk_widget_set_name (label774, "label774");
  gtk_widget_ref (label774);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label774", label774,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label774);
  gtk_box_pack_start (GTK_BOX (hbox2105), label774, FALSE, FALSE, 0);

  entry_dbg_property_value = gtk_entry_new ();
  gtk_widget_set_name (entry_dbg_property_value, "entry_dbg_property_value");
  gtk_widget_ref (entry_dbg_property_value);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "entry_dbg_property_value", entry_dbg_property_value,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_dbg_property_value);
  gtk_box_pack_start (GTK_BOX (hbox2105), entry_dbg_property_value, TRUE, TRUE, 0);
  gtk_entry_set_text (GTK_ENTRY (entry_dbg_property_value), _("<no property selected>"));

  frame_expert_unmapped = gtk_frame_new (_("Diverse properties"));
  gtk_widget_set_name (frame_expert_unmapped, "frame_expert_unmapped");
  gtk_widget_ref (frame_expert_unmapped);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "frame_expert_unmapped", frame_expert_unmapped,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame_expert_unmapped);
  gtk_box_pack_start (GTK_BOX (vbox75), frame_expert_unmapped, FALSE, TRUE, 0);

  table57 = gtk_table_new (3, 2, FALSE);
  gtk_widget_set_name (table57, "table57");
  gtk_widget_ref (table57);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "table57", table57,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (table57);
  gtk_container_add (GTK_CONTAINER (frame_expert_unmapped), table57);
  gtk_container_set_border_width (GTK_CONTAINER (table57), 2);
  gtk_table_set_row_spacings (GTK_TABLE (table57), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table57), 4);

  label466 = gtk_label_new (_("Avg. time between IP address changes:"));
  gtk_widget_set_name (label466, "label466");
  gtk_widget_ref (label466);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label466", label466,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label466);
  gtk_table_attach (GTK_TABLE (table57), label466, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label466), 0, 0.5);

  label468 = gtk_label_new (_("Avg. uptime of this servent:"));
  gtk_widget_set_name (label468, "label468");
  gtk_widget_ref (label468);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label468", label468,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label468);
  gtk_table_attach (GTK_TABLE (table57), label468, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label468), 0, 0.5);

  label480 = gtk_label_new (_("Available physical memory:"));
  gtk_widget_set_name (label480, "label480");
  gtk_widget_ref (label480);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label480", label480,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label480);
  gtk_table_attach (GTK_TABLE (table57), label480, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label480), 0, 0.5);

  entry_average_ip_uptime = gtk_entry_new ();
  gtk_widget_set_name (entry_average_ip_uptime, "entry_average_ip_uptime");
  gtk_widget_ref (entry_average_ip_uptime);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "entry_average_ip_uptime", entry_average_ip_uptime,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_average_ip_uptime);
  gtk_table_attach (GTK_TABLE (table57), entry_average_ip_uptime, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_entry_set_editable (GTK_ENTRY (entry_average_ip_uptime), FALSE);

  entry_average_servent_uptime = gtk_entry_new ();
  gtk_widget_set_name (entry_average_servent_uptime, "entry_average_servent_uptime");
  gtk_widget_ref (entry_average_servent_uptime);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "entry_average_servent_uptime", entry_average_servent_uptime,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_average_servent_uptime);
  gtk_table_attach (GTK_TABLE (table57), entry_average_servent_uptime, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_entry_set_editable (GTK_ENTRY (entry_average_servent_uptime), FALSE);

  entry_sys_physmem = gtk_entry_new ();
  gtk_widget_set_name (entry_sys_physmem, "entry_sys_physmem");
  gtk_widget_ref (entry_sys_physmem);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "entry_sys_physmem", entry_sys_physmem,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_sys_physmem);
  gtk_table_attach (GTK_TABLE (table57), entry_sys_physmem, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_entry_set_editable (GTK_ENTRY (entry_sys_physmem), FALSE);

  label688 = gtk_label_new (_("Debugging"));
  gtk_widget_set_name (label688, "label688");
  gtk_widget_ref (label688);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "label688", label688,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label688);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_prefs), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_prefs), 6), label688);

  dialog_action_area2 = GTK_DIALOG (dlg_prefs)->action_area;
  gtk_widget_set_name (dialog_action_area2, "dialog_action_area2");
  gtk_object_set_data (GTK_OBJECT (dlg_prefs), "dialog_action_area2", dialog_action_area2);
  gtk_widget_show (dialog_action_area2);
  gtk_container_set_border_width (GTK_CONTAINER (dialog_action_area2), 10);

  hbox205 = gtk_hbox_new (FALSE, 0);
  gtk_widget_set_name (hbox205, "hbox205");
  gtk_widget_ref (hbox205);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "hbox205", hbox205,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox205);
  gtk_box_pack_end (GTK_BOX (dialog_action_area2), hbox205, FALSE, TRUE, 0);

  button_prefs_close = gtk_button_new_with_label (_("Close"));
  gtk_widget_set_name (button_prefs_close, "button_prefs_close");
  gtk_widget_ref (button_prefs_close);
  gtk_object_set_data_full (GTK_OBJECT (dlg_prefs), "button_prefs_close", button_prefs_close,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_prefs_close);
  gtk_box_pack_end (GTK_BOX (hbox205), button_prefs_close, FALSE, FALSE, 0);
  gtk_widget_add_accelerator (button_prefs_close, "clicked", accel_group,
                              GDK_c, GDK_MOD1_MASK,
                              GTK_ACCEL_VISIBLE);

  gtk_signal_connect (GTK_OBJECT (dlg_prefs), "delete_event",
                      GTK_SIGNAL_FUNC (on_dlg_prefs_delete_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_server_hostname), "changed",
                      GTK_SIGNAL_FUNC (on_entry_server_hostname_changed),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_server_hostname), "activate",
                      GTK_SIGNAL_FUNC (on_entry_server_hostname_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_server_hostname), "focus_out_event",
                      GTK_SIGNAL_FUNC (on_entry_server_hostname_focus_out_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_config_force_ip), "changed",
                      GTK_SIGNAL_FUNC (on_entry_config_force_ip_changed),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_config_force_ip), "activate",
                      GTK_SIGNAL_FUNC (on_entry_config_force_ip_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_config_force_ip), "focus_out_event",
                      GTK_SIGNAL_FUNC (on_entry_config_force_ip_focus_out_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_config_force_ipv6), "changed",
                      GTK_SIGNAL_FUNC (on_entry_config_force_ipv6_changed),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_config_force_ipv6), "activate",
                      GTK_SIGNAL_FUNC (on_entry_config_force_ipv6_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_config_force_ipv6), "focus_out_event",
                      GTK_SIGNAL_FUNC (on_entry_config_force_ipv6_focus_out_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_config_ipv6_trt_prefix), "changed",
                      GTK_SIGNAL_FUNC (on_entry_config_ipv6_trt_prefix_changed),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_config_ipv6_trt_prefix), "activate",
                      GTK_SIGNAL_FUNC (on_entry_config_ipv6_trt_prefix_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_config_ipv6_trt_prefix), "focus_out_event",
                      GTK_SIGNAL_FUNC (on_entry_config_ipv6_trt_prefix_focus_out_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_config_proxy_hostname), "activate",
                      GTK_SIGNAL_FUNC (on_entry_config_proxy_hostname_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_config_proxy_hostname), "focus_out_event",
                      GTK_SIGNAL_FUNC (on_entry_config_proxy_hostname_focus_out_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_config_socks_password), "activate",
                      GTK_SIGNAL_FUNC (on_entry_config_socks_password_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_config_socks_password), "focus_out_event",
                      GTK_SIGNAL_FUNC (on_entry_config_socks_password_focus_out_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_config_socks_username), "activate",
                      GTK_SIGNAL_FUNC (on_entry_config_socks_username_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_config_socks_username), "focus_out_event",
                      GTK_SIGNAL_FUNC (on_entry_config_socks_username_focus_out_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_config_netmasks), "focus_out_event",
                      GTK_SIGNAL_FUNC (on_entry_config_netmask_focus_out_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_config_netmasks), "activate",
                      GTK_SIGNAL_FUNC (on_entry_config_netmask_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_config_save_path), "clicked",
                      GTK_SIGNAL_FUNC (on_button_config_save_path_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_config_move_path), "clicked",
                      GTK_SIGNAL_FUNC (on_button_config_move_path_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_config_bad_path), "clicked",
                      GTK_SIGNAL_FUNC (on_button_config_bad_path_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_config_path), "activate",
                      GTK_SIGNAL_FUNC (on_entry_config_path_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_config_path), "focus_out_event",
                      GTK_SIGNAL_FUNC (on_entry_config_path_focus_out_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_config_add_dir), "clicked",
                      GTK_SIGNAL_FUNC (on_button_config_add_dir_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_config_rescan_dir), "clicked",
                      GTK_SIGNAL_FUNC (on_button_config_rescan_dir_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_config_extensions), "activate",
                      GTK_SIGNAL_FUNC (on_entry_config_extensions_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_config_extensions), "focus_out_event",
                      GTK_SIGNAL_FUNC (on_entry_config_extensions_focus_out_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_dbg_property_pattern), "activate",
                      GTK_SIGNAL_FUNC (on_entry_dbg_property_pattern_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_dbg_property), "select_row",
                      GTK_SIGNAL_FUNC (on_clist_dbg_property_select_row),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (clist_dbg_property), "click_column",
                      GTK_SIGNAL_FUNC (on_clist_dbg_property_click_column),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_dbg_property_default), "activate",
                      GTK_SIGNAL_FUNC (on_entry_dbg_property_value_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry_dbg_property_value), "activate",
                      GTK_SIGNAL_FUNC (on_entry_dbg_property_value_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_prefs_close), "clicked",
                      GTK_SIGNAL_FUNC (on_button_prefs_close_clicked),
                      NULL);

  gtk_widget_add_accelerator (spinbutton_config_port, "grab_focus", accel_group,
                              label129_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (entry_config_proxy_hostname, "grab_focus", accel_group,
                              label91_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_config_proxy_port, "grab_focus", accel_group,
                              label92_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (option_menu_config_proxy_protocol, "grab_focus", accel_group,
                              label90_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (entry_config_socks_username, "grab_focus", accel_group,
                              label93_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (entry_config_socks_password, "grab_focus", accel_group,
                              label94_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_config_ban_max_fds, "grab_focus", accel_group,
                              label441_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_config_ban_ratio_fds, "grab_focus", accel_group,
                              label442_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (entry_config_max_banned_fd, "grab_focus", accel_group,
                              label502_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_node_rx_size, "grab_focus", accel_group,
                              label553_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_download_rx_size, "grab_focus", accel_group,
                              label552_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_config_search_items, "grab_focus", accel_group,
                              label37_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_config_search_reissue_timeout, "grab_focus", accel_group,
                              label567_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_config_node_connecting_timeout, "grab_focus", accel_group,
                              label175_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_config_node_connected_timeout, "grab_focus", accel_group,
                              label176_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_config_node_tx_flowc_timeout, "grab_focus", accel_group,
                              label177_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_config_maxttl, "grab_focus", accel_group,
                              label84_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_config_myttl, "grab_focus", accel_group,
                              label85_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_config_max_high_ttl_radius, "grab_focus", accel_group,
                              label158_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_config_max_high_ttl_msg, "grab_focus", accel_group,
                              label157_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_config_hard_ttl_limit, "grab_focus", accel_group,
                              label159_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_config_min_dup_ratio, "grab_focus", accel_group,
                              label279_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_config_min_dup_msg, "grab_focus", accel_group,
                              label278_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_config_speed, "grab_focus", accel_group,
                              label156_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_config_download_overlap_range, "grab_focus", accel_group,
                              label171_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_config_download_max_retries, "grab_focus", accel_group,
                              label172_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_config_download_connecting_timeout, "grab_focus", accel_group,
                              label168_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_config_download_push_sent_timeout, "grab_focus", accel_group,
                              label169_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_config_download_connected_timeout, "grab_focus", accel_group,
                              label170_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_dl_minchunksize, "grab_focus", accel_group,
                              label283_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_dl_maxchunksize, "grab_focus", accel_group,
                              label284_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (entry_config_extensions, "grab_focus", accel_group,
                              label41_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_config_upload_connecting_timeout, "grab_focus", accel_group,
                              label179_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_config_upload_connected_timeout, "grab_focus", accel_group,
                              label180_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_add_accelerator (spinbutton_pfsp_first_chunk, "grab_focus", accel_group,
                              label547_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);

  gtk_object_set_data (GTK_OBJECT (dlg_prefs), "tooltips", tooltips);

  gtk_window_add_accel_group (GTK_WINDOW (dlg_prefs), accel_group);

  return dlg_prefs;
}

GtkWidget*
create_removed_widgets (void)
{
  GtkWidget *removed_widgets;
  GtkWidget *vbox135;
  GtkWidget *hb_toolbar;
  GtkWidget *toolbar_main;
  GtkWidget *tmp_toolbar_icon;
  GtkWidget *button_quit;
  GtkWidget *button_filters;
  GtkAccelGroup *accel_group;

  accel_group = gtk_accel_group_new ();

  removed_widgets = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_widget_set_name (removed_widgets, "removed_widgets");
  gtk_object_set_data (GTK_OBJECT (removed_widgets), "removed_widgets", removed_widgets);

  vbox135 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox135, "vbox135");
  gtk_widget_ref (vbox135);
  gtk_object_set_data_full (GTK_OBJECT (removed_widgets), "vbox135", vbox135,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox135);
  gtk_container_add (GTK_CONTAINER (removed_widgets), vbox135);

  hb_toolbar = gtk_handle_box_new ();
  gtk_widget_set_name (hb_toolbar, "hb_toolbar");
  gtk_widget_ref (hb_toolbar);
  gtk_object_set_data_full (GTK_OBJECT (removed_widgets), "hb_toolbar", hb_toolbar,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hb_toolbar);
  gtk_box_pack_start (GTK_BOX (vbox135), hb_toolbar, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hb_toolbar), 1);

  toolbar_main = gtk_toolbar_new (GTK_ORIENTATION_HORIZONTAL, GTK_TOOLBAR_BOTH);
  gtk_widget_set_name (toolbar_main, "toolbar_main");
  gtk_widget_ref (toolbar_main);
  gtk_object_set_data_full (GTK_OBJECT (removed_widgets), "toolbar_main", toolbar_main,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (toolbar_main);
  gtk_container_add (GTK_CONTAINER (hb_toolbar), toolbar_main);
  gtk_toolbar_set_space_style (GTK_TOOLBAR (toolbar_main), GTK_TOOLBAR_SPACE_LINE);
  gtk_toolbar_set_button_relief (GTK_TOOLBAR (toolbar_main), GTK_RELIEF_NONE);

  tmp_toolbar_icon = create_pixmap (removed_widgets, "exit.xpm");
  button_quit = gtk_toolbar_append_element (GTK_TOOLBAR (toolbar_main),
                                GTK_TOOLBAR_CHILD_BUTTON,
                                NULL,
                                _("_Quit"),
                                NULL, NULL,
                                tmp_toolbar_icon, NULL, NULL);
  gtk_widget_set_name (button_quit, "button_quit");
  gtk_widget_ref (button_quit);
  gtk_object_set_data_full (GTK_OBJECT (removed_widgets), "button_quit", button_quit,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_quit);
  gtk_widget_add_accelerator (button_quit, "clicked", accel_group,
                              GDK_q, GDK_MOD1_MASK,
                              GTK_ACCEL_VISIBLE);

  gtk_toolbar_append_space (GTK_TOOLBAR (toolbar_main));

  tmp_toolbar_icon = create_pixmap (removed_widgets, "filter.xpm");
  button_filters = gtk_toolbar_append_element (GTK_TOOLBAR (toolbar_main),
                                GTK_TOOLBAR_CHILD_BUTTON,
                                NULL,
                                _("_Edit filters"),
                                NULL, NULL,
                                tmp_toolbar_icon, NULL, NULL);
  gtk_widget_set_name (button_filters, "button_filters");
  gtk_widget_ref (button_filters);
  gtk_object_set_data_full (GTK_OBJECT (removed_widgets), "button_filters", button_filters,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button_filters);
  gtk_widget_add_accelerator (button_filters, "clicked", accel_group,
                              GDK_f, GDK_MOD1_MASK,
                              GTK_ACCEL_VISIBLE);

  gtk_signal_connect (GTK_OBJECT (button_quit), "clicked",
                      GTK_SIGNAL_FUNC (on_button_quit_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button_filters), "clicked",
                      GTK_SIGNAL_FUNC (on_button_search_filter_clicked),
                      NULL);

  gtk_window_add_accel_group (GTK_WINDOW (removed_widgets), accel_group);

  return removed_widgets;
}

GtkWidget*
create_dlg_faq (void)
{
  GtkWidget *dlg_faq;
  GtkWidget *scrolledwindow493;
  GtkWidget *textview_faq;

  dlg_faq = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_widget_set_name (dlg_faq, "dlg_faq");
  gtk_object_set_data (GTK_OBJECT (dlg_faq), "dlg_faq", dlg_faq);
  gtk_window_set_position (GTK_WINDOW (dlg_faq), GTK_WIN_POS_MOUSE);
  gtk_window_set_default_size (GTK_WINDOW (dlg_faq), 600, 400);

  scrolledwindow493 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow493, "scrolledwindow493");
  gtk_widget_ref (scrolledwindow493);
  gtk_object_set_data_full (GTK_OBJECT (dlg_faq), "scrolledwindow493", scrolledwindow493,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow493);
  gtk_container_add (GTK_CONTAINER (dlg_faq), scrolledwindow493);
  gtk_container_set_border_width (GTK_CONTAINER (scrolledwindow493), 2);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow493), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);

  textview_faq = gtk_text_new (NULL, NULL);
  gtk_widget_set_name (textview_faq, "textview_faq");
  gtk_widget_ref (textview_faq);
  gtk_object_set_data_full (GTK_OBJECT (dlg_faq), "textview_faq", textview_faq,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (textview_faq);
  gtk_container_add (GTK_CONTAINER (scrolledwindow493), textview_faq);
  gtk_widget_set_usize (textview_faq, 240, 100);

  gtk_signal_connect (GTK_OBJECT (dlg_faq), "delete_event",
                      GTK_SIGNAL_FUNC (on_dlg_faq_delete_event),
                      NULL);

  return dlg_faq;
}

GtkWidget*
create_popup_search_list (void)
{
  GtkWidget *popup_search_list;
  GtkAccelGroup *popup_search_list_accels;
  guint tmp_key;
  GtkWidget *popup_search_edit_filter;
  GtkWidget *separator25;
  GtkWidget *popup_search_list_stop;
  GtkWidget *popup_search_list_resume;
  GtkWidget *popup_search_list_restart;
  GtkWidget *popup_search_list_duplicate;
  GtkWidget *popup_search_list_close;

  popup_search_list = gtk_menu_new ();
  gtk_widget_set_name (popup_search_list, "popup_search_list");
  gtk_object_set_data (GTK_OBJECT (popup_search_list), "popup_search_list", popup_search_list);
  popup_search_list_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (popup_search_list));

  popup_search_edit_filter = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (popup_search_edit_filter)->child),
                                   _("_Edit filters"));
  gtk_widget_add_accelerator (popup_search_edit_filter, "activate_item", popup_search_list_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (popup_search_edit_filter, "popup_search_edit_filter");
  gtk_widget_ref (popup_search_edit_filter);
  gtk_object_set_data_full (GTK_OBJECT (popup_search_list), "popup_search_edit_filter", popup_search_edit_filter,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_search_edit_filter);
  gtk_container_add (GTK_CONTAINER (popup_search_list), popup_search_edit_filter);

  separator25 = gtk_menu_item_new ();
  gtk_widget_set_name (separator25, "separator25");
  gtk_widget_ref (separator25);
  gtk_object_set_data_full (GTK_OBJECT (popup_search_list), "separator25", separator25,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (separator25);
  gtk_container_add (GTK_CONTAINER (popup_search_list), separator25);
  gtk_widget_set_sensitive (separator25, FALSE);

  popup_search_list_stop = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (popup_search_list_stop)->child),
                                   _("_Stop this search"));
  gtk_widget_add_accelerator (popup_search_list_stop, "activate_item", popup_search_list_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (popup_search_list_stop, "popup_search_list_stop");
  gtk_widget_ref (popup_search_list_stop);
  gtk_object_set_data_full (GTK_OBJECT (popup_search_list), "popup_search_list_stop", popup_search_list_stop,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_search_list_stop);
  gtk_container_add (GTK_CONTAINER (popup_search_list), popup_search_list_stop);

  popup_search_list_resume = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (popup_search_list_resume)->child),
                                   _("Resu_me this search"));
  gtk_widget_add_accelerator (popup_search_list_resume, "activate_item", popup_search_list_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (popup_search_list_resume, "popup_search_list_resume");
  gtk_widget_ref (popup_search_list_resume);
  gtk_object_set_data_full (GTK_OBJECT (popup_search_list), "popup_search_list_resume", popup_search_list_resume,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_search_list_resume);
  gtk_container_add (GTK_CONTAINER (popup_search_list), popup_search_list_resume);

  popup_search_list_restart = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (popup_search_list_restart)->child),
                                   _("_Restart this search"));
  gtk_widget_add_accelerator (popup_search_list_restart, "activate_item", popup_search_list_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (popup_search_list_restart, "popup_search_list_restart");
  gtk_widget_ref (popup_search_list_restart);
  gtk_object_set_data_full (GTK_OBJECT (popup_search_list), "popup_search_list_restart", popup_search_list_restart,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_search_list_restart);
  gtk_container_add (GTK_CONTAINER (popup_search_list), popup_search_list_restart);

  popup_search_list_duplicate = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (popup_search_list_duplicate)->child),
                                   _("_Duplicate this search"));
  gtk_widget_add_accelerator (popup_search_list_duplicate, "activate_item", popup_search_list_accels,
                              tmp_key, 0, 0);
  gtk_widget_set_name (popup_search_list_duplicate, "popup_search_list_duplicate");
  gtk_widget_ref (popup_search_list_duplicate);
  gtk_object_set_data_full (GTK_OBJECT (popup_search_list), "popup_search_list_duplicate", popup_search_list_duplicate,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_search_list_duplicate);
  gtk_container_add (GTK_CONTAINER (popup_search_list), popup_search_list_duplicate);

  popup_search_list_close = gtk_menu_item_new_with_label (_("Close this search"));
  gtk_widget_set_name (popup_search_list_close, "popup_search_list_close");
  gtk_widget_ref (popup_search_list_close);
  gtk_object_set_data_full (GTK_OBJECT (popup_search_list), "popup_search_list_close", popup_search_list_close,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (popup_search_list_close);
  gtk_container_add (GTK_CONTAINER (popup_search_list), popup_search_list_close);

  gtk_signal_connect (GTK_OBJECT (popup_search_edit_filter), "activate",
                      GTK_SIGNAL_FUNC (on_popup_search_edit_filter_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_search_list_stop), "activate",
                      GTK_SIGNAL_FUNC (on_popup_search_list_stop_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_search_list_resume), "activate",
                      GTK_SIGNAL_FUNC (on_popup_search_list_resume_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_search_list_restart), "activate",
                      GTK_SIGNAL_FUNC (on_popup_search_list_restart_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_search_list_duplicate), "activate",
                      GTK_SIGNAL_FUNC (on_popup_search_list_duplicate_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (popup_search_list_close), "activate",
                      GTK_SIGNAL_FUNC (on_popup_search_list_close_activate),
                      NULL);

  return popup_search_list;
}

GtkWidget*
create_dlg_ancient (void)
{
  GtkWidget *dlg_ancient;
  GtkWidget *scrolledwindow494;
  GtkWidget *textview_ancient;

  dlg_ancient = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_widget_set_name (dlg_ancient, "dlg_ancient");
  gtk_object_set_data (GTK_OBJECT (dlg_ancient), "dlg_ancient", dlg_ancient);
  gtk_window_set_position (GTK_WINDOW (dlg_ancient), GTK_WIN_POS_MOUSE);
  gtk_window_set_default_size (GTK_WINDOW (dlg_ancient), 320, 240);

  scrolledwindow494 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_set_name (scrolledwindow494, "scrolledwindow494");
  gtk_widget_ref (scrolledwindow494);
  gtk_object_set_data_full (GTK_OBJECT (dlg_ancient), "scrolledwindow494", scrolledwindow494,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow494);
  gtk_container_add (GTK_CONTAINER (dlg_ancient), scrolledwindow494);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow494), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  textview_ancient = gtk_text_new (NULL, NULL);
  gtk_widget_set_name (textview_ancient, "textview_ancient");
  gtk_widget_ref (textview_ancient);
  gtk_object_set_data_full (GTK_OBJECT (dlg_ancient), "textview_ancient", textview_ancient,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (textview_ancient);
  gtk_container_add (GTK_CONTAINER (scrolledwindow494), textview_ancient);
  gtk_widget_set_usize (textview_ancient, 240, 100);

  gtk_signal_connect (GTK_OBJECT (dlg_ancient), "delete_event",
                      GTK_SIGNAL_FUNC (on_dlg_ancient_delete_event),
                      NULL);

  return dlg_ancient;
}

