Logo Search packages:      
Sourcecode: dcgui version File versions  Download package

interface.c

/*
 * 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 <stdio.h>

#include <bonobo.h>
#include <gnome.h>

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

#define GLADE_HOOKUP_OBJECT(component,widget,name) \
  g_object_set_data_full (G_OBJECT (component), name, \
    gtk_widget_ref (widget), (GDestroyNotify) gtk_widget_unref)

#define GLADE_HOOKUP_OBJECT_NO_REF(component,widget,name) \
  g_object_set_data (G_OBJECT (component), name, widget)

static GnomeUIInfo action1_menu_uiinfo[] =
{
  {
    GNOME_APP_UI_ITEM, N_("_Connect"),
    NULL,
    (gpointer) on_connect1_activate, NULL, NULL,
    GNOME_APP_PIXMAP_NONE, NULL,
    0, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("Close connection with the client"),
    NULL,
    (gpointer) on_close_connection_with_the_client1_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gtk-close",
    0, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("_Disconnect from hub and end DCTC client"),
    NULL,
    (gpointer) on_disconnect1_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gtk-delete",
    0, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("_Find"),
    NULL,
    (gpointer) on_find1_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gtk-find",
    0, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("Enter a password"),
    NULL,
    (gpointer) on_enter_a_password_menu_entry_activate, NULL, NULL,
    GNOME_APP_PIXMAP_NONE, NULL,
    0, (GdkModifierType) 0, NULL
  },
  GNOMEUIINFO_SEPARATOR,
  GNOMEUIINFO_MENU_EXIT_ITEM (on_exit1_activate, NULL),
  GNOMEUIINFO_END
};

static GnomeUIInfo settings1_menu_uiinfo[] =
{
  GNOMEUIINFO_MENU_PREFERENCES_ITEM (on_preferences1_activate, NULL),
  GNOMEUIINFO_SEPARATOR,
  {
    GNOME_APP_UI_ITEM, N_("Profile wizard"),
    NULL,
    (gpointer) on_profile_wizard1_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gtk-dialog-info",
    0, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("Check e-donkey 2000 _URL handler"),
    NULL,
    (gpointer) on_check_ed2k_handler_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gtk-jump-to",
    0, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("Check .torrent handler registration"),
    NULL,
    (gpointer) on_check_torrent_handler_registration_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gtk-jump-to",
    0, (GdkModifierType) 0, NULL
  },
  GNOMEUIINFO_END
};

static GnomeUIInfo help1_menu_uiinfo[] =
{
  GNOMEUIINFO_MENU_ABOUT_ITEM (on_about1_activate, NULL),
  GNOMEUIINFO_END
};

static GnomeUIInfo menubar1_uiinfo[] =
{
  {
    GNOME_APP_UI_SUBTREE, N_("Action"),
    NULL,
    action1_menu_uiinfo, NULL, NULL,
    GNOME_APP_PIXMAP_NONE, NULL,
    0, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_SUBTREE, N_("_Settings"),
    NULL,
    settings1_menu_uiinfo, NULL, NULL,
    GNOME_APP_PIXMAP_NONE, NULL,
    0, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_SUBTREE, N_("_Help"),
    NULL,
    help1_menu_uiinfo, NULL, NULL,
    GNOME_APP_PIXMAP_NONE, NULL,
    0, (GdkModifierType) 0, NULL
  },
  GNOMEUIINFO_END
};

GtkWidget*
create_app1 (void)
{
  GtkWidget *app1;
  GtkWidget *dock1;
  GtkWidget *vpaned2;
  GtkWidget *main_notebook;
  GtkWidget *scrolledwindow37;
  GtkWidget *viewport3;
  GtkWidget *vbox5;
  GtkWidget *connect_notebook;
  GtkWidget *scrolledwindow18;
  GtkWidget *running_hub_clist;
  GtkWidget *label103;
  GtkWidget *scrolledwindow16;
  GtkWidget *hub_favorite_clist;
  GtkWidget *label73;
  GtkWidget *scrolledwindow15;
  GtkWidget *hub_public_clist;
  GtkWidget *connect_public_label;
  GtkWidget *vbox28;
  GtkWidget *scrolledwindow14;
  GtkWidget *hub_recent_clist;
  GtkWidget *hbox12;
  GtkWidget *clear_recent_list_button;
  GtkWidget *label75;
  GtkWidget *scrolledwindow27;
  GtkWidget *seen_hub_clist;
  GtkWidget *label191;
  GtkWidget *hbox47;
  GtkWidget *label258;
  GtkWidget *hubs_to_select_entry;
  GtkWidget *find_hub_button;
  GtkWidget *find_prev_hub_button;
  GtkWidget *find_next_hub_button;
  GtkWidget *hbox3;
  GtkWidget *refresh_sitelist_button;
  GtkWidget *pixmap1;
  GtkWidget *bookmark_button;
  GtkWidget *delete_selected_bookmark_button;
  GtkWidget *pixmap3;
  GtkWidget *start_dctc_selected_hub_button;
  GtkWidget *connect_entry;
  GtkWidget *do_connection_button;
  GtkWidget *do_reconnect_now;
  GtkWidget *do_goto;
  GtkWidget *hbox14;
  GtkWidget *terminate_selected_dctcs_button;
  GtkWidget *kill_selected_dctcs_button;
  GtkWidget *pixmap2;
  GtkWidget *label171;
  GtkWidget *dctc_cmd_entry;
  GtkWidget *connect_page;
  GtkWidget *hpaned3;
  GtkWidget *vbox7;
  GtkWidget *chat_notebook;
  GtkWidget *scrolledwindow12;
  GtkWidget *chat_output;
  GtkWidget *label352;
  GtkWidget *scrolledwindow21;
  GtkWidget *chat1_text;
  GtkWidget *pchat_label1;
  GtkWidget *scrolledwindowa21;
  GtkWidget *chat2_text;
  GtkWidget *pchat_label2;
  GtkWidget *scrolledwindowb21;
  GtkWidget *chat3_text;
  GtkWidget *pchat_label3;
  GtkWidget *scrolledwindowc21;
  GtkWidget *chat4_text;
  GtkWidget *pchat_label4;
  GtkWidget *scrolledwindowd21;
  GtkWidget *chat5_text;
  GtkWidget *pchat_label5;
  GtkWidget *scrolledwindowe21;
  GtkWidget *chat6_text;
  GtkWidget *pchat_label6;
  GtkWidget *scrolledwindowf21;
  GtkWidget *chat7_text;
  GtkWidget *pchat_label7;
  GtkWidget *scrolledwindowg21;
  GtkWidget *chat8_text;
  GtkWidget *pchat_label8;
  GtkWidget *scrolledwindowh21;
  GtkWidget *chat9_text;
  GtkWidget *pchat_label9;
  GtkWidget *hbox5;
  GtkWidget *close_pchat_button;
  GtkWidget *pixmap6;
  GtkWidget *close_all_pchat_button;
  GtkWidget *pixmap11;
  GtkWidget *pchat_entry;
  GtkWidget *clear_private_chat_button;
  GtkWidget *flag_pchat_user_button;
  GtkWidget *pubchat_flag_selected_user_button;
  GtkWidget *vbox20;
  GtkWidget *scrolledwindow6;
  GtkWidget *user_clist;
  GtkWidget *users_info_label;
  GtkWidget *hbox15;
  GtkWidget *label172;
  GtkWidget *current_hub_address_label;
  GtkWidget *away_togglebutton;
  GtkWidget *chat_page;
  GtkWidget *vbox3;
  GtkWidget *scrolledwindow13;
  GtkWidget *find_result;
  GtkWidget *hbox38;
  GtkWidget *find_history_combo;
  GtkWidget *find_entry;
  GtkWidget *find_button;
  GtkWidget *show_search_user_side_button;
  GtkWidget *hide_search_user_button;
  GtkWidget *hbox717;
  GtkWidget *label338;
  GtkWidget *copy_search_result_button;
  GtkWidget *paste_search_result_button;
  GtkWidget *label339;
  GtkWidget *search_result_filter_combo;
  GList *search_result_filter_combo_items = NULL;
  GtkWidget *search_result_filter_combo_entry;
  GtkWidget *search_result_filter_param_entry;
  GtkWidget *apply_filter_button;
  GtkWidget *alignment1;
  GtkWidget *hbox718;
  GtkWidget *image7;
  GtkWidget *label340;
  GtkWidget *hbox714;
  GtkWidget *ed2k_url_radiobutton;
  GSList *ed2k_url_radiobutton_group = NULL;
  GtkWidget *bittorrent_url_radiobutton;
  GtkWidget *ed2k_url_entry;
  GtkWidget *create_gdl_from_ed2k_url_button;
  GtkWidget *clear_ed2k_url_entry_button;
  GtkWidget *user_search_vbox;
  GtkWidget *currently_searched_user_label;
  GtkWidget *scrolledwindow31;
  GtkWidget *locate_user_clist;
  GtkWidget *hbox713;
  GtkWidget *locate_user_entry;
  GtkWidget *search_user_button;
  GtkWidget *hbox734;
  GtkWidget *image65;
  GtkWidget *find_page;
  GtkWidget *scrolledwindow35;
  GtkWidget *viewport1;
  GtkWidget *vbox4;
  GtkWidget *frame4;
  GtkWidget *table12;
  GtkWidget *hbox1;
  GtkWidget *size_checkbutton;
  GtkWidget *combo2;
  GList *combo2_items = NULL;
  GtkWidget *sizetype_entry;
  GtkWidget *size_entry;
  GtkWidget *combo3;
  GList *combo3_items = NULL;
  GtkWidget *size_unit_entry;
  GtkWidget *hbox2;
  GtkWidget *label70;
  GtkWidget *combo4;
  GList *combo4_items = NULL;
  GtkWidget *filetype_entry;
  GtkWidget *label71;
  GtkWidget *combo8;
  GList *combo8_items = NULL;
  GtkWidget *filetype_entry1;
  GtkWidget *postfiltering_checkbutton;
  GtkWidget *label259a;
  GtkWidget *frame1;
  GtkWidget *table8;
  GtkWidget *label178;
  GtkWidget *hbox18;
  GtkWidget *as_gid_label;
  GtkWidget *as_fname_label;
  GtkWidget *combo9;
  GList *combo9_items = NULL;
  GtkWidget *gdl_as_filetype_entry;
  GtkWidget *label181;
  GtkWidget *label182;
  GtkWidget *add_as_to_gdl_button;
  GtkWidget *gdl_as_pattern_entry;
  GtkWidget *label260a;
  GtkWidget *frame15;
  GtkWidget *table20;
  GtkWidget *label282;
  GtkWidget *label284;
  GtkWidget *gdl_rename_filename_entry;
  GtkWidget *hbox704;
  GtkWidget *gdl_rename_gid_label;
  GtkWidget *gdl_rename_fname_label;
  GtkWidget *do_gdl_rename_button;
  GtkWidget *remove_current_gdl_rename_button;
  GtkWidget *label261;
  GtkWidget *frame16;
  GtkWidget *table22;
  GtkWidget *label301;
  GtkWidget *label302;
  GtkWidget *gdl_endname_filename_entry;
  GtkWidget *hbox706;
  GtkWidget *gdl_script_gid_label;
  GtkWidget *gdl_script_fname_label;
  GtkWidget *do_gdl_script_button;
  GtkWidget *remove_current_gdl_script_button;
  GtkWidget *label285a;
  GtkWidget *find_config;
  GtkWidget *hpaned4;
  GtkWidget *vbox27;
  GtkWidget *scrolledwindow30;
  GtkWidget *user_file_list_clist;
  GtkWidget *hbox11;
  GtkWidget *clear_user_file_list;
  GtkWidget *pixmap10;
  GtkWidget *label293;
  GtkWidget *user_file_list_search_entry;
  GtkWidget *user_file_list_search_button;
  GtkWidget *user_file_list_find_previous_button;
  GtkWidget *user_file_list_find_next_button;
  GtkWidget *user_file_list_search_as_directory_checkbutton;
  GtkWidget *user_file_list_search_as_file_checkbutton;
  GtkWidget *cached_user_list_vbox;
  GtkWidget *label279;
  GtkWidget *scrolledwindow32;
  GtkWidget *cached_user_list_clist;
  GtkWidget *hbox701;
  GtkWidget *reload_cached_user_list;
  GtkWidget *pixmap4;
  GtkWidget *load_selected_share_lists_button;
  GtkWidget *delete_selected_share_lists_button;
  GtkWidget *pixmap5;
  GtkWidget *user_file_list_page;
  GtkWidget *scrolledwindow36;
  GtkWidget *viewport2;
  GtkWidget *vbox21;
  GtkWidget *user_pref_notebook;
  GtkWidget *table4;
  GtkWidget *passive_mode_radio_button;
  GSList *passive_mode_radio_button_group = NULL;
  GtkWidget *label126;
  GtkWidget *table5;
  GtkWidget *incoming_port_number_entry;
  GtkWidget *xfer_host_ip_entry;
  GtkWidget *label127;
  GtkWidget *hbox16;
  GtkWidget *label173;
  GtkWidget *ignore_ipcheckbutton;
  GtkWidget *dynipcheckbutton;
  GtkWidget *label356;
  GtkWidget *curhostip_var_label;
  GtkWidget *active_mode_radio_button;
  GtkWidget *hseparator2;
  GtkWidget *hbox31;
  GtkWidget *enable_upload_checkbutton;
  GtkWidget *label125;
  GtkWidget *sim_dl_hscale;
  GtkWidget *hidden_shared_dir_entry;
  GtkWidget *table10;
  GtkWidget *label123;
  GtkWidget *label129;
  GtkWidget *label130;
  GtkWidget *label124;
  GtkWidget *combo6;
  GList *combo6_items = NULL;
  GtkWidget *cnx_type_entry;
  GtkWidget *user_description_entry;
  GtkWidget *nickname_entry;
  GtkWidget *e_mail_entry;
  GtkWidget *frame3;
  GtkWidget *table11;
  GtkWidget *label189;
  GtkWidget *label285;
  GtkWidget *label188;
  GtkWidget *label190;
  GtkWidget *label286;
  GtkWidget *combo14;
  GList *combo14_items = NULL;
  GtkWidget *socks_proxy_version_combo_entry;
  GtkWidget *socks_address_entry;
  GtkWidget *socks_port_entry;
  GtkWidget *socks_user_passwd_entry;
  GtkWidget *socks_userid_entry;
  GtkWidget *label303a;
  GtkWidget *frame6;
  GtkWidget *hbox32;
  GtkWidget *hublist_cnx_type_combo;
  GList *hublist_cnx_type_combo_items = NULL;
  GtkWidget *hublist_cnxtype_entry;
  GtkWidget *label206;
  GtkWidget *web_proxy_host_entry;
  GtkWidget *label207;
  GtkWidget *web_proxy_port_entry;
  GtkWidget *label304;
  GtkWidget *label131;
  GtkWidget *table6;
  GtkWidget *label257;
  GtkWidget *label134;
  GtkWidget *label132;
  GtkWidget *label133;
  GtkWidget *hbox710;
  GtkWidget *scrolledwindow22;
  GtkWidget *shared_dir_clist;
  GtkWidget *vbox22;
  GtkWidget *add_shared_dir_button;
  GtkWidget *pixmap12;
  GtkWidget *remove_shared_dir_button;
  GtkWidget *pixmap13;
  GtkWidget *hbox709;
  GtkWidget *dl_dir_entry;
  GtkWidget *do_browse_dl_dir_button;
  GtkWidget *hbox707;
  GtkWidget *vshare_dir_entry;
  GtkWidget *do_browse_vshare_dir_button;
  GtkWidget *hbox708;
  GtkWidget *size_offset_entry;
  GtkWidget *combo7;
  GList *combo7_items = NULL;
  GtkWidget *size_offset_unit_entry;
  GtkWidget *label135;
  GtkWidget *vbox33;
  GtkWidget *hbox29;
  GtkWidget *label205;
  GtkWidget *dctc_version_label;
  GtkWidget *hbox23;
  GtkWidget *override_version_checkbutton;
  GtkWidget *version_number_entry;
  GtkWidget *hbox24;
  GtkWidget *label157;
  GtkWidget *reconnect_delay_scale;
  GtkWidget *hbox25;
  GtkWidget *label158;
  GtkWidget *rebuild_delay_scale;
  GtkWidget *hbox711;
  GtkWidget *label303;
  GtkObject *min_delay_between_search_spinbutton_adj;
  GtkWidget *min_delay_between_search_spinbutton;
  GtkWidget *frame12;
  GtkWidget *table13;
  GtkWidget *follow_forcemove_checkbutton;
  GtkWidget *grabip_checkbutton;
  GtkWidget *hide_kick_checkbutton;
  GtkWidget *abort_upload_checkbutton;
  GtkWidget *add_tag_checkbutton;
  GtkWidget *fake_dcpp_checkbutton;
  GtkWidget *hbox722;
  GtkWidget *label349;
  GtkWidget *fake_dcpp_version_entry;
  GtkWidget *label305;
  GtkWidget *hbox44;
  GtkWidget *label220;
  GtkWidget *unodeport_entry;
  GtkWidget *label201;
  GtkWidget *vbox31;
  GtkWidget *use_done_dir_checkbutton;
  GtkWidget *ddl_checkbutton;
  GtkWidget *lazykc_checkbutton;
  GtkWidget *hbox39;
  GtkWidget *dbl_checkbutton;
  GtkWidget *dbl_entry;
  GtkWidget *label217;
  GtkWidget *frame17;
  GtkWidget *vbox42;
  GtkWidget *limit_as_port_checkbutton;
  GtkWidget *hbox712;
  GtkWidget *label317;
  GtkObject *low_as_port_spinbutton_adj;
  GtkWidget *low_as_port_spinbutton;
  GtkWidget *label318;
  GtkObject *up_as_port_spinbutton_adj;
  GtkWidget *up_as_port_spinbutton;
  GtkWidget *label316;
  GtkWidget *label199;
  GtkWidget *vbox41;
  GtkWidget *frame5;
  GtkWidget *vbox34;
  GtkWidget *hbox27;
  GtkWidget *label202;
  GtkObject *maxrunspinbutton_adj;
  GtkWidget *maxrunspinbutton;
  GtkWidget *hbox28;
  GtkWidget *label203;
  GtkObject *maxasoffspinbutton_adj;
  GtkWidget *maxasoffspinbutton;
  GtkWidget *label204;
  GtkWidget *hbox49;
  GtkWidget *label278;
  GtkObject *maxudl_spinbutton_adj;
  GtkWidget *maxudl_spinbutton;
  GtkWidget *hbox40;
  GtkWidget *gbl_checkbutton;
  GtkWidget *gbl_entry;
  GtkWidget *label218;
  GtkWidget *label306;
  GtkWidget *frame13;
  GtkWidget *table17;
  GtkWidget *incoming_wake_up_checkbutton;
  GtkWidget *sr_wake_up_checkbutton;
  GtkWidget *hbox46;
  GtkWidget *label255;
  GtkWidget *min_gdl_wake_up_delay_entry;
  GtkWidget *label256;
  GtkWidget *label307;
  GtkWidget *frame19;
  GtkWidget *vbox45;
  GtkWidget *hbox719;
  GtkWidget *label342;
  GtkWidget *lmule_temp_entry;
  GtkWidget *lmule_default_temp_dir_button;
  GtkWidget *image8;
  GtkWidget *hbox720;
  GtkWidget *label343;
  GtkObject *lmule_scan_spinbutton_adj;
  GtkWidget *lmule_scan_spinbutton;
  GtkWidget *label344;
  GtkWidget *label341;
  GtkWidget *label315;
  GtkWidget *vbox32;
  GtkWidget *hbox21;
  GtkWidget *ubl_checkbutton;
  GtkWidget *ubl_entry;
  GtkWidget *label154;
  GtkWidget *sharelist_dl_checkbutton;
  GtkWidget *label200;
  GtkWidget *table18;
  GtkWidget *label260;
  GtkWidget *label261_search__UNODE_;
  GtkWidget *label262;
  GtkWidget *label263;
  GtkWidget *combo10;
  GList *combo10_items = NULL;
  GtkWidget *hub_tos_entry;
  GtkWidget *combo13;
  GList *combo13_items = NULL;
  GtkWidget *ul_tos_entry;
  GtkWidget *combo12;
  GList *combo12_items = NULL;
  GtkWidget *dl_tos_entry;
  GtkWidget *combo11;
  GList *combo11_items = NULL;
  GtkWidget *udp_tos_entry;
  GtkWidget *frame14;
  GtkWidget *table19;
  GtkWidget *label266;
  GtkWidget *label267;
  GtkWidget *label268;
  GtkWidget *label269;
  GtkWidget *label270;
  GtkWidget *label271;
  GtkWidget *label272;
  GtkWidget *label273;
  GtkWidget *label274;
  GtkWidget *label275;
  GtkWidget *label310;
  GtkWidget *label259;
  GtkWidget *hbox6;
  GtkWidget *apply_pref;
  GtkWidget *reload_pref;
  GtkWidget *pixmap7;
  GtkWidget *save_default_profile_button;
  GtkWidget *load_default_profil_button;
  GtkWidget *label287;
  GtkWidget *profile_name_combo;
  GtkWidget *profile_name_combo_entry;
  GtkWidget *image22;
  GtkWidget *delete_profile_button;
  GtkWidget *hbox727;
  GtkWidget *image58;
  GtkWidget *label122;
  GtkWidget *scrolledwindow40;
  GtkWidget *viewport4;
  GtkWidget *vbox47;
  GtkWidget *gui_pref_notebook;
  GtkWidget *vbox43;
  GtkWidget *hbox715;
  GtkWidget *label335;
  GtkWidget *hublist_radiobutton;
  GSList *hublist_radiobutton_group = NULL;
  GtkWidget *xml_hublist_org_radiobutton;
  GtkWidget *custom_hublist_radiobutton;
  GtkWidget *scrolledwindow38;
  GtkWidget *custom_hublist_treeview;
  GtkWidget *hbox716;
  GtkWidget *add_hublist_entry;
  GtkWidget *add_hublist_button;
  GtkWidget *remove_hublist_button;
  GtkWidget *hidden_planar_hublist;
  GtkWidget *label334;
  GtkWidget *table21;
  GtkWidget *label289;
  GtkWidget *label290;
  GtkObject *running_client_list_refresh_rate_spinbutton_adj;
  GtkWidget *running_client_list_refresh_rate_spinbutton;
  GtkWidget *label291;
  GtkWidget *label292;
  GtkObject *favorite_client_autostart_check_rate_spinbutton_adj;
  GtkWidget *favorite_client_autostart_check_rate_spinbutton;
  GtkWidget *utf8_mode_checkbutton;
  GtkWidget *enhanced_chat_display_checkbutton;
  GtkWidget *get_uinfo_checkbutton;
  GtkWidget *ignore_all_pmsg_checkbutton;
  GtkWidget *disable_tooltips_checkbutton;
  GtkWidget *label288;
  GtkWidget *vbox44;
  GtkWidget *enable_sound_checkbutton;
  GtkWidget *frame18;
  GtkWidget *table26;
  GtkWidget *end_of_dl_sound_checkbutton;
  GtkWidget *privmsg_sound_checkbutton;
  GtkWidget *end_of_dl_sound_entry;
  GtkWidget *privmsg_sound_entry;
  GtkWidget *end_of_dl_sound_button;
  GtkWidget *privmsg_sound_button;
  GtkWidget *hublist_sound_checkbutton;
  GtkWidget *hublist_sound_entry;
  GtkWidget *hublist_sound_button;
  GtkWidget *label337;
  GtkWidget *label336;
  GtkWidget *vbox37;
  GtkWidget *frame8;
  GtkWidget *vbox38;
  GtkWidget *pchat_flag_switch_to_flag_tab_checkbutton;
  GtkWidget *pchat_flag_auto_add_checkbutton;
  GtkWidget *frame9;
  GtkWidget *table15;
  GtkWidget *autoflag_user_flag_ignore_sr_togglebutton;
  GtkWidget *autoflag_user_flag_ignore_srch_togglebutton;
  GtkWidget *autoflag_user_flag_ignore_pmsg_togglebutton;
  GtkWidget *autoflag_user_flag_ignore_dl_limit_togglebutton;
  GtkWidget *autoflag_user_flag_no_xfer_togglebutton;
  GtkWidget *autoflag_user_flag_ignore_pubmsg_togglebutton;
  GtkWidget *label309;
  GtkWidget *label308;
  GtkWidget *label216;
  GtkWidget *vbox46;
  GtkWidget *hbox723;
  GtkWidget *label350;
  GtkObject *bittorrent_refresh_rate_spinbutton_adj;
  GtkWidget *bittorrent_refresh_rate_spinbutton;
  GtkWidget *label351;
  GtkWidget *autokill_bt_at_end_checkbutton;
  GtkWidget *hbox721;
  GtkWidget *label347;
  GtkObject *bittorrent_autokill_delay_spinbutton_adj;
  GtkWidget *bittorrent_autokill_delay_spinbutton;
  GtkWidget *label348;
  GtkWidget *label346;
  GtkWidget *hbox724;
  GtkWidget *save_gui_prefs_button;
  GtkWidget *reload_gui_prefs_button;
  GtkWidget *hbox728;
  GtkWidget *image59;
  GtkWidget *label353;
  GtkWidget *hbox41;
  GtkWidget *frame11;
  GtkWidget *vbox30;
  GtkWidget *scrolledwindow26;
  GtkWidget *uaddr_clist;
  GtkWidget *hbox42;
  GtkWidget *label186;
  GtkWidget *uaddr_nick_entry;
  GtkWidget *hbox19;
  GtkWidget *label187;
  GtkWidget *uaddr_hostipport_entry;
  GtkWidget *hbox43;
  GtkWidget *find_uaddr_by_nick_button;
  GtkWidget *button;
  GtkWidget *hbox20;
  GtkWidget *button2;
  GtkWidget *find_uaddr_by_addr_button;
  GtkWidget *label311;
  GtkWidget *frame10;
  GtkWidget *vbox39;
  GtkWidget *scrolledwindow29;
  GtkWidget *unode_clist;
  GtkWidget *unode_addr_entry;
  GtkWidget *addr_unode_button;
  GtkWidget *del_selected_unode_button;
  GtkWidget *reload_unode_address_list_button;
  GtkWidget *label312;
  GtkWidget *label183;
  GtkWidget *vbox35;
  GtkWidget *scrolledwindow28;
  GtkWidget *flagged_user_clist;
  GtkWidget *hbox35;
  GtkWidget *vbox36;
  GtkWidget *hbox36;
  GtkWidget *label215;
  GtkWidget *flagged_user_label;
  GtkWidget *hbox37;
  GtkWidget *add_modify_flag_user_button;
  GtkWidget *delete_flag_user_button;
  GtkWidget *pixmap8;
  GtkWidget *frame7;
  GtkWidget *table14;
  GtkWidget *user_flag_ignore_sr_togglebutton;
  GtkWidget *user_flag_ignore_srch_togglebutton;
  GtkWidget *user_flag_ignore_pmsg_togglebutton;
  GtkWidget *user_flag_ignore_dl_limit_togglebutton;
  GtkWidget *user_flag_no_xfer_togglebutton;
  GtkWidget *user_flag_ignore_pubmsg_togglebutton;
  GtkWidget *label313;
  GtkWidget *reload_flagged_user_list_button;
  GtkWidget *pixmap9;
  GtkWidget *label210;
  GtkWidget *vbox48;
  GtkWidget *scrolledwindow41;
  GtkWidget *notes_textview;
  GtkWidget *hbox725;
  GtkWidget *reload_notes_button;
  GtkWidget *alignment2;
  GtkWidget *hbox726;
  GtkWidget *image14;
  GtkWidget *label355;
  GtkWidget *save_notes_button;
  GtkWidget *clear_notes_button;
  GtkWidget *hbox729;
  GtkWidget *image60;
  GtkWidget *label354;
  GtkWidget *xfer_notebook;
  GtkWidget *scrolledwindow25;
  GtkWidget *gdl_ctree;
  GtkWidget *hbox730;
  GtkWidget *image61;
  GtkWidget *label159;
  GtkWidget *empty_notebook_page;
  GtkWidget *hbox737;
  GtkWidget *image68;
  GtkWidget *label314;
  GtkWidget *scrolledwindow8;
  GtkWidget *upload_clist;
  GtkWidget *hbox731;
  GtkWidget *image62;
  GtkWidget *label49;
  GtkWidget *scrolledwindow9;
  GtkWidget *queue_clist;
  GtkWidget *label54;
  GtkWidget *hbox736;
  GtkWidget *image67;
  GtkWidget *label60;
  GtkWidget *scrolledwindow33;
  GtkWidget *download_clist;
  GtkWidget *hbox732;
  GtkWidget *image63;
  GtkWidget *label44;
  GtkWidget *vbox40;
  GtkWidget *scrolledwindow24;
  GtkWidget *error_messages_text;
  GtkWidget *clear_error_messages_button;
  GtkWidget *hbox733;
  GtkWidget *image64;
  GtkWidget *label156;
  GtkWidget *hbox735;
  GtkWidget *image66;
  GtkWidget *label345;
  GtkWidget *appbar1;
  GtkTooltips *tooltips;

  tooltips = gtk_tooltips_new ();

  app1 = gnome_app_new ("Dc_gui2", _("Dc_gui"));
  gtk_window_set_default_size (GTK_WINDOW (app1), 800, 480);

  dock1 = GNOME_APP (app1)->dock;
  gtk_widget_show (dock1);

  gnome_app_create_menus (GNOME_APP (app1), menubar1_uiinfo);

  vpaned2 = gtk_vpaned_new ();
  gtk_widget_show (vpaned2);
  gnome_app_set_contents (GNOME_APP (app1), vpaned2);

  main_notebook = gtk_notebook_new ();
  gtk_widget_show (main_notebook);
  gtk_paned_pack1 (GTK_PANED (vpaned2), main_notebook, FALSE, TRUE);

  scrolledwindow37 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow37);
  gtk_container_add (GTK_CONTAINER (main_notebook), scrolledwindow37);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow37), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  viewport3 = gtk_viewport_new (NULL, NULL);
  gtk_widget_show (viewport3);
  gtk_container_add (GTK_CONTAINER (scrolledwindow37), viewport3);

  vbox5 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox5);
  gtk_container_add (GTK_CONTAINER (viewport3), vbox5);

  connect_notebook = gtk_notebook_new ();
  gtk_widget_show (connect_notebook);
  gtk_box_pack_start (GTK_BOX (vbox5), connect_notebook, TRUE, TRUE, 0);
  gtk_notebook_set_tab_pos (GTK_NOTEBOOK (connect_notebook), GTK_POS_LEFT);

  scrolledwindow18 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow18);
  gtk_container_add (GTK_CONTAINER (connect_notebook), scrolledwindow18);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow18, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow18), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow18), GTK_SHADOW_IN);

  running_hub_clist = gtk_tree_view_new ();
  gtk_widget_show (running_hub_clist);
  gtk_container_add (GTK_CONTAINER (scrolledwindow18), running_hub_clist);
  gtk_tooltips_set_tip (tooltips, running_hub_clist, _("Client with a green background are connected to the hub. Client with an orange background are not connected (hub offline, ...). The master client is the one performing some special tasks."), NULL);

  label103 = gtk_label_new (_("Running"));
  gtk_widget_show (label103);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (connect_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (connect_notebook), 0), label103);

  scrolledwindow16 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow16);
  gtk_container_add (GTK_CONTAINER (connect_notebook), scrolledwindow16);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow16, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow16), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow16), GTK_SHADOW_IN);

  hub_favorite_clist = gtk_tree_view_new ();
  gtk_widget_show (hub_favorite_clist);
  gtk_container_add (GTK_CONTAINER (scrolledwindow16), hub_favorite_clist);
  gtk_tooltips_set_tip (tooltips, hub_favorite_clist, _("Hub with a green background is already used by a running client. If a profile is named \"default\" and no profile is linked to a hub, this one will be automatically used"), NULL);

  label73 = gtk_label_new (_("Favorites"));
  gtk_widget_show (label73);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (connect_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (connect_notebook), 1), label73);

  scrolledwindow15 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow15);
  gtk_container_add (GTK_CONTAINER (connect_notebook), scrolledwindow15);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow15, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow15), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow15), GTK_SHADOW_IN);

  hub_public_clist = gtk_tree_view_new ();
  gtk_widget_show (hub_public_clist);
  gtk_container_add (GTK_CONTAINER (scrolledwindow15), hub_public_clist);
  gtk_tooltips_set_tip (tooltips, hub_public_clist, _("If it exists, the profile named \"default\" will be used to start new connection"), NULL);

  connect_public_label = gtk_label_new (_("Public"));
  gtk_widget_show (connect_public_label);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (connect_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (connect_notebook), 2), connect_public_label);

  vbox28 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox28);
  gtk_container_add (GTK_CONTAINER (connect_notebook), vbox28);

  scrolledwindow14 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow14);
  gtk_box_pack_start (GTK_BOX (vbox28), scrolledwindow14, TRUE, TRUE, 0);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow14, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow14), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow14), GTK_SHADOW_IN);

  hub_recent_clist = gtk_tree_view_new ();
  gtk_widget_show (hub_recent_clist);
  gtk_container_add (GTK_CONTAINER (scrolledwindow14), hub_recent_clist);
  gtk_tooltips_set_tip (tooltips, hub_recent_clist, _("If it exists, the profile named \"default\" will be used to start new connection"), NULL);

  hbox12 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox12);
  gtk_box_pack_start (GTK_BOX (vbox28), hbox12, FALSE, TRUE, 0);

  clear_recent_list_button = gtk_button_new_with_mnemonic (_("Clear"));
  gtk_widget_show (clear_recent_list_button);
  gtk_box_pack_start (GTK_BOX (hbox12), clear_recent_list_button, TRUE, TRUE, 0);

  label75 = gtk_label_new (_("Recent"));
  gtk_widget_show (label75);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (connect_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (connect_notebook), 3), label75);

  scrolledwindow27 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow27);
  gtk_container_add (GTK_CONTAINER (connect_notebook), scrolledwindow27);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow27, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow27), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow27), GTK_SHADOW_IN);

  seen_hub_clist = gtk_tree_view_new ();
  gtk_widget_show (seen_hub_clist);
  gtk_container_add (GTK_CONTAINER (scrolledwindow27), seen_hub_clist);
  gtk_tooltips_set_tip (tooltips, seen_hub_clist, _("If it exists, the profile named \"default\" will be used to start new connection"), NULL);

  label191 = gtk_label_new (_("Seen Public"));
  gtk_widget_show (label191);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (connect_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (connect_notebook), 4), label191);

  hbox47 = gtk_hbox_new (FALSE, 3);
  gtk_widget_show (hbox47);
  gtk_box_pack_start (GTK_BOX (vbox5), hbox47, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox47), 3);

  label258 = gtk_label_new (_("Hub to find:"));
  gtk_widget_show (label258);
  gtk_box_pack_start (GTK_BOX (hbox47), label258, FALSE, FALSE, 0);

  hubs_to_select_entry = gtk_entry_new ();
  gtk_widget_show (hubs_to_select_entry);
  gtk_box_pack_start (GTK_BOX (hbox47), hubs_to_select_entry, TRUE, TRUE, 0);

  find_hub_button = gtk_button_new_from_stock ("gtk-find");
  gtk_widget_show (find_hub_button);
  gtk_box_pack_start (GTK_BOX (hbox47), find_hub_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, find_hub_button, _("Find the first hub matching the search pattern"), NULL);

  find_prev_hub_button = gtk_button_new_from_stock ("gtk-go-back");
  gtk_widget_show (find_prev_hub_button);
  gtk_box_pack_start (GTK_BOX (hbox47), find_prev_hub_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, find_prev_hub_button, _("Find the previous hub matching the search pattern"), NULL);

  find_next_hub_button = gtk_button_new_from_stock ("gtk-go-forward");
  gtk_widget_show (find_next_hub_button);
  gtk_box_pack_start (GTK_BOX (hbox47), find_next_hub_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, find_next_hub_button, _("Find the next hub matching the search pattern"), NULL);

  hbox3 = gtk_hbox_new (FALSE, 3);
  gtk_widget_show (hbox3);
  gtk_box_pack_start (GTK_BOX (vbox5), hbox3, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox3), 3);

  refresh_sitelist_button = gtk_button_new ();
  gtk_widget_show (refresh_sitelist_button);
  gtk_box_pack_start (GTK_BOX (hbox3), refresh_sitelist_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, refresh_sitelist_button, _("Reload the currently opened list"), NULL);

  pixmap1 = gtk_image_new_from_stock ("gtk-refresh", GTK_ICON_SIZE_SMALL_TOOLBAR);
  gtk_widget_show (pixmap1);
  gtk_container_add (GTK_CONTAINER (refresh_sitelist_button), pixmap1);

  bookmark_button = gtk_button_new_with_mnemonic (_("Bookmark"));
  gtk_widget_show (bookmark_button);
  gtk_box_pack_start (GTK_BOX (hbox3), bookmark_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, bookmark_button, _("put selected hub entries into the bookmark"), NULL);

  delete_selected_bookmark_button = gtk_button_new ();
  gtk_widget_show (delete_selected_bookmark_button);
  gtk_box_pack_start (GTK_BOX (hbox3), delete_selected_bookmark_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, delete_selected_bookmark_button, _("Delete selected entries of the bookmark"), NULL);

  pixmap3 = gtk_image_new_from_stock ("gtk-delete", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (pixmap3);
  gtk_container_add (GTK_CONTAINER (delete_selected_bookmark_button), pixmap3);

  start_dctc_selected_hub_button = gtk_button_new_with_mnemonic (_("Start selected"));
  gtk_widget_show (start_dctc_selected_hub_button);
  gtk_box_pack_start (GTK_BOX (hbox3), start_dctc_selected_hub_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, start_dctc_selected_hub_button, _("Start a new DCTC for each selected hubs"), NULL);

  connect_entry = gtk_entry_new ();
  gtk_widget_show (connect_entry);
  gtk_box_pack_start (GTK_BOX (hbox3), connect_entry, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, connect_entry, _("Enter the address of a hub to connect to."), NULL);

  do_connection_button = gtk_button_new_with_mnemonic (_("Connect"));
  gtk_widget_show (do_connection_button);
  gtk_box_pack_start (GTK_BOX (hbox3), do_connection_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, do_connection_button, _("Start a new client for the entered address"), NULL);

  do_reconnect_now = gtk_button_new_with_mnemonic (_("Reconnect Now"));
  gtk_widget_show (do_reconnect_now);
  gtk_box_pack_start (GTK_BOX (hbox3), do_reconnect_now, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, do_reconnect_now, _("Force the current running client to reconnect now to the hub (works only if Offline)"), NULL);

  do_goto = gtk_button_new_from_stock ("gtk-jump-to");
  gtk_widget_show (do_goto);
  gtk_box_pack_start (GTK_BOX (hbox3), do_goto, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, do_goto, _("Leave the current hub and go to another one (this is done without closing the client)"), NULL);

  hbox14 = gtk_hbox_new (FALSE, 3);
  gtk_widget_show (hbox14);
  gtk_box_pack_start (GTK_BOX (vbox5), hbox14, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox14), 3);

  terminate_selected_dctcs_button = gtk_button_new_from_stock ("gtk-stop");
  gtk_widget_show (terminate_selected_dctcs_button);
  gtk_box_pack_start (GTK_BOX (hbox14), terminate_selected_dctcs_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, terminate_selected_dctcs_button, _("Clean termination of selected DCTC clients"), NULL);

  kill_selected_dctcs_button = gtk_button_new ();
  gtk_widget_show (kill_selected_dctcs_button);
  gtk_box_pack_start (GTK_BOX (hbox14), kill_selected_dctcs_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, kill_selected_dctcs_button, _("Violent termination of selected DCTC, work even on client not responding"), NULL);

  pixmap2 = create_pixmap (app1, "dc_gui2/icon_kill.xpm");
  gtk_widget_show (pixmap2);
  gtk_container_add (GTK_CONTAINER (kill_selected_dctcs_button), pixmap2);

  label171 = gtk_label_new (_("Direct DCTC command"));
  gtk_widget_show (label171);
  gtk_box_pack_start (GTK_BOX (hbox14), label171, FALSE, FALSE, 0);

  dctc_cmd_entry = gtk_entry_new ();
  gtk_widget_show (dctc_cmd_entry);
  gtk_box_pack_start (GTK_BOX (hbox14), dctc_cmd_entry, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, dctc_cmd_entry, _("Send a DCTC command to current DCTC"), NULL);

  connect_page = gtk_label_new (_("Connect"));
  gtk_widget_show (connect_page);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (main_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (main_notebook), 0), connect_page);

  hpaned3 = gtk_hpaned_new ();
  gtk_widget_show (hpaned3);
  gtk_container_add (GTK_CONTAINER (main_notebook), hpaned3);

  vbox7 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox7);
  gtk_paned_pack1 (GTK_PANED (hpaned3), vbox7, FALSE, TRUE);

  chat_notebook = gtk_notebook_new ();
  gtk_widget_show (chat_notebook);
  gtk_box_pack_start (GTK_BOX (vbox7), chat_notebook, TRUE, TRUE, 0);
  gtk_notebook_set_tab_pos (GTK_NOTEBOOK (chat_notebook), GTK_POS_LEFT);

  scrolledwindow12 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow12);
  gtk_container_add (GTK_CONTAINER (chat_notebook), scrolledwindow12);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow12, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow12), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow12), GTK_SHADOW_IN);

  chat_output = gtk_text_view_new ();
  gtk_widget_show (chat_output);
  gtk_container_add (GTK_CONTAINER (scrolledwindow12), chat_output);
  gtk_text_view_set_editable (GTK_TEXT_VIEW (chat_output), FALSE);
  gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (chat_output), GTK_WRAP_CHAR);

  label352 = gtk_label_new (_("public"));
  gtk_widget_show (label352);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (chat_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (chat_notebook), 0), label352);
  gtk_label_set_justify (GTK_LABEL (label352), GTK_JUSTIFY_LEFT);

  scrolledwindow21 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow21);
  gtk_container_add (GTK_CONTAINER (chat_notebook), scrolledwindow21);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow21, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow21), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow21), GTK_SHADOW_IN);

  chat1_text = gtk_text_view_new ();
  gtk_widget_show (chat1_text);
  gtk_container_add (GTK_CONTAINER (scrolledwindow21), chat1_text);
  gtk_text_view_set_editable (GTK_TEXT_VIEW (chat1_text), FALSE);
  gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (chat1_text), GTK_WRAP_WORD);

  pchat_label1 = gtk_label_new (_("chat1"));
  gtk_widget_show (pchat_label1);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (chat_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (chat_notebook), 1), pchat_label1);

  scrolledwindowa21 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindowa21);
  gtk_container_add (GTK_CONTAINER (chat_notebook), scrolledwindowa21);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindowa21, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindowa21), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindowa21), GTK_SHADOW_IN);

  chat2_text = gtk_text_view_new ();
  gtk_widget_show (chat2_text);
  gtk_container_add (GTK_CONTAINER (scrolledwindowa21), chat2_text);
  gtk_text_view_set_editable (GTK_TEXT_VIEW (chat2_text), FALSE);
  gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (chat2_text), GTK_WRAP_WORD);

  pchat_label2 = gtk_label_new (_("chat2"));
  gtk_widget_show (pchat_label2);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (chat_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (chat_notebook), 2), pchat_label2);

  scrolledwindowb21 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindowb21);
  gtk_container_add (GTK_CONTAINER (chat_notebook), scrolledwindowb21);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindowb21, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindowb21), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindowb21), GTK_SHADOW_IN);

  chat3_text = gtk_text_view_new ();
  gtk_widget_show (chat3_text);
  gtk_container_add (GTK_CONTAINER (scrolledwindowb21), chat3_text);
  gtk_text_view_set_editable (GTK_TEXT_VIEW (chat3_text), FALSE);
  gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (chat3_text), GTK_WRAP_WORD);

  pchat_label3 = gtk_label_new (_("chat3"));
  gtk_widget_show (pchat_label3);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (chat_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (chat_notebook), 3), pchat_label3);

  scrolledwindowc21 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindowc21);
  gtk_container_add (GTK_CONTAINER (chat_notebook), scrolledwindowc21);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindowc21, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindowc21), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindowc21), GTK_SHADOW_IN);

  chat4_text = gtk_text_view_new ();
  gtk_widget_show (chat4_text);
  gtk_container_add (GTK_CONTAINER (scrolledwindowc21), chat4_text);
  gtk_text_view_set_editable (GTK_TEXT_VIEW (chat4_text), FALSE);
  gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (chat4_text), GTK_WRAP_WORD);

  pchat_label4 = gtk_label_new (_("chat4"));
  gtk_widget_show (pchat_label4);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (chat_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (chat_notebook), 4), pchat_label4);

  scrolledwindowd21 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindowd21);
  gtk_container_add (GTK_CONTAINER (chat_notebook), scrolledwindowd21);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindowd21, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindowd21), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindowd21), GTK_SHADOW_IN);

  chat5_text = gtk_text_view_new ();
  gtk_widget_show (chat5_text);
  gtk_container_add (GTK_CONTAINER (scrolledwindowd21), chat5_text);
  gtk_text_view_set_editable (GTK_TEXT_VIEW (chat5_text), FALSE);
  gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (chat5_text), GTK_WRAP_WORD);

  pchat_label5 = gtk_label_new (_("chat5"));
  gtk_widget_show (pchat_label5);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (chat_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (chat_notebook), 5), pchat_label5);

  scrolledwindowe21 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindowe21);
  gtk_container_add (GTK_CONTAINER (chat_notebook), scrolledwindowe21);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindowe21, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindowe21), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindowe21), GTK_SHADOW_IN);

  chat6_text = gtk_text_view_new ();
  gtk_widget_show (chat6_text);
  gtk_container_add (GTK_CONTAINER (scrolledwindowe21), chat6_text);
  gtk_text_view_set_editable (GTK_TEXT_VIEW (chat6_text), FALSE);
  gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (chat6_text), GTK_WRAP_WORD);

  pchat_label6 = gtk_label_new (_("chat6"));
  gtk_widget_show (pchat_label6);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (chat_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (chat_notebook), 6), pchat_label6);

  scrolledwindowf21 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindowf21);
  gtk_container_add (GTK_CONTAINER (chat_notebook), scrolledwindowf21);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindowf21, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindowf21), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindowf21), GTK_SHADOW_IN);

  chat7_text = gtk_text_view_new ();
  gtk_widget_show (chat7_text);
  gtk_container_add (GTK_CONTAINER (scrolledwindowf21), chat7_text);
  gtk_text_view_set_editable (GTK_TEXT_VIEW (chat7_text), FALSE);
  gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (chat7_text), GTK_WRAP_WORD);

  pchat_label7 = gtk_label_new (_("chat7"));
  gtk_widget_show (pchat_label7);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (chat_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (chat_notebook), 7), pchat_label7);

  scrolledwindowg21 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindowg21);
  gtk_container_add (GTK_CONTAINER (chat_notebook), scrolledwindowg21);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindowg21, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindowg21), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindowg21), GTK_SHADOW_IN);

  chat8_text = gtk_text_view_new ();
  gtk_widget_show (chat8_text);
  gtk_container_add (GTK_CONTAINER (scrolledwindowg21), chat8_text);
  gtk_text_view_set_editable (GTK_TEXT_VIEW (chat8_text), FALSE);
  gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (chat8_text), GTK_WRAP_WORD);

  pchat_label8 = gtk_label_new (_("chat8"));
  gtk_widget_show (pchat_label8);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (chat_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (chat_notebook), 8), pchat_label8);

  scrolledwindowh21 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindowh21);
  gtk_container_add (GTK_CONTAINER (chat_notebook), scrolledwindowh21);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindowh21, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindowh21), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindowh21), GTK_SHADOW_IN);

  chat9_text = gtk_text_view_new ();
  gtk_widget_show (chat9_text);
  gtk_container_add (GTK_CONTAINER (scrolledwindowh21), chat9_text);
  gtk_text_view_set_editable (GTK_TEXT_VIEW (chat9_text), FALSE);
  gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (chat9_text), GTK_WRAP_WORD);

  pchat_label9 = gtk_label_new (_("chat9"));
  gtk_widget_show (pchat_label9);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (chat_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (chat_notebook), 9), pchat_label9);

  hbox5 = gtk_hbox_new (FALSE, 3);
  gtk_widget_show (hbox5);
  gtk_box_pack_start (GTK_BOX (vbox7), hbox5, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox5), 3);

  close_pchat_button = gtk_button_new ();
  gtk_widget_show (close_pchat_button);
  gtk_box_pack_start (GTK_BOX (hbox5), close_pchat_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, close_pchat_button, _("Close current chat"), NULL);

  pixmap6 = gtk_image_new_from_stock ("gtk-close", GTK_ICON_SIZE_SMALL_TOOLBAR);
  gtk_widget_show (pixmap6);
  gtk_container_add (GTK_CONTAINER (close_pchat_button), pixmap6);

  close_all_pchat_button = gtk_button_new ();
  gtk_widget_show (close_all_pchat_button);
  gtk_box_pack_start (GTK_BOX (hbox5), close_all_pchat_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, close_all_pchat_button, _("Close all chats"), NULL);

  pixmap11 = gtk_image_new_from_stock ("gtk-cancel", GTK_ICON_SIZE_SMALL_TOOLBAR);
  gtk_widget_show (pixmap11);
  gtk_container_add (GTK_CONTAINER (close_all_pchat_button), pixmap11);

  pchat_entry = gtk_entry_new ();
  gtk_widget_show (pchat_entry);
  gtk_box_pack_start (GTK_BOX (hbox5), pchat_entry, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, pchat_entry, _("Use [Tab] to complete nickname"), NULL);

  clear_private_chat_button = gtk_button_new_from_stock ("gtk-clear");
  gtk_widget_show (clear_private_chat_button);
  gtk_box_pack_start (GTK_BOX (hbox5), clear_private_chat_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, clear_private_chat_button, _("Clear this chat"), NULL);

  flag_pchat_user_button = gtk_button_new_with_mnemonic (_("Flag user of this chat"));
  gtk_widget_show (flag_pchat_user_button);
  gtk_box_pack_start (GTK_BOX (hbox5), flag_pchat_user_button, FALSE, FALSE, 0);

  pubchat_flag_selected_user_button = gtk_button_new_with_mnemonic (_("Flag selected user"));
  gtk_widget_show (pubchat_flag_selected_user_button);
  gtk_box_pack_start (GTK_BOX (hbox5), pubchat_flag_selected_user_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, pubchat_flag_selected_user_button, _("Select a character of a line containing a name (the selection does not have to be exactly a nickname) in the window above and press this button to flag the selected name. You can even flag virtual user like Hub-Security"), NULL);

  vbox20 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox20);
  gtk_paned_pack2 (GTK_PANED (hpaned3), vbox20, TRUE, TRUE);

  scrolledwindow6 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow6);
  gtk_box_pack_start (GTK_BOX (vbox20), scrolledwindow6, TRUE, TRUE, 0);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow6, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow6), GTK_POLICY_ALWAYS, GTK_POLICY_AUTOMATIC);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow6), GTK_SHADOW_IN);

  user_clist = gtk_tree_view_new ();
  gtk_widget_show (user_clist);
  gtk_container_add (GTK_CONTAINER (scrolledwindow6), user_clist);
  gtk_tooltips_set_tip (tooltips, user_clist, _("User with a light grey background is away. User written in red is an OP. It is possible to keep only nickname of users (see User Prefs/Misc GUI Param./Retrieve informations...)"), NULL);

  users_info_label = gtk_label_new (_("Users:"));
  gtk_widget_show (users_info_label);
  gtk_box_pack_start (GTK_BOX (vbox20), users_info_label, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (users_info_label), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (users_info_label), 0.07, 0.5);

  hbox15 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox15);
  gtk_box_pack_start (GTK_BOX (vbox20), hbox15, FALSE, FALSE, 0);

  label172 = gtk_label_new (_("Hub address:"));
  gtk_widget_show (label172);
  gtk_box_pack_start (GTK_BOX (hbox15), label172, FALSE, FALSE, 0);

  current_hub_address_label = gtk_label_new (_("xxx.xxx.xxx.xxx:yyyyy"));
  gtk_widget_show (current_hub_address_label);
  gtk_box_pack_start (GTK_BOX (hbox15), current_hub_address_label, TRUE, TRUE, 0);

  away_togglebutton = gtk_toggle_button_new_with_mnemonic (_("Away"));
  gtk_widget_show (away_togglebutton);
  gtk_box_pack_start (GTK_BOX (vbox20), away_togglebutton, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (away_togglebutton), 3);

  chat_page = gtk_label_new (_("Chat"));
  gtk_widget_show (chat_page);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (main_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (main_notebook), 1), chat_page);

  vbox3 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox3);
  gtk_container_add (GTK_CONTAINER (main_notebook), vbox3);

  scrolledwindow13 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow13);
  gtk_box_pack_start (GTK_BOX (vbox3), scrolledwindow13, TRUE, TRUE, 0);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow13, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow13), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow13), GTK_SHADOW_IN);

  find_result = gtk_tree_view_new ();
  gtk_widget_show (find_result);
  gtk_container_add (GTK_CONTAINER (scrolledwindow13), find_result);
  gtk_tooltips_set_tip (tooltips, find_result, _("Result written in red is a file owned by an OP. When sorting by size, contiguous result having the same size has the same background color."), NULL);

  hbox38 = gtk_hbox_new (FALSE, 2);
  gtk_widget_show (hbox38);
  gtk_box_pack_start (GTK_BOX (vbox3), hbox38, FALSE, TRUE, 0);

  find_history_combo = gtk_combo_new ();
  g_object_set_data (G_OBJECT (GTK_COMBO (find_history_combo)->popwin),
                     "GladeParentKey", find_history_combo);
  gtk_widget_show (find_history_combo);
  gtk_box_pack_start (GTK_BOX (hbox38), find_history_combo, TRUE, TRUE, 0);

  find_entry = GTK_COMBO (find_history_combo)->entry;
  gtk_widget_show (find_entry);
  gtk_tooltips_set_tip (tooltips, find_entry, _("use '$' as separator to search for files matching all the given words without order (AND operator)"), NULL);

  find_button = gtk_button_new_from_stock ("gtk-find");
  gtk_widget_show (find_button);
  gtk_box_pack_start (GTK_BOX (hbox38), find_button, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (find_button), 3);

  show_search_user_side_button = gtk_button_new_with_mnemonic (_("Show search user side"));
  gtk_widget_show (show_search_user_side_button);
  gtk_box_pack_start (GTK_BOX (hbox38), show_search_user_side_button, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (show_search_user_side_button), 3);

  hide_search_user_button = gtk_button_new_with_mnemonic (_("Hide search user side"));
  gtk_widget_show (hide_search_user_button);
  gtk_box_pack_start (GTK_BOX (hbox38), hide_search_user_button, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hide_search_user_button), 3);

  hbox717 = gtk_hbox_new (FALSE, 2);
  gtk_widget_show (hbox717);
  gtk_box_pack_start (GTK_BOX (vbox3), hbox717, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox717), 1);

  label338 = gtk_label_new (_("Result filtering:"));
  gtk_widget_show (label338);
  gtk_box_pack_start (GTK_BOX (hbox717), label338, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label338), GTK_JUSTIFY_LEFT);

  copy_search_result_button = gtk_button_new_from_stock ("gtk-copy");
  gtk_widget_show (copy_search_result_button);
  gtk_box_pack_start (GTK_BOX (hbox717), copy_search_result_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, copy_search_result_button, _("Create a copy of the currently displayed search results"), NULL);

  paste_search_result_button = gtk_button_new_from_stock ("gtk-paste");
  gtk_widget_show (paste_search_result_button);
  gtk_box_pack_start (GTK_BOX (hbox717), paste_search_result_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, paste_search_result_button, _("Restore previously saved search result list."), NULL);

  label339 = gtk_label_new (_("Filter:"));
  gtk_widget_show (label339);
  gtk_box_pack_start (GTK_BOX (hbox717), label339, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label339), GTK_JUSTIFY_LEFT);

  search_result_filter_combo = gtk_combo_new ();
  g_object_set_data (G_OBJECT (GTK_COMBO (search_result_filter_combo)->popwin),
                     "GladeParentKey", search_result_filter_combo);
  gtk_widget_show (search_result_filter_combo);
  gtk_box_pack_start (GTK_BOX (hbox717), search_result_filter_combo, FALSE, FALSE, 0);
  gtk_combo_set_value_in_list (GTK_COMBO (search_result_filter_combo), TRUE, FALSE);
  search_result_filter_combo_items = g_list_append (search_result_filter_combo_items, (gpointer) _("Size <"));
  search_result_filter_combo_items = g_list_append (search_result_filter_combo_items, (gpointer) _("Size >"));
  search_result_filter_combo_items = g_list_append (search_result_filter_combo_items, (gpointer) _("Containing the word"));
  search_result_filter_combo_items = g_list_append (search_result_filter_combo_items, (gpointer) _("Not containing the word"));
  gtk_combo_set_popdown_strings (GTK_COMBO (search_result_filter_combo), search_result_filter_combo_items);
  g_list_free (search_result_filter_combo_items);

  search_result_filter_combo_entry = GTK_COMBO (search_result_filter_combo)->entry;
  gtk_widget_show (search_result_filter_combo_entry);
  gtk_editable_set_editable (GTK_EDITABLE (search_result_filter_combo_entry), FALSE);

  search_result_filter_param_entry = gtk_entry_new ();
  gtk_widget_show (search_result_filter_param_entry);
  gtk_box_pack_start (GTK_BOX (hbox717), search_result_filter_param_entry, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, search_result_filter_param_entry, _("Parameter to use with the defined filter."), NULL);

  apply_filter_button = gtk_button_new ();
  gtk_widget_show (apply_filter_button);
  gtk_box_pack_start (GTK_BOX (hbox717), apply_filter_button, FALSE, FALSE, 0);

  alignment1 = gtk_alignment_new (0.5, 0.5, 0, 0);
  gtk_widget_show (alignment1);
  gtk_container_add (GTK_CONTAINER (apply_filter_button), alignment1);

  hbox718 = gtk_hbox_new (FALSE, 2);
  gtk_widget_show (hbox718);
  gtk_container_add (GTK_CONTAINER (alignment1), hbox718);

  image7 = gtk_image_new_from_stock ("gtk-index", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image7);
  gtk_box_pack_start (GTK_BOX (hbox718), image7, FALSE, FALSE, 0);

  label340 = gtk_label_new_with_mnemonic (_("Filter"));
  gtk_widget_show (label340);
  gtk_box_pack_start (GTK_BOX (hbox718), label340, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label340), GTK_JUSTIFY_LEFT);

  hbox714 = gtk_hbox_new (FALSE, 2);
  gtk_widget_show (hbox714);
  gtk_box_pack_start (GTK_BOX (vbox3), hbox714, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox714), 1);

  ed2k_url_radiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("ed2k URL"));
  gtk_widget_show (ed2k_url_radiobutton);
  gtk_box_pack_start (GTK_BOX (hbox714), ed2k_url_radiobutton, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, ed2k_url_radiobutton, _("The given URL is an e-donkey 2000 URL"), NULL);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (ed2k_url_radiobutton), ed2k_url_radiobutton_group);
  ed2k_url_radiobutton_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (ed2k_url_radiobutton));

  bittorrent_url_radiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("Bittorrent URL"));
  gtk_widget_show (bittorrent_url_radiobutton);
  gtk_box_pack_start (GTK_BOX (hbox714), bittorrent_url_radiobutton, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, bittorrent_url_radiobutton, _("The given URL is a bittorrent URL"), NULL);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (bittorrent_url_radiobutton), ed2k_url_radiobutton_group);
  ed2k_url_radiobutton_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (bittorrent_url_radiobutton));

  ed2k_url_entry = gtk_entry_new ();
  gtk_widget_show (ed2k_url_entry);
  gtk_box_pack_start (GTK_BOX (hbox714), ed2k_url_entry, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, ed2k_url_entry, _("enter here a e-donkey 2000 URL (format: ed2k://|file|filename|filesize|CRC| ) or a bittorrent URL (http://????.bittorrent)"), NULL);

  create_gdl_from_ed2k_url_button = gtk_button_new_with_mnemonic (_("download from URL"));
  gtk_widget_show (create_gdl_from_ed2k_url_button);
  gtk_box_pack_start (GTK_BOX (hbox714), create_gdl_from_ed2k_url_button, FALSE, FALSE, 0);

  clear_ed2k_url_entry_button = gtk_button_new_from_stock ("gtk-clear");
  gtk_widget_show (clear_ed2k_url_entry_button);
  gtk_box_pack_start (GTK_BOX (hbox714), clear_ed2k_url_entry_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, clear_ed2k_url_entry_button, _("Clear URL entry"), NULL);

  user_search_vbox = gtk_vbox_new (FALSE, 3);
  gtk_widget_show (user_search_vbox);
  gtk_box_pack_start (GTK_BOX (vbox3), user_search_vbox, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (user_search_vbox), 3);

  currently_searched_user_label = gtk_label_new ("");
  gtk_widget_show (currently_searched_user_label);
  gtk_box_pack_start (GTK_BOX (user_search_vbox), currently_searched_user_label, FALSE, FALSE, 0);

  scrolledwindow31 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow31);
  gtk_box_pack_start (GTK_BOX (user_search_vbox), scrolledwindow31, TRUE, TRUE, 0);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow31, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow31), GTK_SHADOW_IN);

  locate_user_clist = gtk_tree_view_new ();
  gtk_widget_show (locate_user_clist);
  gtk_container_add (GTK_CONTAINER (scrolledwindow31), locate_user_clist);

  hbox713 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox713);
  gtk_box_pack_start (GTK_BOX (user_search_vbox), hbox713, FALSE, FALSE, 0);

  locate_user_entry = gtk_entry_new ();
  gtk_widget_show (locate_user_entry);
  gtk_box_pack_start (GTK_BOX (hbox713), locate_user_entry, TRUE, TRUE, 0);

  search_user_button = gtk_button_new_from_stock ("gtk-find");
  gtk_widget_show (search_user_button);
  gtk_box_pack_start (GTK_BOX (hbox713), search_user_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, search_user_button, _("Search this user"), NULL);

  hbox734 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox734);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (main_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (main_notebook), 2), hbox734);

  image65 = gtk_image_new_from_stock ("gtk-find", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image65);
  gtk_box_pack_start (GTK_BOX (hbox734), image65, TRUE, TRUE, 0);

  find_page = gtk_label_new (_("Find"));
  gtk_widget_show (find_page);
  gtk_box_pack_start (GTK_BOX (hbox734), find_page, FALSE, FALSE, 0);

  scrolledwindow35 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow35);
  gtk_container_add (GTK_CONTAINER (main_notebook), scrolledwindow35);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow35), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  viewport1 = gtk_viewport_new (NULL, NULL);
  gtk_widget_show (viewport1);
  gtk_container_add (GTK_CONTAINER (scrolledwindow35), viewport1);

  vbox4 = gtk_vbox_new (FALSE, 3);
  gtk_widget_show (vbox4);
  gtk_container_add (GTK_CONTAINER (viewport1), vbox4);
  gtk_container_set_border_width (GTK_CONTAINER (vbox4), 3);

  frame4 = gtk_frame_new (NULL);
  gtk_widget_show (frame4);
  gtk_box_pack_start (GTK_BOX (vbox4), frame4, FALSE, FALSE, 0);

  table12 = gtk_table_new (3, 2, FALSE);
  gtk_widget_show (table12);
  gtk_container_add (GTK_CONTAINER (frame4), table12);
  gtk_container_set_border_width (GTK_CONTAINER (table12), 3);
  gtk_table_set_row_spacings (GTK_TABLE (table12), 3);
  gtk_table_set_col_spacings (GTK_TABLE (table12), 3);

  hbox1 = gtk_hbox_new (FALSE, 3);
  gtk_widget_show (hbox1);
  gtk_table_attach (GTK_TABLE (table12), hbox1, 0, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox1), 3);

  size_checkbutton = gtk_check_button_new_with_mnemonic (_("Size should be"));
  gtk_widget_show (size_checkbutton);
  gtk_box_pack_start (GTK_BOX (hbox1), size_checkbutton, FALSE, FALSE, 0);

  combo2 = gtk_combo_new ();
  g_object_set_data (G_OBJECT (GTK_COMBO (combo2)->popwin),
                     "GladeParentKey", combo2);
  gtk_widget_show (combo2);
  gtk_box_pack_start (GTK_BOX (hbox1), combo2, FALSE, FALSE, 0);
  gtk_combo_set_value_in_list (GTK_COMBO (combo2), TRUE, FALSE);
  combo2_items = g_list_append (combo2_items, (gpointer) _("at least"));
  combo2_items = g_list_append (combo2_items, (gpointer) _("at most"));
  gtk_combo_set_popdown_strings (GTK_COMBO (combo2), combo2_items);
  g_list_free (combo2_items);

  sizetype_entry = GTK_COMBO (combo2)->entry;
  gtk_widget_show (sizetype_entry);
  gtk_editable_set_editable (GTK_EDITABLE (sizetype_entry), FALSE);

  size_entry = gtk_entry_new ();
  gtk_widget_show (size_entry);
  gtk_box_pack_start (GTK_BOX (hbox1), size_entry, TRUE, FALSE, 0);

  combo3 = gtk_combo_new ();
  g_object_set_data (G_OBJECT (GTK_COMBO (combo3)->popwin),
                     "GladeParentKey", combo3);
  gtk_widget_show (combo3);
  gtk_box_pack_start (GTK_BOX (hbox1), combo3, TRUE, FALSE, 0);
  gtk_combo_set_value_in_list (GTK_COMBO (combo3), TRUE, FALSE);
  combo3_items = g_list_append (combo3_items, (gpointer) _("Bytes"));
  combo3_items = g_list_append (combo3_items, (gpointer) _("KBytes"));
  combo3_items = g_list_append (combo3_items, (gpointer) _("MBytes"));
  combo3_items = g_list_append (combo3_items, (gpointer) _("GBytes"));
  gtk_combo_set_popdown_strings (GTK_COMBO (combo3), combo3_items);
  g_list_free (combo3_items);

  size_unit_entry = GTK_COMBO (combo3)->entry;
  gtk_widget_show (size_unit_entry);
  gtk_editable_set_editable (GTK_EDITABLE (size_unit_entry), FALSE);

  hbox2 = gtk_hbox_new (FALSE, 3);
  gtk_widget_show (hbox2);
  gtk_table_attach (GTK_TABLE (table12), hbox2, 0, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox2), 3);

  label70 = gtk_label_new (_("File type must be"));
  gtk_widget_show (label70);
  gtk_box_pack_start (GTK_BOX (hbox2), label70, FALSE, FALSE, 0);

  combo4 = gtk_combo_new ();
  g_object_set_data (G_OBJECT (GTK_COMBO (combo4)->popwin),
                     "GladeParentKey", combo4);
  gtk_widget_show (combo4);
  gtk_box_pack_start (GTK_BOX (hbox2), combo4, FALSE, FALSE, 0);
  gtk_combo_set_value_in_list (GTK_COMBO (combo4), TRUE, FALSE);
  combo4_items = g_list_append (combo4_items, (gpointer) _("any"));
  combo4_items = g_list_append (combo4_items, (gpointer) _("audio"));
  combo4_items = g_list_append (combo4_items, (gpointer) _("compressed"));
  combo4_items = g_list_append (combo4_items, (gpointer) _("document"));
  combo4_items = g_list_append (combo4_items, (gpointer) _("exe"));
  combo4_items = g_list_append (combo4_items, (gpointer) _("picture"));
  combo4_items = g_list_append (combo4_items, (gpointer) _("video"));
  combo4_items = g_list_append (combo4_items, (gpointer) _("folder"));
  gtk_combo_set_popdown_strings (GTK_COMBO (combo4), combo4_items);
  g_list_free (combo4_items);

  filetype_entry = GTK_COMBO (combo4)->entry;
  gtk_widget_show (filetype_entry);
  gtk_editable_set_editable (GTK_EDITABLE (filetype_entry), FALSE);

  label71 = gtk_label_new (_("or"));
  gtk_widget_show (label71);
  gtk_box_pack_start (GTK_BOX (hbox2), label71, FALSE, FALSE, 0);

  combo8 = gtk_combo_new ();
  g_object_set_data (G_OBJECT (GTK_COMBO (combo8)->popwin),
                     "GladeParentKey", combo8);
  gtk_widget_show (combo8);
  gtk_box_pack_start (GTK_BOX (hbox2), combo8, FALSE, FALSE, 0);
  gtk_combo_set_value_in_list (GTK_COMBO (combo8), TRUE, FALSE);
  combo8_items = g_list_append (combo8_items, (gpointer) _("nothing else"));
  combo8_items = g_list_append (combo8_items, (gpointer) _("any"));
  combo8_items = g_list_append (combo8_items, (gpointer) _("audio"));
  combo8_items = g_list_append (combo8_items, (gpointer) _("compressed"));
  combo8_items = g_list_append (combo8_items, (gpointer) _("document"));
  combo8_items = g_list_append (combo8_items, (gpointer) _("exe"));
  combo8_items = g_list_append (combo8_items, (gpointer) _("picture"));
  combo8_items = g_list_append (combo8_items, (gpointer) _("video"));
  combo8_items = g_list_append (combo8_items, (gpointer) _("folder"));
  gtk_combo_set_popdown_strings (GTK_COMBO (combo8), combo8_items);
  g_list_free (combo8_items);

  filetype_entry1 = GTK_COMBO (combo8)->entry;
  gtk_widget_show (filetype_entry1);
  gtk_editable_set_editable (GTK_EDITABLE (filetype_entry1), FALSE);

  postfiltering_checkbutton = gtk_check_button_new_with_mnemonic (_("Post-filter received search results"));
  gtk_widget_show (postfiltering_checkbutton);
  gtk_table_attach (GTK_TABLE (table12), postfiltering_checkbutton, 0, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 3, 0);
  gtk_tooltips_set_tip (tooltips, postfiltering_checkbutton, _("Sometimes, buggy clones return search results which do not match the search pattern you entered. When this option is enabled, dc_gui performs an additionnal filtering to keep only good results"), NULL);

  label259a = gtk_label_new (_("Search options"));
  gtk_widget_show (label259a);
  gtk_frame_set_label_widget (GTK_FRAME (frame4), label259a);
  gtk_label_set_justify (GTK_LABEL (label259a), GTK_JUSTIFY_LEFT);

  frame1 = gtk_frame_new (NULL);
  gtk_widget_show (frame1);
  gtk_box_pack_start (GTK_BOX (vbox4), frame1, FALSE, FALSE, 0);

  table8 = gtk_table_new (3, 3, FALSE);
  gtk_widget_show (table8);
  gtk_container_add (GTK_CONTAINER (frame1), table8);
  gtk_container_set_border_width (GTK_CONTAINER (table8), 3);
  gtk_table_set_row_spacings (GTK_TABLE (table8), 3);
  gtk_table_set_col_spacings (GTK_TABLE (table8), 3);

  label178 = gtk_label_new (_("GID:"));
  gtk_widget_show (label178);
  gtk_table_attach (GTK_TABLE (table8), label178, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label178), 1, 0.5);

  hbox18 = gtk_hbox_new (FALSE, 3);
  gtk_widget_show (hbox18);
  gtk_table_attach (GTK_TABLE (table8), hbox18, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  as_gid_label = gtk_label_new ("");
  gtk_widget_show (as_gid_label);
  gtk_box_pack_start (GTK_BOX (hbox18), as_gid_label, FALSE, FALSE, 0);

  as_fname_label = gtk_label_new ("");
  gtk_widget_show (as_fname_label);
  gtk_box_pack_start (GTK_BOX (hbox18), as_fname_label, TRUE, TRUE, 0);
  gtk_misc_set_alignment (GTK_MISC (as_fname_label), 0, 0.5);

  combo9 = gtk_combo_new ();
  g_object_set_data (G_OBJECT (GTK_COMBO (combo9)->popwin),
                     "GladeParentKey", combo9);
  gtk_widget_show (combo9);
  gtk_table_attach (GTK_TABLE (table8), combo9, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_combo_set_value_in_list (GTK_COMBO (combo9), TRUE, FALSE);
  combo9_items = g_list_append (combo9_items, (gpointer) _("any"));
  combo9_items = g_list_append (combo9_items, (gpointer) _("audio"));
  combo9_items = g_list_append (combo9_items, (gpointer) _("compressed"));
  combo9_items = g_list_append (combo9_items, (gpointer) _("document"));
  combo9_items = g_list_append (combo9_items, (gpointer) _("exe"));
  combo9_items = g_list_append (combo9_items, (gpointer) _("picture"));
  combo9_items = g_list_append (combo9_items, (gpointer) _("video"));
  combo9_items = g_list_append (combo9_items, (gpointer) _("folder"));
  gtk_combo_set_popdown_strings (GTK_COMBO (combo9), combo9_items);
  g_list_free (combo9_items);

  gdl_as_filetype_entry = GTK_COMBO (combo9)->entry;
  gtk_widget_show (gdl_as_filetype_entry);
  gtk_editable_set_editable (GTK_EDITABLE (gdl_as_filetype_entry), FALSE);

  label181 = gtk_label_new (_("File type:"));
  gtk_widget_show (label181);
  gtk_table_attach (GTK_TABLE (table8), label181, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label181), 1, 0.5);

  label182 = gtk_label_new (_("Pattern:"));
  gtk_widget_show (label182);
  gtk_table_attach (GTK_TABLE (table8), label182, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label182), 1, 0.5);

  add_as_to_gdl_button = gtk_button_new_with_mnemonic (_("Add this search pattern to the GDL"));
  gtk_widget_show (add_as_to_gdl_button);
  gtk_table_attach (GTK_TABLE (table8), add_as_to_gdl_button, 2, 3, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  gdl_as_pattern_entry = gtk_entry_new ();
  gtk_widget_show (gdl_as_pattern_entry);
  gtk_table_attach (GTK_TABLE (table8), gdl_as_pattern_entry, 1, 3, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label260a = gtk_label_new (_("GDL Autoscan configuration"));
  gtk_widget_show (label260a);
  gtk_frame_set_label_widget (GTK_FRAME (frame1), label260a);
  gtk_label_set_justify (GTK_LABEL (label260a), GTK_JUSTIFY_LEFT);

  frame15 = gtk_frame_new (NULL);
  gtk_widget_show (frame15);
  gtk_box_pack_start (GTK_BOX (vbox4), frame15, FALSE, FALSE, 0);

  table20 = gtk_table_new (2, 3, FALSE);
  gtk_widget_show (table20);
  gtk_container_add (GTK_CONTAINER (frame15), table20);
  gtk_container_set_border_width (GTK_CONTAINER (table20), 3);
  gtk_table_set_row_spacings (GTK_TABLE (table20), 3);
  gtk_table_set_col_spacings (GTK_TABLE (table20), 3);

  label282 = gtk_label_new (_("GID:"));
  gtk_widget_show (label282);
  gtk_table_attach (GTK_TABLE (table20), label282, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label282), 1, 0.5);

  label284 = gtk_label_new (_("New Filename:"));
  gtk_widget_show (label284);
  gtk_table_attach (GTK_TABLE (table20), label284, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label284), 0, 0.5);

  gdl_rename_filename_entry = gtk_entry_new ();
  gtk_widget_show (gdl_rename_filename_entry);
  gtk_table_attach (GTK_TABLE (table20), gdl_rename_filename_entry, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, gdl_rename_filename_entry, _("If you don't use an absolute path here, the relative path is expressed from Download directory. If you want to let the file in this directory, use \"./your filename\" syntax."), NULL);

  hbox704 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox704);
  gtk_table_attach (GTK_TABLE (table20), hbox704, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  gdl_rename_gid_label = gtk_label_new ("");
  gtk_widget_show (gdl_rename_gid_label);
  gtk_box_pack_start (GTK_BOX (hbox704), gdl_rename_gid_label, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (gdl_rename_gid_label), 0, 0.5);

  gdl_rename_fname_label = gtk_label_new ("");
  gtk_widget_show (gdl_rename_fname_label);
  gtk_box_pack_start (GTK_BOX (hbox704), gdl_rename_fname_label, TRUE, TRUE, 0);

  do_gdl_rename_button = gtk_button_new_with_mnemonic (_("Rename the GDL"));
  gtk_widget_show (do_gdl_rename_button);
  gtk_table_attach (GTK_TABLE (table20), do_gdl_rename_button, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  remove_current_gdl_rename_button = gtk_button_new_with_mnemonic (_("Remove GDL rename"));
  gtk_widget_show (remove_current_gdl_rename_button);
  gtk_table_attach (GTK_TABLE (table20), remove_current_gdl_rename_button, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label261 = gtk_label_new (_("GDL renaming"));
  gtk_widget_show (label261);
  gtk_frame_set_label_widget (GTK_FRAME (frame15), label261);
  gtk_label_set_justify (GTK_LABEL (label261), GTK_JUSTIFY_LEFT);

  frame16 = gtk_frame_new (NULL);
  gtk_widget_show (frame16);
  gtk_box_pack_start (GTK_BOX (vbox4), frame16, FALSE, TRUE, 0);

  table22 = gtk_table_new (2, 3, FALSE);
  gtk_widget_show (table22);
  gtk_container_add (GTK_CONTAINER (frame16), table22);
  gtk_container_set_border_width (GTK_CONTAINER (table22), 3);
  gtk_table_set_row_spacings (GTK_TABLE (table22), 3);
  gtk_table_set_col_spacings (GTK_TABLE (table22), 3);

  label301 = gtk_label_new (_("GID:"));
  gtk_widget_show (label301);
  gtk_table_attach (GTK_TABLE (table22), label301, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label301), 1, 0.5);

  label302 = gtk_label_new (_("program name:"));
  gtk_widget_show (label302);
  gtk_table_attach (GTK_TABLE (table22), label302, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label302), 0, 0.5);

  gdl_endname_filename_entry = gtk_entry_new ();
  gtk_widget_show (gdl_endname_filename_entry);
  gtk_table_attach (GTK_TABLE (table22), gdl_endname_filename_entry, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, gdl_endname_filename_entry, _("If you don't use an absolute path here, the relative path is expressed from Download directory. If you want to let the file in this directory, use \"./your filename\" syntax."), NULL);

  hbox706 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox706);
  gtk_table_attach (GTK_TABLE (table22), hbox706, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  gdl_script_gid_label = gtk_label_new ("");
  gtk_widget_show (gdl_script_gid_label);
  gtk_box_pack_start (GTK_BOX (hbox706), gdl_script_gid_label, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (gdl_script_gid_label), 0, 0.5);

  gdl_script_fname_label = gtk_label_new ("");
  gtk_widget_show (gdl_script_fname_label);
  gtk_box_pack_start (GTK_BOX (hbox706), gdl_script_fname_label, TRUE, TRUE, 0);

  do_gdl_script_button = gtk_button_new_with_mnemonic (_("Set the program to the GDL"));
  gtk_widget_show (do_gdl_script_button);
  gtk_table_attach (GTK_TABLE (table22), do_gdl_script_button, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  remove_current_gdl_script_button = gtk_button_new_with_mnemonic (_("Remove GDL end program"));
  gtk_widget_show (remove_current_gdl_script_button);
  gtk_table_attach (GTK_TABLE (table22), remove_current_gdl_script_button, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label285a = gtk_label_new (_("GDL end program"));
  gtk_widget_show (label285a);
  gtk_frame_set_label_widget (GTK_FRAME (frame16), label285a);
  gtk_label_set_justify (GTK_LABEL (label285a), GTK_JUSTIFY_LEFT);

  find_config = gtk_label_new (_("Find & GDL Config"));
  gtk_widget_show (find_config);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (main_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (main_notebook), 3), find_config);

  hpaned4 = gtk_hpaned_new ();
  gtk_widget_show (hpaned4);
  gtk_container_add (GTK_CONTAINER (main_notebook), hpaned4);

  vbox27 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox27);
  gtk_paned_pack1 (GTK_PANED (hpaned4), vbox27, FALSE, TRUE);

  scrolledwindow30 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow30);
  gtk_box_pack_start (GTK_BOX (vbox27), scrolledwindow30, TRUE, TRUE, 0);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow30, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow30), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow30), GTK_SHADOW_IN);

  user_file_list_clist = gtk_tree_view_new ();
  gtk_widget_show (user_file_list_clist);
  gtk_container_add (GTK_CONTAINER (scrolledwindow30), user_file_list_clist);

  hbox11 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox11);
  gtk_box_pack_start (GTK_BOX (vbox27), hbox11, FALSE, TRUE, 0);

  clear_user_file_list = gtk_button_new ();
  gtk_widget_show (clear_user_file_list);
  gtk_box_pack_start (GTK_BOX (hbox11), clear_user_file_list, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (clear_user_file_list), 3);

  pixmap10 = gtk_image_new_from_stock ("gtk-close", GTK_ICON_SIZE_SMALL_TOOLBAR);
  gtk_widget_show (pixmap10);
  gtk_container_add (GTK_CONTAINER (clear_user_file_list), pixmap10);

  label293 = gtk_label_new (_("Search:"));
  gtk_widget_show (label293);
  gtk_box_pack_start (GTK_BOX (hbox11), label293, FALSE, FALSE, 0);

  user_file_list_search_entry = gtk_entry_new ();
  gtk_widget_show (user_file_list_search_entry);
  gtk_box_pack_start (GTK_BOX (hbox11), user_file_list_search_entry, TRUE, TRUE, 0);

  user_file_list_search_button = gtk_button_new_from_stock ("gtk-find");
  gtk_widget_show (user_file_list_search_button);
  gtk_box_pack_start (GTK_BOX (hbox11), user_file_list_search_button, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (user_file_list_search_button), 3);

  user_file_list_find_previous_button = gtk_button_new_from_stock ("gtk-go-back");
  gtk_widget_show (user_file_list_find_previous_button);
  gtk_box_pack_start (GTK_BOX (hbox11), user_file_list_find_previous_button, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (user_file_list_find_previous_button), 3);

  user_file_list_find_next_button = gtk_button_new_from_stock ("gtk-go-forward");
  gtk_widget_show (user_file_list_find_next_button);
  gtk_box_pack_start (GTK_BOX (hbox11), user_file_list_find_next_button, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (user_file_list_find_next_button), 3);

  user_file_list_search_as_directory_checkbutton = gtk_check_button_new_with_mnemonic (_("as directory"));
  gtk_widget_show (user_file_list_search_as_directory_checkbutton);
  gtk_box_pack_start (GTK_BOX (hbox11), user_file_list_search_as_directory_checkbutton, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (user_file_list_search_as_directory_checkbutton), 3);
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (user_file_list_search_as_directory_checkbutton), TRUE);

  user_file_list_search_as_file_checkbutton = gtk_check_button_new_with_mnemonic (_("as file"));
  gtk_widget_show (user_file_list_search_as_file_checkbutton);
  gtk_box_pack_start (GTK_BOX (hbox11), user_file_list_search_as_file_checkbutton, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (user_file_list_search_as_file_checkbutton), 3);
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (user_file_list_search_as_file_checkbutton), TRUE);

  cached_user_list_vbox = gtk_vbox_new (FALSE, 3);
  gtk_widget_show (cached_user_list_vbox);
  gtk_paned_pack2 (GTK_PANED (hpaned4), cached_user_list_vbox, TRUE, TRUE);
  gtk_container_set_border_width (GTK_CONTAINER (cached_user_list_vbox), 3);

  label279 = gtk_label_new (_("Cached user share list"));
  gtk_widget_show (label279);
  gtk_box_pack_start (GTK_BOX (cached_user_list_vbox), label279, FALSE, FALSE, 0);

  scrolledwindow32 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow32);
  gtk_box_pack_start (GTK_BOX (cached_user_list_vbox), scrolledwindow32, TRUE, TRUE, 0);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow32, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow32), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow32), GTK_SHADOW_IN);

  cached_user_list_clist = gtk_tree_view_new ();
  gtk_widget_show (cached_user_list_clist);
  gtk_container_add (GTK_CONTAINER (scrolledwindow32), cached_user_list_clist);

  hbox701 = gtk_hbox_new (FALSE, 3);
  gtk_widget_show (hbox701);
  gtk_box_pack_start (GTK_BOX (cached_user_list_vbox), hbox701, FALSE, FALSE, 0);

  reload_cached_user_list = gtk_button_new ();
  gtk_widget_show (reload_cached_user_list);
  gtk_box_pack_start (GTK_BOX (hbox701), reload_cached_user_list, FALSE, TRUE, 0);

  pixmap4 = gtk_image_new_from_stock ("gtk-refresh", GTK_ICON_SIZE_SMALL_TOOLBAR);
  gtk_widget_show (pixmap4);
  gtk_container_add (GTK_CONTAINER (reload_cached_user_list), pixmap4);

  load_selected_share_lists_button = gtk_button_new_from_stock ("gtk-open");
  gtk_widget_show (load_selected_share_lists_button);
  gtk_box_pack_start (GTK_BOX (hbox701), load_selected_share_lists_button, FALSE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, load_selected_share_lists_button, _("Load selected lists"), NULL);

  delete_selected_share_lists_button = gtk_button_new ();
  gtk_widget_show (delete_selected_share_lists_button);
  gtk_box_pack_start (GTK_BOX (hbox701), delete_selected_share_lists_button, FALSE, TRUE, 0);

  pixmap5 = gtk_image_new_from_stock ("gtk-delete", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (pixmap5);
  gtk_container_add (GTK_CONTAINER (delete_selected_share_lists_button), pixmap5);

  user_file_list_page = gtk_label_new (_("User file list"));
  gtk_widget_show (user_file_list_page);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (main_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (main_notebook), 4), user_file_list_page);

  scrolledwindow36 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow36);
  gtk_container_add (GTK_CONTAINER (main_notebook), scrolledwindow36);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow36), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  viewport2 = gtk_viewport_new (NULL, NULL);
  gtk_widget_show (viewport2);
  gtk_container_add (GTK_CONTAINER (scrolledwindow36), viewport2);

  vbox21 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox21);
  gtk_container_add (GTK_CONTAINER (viewport2), vbox21);

  user_pref_notebook = gtk_notebook_new ();
  gtk_widget_show (user_pref_notebook);
  gtk_box_pack_start (GTK_BOX (vbox21), user_pref_notebook, TRUE, TRUE, 0);
  gtk_notebook_set_tab_pos (GTK_NOTEBOOK (user_pref_notebook), GTK_POS_LEFT);

  table4 = gtk_table_new (7, 2, FALSE);
  gtk_widget_show (table4);
  gtk_container_add (GTK_CONTAINER (user_pref_notebook), table4);
  gtk_container_set_border_width (GTK_CONTAINER (table4), 5);
  gtk_table_set_row_spacings (GTK_TABLE (table4), 5);
  gtk_table_set_col_spacings (GTK_TABLE (table4), 5);

  passive_mode_radio_button = gtk_radio_button_new_with_mnemonic (NULL, _("Passive mode"));
  gtk_widget_show (passive_mode_radio_button);
  gtk_table_attach (GTK_TABLE (table4), passive_mode_radio_button, 0, 1, 4, 5,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (passive_mode_radio_button), passive_mode_radio_button_group);
  passive_mode_radio_button_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (passive_mode_radio_button));

  label126 = gtk_label_new (_("Multi-hub search and connection to user in passive mode are not possible in this mode"));
  gtk_widget_show (label126);
  gtk_table_attach (GTK_TABLE (table4), label126, 1, 2, 4, 5,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_label_set_line_wrap (GTK_LABEL (label126), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label126), 0, 0.5);

  table5 = gtk_table_new (3, 2, FALSE);
  gtk_widget_show (table5);
  gtk_table_attach (GTK_TABLE (table4), table5, 1, 2, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_container_set_border_width (GTK_CONTAINER (table5), 3);
  gtk_table_set_row_spacings (GTK_TABLE (table5), 3);
  gtk_table_set_col_spacings (GTK_TABLE (table5), 3);

  incoming_port_number_entry = gtk_entry_new ();
  gtk_widget_show (incoming_port_number_entry);
  gtk_table_attach (GTK_TABLE (table5), incoming_port_number_entry, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, incoming_port_number_entry, _("Be careful: value below 1024 are reserved ports and can be used only by privileged users"), NULL);
  gtk_entry_set_text (GTK_ENTRY (incoming_port_number_entry), _("412"));

  xfer_host_ip_entry = gtk_entry_new ();
  gtk_widget_show (xfer_host_ip_entry);
  gtk_table_attach (GTK_TABLE (table5), xfer_host_ip_entry, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, xfer_host_ip_entry, _("If this field is empty, the client will find itself the default IP. If you want to provide a value, you can either use an IP or an interface name (eth0, ppp0, ...). If you use a volatile interface (like pppX), be sure to also check the dynamic IP button"), NULL);

  label127 = gtk_label_new (_("Accept connection on port: "));
  gtk_widget_show (label127);
  gtk_table_attach (GTK_TABLE (table5), label127, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_label_set_line_wrap (GTK_LABEL (label127), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label127), 1, 0.5);

  hbox16 = gtk_hbox_new (FALSE, 16);
  gtk_widget_show (hbox16);
  gtk_table_attach (GTK_TABLE (table5), hbox16, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_SHRINK | GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  label173 = gtk_label_new (_("IP (or hostname) to use for transfers"));
  gtk_widget_show (label173);
  gtk_box_pack_start (GTK_BOX (hbox16), label173, FALSE, FALSE, 0);

  ignore_ipcheckbutton = gtk_check_button_new_with_mnemonic (_("ignore IP"));
  gtk_widget_show (ignore_ipcheckbutton);
  gtk_box_pack_start (GTK_BOX (hbox16), ignore_ipcheckbutton, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, ignore_ipcheckbutton, _("except if you really want, let DCTC deal with IP, you will avoid problem, especially if you have a dynamic IP"), NULL);
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (ignore_ipcheckbutton), TRUE);

  dynipcheckbutton = gtk_check_button_new_with_mnemonic (_("Dynamic IP"));
  gtk_widget_show (dynipcheckbutton);
  gtk_box_pack_start (GTK_BOX (hbox16), dynipcheckbutton, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, dynipcheckbutton, _("If you have a dynamic IP which can change while DCTC runs, check this option. Note: This option requires \"ignore IP\" to be enabled"), NULL);

  label356 = gtk_label_new (_("Currently used IP: "));
  gtk_widget_show (label356);
  gtk_table_attach (GTK_TABLE (table5), label356, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_label_set_justify (GTK_LABEL (label356), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (label356), 1, 0.5);

  curhostip_var_label = gtk_label_new (_("curhostip"));
  gtk_widget_show (curhostip_var_label);
  gtk_table_attach (GTK_TABLE (table5), curhostip_var_label, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_label_set_justify (GTK_LABEL (curhostip_var_label), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (curhostip_var_label), 0, 0.5);

  active_mode_radio_button = gtk_radio_button_new_with_mnemonic (NULL, _("Active mode"));
  gtk_widget_show (active_mode_radio_button);
  gtk_table_attach (GTK_TABLE (table4), active_mode_radio_button, 0, 1, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (active_mode_radio_button), passive_mode_radio_button_group);
  passive_mode_radio_button_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (active_mode_radio_button));
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (active_mode_radio_button), TRUE);

  hseparator2 = gtk_hseparator_new ();
  gtk_widget_show (hseparator2);
  gtk_table_attach (GTK_TABLE (table4), hseparator2, 0, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  hbox31 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox31);
  gtk_table_attach (GTK_TABLE (table4), hbox31, 0, 2, 1, 2,
                    (GtkAttachOptions) (GTK_SHRINK | GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  enable_upload_checkbutton = gtk_check_button_new_with_mnemonic (_("Enable uploads"));
  gtk_widget_show (enable_upload_checkbutton);
  gtk_box_pack_start (GTK_BOX (hbox31), enable_upload_checkbutton, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, enable_upload_checkbutton, _("If this option is unchecked, remote users cannot downloads your files"), NULL);
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (enable_upload_checkbutton), TRUE);

  label125 = gtk_label_new (_("Simultaneous Uploads"));
  gtk_widget_show (label125);
  gtk_box_pack_start (GTK_BOX (hbox31), label125, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label125), 0, 0.5);

  sim_dl_hscale = gtk_hscale_new (GTK_ADJUSTMENT (gtk_adjustment_new (3, 0, 20, 1, 1, 5)));
  gtk_widget_show (sim_dl_hscale);
  gtk_box_pack_start (GTK_BOX (hbox31), sim_dl_hscale, TRUE, TRUE, 0);
  gtk_scale_set_digits (GTK_SCALE (sim_dl_hscale), 0);

  hidden_shared_dir_entry = gtk_entry_new ();
  gtk_box_pack_start (GTK_BOX (hbox31), hidden_shared_dir_entry, FALSE, FALSE, 0);
  gtk_widget_set_sensitive (hidden_shared_dir_entry, FALSE);
  gtk_editable_set_editable (GTK_EDITABLE (hidden_shared_dir_entry), FALSE);

  table10 = gtk_table_new (2, 4, FALSE);
  gtk_widget_show (table10);
  gtk_table_attach (GTK_TABLE (table4), table10, 0, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table10), 5);
  gtk_table_set_col_spacings (GTK_TABLE (table10), 5);

  label123 = gtk_label_new (_("Nickname"));
  gtk_widget_show (label123);
  gtk_table_attach (GTK_TABLE (table10), label123, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label123), 0, 0.5);

  label129 = gtk_label_new (_("E-mail"));
  gtk_widget_show (label129);
  gtk_table_attach (GTK_TABLE (table10), label129, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label129), 0, 0.5);

  label130 = gtk_label_new (_("Description"));
  gtk_widget_show (label130);
  gtk_table_attach (GTK_TABLE (table10), label130, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label130), 0, 0.5);

  label124 = gtk_label_new (_("Connection type"));
  gtk_widget_show (label124);
  gtk_table_attach (GTK_TABLE (table10), label124, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label124), 0, 0.5);

  combo6 = gtk_combo_new ();
  g_object_set_data (G_OBJECT (GTK_COMBO (combo6)->popwin),
                     "GladeParentKey", combo6);
  gtk_widget_show (combo6);
  gtk_table_attach (GTK_TABLE (table10), combo6, 3, 4, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_combo_set_value_in_list (GTK_COMBO (combo6), TRUE, FALSE);
  combo6_items = g_list_append (combo6_items, (gpointer) _("28.8Kbps"));
  combo6_items = g_list_append (combo6_items, (gpointer) _("33.6Kbps"));
  combo6_items = g_list_append (combo6_items, (gpointer) _("56Kbps"));
  combo6_items = g_list_append (combo6_items, (gpointer) _("Satellite"));
  combo6_items = g_list_append (combo6_items, (gpointer) _("ISDN"));
  combo6_items = g_list_append (combo6_items, (gpointer) _("DSL"));
  combo6_items = g_list_append (combo6_items, (gpointer) _("Cable"));
  combo6_items = g_list_append (combo6_items, (gpointer) _("LAN(T1)"));
  combo6_items = g_list_append (combo6_items, (gpointer) _("LAN(T3)"));
  gtk_combo_set_popdown_strings (GTK_COMBO (combo6), combo6_items);
  g_list_free (combo6_items);

  cnx_type_entry = GTK_COMBO (combo6)->entry;
  gtk_widget_show (cnx_type_entry);
  gtk_editable_set_editable (GTK_EDITABLE (cnx_type_entry), FALSE);

  user_description_entry = gtk_entry_new ();
  gtk_widget_show (user_description_entry);
  gtk_table_attach (GTK_TABLE (table10), user_description_entry, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, user_description_entry, _("you can use this field empty if you want"), NULL);

  nickname_entry = gtk_entry_new ();
  gtk_widget_show (nickname_entry);
  gtk_table_attach (GTK_TABLE (table10), nickname_entry, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  e_mail_entry = gtk_entry_new ();
  gtk_widget_show (e_mail_entry);
  gtk_table_attach (GTK_TABLE (table10), e_mail_entry, 3, 4, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, e_mail_entry, _("you can let this field empty if you want"), NULL);

  frame3 = gtk_frame_new (NULL);
  gtk_widget_show (frame3);
  gtk_table_attach (GTK_TABLE (table4), frame3, 0, 2, 5, 6,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  table11 = gtk_table_new (2, 5, FALSE);
  gtk_widget_show (table11);
  gtk_container_add (GTK_CONTAINER (frame3), table11);
  gtk_container_set_border_width (GTK_CONTAINER (table11), 3);
  gtk_table_set_row_spacings (GTK_TABLE (table11), 5);
  gtk_table_set_col_spacings (GTK_TABLE (table11), 5);

  label189 = gtk_label_new (_("proxy port"));
  gtk_widget_show (label189);
  gtk_table_attach (GTK_TABLE (table11), label189, 3, 4, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label189), 0, 0.5);

  label285 = gtk_label_new (_("user password"));
  gtk_widget_show (label285);
  gtk_table_attach (GTK_TABLE (table11), label285, 3, 4, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label285), 0, 0.5);

  label188 = gtk_label_new (_("proxy address"));
  gtk_widget_show (label188);
  gtk_table_attach (GTK_TABLE (table11), label188, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label188), 0, 0.5);

  label190 = gtk_label_new (_("user ID"));
  gtk_widget_show (label190);
  gtk_table_attach (GTK_TABLE (table11), label190, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label190), 0, 0.5);

  label286 = gtk_label_new (_("Proxy type"));
  gtk_widget_show (label286);
  gtk_table_attach (GTK_TABLE (table11), label286, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label286), 0, 0.5);

  combo14 = gtk_combo_new ();
  g_object_set_data (G_OBJECT (GTK_COMBO (combo14)->popwin),
                     "GladeParentKey", combo14);
  gtk_widget_show (combo14);
  gtk_table_attach (GTK_TABLE (table11), combo14, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_combo_set_value_in_list (GTK_COMBO (combo14), TRUE, FALSE);
  combo14_items = g_list_append (combo14_items, (gpointer) _("Web proxy"));
  combo14_items = g_list_append (combo14_items, (gpointer) _("SOCKS v4"));
  combo14_items = g_list_append (combo14_items, (gpointer) _("SOCKS v5"));
  gtk_combo_set_popdown_strings (GTK_COMBO (combo14), combo14_items);
  g_list_free (combo14_items);

  socks_proxy_version_combo_entry = GTK_COMBO (combo14)->entry;
  gtk_widget_show (socks_proxy_version_combo_entry);
  gtk_editable_set_editable (GTK_EDITABLE (socks_proxy_version_combo_entry), FALSE);

  socks_address_entry = gtk_entry_new ();
  gtk_widget_show (socks_address_entry);
  gtk_table_attach (GTK_TABLE (table11), socks_address_entry, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, socks_address_entry, _("If you can access network only through a SOCKS/Web proxy, put the address of this proxy here. If you use a proxy, you cannot enable \"active mode\""), NULL);

  socks_port_entry = gtk_entry_new ();
  gtk_widget_show (socks_port_entry);
  gtk_table_attach (GTK_TABLE (table11), socks_port_entry, 4, 5, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, socks_port_entry, _("Put here the port to use to connect to the proxy server. Default SOCKS port is 1080. Default Web port is 8080"), NULL);

  socks_user_passwd_entry = gtk_entry_new ();
  gtk_widget_show (socks_user_passwd_entry);
  gtk_table_attach (GTK_TABLE (table11), socks_user_passwd_entry, 4, 5, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, socks_user_passwd_entry, _("If the SOCKS/web proxy you use requires a user password, fill this field. Note: SOCKSv4 does not support password"), NULL);

  socks_userid_entry = gtk_entry_new ();
  gtk_widget_show (socks_userid_entry);
  gtk_table_attach (GTK_TABLE (table11), socks_userid_entry, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, socks_userid_entry, _("If the SOCKS/web proxy you use requires a user ID, fill this field"), NULL);

  label303a = gtk_label_new (_("Proxy parameters"));
  gtk_widget_show (label303a);
  gtk_frame_set_label_widget (GTK_FRAME (frame3), label303a);
  gtk_label_set_justify (GTK_LABEL (label303a), GTK_JUSTIFY_LEFT);

  frame6 = gtk_frame_new (NULL);
  gtk_widget_show (frame6);
  gtk_table_attach (GTK_TABLE (table4), frame6, 0, 2, 6, 7,
                    (GtkAttachOptions) (GTK_SHRINK | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  hbox32 = gtk_hbox_new (FALSE, 5);
  gtk_widget_show (hbox32);
  gtk_container_add (GTK_CONTAINER (frame6), hbox32);
  gtk_container_set_border_width (GTK_CONTAINER (hbox32), 3);

  hublist_cnx_type_combo = gtk_combo_new ();
  g_object_set_data (G_OBJECT (GTK_COMBO (hublist_cnx_type_combo)->popwin),
                     "GladeParentKey", hublist_cnx_type_combo);
  gtk_widget_show (hublist_cnx_type_combo);
  gtk_box_pack_start (GTK_BOX (hbox32), hublist_cnx_type_combo, FALSE, FALSE, 0);
  gtk_combo_set_value_in_list (GTK_COMBO (hublist_cnx_type_combo), TRUE, FALSE);
  hublist_cnx_type_combo_items = g_list_append (hublist_cnx_type_combo_items, (gpointer) _("No proxy needed"));
  hublist_cnx_type_combo_items = g_list_append (hublist_cnx_type_combo_items, (gpointer) _("Use SOCKS parameters"));
  hublist_cnx_type_combo_items = g_list_append (hublist_cnx_type_combo_items, (gpointer) _("Use Web proxy"));
  gtk_combo_set_popdown_strings (GTK_COMBO (hublist_cnx_type_combo), hublist_cnx_type_combo_items);
  g_list_free (hublist_cnx_type_combo_items);

  hublist_cnxtype_entry = GTK_COMBO (hublist_cnx_type_combo)->entry;
  gtk_widget_show (hublist_cnxtype_entry);

  label206 = gtk_label_new (_("Proxy - Host:"));
  gtk_widget_show (label206);
  gtk_box_pack_start (GTK_BOX (hbox32), label206, FALSE, FALSE, 0);

  web_proxy_host_entry = gtk_entry_new ();
  gtk_widget_show (web_proxy_host_entry);
  gtk_box_pack_start (GTK_BOX (hbox32), web_proxy_host_entry, TRUE, FALSE, 0);

  label207 = gtk_label_new (_("port:"));
  gtk_widget_show (label207);
  gtk_box_pack_start (GTK_BOX (hbox32), label207, FALSE, FALSE, 0);

  web_proxy_port_entry = gtk_entry_new ();
  gtk_widget_show (web_proxy_port_entry);
  gtk_box_pack_start (GTK_BOX (hbox32), web_proxy_port_entry, FALSE, FALSE, 0);

  label304 = gtk_label_new (_("Hublist Parameters"));
  gtk_widget_show (label304);
  gtk_frame_set_label_widget (GTK_FRAME (frame6), label304);
  gtk_label_set_justify (GTK_LABEL (label304), GTK_JUSTIFY_LEFT);

  label131 = gtk_label_new (_("Identity & connection"));
  gtk_widget_show (label131);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (user_pref_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (user_pref_notebook), 0), label131);

  table6 = gtk_table_new (4, 2, FALSE);
  gtk_widget_show (table6);
  gtk_container_add (GTK_CONTAINER (user_pref_notebook), table6);
  gtk_container_set_border_width (GTK_CONTAINER (table6), 5);
  gtk_table_set_row_spacings (GTK_TABLE (table6), 5);
  gtk_table_set_col_spacings (GTK_TABLE (table6), 5);

  label257 = gtk_label_new (_("Virtual Share Directory"));
  gtk_widget_show (label257);
  gtk_table_attach (GTK_TABLE (table6), label257, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label257), 0, 0.5);

  label134 = gtk_label_new (_("Size offset"));
  gtk_widget_show (label134);
  gtk_table_attach (GTK_TABLE (table6), label134, 0, 1, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label134), 0, 0.5);

  label132 = gtk_label_new (_("Download Directory"));
  gtk_widget_show (label132);
  gtk_table_attach (GTK_TABLE (table6), label132, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label132), 0, 0.5);

  label133 = gtk_label_new (_("Shared Directories"));
  gtk_widget_show (label133);
  gtk_table_attach (GTK_TABLE (table6), label133, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label133), 0, 0.5);

  hbox710 = gtk_hbox_new (FALSE, 5);
  gtk_widget_show (hbox710);
  gtk_table_attach (GTK_TABLE (table6), hbox710, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_SHRINK | GTK_FILL), 0, 0);

  scrolledwindow22 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow22);
  gtk_box_pack_start (GTK_BOX (hbox710), scrolledwindow22, TRUE, TRUE, 0);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow22, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow22), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow22), GTK_SHADOW_IN);

  shared_dir_clist = gtk_tree_view_new ();
  gtk_widget_show (shared_dir_clist);
  gtk_container_add (GTK_CONTAINER (scrolledwindow22), shared_dir_clist);

  vbox22 = gtk_vbox_new (FALSE, 4);
  gtk_widget_show (vbox22);
  gtk_box_pack_start (GTK_BOX (hbox710), vbox22, FALSE, TRUE, 0);

  add_shared_dir_button = gtk_button_new ();
  gtk_widget_show (add_shared_dir_button);
  gtk_box_pack_start (GTK_BOX (vbox22), add_shared_dir_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, add_shared_dir_button, _("Add directory to the share list"), NULL);

  pixmap12 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_SMALL_TOOLBAR);
  gtk_widget_show (pixmap12);
  gtk_container_add (GTK_CONTAINER (add_shared_dir_button), pixmap12);

  remove_shared_dir_button = gtk_button_new ();
  gtk_widget_show (remove_shared_dir_button);
  gtk_box_pack_start (GTK_BOX (vbox22), remove_shared_dir_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, remove_shared_dir_button, _("Remove selected directories from the share list"), NULL);

  pixmap13 = gtk_image_new_from_stock ("gtk-remove", GTK_ICON_SIZE_SMALL_TOOLBAR);
  gtk_widget_show (pixmap13);
  gtk_container_add (GTK_CONTAINER (remove_shared_dir_button), pixmap13);

  hbox709 = gtk_hbox_new (FALSE, 5);
  gtk_widget_show (hbox709);
  gtk_table_attach (GTK_TABLE (table6), hbox709, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  dl_dir_entry = gtk_entry_new ();
  gtk_widget_show (dl_dir_entry);
  gtk_box_pack_start (GTK_BOX (hbox709), dl_dir_entry, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, dl_dir_entry, _("Modifying the download directory of a running client is a VERY bad idea. Still downloaded parts are lost if the download is interrupted"), NULL);

  do_browse_dl_dir_button = gtk_button_new_from_stock ("gtk-open");
  gtk_widget_show (do_browse_dl_dir_button);
  gtk_box_pack_start (GTK_BOX (hbox709), do_browse_dl_dir_button, FALSE, FALSE, 0);

  hbox707 = gtk_hbox_new (FALSE, 5);
  gtk_widget_show (hbox707);
  gtk_table_attach (GTK_TABLE (table6), hbox707, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  vshare_dir_entry = gtk_entry_new ();
  gtk_widget_show (vshare_dir_entry);
  gtk_box_pack_start (GTK_BOX (hbox707), vshare_dir_entry, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, vshare_dir_entry, _("Modify the directory containing lists of virtually shared files"), NULL);

  do_browse_vshare_dir_button = gtk_button_new_from_stock ("gtk-open");
  gtk_widget_show (do_browse_vshare_dir_button);
  gtk_box_pack_start (GTK_BOX (hbox707), do_browse_vshare_dir_button, FALSE, FALSE, 0);

  hbox708 = gtk_hbox_new (FALSE, 5);
  gtk_widget_show (hbox708);
  gtk_table_attach (GTK_TABLE (table6), hbox708, 1, 2, 3, 4,
                    (GtkAttachOptions) (GTK_SHRINK | GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  size_offset_entry = gtk_entry_new ();
  gtk_widget_show (size_offset_entry);
  gtk_box_pack_start (GTK_BOX (hbox708), size_offset_entry, TRUE, TRUE, 0);

  combo7 = gtk_combo_new ();
  g_object_set_data (G_OBJECT (GTK_COMBO (combo7)->popwin),
                     "GladeParentKey", combo7);
  gtk_widget_show (combo7);
  gtk_box_pack_start (GTK_BOX (hbox708), combo7, FALSE, FALSE, 0);
  gtk_combo_set_value_in_list (GTK_COMBO (combo7), TRUE, FALSE);
  combo7_items = g_list_append (combo7_items, (gpointer) _("Bytes"));
  combo7_items = g_list_append (combo7_items, (gpointer) _("KBytes"));
  combo7_items = g_list_append (combo7_items, (gpointer) _("MBytes"));
  combo7_items = g_list_append (combo7_items, (gpointer) _("GBytes"));
  gtk_combo_set_popdown_strings (GTK_COMBO (combo7), combo7_items);
  g_list_free (combo7_items);

  size_offset_unit_entry = GTK_COMBO (combo7)->entry;
  gtk_widget_show (size_offset_unit_entry);

  label135 = gtk_label_new (_("Shares"));
  gtk_widget_show (label135);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (user_pref_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (user_pref_notebook), 1), label135);

  vbox33 = gtk_vbox_new (FALSE, 3);
  gtk_widget_show (vbox33);
  gtk_container_add (GTK_CONTAINER (user_pref_notebook), vbox33);
  gtk_container_set_border_width (GTK_CONTAINER (vbox33), 4);

  hbox29 = gtk_hbox_new (FALSE, 5);
  gtk_widget_show (hbox29);
  gtk_box_pack_start (GTK_BOX (vbox33), hbox29, FALSE, FALSE, 0);

  label205 = gtk_label_new (_("DCTC version:"));
  gtk_widget_show (label205);
  gtk_box_pack_start (GTK_BOX (hbox29), label205, FALSE, FALSE, 0);

  dctc_version_label = gtk_label_new (_("xxx.xxx.xxx"));
  gtk_widget_show (dctc_version_label);
  gtk_box_pack_start (GTK_BOX (hbox29), dctc_version_label, FALSE, FALSE, 0);

  hbox23 = gtk_hbox_new (FALSE, 5);
  gtk_widget_show (hbox23);
  gtk_box_pack_start (GTK_BOX (vbox33), hbox23, FALSE, FALSE, 0);

  override_version_checkbutton = gtk_check_button_new_with_mnemonic (_("Force version number"));
  gtk_widget_show (override_version_checkbutton);
  gtk_box_pack_start (GTK_BOX (hbox23), override_version_checkbutton, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, override_version_checkbutton, _("Doesn't report your true protocol version to the hub. This feature is only useful in rare cases. Use it at your own risk. This version number can only be set when starting a new client."), NULL);

  version_number_entry = gtk_entry_new ();
  gtk_widget_show (version_number_entry);
  gtk_box_pack_start (GTK_BOX (hbox23), version_number_entry, TRUE, TRUE, 0);

  hbox24 = gtk_hbox_new (FALSE, 5);
  gtk_widget_show (hbox24);
  gtk_box_pack_start (GTK_BOX (vbox33), hbox24, FALSE, TRUE, 0);

  label157 = gtk_label_new (_("Delay before hub reconnection\n(in seconds)"));
  gtk_widget_show (label157);
  gtk_box_pack_start (GTK_BOX (hbox24), label157, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label157), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (label157), 0, 0.5);

  reconnect_delay_scale = gtk_hscale_new (GTK_ADJUSTMENT (gtk_adjustment_new (30, 30, 1800, 1, 10, 100)));
  gtk_widget_show (reconnect_delay_scale);
  gtk_box_pack_start (GTK_BOX (hbox24), reconnect_delay_scale, TRUE, TRUE, 0);
  gtk_scale_set_digits (GTK_SCALE (reconnect_delay_scale), 0);

  hbox25 = gtk_hbox_new (FALSE, 5);
  gtk_widget_show (hbox25);
  gtk_box_pack_start (GTK_BOX (vbox33), hbox25, FALSE, FALSE, 0);

  label158 = gtk_label_new (_("Delay between 2 rebuilding of\nshared file database (in minutes)"));
  gtk_widget_show (label158);
  gtk_box_pack_start (GTK_BOX (hbox25), label158, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label158), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (label158), 0, 0.5);

  rebuild_delay_scale = gtk_hscale_new (GTK_ADJUSTMENT (gtk_adjustment_new (0, 0, 1440, 1, 60, 60)));
  gtk_widget_show (rebuild_delay_scale);
  gtk_box_pack_start (GTK_BOX (hbox25), rebuild_delay_scale, TRUE, TRUE, 0);
  gtk_scale_set_digits (GTK_SCALE (rebuild_delay_scale), 0);

  hbox711 = gtk_hbox_new (FALSE, 3);
  gtk_widget_show (hbox711);
  gtk_box_pack_start (GTK_BOX (vbox33), hbox711, FALSE, FALSE, 0);

  label303 = gtk_label_new (_("Min delay between 2 searchs (in seconds)"));
  gtk_widget_show (label303);
  gtk_box_pack_start (GTK_BOX (hbox711), label303, FALSE, FALSE, 0);

  min_delay_between_search_spinbutton_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  min_delay_between_search_spinbutton = gtk_spin_button_new (GTK_ADJUSTMENT (min_delay_between_search_spinbutton_adj), 1, 0);
  gtk_widget_show (min_delay_between_search_spinbutton);
  gtk_box_pack_start (GTK_BOX (hbox711), min_delay_between_search_spinbutton, FALSE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, min_delay_between_search_spinbutton, _("If a search is made too close to the previous one, it is silently discarded. WARNING: Under heavy network load, due to packet losses and auto-reemission of them, the real delay can be a bit shorter than the given one."), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (min_delay_between_search_spinbutton), TRUE);

  frame12 = gtk_frame_new (NULL);
  gtk_widget_show (frame12);
  gtk_box_pack_start (GTK_BOX (vbox33), frame12, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame12), 4);

  table13 = gtk_table_new (4, 2, FALSE);
  gtk_widget_show (table13);
  gtk_container_add (GTK_CONTAINER (frame12), table13);

  follow_forcemove_checkbutton = gtk_check_button_new_with_mnemonic (_("Follow hub redirection"));
  gtk_widget_show (follow_forcemove_checkbutton);
  gtk_table_attach (GTK_TABLE (table13), follow_forcemove_checkbutton, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, follow_forcemove_checkbutton, _("when DCTC receives a hub redirection, it can either follow it or disconnect and come back later"), NULL);
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (follow_forcemove_checkbutton), TRUE);

  grabip_checkbutton = gtk_check_button_new_with_mnemonic (_("Grab IP"));
  gtk_widget_show (grabip_checkbutton);
  gtk_table_attach (GTK_TABLE (table13), grabip_checkbutton, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, grabip_checkbutton, _("When a user is kicked/banned from a hub, his IP is displayed in the global chat. DCTC can automatically add it to the UADDR list"), NULL);
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (grabip_checkbutton), TRUE);

  hide_kick_checkbutton = gtk_check_button_new_with_mnemonic (_("Hide kick messages"));
  gtk_widget_show (hide_kick_checkbutton);
  gtk_table_attach (GTK_TABLE (table13), hide_kick_checkbutton, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, hide_kick_checkbutton, _("When set, if the client receives a global message from <Hub-Security> about a kicked user, this message is ignored. This avoid pollution of global chat window"), NULL);
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (hide_kick_checkbutton), TRUE);

  abort_upload_checkbutton = gtk_check_button_new_with_mnemonic (_("Abort Upload when user leaves hub"));
  gtk_widget_show (abort_upload_checkbutton);
  gtk_table_attach (GTK_TABLE (table13), abort_upload_checkbutton, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, abort_upload_checkbutton, _("When a user downloading from you leaves the hub, you can either let him go or stop its download."), NULL);

  add_tag_checkbutton = gtk_check_button_new_with_mnemonic (_("Add description tag"));
  gtk_widget_show (add_tag_checkbutton);
  gtk_table_attach (GTK_TABLE (table13), add_tag_checkbutton, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, add_tag_checkbutton, _("When set, DCTC will automatically included a tag to your description a la dc++. This flag is only taken into account at client start"), NULL);

  fake_dcpp_checkbutton = gtk_check_button_new_with_mnemonic (_("Simulate DC++ tag and Key creation."));
  gtk_widget_show (fake_dcpp_checkbutton);
  gtk_table_attach (GTK_TABLE (table13), fake_dcpp_checkbutton, 0, 1, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, fake_dcpp_checkbutton, _("This option disable the above one. This adds a description tag like DC++ one to your description and force DCTC to create lock key like DC++"), NULL);

  hbox722 = gtk_hbox_new (FALSE, 3);
  gtk_widget_show (hbox722);
  gtk_table_attach (GTK_TABLE (table13), hbox722, 1, 2, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  label349 = gtk_label_new (_("DC++ version:"));
  gtk_widget_show (label349);
  gtk_box_pack_start (GTK_BOX (hbox722), label349, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label349), GTK_JUSTIFY_LEFT);

  fake_dcpp_version_entry = gtk_entry_new ();
  gtk_widget_show (fake_dcpp_version_entry);
  gtk_box_pack_start (GTK_BOX (hbox722), fake_dcpp_version_entry, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, fake_dcpp_version_entry, _("If you enable DC++ simulation, you must provide a version to simulate."), NULL);

  label305 = gtk_label_new (_("Misc Flags"));
  gtk_widget_show (label305);
  gtk_frame_set_label_widget (GTK_FRAME (frame12), label305);
  gtk_label_set_justify (GTK_LABEL (label305), GTK_JUSTIFY_LEFT);

  hbox44 = gtk_hbox_new (FALSE, 5);
  gtk_widget_show (hbox44);
  gtk_box_pack_start (GTK_BOX (vbox33), hbox44, FALSE, FALSE, 0);

  label220 = gtk_label_new (_("Unode port"));
  gtk_widget_show (label220);
  gtk_box_pack_start (GTK_BOX (hbox44), label220, FALSE, FALSE, 0);

  unodeport_entry = gtk_entry_new ();
  gtk_widget_show (unodeport_entry);
  gtk_box_pack_start (GTK_BOX (hbox44), unodeport_entry, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, unodeport_entry, _("Port used by the UNODE subsystem (requires DCTC link and Direct Download to be enabled). Default port is 19284 (leave empty to use the default port)."), NULL);

  label201 = gtk_label_new (_("Misc Extra Param."));
  gtk_widget_show (label201);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (user_pref_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (user_pref_notebook), 2), label201);

  vbox31 = gtk_vbox_new (FALSE, 1);
  gtk_widget_show (vbox31);
  gtk_container_add (GTK_CONTAINER (user_pref_notebook), vbox31);

  use_done_dir_checkbutton = gtk_check_button_new_with_mnemonic (_("Move successfully received files into the done/ directory."));
  gtk_widget_show (use_done_dir_checkbutton);
  gtk_box_pack_start (GTK_BOX (vbox31), use_done_dir_checkbutton, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (use_done_dir_checkbutton), 3);
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (use_done_dir_checkbutton), TRUE);

  ddl_checkbutton = gtk_check_button_new_with_mnemonic (_("use direct download"));
  gtk_widget_show (ddl_checkbutton);
  gtk_box_pack_start (GTK_BOX (vbox31), ddl_checkbutton, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (ddl_checkbutton), 3);
  gtk_tooltips_set_tip (tooltips, ddl_checkbutton, _("DCTC can try to start download with active users even if it is not connected to a hub."), NULL);
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (ddl_checkbutton), TRUE);

  lazykc_checkbutton = gtk_check_button_new_with_mnemonic (_("Lazy Key check"));
  gtk_widget_show (lazykc_checkbutton);
  gtk_box_pack_start (GTK_BOX (vbox31), lazykc_checkbutton, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (lazykc_checkbutton), 3);
  gtk_tooltips_set_tip (tooltips, lazykc_checkbutton, _("When you try to download from someone having a buggy client which generates a partially invalid transfer key, DCTC can ignore this error and resume."), NULL);

  hbox39 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox39);
  gtk_box_pack_start (GTK_BOX (vbox31), hbox39, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox39), 3);

  dbl_checkbutton = gtk_check_button_new_with_mnemonic (_("Download Bandwidth limitation"));
  gtk_widget_show (dbl_checkbutton);
  gtk_box_pack_start (GTK_BOX (hbox39), dbl_checkbutton, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, dbl_checkbutton, _("Using this option, it is possible to limit the number of bytes received by the client"), NULL);

  dbl_entry = gtk_entry_new ();
  gtk_widget_show (dbl_entry);
  gtk_box_pack_start (GTK_BOX (hbox39), dbl_entry, FALSE, FALSE, 0);

  label217 = gtk_label_new (_("x 1KB/s"));
  gtk_widget_show (label217);
  gtk_box_pack_start (GTK_BOX (hbox39), label217, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label217), 0, 0.5);

  frame17 = gtk_frame_new (NULL);
  gtk_widget_show (frame17);
  gtk_box_pack_start (GTK_BOX (vbox31), frame17, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame17), 3);

  vbox42 = gtk_vbox_new (FALSE, 5);
  gtk_widget_show (vbox42);
  gtk_container_add (GTK_CONTAINER (frame17), vbox42);
  gtk_container_set_border_width (GTK_CONTAINER (vbox42), 5);

  limit_as_port_checkbutton = gtk_check_button_new_with_mnemonic (_("Limit autoscan ports"));
  gtk_widget_show (limit_as_port_checkbutton);
  gtk_box_pack_start (GTK_BOX (vbox42), limit_as_port_checkbutton, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, limit_as_port_checkbutton, _("If checked, autoscan will only use port in the given range."), NULL);

  hbox712 = gtk_hbox_new (FALSE, 5);
  gtk_widget_show (hbox712);
  gtk_box_pack_start (GTK_BOX (vbox42), hbox712, TRUE, TRUE, 0);

  label317 = gtk_label_new (_("Lower port limit:"));
  gtk_widget_show (label317);
  gtk_box_pack_start (GTK_BOX (hbox712), label317, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label317), GTK_JUSTIFY_LEFT);

  low_as_port_spinbutton_adj = gtk_adjustment_new (1, 1, 65535, 1, 10, 10);
  low_as_port_spinbutton = gtk_spin_button_new (GTK_ADJUSTMENT (low_as_port_spinbutton_adj), 1, 0);
  gtk_widget_show (low_as_port_spinbutton);
  gtk_box_pack_start (GTK_BOX (hbox712), low_as_port_spinbutton, TRUE, TRUE, 0);

  label318 = gtk_label_new (_("Upper port limit:"));
  gtk_widget_show (label318);
  gtk_box_pack_start (GTK_BOX (hbox712), label318, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label318), GTK_JUSTIFY_LEFT);

  up_as_port_spinbutton_adj = gtk_adjustment_new (65535, 1, 65535, 1, 10, 10);
  up_as_port_spinbutton = gtk_spin_button_new (GTK_ADJUSTMENT (up_as_port_spinbutton_adj), 1, 0);
  gtk_widget_show (up_as_port_spinbutton);
  gtk_box_pack_start (GTK_BOX (hbox712), up_as_port_spinbutton, TRUE, TRUE, 0);

  label316 = gtk_label_new (_("Autoscan parameters"));
  gtk_widget_show (label316);
  gtk_frame_set_label_widget (GTK_FRAME (frame17), label316);
  gtk_label_set_justify (GTK_LABEL (label316), GTK_JUSTIFY_LEFT);

  label199 = gtk_label_new (_("Extra Param. (DL)"));
  gtk_widget_show (label199);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (user_pref_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (user_pref_notebook), 3), label199);

  vbox41 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox41);
  gtk_container_add (GTK_CONTAINER (user_pref_notebook), vbox41);

  frame5 = gtk_frame_new (NULL);
  gtk_widget_show (frame5);
  gtk_box_pack_start (GTK_BOX (vbox41), frame5, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame5), 3);

  vbox34 = gtk_vbox_new (FALSE, 5);
  gtk_widget_show (vbox34);
  gtk_container_add (GTK_CONTAINER (frame5), vbox34);
  gtk_container_set_border_width (GTK_CONTAINER (vbox34), 5);

  hbox27 = gtk_hbox_new (FALSE, 5);
  gtk_widget_show (hbox27);
  gtk_box_pack_start (GTK_BOX (vbox34), hbox27, TRUE, TRUE, 0);

  label202 = gtk_label_new (_("Max number of running source per GDL"));
  gtk_widget_show (label202);
  gtk_box_pack_start (GTK_BOX (hbox27), label202, FALSE, FALSE, 0);

  maxrunspinbutton_adj = gtk_adjustment_new (10, 0, 100, 1, 10, 10);
  maxrunspinbutton = gtk_spin_button_new (GTK_ADJUSTMENT (maxrunspinbutton_adj), 1, 0);
  gtk_widget_show (maxrunspinbutton);
  gtk_box_pack_start (GTK_BOX (hbox27), maxrunspinbutton, FALSE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, maxrunspinbutton, _("To keep an fairly good speed and to optimize segmentation, it is not very good to have a lot of transfers at the same time."), NULL);

  hbox28 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox28);
  gtk_box_pack_start (GTK_BOX (vbox34), hbox28, TRUE, TRUE, 0);

  label203 = gtk_label_new (_("Disable autoscan of a GDL if "));
  gtk_widget_show (label203);
  gtk_box_pack_start (GTK_BOX (hbox28), label203, FALSE, FALSE, 0);

  maxasoffspinbutton_adj = gtk_adjustment_new (7, 0, 100, 1, 10, 10);
  maxasoffspinbutton = gtk_spin_button_new (GTK_ADJUSTMENT (maxasoffspinbutton_adj), 1, 0);
  gtk_widget_show (maxasoffspinbutton);
  gtk_box_pack_start (GTK_BOX (hbox28), maxasoffspinbutton, FALSE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, maxasoffspinbutton, _("To avoid bandwidth wasting, one GDL's autoscan can be disabled if enough download sources are available"), NULL);

  label204 = gtk_label_new (_("sources are running."));
  gtk_widget_show (label204);
  gtk_box_pack_start (GTK_BOX (hbox28), label204, FALSE, FALSE, 0);

  hbox49 = gtk_hbox_new (FALSE, 5);
  gtk_widget_show (hbox49);
  gtk_box_pack_start (GTK_BOX (vbox34), hbox49, TRUE, TRUE, 0);

  label278 = gtk_label_new (_("Max number of simultaneous downloads from the same user"));
  gtk_widget_show (label278);
  gtk_box_pack_start (GTK_BOX (hbox49), label278, FALSE, FALSE, 0);

  maxudl_spinbutton_adj = gtk_adjustment_new (3, 0, 10, 1, 1, 1);
  maxudl_spinbutton = gtk_spin_button_new (GTK_ADJUSTMENT (maxudl_spinbutton_adj), 1, 0);
  gtk_widget_show (maxudl_spinbutton);
  gtk_box_pack_start (GTK_BOX (hbox49), maxudl_spinbutton, FALSE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, maxudl_spinbutton, _("0=disable download"), NULL);

  hbox40 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox40);
  gtk_box_pack_start (GTK_BOX (vbox34), hbox40, TRUE, TRUE, 0);

  gbl_checkbutton = gtk_check_button_new_with_mnemonic (_("Gather speed limitation"));
  gtk_widget_show (gbl_checkbutton);
  gtk_box_pack_start (GTK_BOX (hbox40), gbl_checkbutton, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, gbl_checkbutton, _("Using this option, it is possible to limit the gathering speed of parts of a GDL. This is option is mainly useful if you have a not burn proof CD-writer. When DCTC gathers parts to create the complete file, it makes a lot of disk I/O and can generate buffer underrun on the CD-Writer"), NULL);

  gbl_entry = gtk_entry_new ();
  gtk_widget_show (gbl_entry);
  gtk_box_pack_start (GTK_BOX (hbox40), gbl_entry, FALSE, FALSE, 0);

  label218 = gtk_label_new (_("x 8KB/s"));
  gtk_widget_show (label218);
  gtk_box_pack_start (GTK_BOX (hbox40), label218, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label218), 0, 0.5);

  label306 = gtk_label_new (_("GDL limits"));
  gtk_widget_show (label306);
  gtk_frame_set_label_widget (GTK_FRAME (frame5), label306);
  gtk_label_set_justify (GTK_LABEL (label306), GTK_JUSTIFY_LEFT);

  frame13 = gtk_frame_new (NULL);
  gtk_widget_show (frame13);
  gtk_box_pack_start (GTK_BOX (vbox41), frame13, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame13), 3);

  table17 = gtk_table_new (2, 2, FALSE);
  gtk_widget_show (table17);
  gtk_container_add (GTK_CONTAINER (frame13), table17);
  gtk_container_set_border_width (GTK_CONTAINER (table17), 5);
  gtk_table_set_row_spacings (GTK_TABLE (table17), 5);
  gtk_table_set_col_spacings (GTK_TABLE (table17), 5);

  incoming_wake_up_checkbutton = gtk_check_button_new_with_mnemonic (_("when a _w_a_n_t_e_d user enters into the hub"));
  gtk_widget_show (incoming_wake_up_checkbutton);
  gtk_table_attach (GTK_TABLE (table17), incoming_wake_up_checkbutton, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, incoming_wake_up_checkbutton, _("If you have GDL sources having a nickname, DCTC can wake up immediatly them when a user having this nickname enters into the hub"), NULL);
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (incoming_wake_up_checkbutton), TRUE);

  sr_wake_up_checkbutton = gtk_check_button_new_with_mnemonic (_("when a search result from a _w_a_n_t_e_d user contains free slot."));
  gtk_widget_show (sr_wake_up_checkbutton);
  gtk_table_attach (GTK_TABLE (table17), sr_wake_up_checkbutton, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, sr_wake_up_checkbutton, _("When a search result is received by DCTC, if it notifies there is free slot with a user from whom you want to download, it can wake up its downloads"), NULL);
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (sr_wake_up_checkbutton), TRUE);

  hbox46 = gtk_hbox_new (FALSE, 5);
  gtk_widget_show (hbox46);
  gtk_table_attach (GTK_TABLE (table17), hbox46, 0, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);

  label255 = gtk_label_new (_("Delay between 2 attempts on the same user: "));
  gtk_widget_show (label255);
  gtk_box_pack_start (GTK_BOX (hbox46), label255, FALSE, FALSE, 0);

  min_gdl_wake_up_delay_entry = gtk_entry_new ();
  gtk_widget_show (min_gdl_wake_up_delay_entry);
  gtk_box_pack_start (GTK_BOX (hbox46), min_gdl_wake_up_delay_entry, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, min_gdl_wake_up_delay_entry, _("You should avoid delay smaller than 30 seconds."), NULL);
  gtk_entry_set_text (GTK_ENTRY (min_gdl_wake_up_delay_entry), _("30"));

  label256 = gtk_label_new (_("seconds"));
  gtk_widget_show (label256);
  gtk_box_pack_start (GTK_BOX (hbox46), label256, FALSE, FALSE, 0);

  label307 = gtk_label_new (_("GDL source wake up"));
  gtk_widget_show (label307);
  gtk_frame_set_label_widget (GTK_FRAME (frame13), label307);
  gtk_label_set_justify (GTK_LABEL (label307), GTK_JUSTIFY_LEFT);

  frame19 = gtk_frame_new (NULL);
  gtk_widget_show (frame19);
  gtk_box_pack_start (GTK_BOX (vbox41), frame19, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame19), 3);

  vbox45 = gtk_vbox_new (FALSE, 3);
  gtk_widget_show (vbox45);
  gtk_container_add (GTK_CONTAINER (frame19), vbox45);
  gtk_container_set_border_width (GTK_CONTAINER (vbox45), 3);

  hbox719 = gtk_hbox_new (FALSE, 3);
  gtk_widget_show (hbox719);
  gtk_box_pack_start (GTK_BOX (vbox45), hbox719, TRUE, TRUE, 0);

  label342 = gtk_label_new (_("lmule Temp directory:"));
  gtk_widget_show (label342);
  gtk_box_pack_start (GTK_BOX (hbox719), label342, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label342), GTK_JUSTIFY_LEFT);

  lmule_temp_entry = gtk_entry_new ();
  gtk_widget_show (lmule_temp_entry);
  gtk_box_pack_start (GTK_BOX (hbox719), lmule_temp_entry, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, lmule_temp_entry, _("Directory where lmule (or emule) put its .met file (default: $HOME/.lmule/Temp)"), NULL);

  lmule_default_temp_dir_button = gtk_button_new ();
  gtk_widget_show (lmule_default_temp_dir_button);
  gtk_box_pack_start (GTK_BOX (hbox719), lmule_default_temp_dir_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, lmule_default_temp_dir_button, _("Set default lmule temp dir"), NULL);

  image8 = gtk_image_new_from_stock ("gtk-home", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image8);
  gtk_container_add (GTK_CONTAINER (lmule_default_temp_dir_button), image8);

  hbox720 = gtk_hbox_new (FALSE, 3);
  gtk_widget_show (hbox720);
  gtk_box_pack_start (GTK_BOX (vbox45), hbox720, TRUE, TRUE, 0);

  label343 = gtk_label_new (_("directory scan: every"));
  gtk_widget_show (label343);
  gtk_box_pack_start (GTK_BOX (hbox720), label343, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label343), GTK_JUSTIFY_LEFT);

  lmule_scan_spinbutton_adj = gtk_adjustment_new (1, 1, 60, 1, 10, 10);
  lmule_scan_spinbutton = gtk_spin_button_new (GTK_ADJUSTMENT (lmule_scan_spinbutton_adj), 1, 0);
  gtk_widget_show (lmule_scan_spinbutton);
  gtk_box_pack_start (GTK_BOX (hbox720), lmule_scan_spinbutton, FALSE, TRUE, 0);

  label344 = gtk_label_new (_("minute(s)"));
  gtk_widget_show (label344);
  gtk_box_pack_start (GTK_BOX (hbox720), label344, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label344), GTK_JUSTIFY_LEFT);

  label341 = gtk_label_new (_("lmule interaction"));
  gtk_widget_show (label341);
  gtk_frame_set_label_widget (GTK_FRAME (frame19), label341);
  gtk_label_set_justify (GTK_LABEL (label341), GTK_JUSTIFY_LEFT);

  label315 = gtk_label_new (_("Extra Param. (GDL)"));
  gtk_widget_show (label315);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (user_pref_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (user_pref_notebook), 4), label315);
  gtk_label_set_justify (GTK_LABEL (label315), GTK_JUSTIFY_LEFT);

  vbox32 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox32);
  gtk_container_add (GTK_CONTAINER (user_pref_notebook), vbox32);

  hbox21 = gtk_hbox_new (FALSE, 3);
  gtk_widget_show (hbox21);
  gtk_box_pack_start (GTK_BOX (vbox32), hbox21, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox21), 3);

  ubl_checkbutton = gtk_check_button_new_with_mnemonic (_("Upload Bandwidth limitation"));
  gtk_widget_show (ubl_checkbutton);
  gtk_box_pack_start (GTK_BOX (hbox21), ubl_checkbutton, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, ubl_checkbutton, _("Using this option, it is possible to limit the number of bytes sent by the client"), NULL);

  ubl_entry = gtk_entry_new ();
  gtk_widget_show (ubl_entry);
  gtk_box_pack_start (GTK_BOX (hbox21), ubl_entry, FALSE, FALSE, 0);

  label154 = gtk_label_new (_("x 0.5KB/s"));
  gtk_widget_show (label154);
  gtk_box_pack_start (GTK_BOX (hbox21), label154, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label154), 0, 0.5);

  sharelist_dl_checkbutton = gtk_check_button_new_with_mnemonic (_("Allow downloads of your share list even if no upload slot is available"));
  gtk_widget_show (sharelist_dl_checkbutton);
  gtk_box_pack_start (GTK_BOX (vbox32), sharelist_dl_checkbutton, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (sharelist_dl_checkbutton), 3);
  gtk_tooltips_set_tip (tooltips, sharelist_dl_checkbutton, _("It is quite useful to enable this feature to always let other users download your share list"), NULL);

  label200 = gtk_label_new (_("Extra Param. (UL)"));
  gtk_widget_show (label200);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (user_pref_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (user_pref_notebook), 5), label200);

  table18 = gtk_table_new (5, 2, FALSE);
  gtk_widget_show (table18);
  gtk_container_add (GTK_CONTAINER (user_pref_notebook), table18);
  gtk_container_set_border_width (GTK_CONTAINER (table18), 5);

  label260 = gtk_label_new (_("Hub TOS"));
  gtk_widget_show (label260);
  gtk_table_attach (GTK_TABLE (table18), label260, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label260), 0, 0.5);

  label261_search__UNODE_ = gtk_label_new (_("UDP TOS"));
  gtk_widget_show (label261_search__UNODE_);
  gtk_table_attach (GTK_TABLE (table18), label261_search__UNODE_, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label261_search__UNODE_), 0, 0.5);

  label262 = gtk_label_new (_("Download TOS"));
  gtk_widget_show (label262);
  gtk_table_attach (GTK_TABLE (table18), label262, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label262), 0, 0.5);

  label263 = gtk_label_new (_("Upload TOS"));
  gtk_widget_show (label263);
  gtk_table_attach (GTK_TABLE (table18), label263, 0, 1, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label263), 0, 0.5);

  combo10 = gtk_combo_new ();
  g_object_set_data (G_OBJECT (GTK_COMBO (combo10)->popwin),
                     "GladeParentKey", combo10);
  gtk_widget_show (combo10);
  gtk_table_attach (GTK_TABLE (table18), combo10, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_combo_set_value_in_list (GTK_COMBO (combo10), TRUE, FALSE);
  combo10_items = g_list_append (combo10_items, (gpointer) _("Normal"));
  combo10_items = g_list_append (combo10_items, (gpointer) _("Low Cost"));
  combo10_items = g_list_append (combo10_items, (gpointer) _("High Reliability"));
  combo10_items = g_list_append (combo10_items, (gpointer) _("High Throughput"));
  combo10_items = g_list_append (combo10_items, (gpointer) _("Low Latency"));
  gtk_combo_set_popdown_strings (GTK_COMBO (combo10), combo10_items);
  g_list_free (combo10_items);

  hub_tos_entry = GTK_COMBO (combo10)->entry;
  gtk_widget_show (hub_tos_entry);
  gtk_editable_set_editable (GTK_EDITABLE (hub_tos_entry), FALSE);

  combo13 = gtk_combo_new ();
  g_object_set_data (G_OBJECT (GTK_COMBO (combo13)->popwin),
                     "GladeParentKey", combo13);
  gtk_widget_show (combo13);
  gtk_table_attach (GTK_TABLE (table18), combo13, 1, 2, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_combo_set_value_in_list (GTK_COMBO (combo13), TRUE, FALSE);
  combo13_items = g_list_append (combo13_items, (gpointer) _("Normal"));
  combo13_items = g_list_append (combo13_items, (gpointer) _("Low Cost"));
  combo13_items = g_list_append (combo13_items, (gpointer) _("High Reliability"));
  combo13_items = g_list_append (combo13_items, (gpointer) _("High Throughput"));
  combo13_items = g_list_append (combo13_items, (gpointer) _("Low Latency"));
  gtk_combo_set_popdown_strings (GTK_COMBO (combo13), combo13_items);
  g_list_free (combo13_items);

  ul_tos_entry = GTK_COMBO (combo13)->entry;
  gtk_widget_show (ul_tos_entry);
  gtk_editable_set_editable (GTK_EDITABLE (ul_tos_entry), FALSE);

  combo12 = gtk_combo_new ();
  g_object_set_data (G_OBJECT (GTK_COMBO (combo12)->popwin),
                     "GladeParentKey", combo12);
  gtk_widget_show (combo12);
  gtk_table_attach (GTK_TABLE (table18), combo12, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_combo_set_value_in_list (GTK_COMBO (combo12), TRUE, FALSE);
  combo12_items = g_list_append (combo12_items, (gpointer) _("Normal"));
  combo12_items = g_list_append (combo12_items, (gpointer) _("Low Cost"));
  combo12_items = g_list_append (combo12_items, (gpointer) _("High Reliability"));
  combo12_items = g_list_append (combo12_items, (gpointer) _("High Throughput"));
  combo12_items = g_list_append (combo12_items, (gpointer) _("Low Latency"));
  gtk_combo_set_popdown_strings (GTK_COMBO (combo12), combo12_items);
  g_list_free (combo12_items);

  dl_tos_entry = GTK_COMBO (combo12)->entry;
  gtk_widget_show (dl_tos_entry);
  gtk_editable_set_editable (GTK_EDITABLE (dl_tos_entry), FALSE);

  combo11 = gtk_combo_new ();
  g_object_set_data (G_OBJECT (GTK_COMBO (combo11)->popwin),
                     "GladeParentKey", combo11);
  gtk_widget_show (combo11);
  gtk_table_attach (GTK_TABLE (table18), combo11, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_combo_set_value_in_list (GTK_COMBO (combo11), TRUE, FALSE);
  combo11_items = g_list_append (combo11_items, (gpointer) _("Normal"));
  combo11_items = g_list_append (combo11_items, (gpointer) _("Low Cost"));
  combo11_items = g_list_append (combo11_items, (gpointer) _("High Reliability"));
  combo11_items = g_list_append (combo11_items, (gpointer) _("High Throughput"));
  combo11_items = g_list_append (combo11_items, (gpointer) _("Low Latency"));
  gtk_combo_set_popdown_strings (GTK_COMBO (combo11), combo11_items);
  g_list_free (combo11_items);

  udp_tos_entry = GTK_COMBO (combo11)->entry;
  gtk_widget_show (udp_tos_entry);
  gtk_editable_set_editable (GTK_EDITABLE (udp_tos_entry), FALSE);

  frame14 = gtk_frame_new (NULL);
  gtk_widget_show (frame14);
  gtk_table_attach (GTK_TABLE (table18), frame14, 0, 2, 4, 5,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame14), 4);

  table19 = gtk_table_new (5, 2, FALSE);
  gtk_widget_show (table19);
  gtk_container_add (GTK_CONTAINER (frame14), table19);
  gtk_container_set_border_width (GTK_CONTAINER (table19), 5);
  gtk_table_set_row_spacings (GTK_TABLE (table19), 3);
  gtk_table_set_col_spacings (GTK_TABLE (table19), 3);

  label266 = gtk_label_new (_("Normal:"));
  gtk_widget_show (label266);
  gtk_table_attach (GTK_TABLE (table19), label266, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label266), 0, 0.5);

  label267 = gtk_label_new (_("Low Cost:"));
  gtk_widget_show (label267);
  gtk_table_attach (GTK_TABLE (table19), label267, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label267), 0, 0.5);

  label268 = gtk_label_new (_("High Reliability:"));
  gtk_widget_show (label268);
  gtk_table_attach (GTK_TABLE (table19), label268, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label268), 0, 0.5);

  label269 = gtk_label_new (_("High Throughput:"));
  gtk_widget_show (label269);
  gtk_table_attach (GTK_TABLE (table19), label269, 0, 1, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label269), 0, 0.5);

  label270 = gtk_label_new (_("Low Latency:"));
  gtk_widget_show (label270);
  gtk_table_attach (GTK_TABLE (table19), label270, 0, 1, 4, 5,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label270), 0, 0.5);

  label271 = gtk_label_new (_("default configuration of Type of service"));
  gtk_widget_show (label271);
  gtk_table_attach (GTK_TABLE (table19), label271, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label271), 0, 0.5);

  label272 = gtk_label_new (_("non essential traffic"));
  gtk_widget_show (label272);
  gtk_table_attach (GTK_TABLE (table19), label272, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label272), 0, 0.5);

  label273 = gtk_label_new (_("mainly for UDP-based transaction (like search results and autoscans)"));
  gtk_widget_show (label273);
  gtk_table_attach (GTK_TABLE (table19), label273, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label273), 0, 0.5);

  label274 = gtk_label_new (_("bandwidth-sensitive application (like download)"));
  gtk_widget_show (label274);
  gtk_table_attach (GTK_TABLE (table19), label274, 1, 2, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label274), 0, 0.5);

  label275 = gtk_label_new (_("keystrokes and other urgent data"));
  gtk_widget_show (label275);
  gtk_table_attach (GTK_TABLE (table19), label275, 1, 2, 4, 5,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label275), 0, 0.5);

  label310 = gtk_label_new (_("TOS choices"));
  gtk_widget_show (label310);
  gtk_frame_set_label_widget (GTK_FRAME (frame14), label310);
  gtk_label_set_justify (GTK_LABEL (label310), GTK_JUSTIFY_LEFT);

  label259 = gtk_label_new (_("Type Of Service"));
  gtk_widget_show (label259);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (user_pref_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (user_pref_notebook), 6), label259);

  hbox6 = gtk_hbox_new (FALSE, 4);
  gtk_widget_show (hbox6);
  gtk_box_pack_start (GTK_BOX (vbox21), hbox6, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox6), 4);

  apply_pref = gtk_button_new_from_stock ("gtk-apply");
  gtk_widget_show (apply_pref);
  gtk_box_pack_start (GTK_BOX (hbox6), apply_pref, FALSE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, apply_pref, _("Update information of the current client"), NULL);

  reload_pref = gtk_button_new ();
  gtk_widget_show (reload_pref);
  gtk_box_pack_start (GTK_BOX (hbox6), reload_pref, FALSE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, reload_pref, _("Reload configuration from client"), NULL);

  pixmap7 = gtk_image_new_from_stock ("gtk-refresh", GTK_ICON_SIZE_SMALL_TOOLBAR);
  gtk_widget_show (pixmap7);
  gtk_container_add (GTK_CONTAINER (reload_pref), pixmap7);

  save_default_profile_button = gtk_button_new_from_stock ("gtk-save");
  gtk_widget_show (save_default_profile_button);
  gtk_box_pack_start (GTK_BOX (hbox6), save_default_profile_button, FALSE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, save_default_profile_button, _("Save the current configuration into a profile having the given name"), NULL);

  load_default_profil_button = gtk_button_new_from_stock ("gtk-open");
  gtk_widget_show (load_default_profil_button);
  gtk_box_pack_start (GTK_BOX (hbox6), load_default_profil_button, FALSE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, load_default_profil_button, _("Load a profile having the given name into the current configuration (this don't apply the profile to a client)"), NULL);

  label287 = gtk_label_new (_("Profile Name:"));
  gtk_widget_show (label287);
  gtk_box_pack_start (GTK_BOX (hbox6), label287, FALSE, FALSE, 0);

  profile_name_combo = gtk_combo_new ();
  g_object_set_data (G_OBJECT (GTK_COMBO (profile_name_combo)->popwin),
                     "GladeParentKey", profile_name_combo);
  gtk_widget_show (profile_name_combo);
  gtk_box_pack_start (GTK_BOX (hbox6), profile_name_combo, TRUE, TRUE, 0);
  gtk_combo_set_case_sensitive (GTK_COMBO (profile_name_combo), TRUE);

  profile_name_combo_entry = GTK_COMBO (profile_name_combo)->entry;
  gtk_widget_show (profile_name_combo_entry);
  gtk_tooltips_set_tip (tooltips, profile_name_combo_entry, _("Use alphanumeric characters only. If the profile is named \"default\", it will be used as profile for all new connections without specific profile."), NULL);

  image22 = gtk_image_new_from_stock ("gtk-dialog-warning", GTK_ICON_SIZE_DND);
  gtk_widget_show (image22);
  gtk_box_pack_start (GTK_BOX (hbox6), image22, FALSE, TRUE, 0);

  delete_profile_button = gtk_button_new_from_stock ("gtk-delete");
  gtk_widget_show (delete_profile_button);
  gtk_box_pack_start (GTK_BOX (hbox6), delete_profile_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, delete_profile_button, _("Double-click on this button to delete the profile having its name displayed on the left"), NULL);

  hbox727 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox727);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (main_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (main_notebook), 5), hbox727);

  image58 = gtk_image_new_from_stock ("gtk-preferences", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image58);
  gtk_box_pack_start (GTK_BOX (hbox727), image58, TRUE, TRUE, 0);

  label122 = gtk_label_new (_("User Prefs"));
  gtk_widget_show (label122);
  gtk_box_pack_start (GTK_BOX (hbox727), label122, FALSE, FALSE, 0);

  scrolledwindow40 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow40);
  gtk_container_add (GTK_CONTAINER (main_notebook), scrolledwindow40);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow40), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  viewport4 = gtk_viewport_new (NULL, NULL);
  gtk_widget_show (viewport4);
  gtk_container_add (GTK_CONTAINER (scrolledwindow40), viewport4);

  vbox47 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox47);
  gtk_container_add (GTK_CONTAINER (viewport4), vbox47);

  gui_pref_notebook = gtk_notebook_new ();
  gtk_widget_show (gui_pref_notebook);
  gtk_box_pack_start (GTK_BOX (vbox47), gui_pref_notebook, TRUE, TRUE, 0);
  gtk_notebook_set_tab_pos (GTK_NOTEBOOK (gui_pref_notebook), GTK_POS_LEFT);

  vbox43 = gtk_vbox_new (FALSE, 3);
  gtk_widget_show (vbox43);
  gtk_container_add (GTK_CONTAINER (gui_pref_notebook), vbox43);
  gtk_container_set_border_width (GTK_CONTAINER (vbox43), 3);

  hbox715 = gtk_hbox_new (FALSE, 3);
  gtk_widget_show (hbox715);
  gtk_box_pack_start (GTK_BOX (vbox43), hbox715, FALSE, TRUE, 0);

  label335 = gtk_label_new (_("Type of hublist to use: "));
  gtk_widget_show (label335);
  gtk_box_pack_start (GTK_BOX (hbox715), label335, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label335), GTK_JUSTIFY_LEFT);

  hublist_radiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("Standard DC hublist"));
  gtk_widget_show (hublist_radiobutton);
  gtk_box_pack_start (GTK_BOX (hbox715), hublist_radiobutton, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, hublist_radiobutton, _("Standard DC hublist: http://www.neo-modus.com/PublicHubList.config"), NULL);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (hublist_radiobutton), hublist_radiobutton_group);
  hublist_radiobutton_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (hublist_radiobutton));

  xml_hublist_org_radiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("XML hublist.org list"));
  gtk_widget_show (xml_hublist_org_radiobutton);
  gtk_box_pack_start (GTK_BOX (hbox715), xml_hublist_org_radiobutton, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, xml_hublist_org_radiobutton, _("Enhanced XML hublist from hublist.org: http://www.hublist.org/PublicHubList.xml.bz2"), NULL);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (xml_hublist_org_radiobutton), hublist_radiobutton_group);
  hublist_radiobutton_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (xml_hublist_org_radiobutton));

  custom_hublist_radiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("User defined hublists"));
  gtk_widget_show (custom_hublist_radiobutton);
  gtk_box_pack_start (GTK_BOX (hbox715), custom_hublist_radiobutton, FALSE, FALSE, 0);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (custom_hublist_radiobutton), hublist_radiobutton_group);
  hublist_radiobutton_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (custom_hublist_radiobutton));

  scrolledwindow38 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow38);
  gtk_box_pack_start (GTK_BOX (vbox43), scrolledwindow38, TRUE, TRUE, 0);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow38), GTK_SHADOW_IN);

  custom_hublist_treeview = gtk_tree_view_new ();
  gtk_widget_show (custom_hublist_treeview);
  gtk_container_add (GTK_CONTAINER (scrolledwindow38), custom_hublist_treeview);

  hbox716 = gtk_hbox_new (FALSE, 3);
  gtk_widget_show (hbox716);
  gtk_box_pack_start (GTK_BOX (vbox43), hbox716, FALSE, FALSE, 0);

  add_hublist_entry = gtk_entry_new ();
  gtk_widget_show (add_hublist_entry);
  gtk_box_pack_start (GTK_BOX (hbox716), add_hublist_entry, TRUE, TRUE, 0);

  add_hublist_button = gtk_button_new_from_stock ("gtk-add");
  gtk_widget_show (add_hublist_button);
  gtk_box_pack_start (GTK_BOX (hbox716), add_hublist_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, add_hublist_button, _("Add the given hublist URL to the current list."), NULL);

  remove_hublist_button = gtk_button_new_from_stock ("gtk-remove");
  gtk_widget_show (remove_hublist_button);
  gtk_box_pack_start (GTK_BOX (hbox716), remove_hublist_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, remove_hublist_button, _("Remove selected hublists."), NULL);

  hidden_planar_hublist = gtk_entry_new ();
  gtk_box_pack_start (GTK_BOX (hbox716), hidden_planar_hublist, TRUE, TRUE, 0);

  label334 = gtk_label_new (_("Hublists"));
  gtk_widget_show (label334);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (gui_pref_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (gui_pref_notebook), 0), label334);
  gtk_label_set_justify (GTK_LABEL (label334), GTK_JUSTIFY_LEFT);

  table21 = gtk_table_new (7, 3, FALSE);
  gtk_widget_show (table21);
  gtk_container_add (GTK_CONTAINER (gui_pref_notebook), table21);
  gtk_container_set_border_width (GTK_CONTAINER (table21), 3);
  gtk_table_set_row_spacings (GTK_TABLE (table21), 3);
  gtk_table_set_col_spacings (GTK_TABLE (table21), 3);

  label289 = gtk_label_new (_("Running client list refresh rate: every"));
  gtk_widget_show (label289);
  gtk_table_attach (GTK_TABLE (table21), label289, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label289), 0, 0.5);

  label290 = gtk_label_new (_("seconds"));
  gtk_widget_show (label290);
  gtk_table_attach (GTK_TABLE (table21), label290, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label290), 0, 0.5);

  running_client_list_refresh_rate_spinbutton_adj = gtk_adjustment_new (1, 0, 999, 1, 10, 10);
  running_client_list_refresh_rate_spinbutton = gtk_spin_button_new (GTK_ADJUSTMENT (running_client_list_refresh_rate_spinbutton_adj), 1, 0);
  gtk_widget_show (running_client_list_refresh_rate_spinbutton);
  gtk_table_attach (GTK_TABLE (table21), running_client_list_refresh_rate_spinbutton, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label291 = gtk_label_new (_("Favorite client autostart check rate: every"));
  gtk_widget_show (label291);
  gtk_table_attach (GTK_TABLE (table21), label291, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label291), 0, 0.5);

  label292 = gtk_label_new (_("seconds"));
  gtk_widget_show (label292);
  gtk_table_attach (GTK_TABLE (table21), label292, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label292), 0, 0.5);

  favorite_client_autostart_check_rate_spinbutton_adj = gtk_adjustment_new (1, 0, 999, 1, 10, 10);
  favorite_client_autostart_check_rate_spinbutton = gtk_spin_button_new (GTK_ADJUSTMENT (favorite_client_autostart_check_rate_spinbutton_adj), 1, 0);
  gtk_widget_show (favorite_client_autostart_check_rate_spinbutton);
  gtk_table_attach (GTK_TABLE (table21), favorite_client_autostart_check_rate_spinbutton, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  utf8_mode_checkbutton = gtk_check_button_new_with_mnemonic (_("Use UTF8 characters"));
  gtk_widget_show (utf8_mode_checkbutton);
  gtk_table_attach (GTK_TABLE (table21), utf8_mode_checkbutton, 0, 3, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, utf8_mode_checkbutton, _("When set, you can send/receive UTF8 characters, this provides support for foreign languages using more than just simple letters ([a-z]). Be careful: when this option is set, the messages you send may be unreadable by remote clients if they don't support UTF8 and incoming messages may be truncated if not in UTF8"), NULL);

  enhanced_chat_display_checkbutton = gtk_check_button_new_with_mnemonic (_("Enhanced chat display"));
  gtk_widget_show (enhanced_chat_display_checkbutton);
  gtk_table_attach (GTK_TABLE (table21), enhanced_chat_display_checkbutton, 0, 3, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, enhanced_chat_display_checkbutton, _("If set, some well known character patterns are replaced by icons (only use if UTF8 is not set)"), NULL);

  get_uinfo_checkbutton = gtk_check_button_new_with_mnemonic (_("Retrieve informations of the users on the hub"));
  gtk_widget_show (get_uinfo_checkbutton);
  gtk_table_attach (GTK_TABLE (table21), get_uinfo_checkbutton, 0, 3, 4, 5,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, get_uinfo_checkbutton, _("When set, in the user list, for each user, you have its connection type, share size,... . On slow connection and/or big hub, retrieving all these information can take a lot of time. If this option is not set, these informations are not downloaded and their columns in the user list are removed"), NULL);

  ignore_all_pmsg_checkbutton = gtk_check_button_new_with_mnemonic (_("Ignore all private chat messages"));
  gtk_widget_show (ignore_all_pmsg_checkbutton);
  gtk_table_attach (GTK_TABLE (table21), ignore_all_pmsg_checkbutton, 0, 3, 5, 6,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, ignore_all_pmsg_checkbutton, _("If you check this option, the gui will discard ALL incoming private chat messages"), NULL);

  disable_tooltips_checkbutton = gtk_check_button_new_with_mnemonic (_("Disable tooltips"));
  gtk_widget_show (disable_tooltips_checkbutton);
  gtk_table_attach (GTK_TABLE (table21), disable_tooltips_checkbutton, 0, 3, 6, 7,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, disable_tooltips_checkbutton, _("When set, the help balloons are not displayed."), NULL);

  label288 = gtk_label_new (_("Misc GUI Param."));
  gtk_widget_show (label288);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (gui_pref_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (gui_pref_notebook), 1), label288);

  vbox44 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox44);
  gtk_container_add (GTK_CONTAINER (gui_pref_notebook), vbox44);

  enable_sound_checkbutton = gtk_check_button_new_with_mnemonic (_("Enable sound event handler"));
  gtk_widget_show (enable_sound_checkbutton);
  gtk_box_pack_start (GTK_BOX (vbox44), enable_sound_checkbutton, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, enable_sound_checkbutton, _("The application can play sound when an event occurs."), NULL);

  frame18 = gtk_frame_new (NULL);
  gtk_widget_show (frame18);
  gtk_box_pack_start (GTK_BOX (vbox44), frame18, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame18), 3);

  table26 = gtk_table_new (3, 3, FALSE);
  gtk_widget_show (table26);
  gtk_container_add (GTK_CONTAINER (frame18), table26);
  gtk_container_set_border_width (GTK_CONTAINER (table26), 3);
  gtk_table_set_row_spacings (GTK_TABLE (table26), 3);
  gtk_table_set_col_spacings (GTK_TABLE (table26), 3);

  end_of_dl_sound_checkbutton = gtk_check_button_new_with_mnemonic (_("End of download"));
  gtk_widget_show (end_of_dl_sound_checkbutton);
  gtk_table_attach (GTK_TABLE (table26), end_of_dl_sound_checkbutton, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, end_of_dl_sound_checkbutton, _("Play the given filename when a download ends."), NULL);

  privmsg_sound_checkbutton = gtk_check_button_new_with_mnemonic (_("Private message"));
  gtk_widget_show (privmsg_sound_checkbutton);
  gtk_table_attach (GTK_TABLE (table26), privmsg_sound_checkbutton, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, privmsg_sound_checkbutton, _("Play the given filename when a private message arrives."), NULL);

  end_of_dl_sound_entry = gtk_entry_new ();
  gtk_widget_show (end_of_dl_sound_entry);
  gtk_table_attach (GTK_TABLE (table26), end_of_dl_sound_entry, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  privmsg_sound_entry = gtk_entry_new ();
  gtk_widget_show (privmsg_sound_entry);
  gtk_table_attach (GTK_TABLE (table26), privmsg_sound_entry, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  end_of_dl_sound_button = gtk_button_new_from_stock ("gtk-open");
  gtk_widget_show (end_of_dl_sound_button);
  gtk_table_attach (GTK_TABLE (table26), end_of_dl_sound_button, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  privmsg_sound_button = gtk_button_new_from_stock ("gtk-open");
  gtk_widget_show (privmsg_sound_button);
  gtk_table_attach (GTK_TABLE (table26), privmsg_sound_button, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  hublist_sound_checkbutton = gtk_check_button_new_with_mnemonic (_("Hub lists received"));
  gtk_widget_show (hublist_sound_checkbutton);
  gtk_table_attach (GTK_TABLE (table26), hublist_sound_checkbutton, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, hublist_sound_checkbutton, _("Play the given filename when the public hublists were received"), NULL);

  hublist_sound_entry = gtk_entry_new ();
  gtk_widget_show (hublist_sound_entry);
  gtk_table_attach (GTK_TABLE (table26), hublist_sound_entry, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  hublist_sound_button = gtk_button_new_from_stock ("gtk-open");
  gtk_widget_show (hublist_sound_button);
  gtk_table_attach (GTK_TABLE (table26), hublist_sound_button, 2, 3, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label337 = gtk_label_new (_("Events"));
  gtk_widget_show (label337);
  gtk_frame_set_label_widget (GTK_FRAME (frame18), label337);
  gtk_label_set_justify (GTK_LABEL (label337), GTK_JUSTIFY_LEFT);

  label336 = gtk_label_new (_("GUI Sound events"));
  gtk_widget_show (label336);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (gui_pref_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (gui_pref_notebook), 2), label336);
  gtk_label_set_justify (GTK_LABEL (label336), GTK_JUSTIFY_LEFT);

  vbox37 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox37);
  gtk_container_add (GTK_CONTAINER (gui_pref_notebook), vbox37);

  frame8 = gtk_frame_new (NULL);
  gtk_widget_show (frame8);
  gtk_box_pack_start (GTK_BOX (vbox37), frame8, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame8), 3);

  vbox38 = gtk_vbox_new (FALSE, 2);
  gtk_widget_show (vbox38);
  gtk_container_add (GTK_CONTAINER (frame8), vbox38);
  gtk_container_set_border_width (GTK_CONTAINER (vbox38), 3);

  pchat_flag_switch_to_flag_tab_checkbutton = gtk_check_button_new_with_mnemonic (_("switch to the _F_l_a_g_g_e_d_ _u_s_e_r_s tab."));
  gtk_widget_show (pchat_flag_switch_to_flag_tab_checkbutton);
  gtk_box_pack_start (GTK_BOX (vbox38), pchat_flag_switch_to_flag_tab_checkbutton, FALSE, FALSE, 0);

  pchat_flag_auto_add_checkbutton = gtk_check_button_new_with_mnemonic (_("automatically added the user to the flagged user list using with the following flags."));
  gtk_widget_show (pchat_flag_auto_add_checkbutton);
  gtk_box_pack_start (GTK_BOX (vbox38), pchat_flag_auto_add_checkbutton, FALSE, FALSE, 0);

  frame9 = gtk_frame_new (NULL);
  gtk_widget_show (frame9);
  gtk_box_pack_start (GTK_BOX (vbox38), frame9, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame9), 5);

  table15 = gtk_table_new (2, 3, FALSE);
  gtk_widget_show (table15);
  gtk_container_add (GTK_CONTAINER (frame9), table15);
  gtk_container_set_border_width (GTK_CONTAINER (table15), 3);
  gtk_table_set_row_spacings (GTK_TABLE (table15), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table15), 2);

  autoflag_user_flag_ignore_sr_togglebutton = gtk_toggle_button_new_with_mnemonic (_("Ignore Search Replies"));
  gtk_widget_show (autoflag_user_flag_ignore_sr_togglebutton);
  gtk_table_attach (GTK_TABLE (table15), autoflag_user_flag_ignore_sr_togglebutton, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, autoflag_user_flag_ignore_sr_togglebutton, _("Search results sent by this user will be ignored"), NULL);

  autoflag_user_flag_ignore_srch_togglebutton = gtk_toggle_button_new_with_mnemonic (_("Ignore Search Queries"));
  gtk_widget_show (autoflag_user_flag_ignore_srch_togglebutton);
  gtk_table_attach (GTK_TABLE (table15), autoflag_user_flag_ignore_srch_togglebutton, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, autoflag_user_flag_ignore_srch_togglebutton, _("Search queries made by this user will be ignored"), NULL);

  autoflag_user_flag_ignore_pmsg_togglebutton = gtk_toggle_button_new_with_mnemonic (_("Ignore Private Messages"));
  gtk_widget_show (autoflag_user_flag_ignore_pmsg_togglebutton);
  gtk_table_attach (GTK_TABLE (table15), autoflag_user_flag_ignore_pmsg_togglebutton, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, autoflag_user_flag_ignore_pmsg_togglebutton, _("Private chat message sent by this user will be discarded"), NULL);

  autoflag_user_flag_ignore_dl_limit_togglebutton = gtk_toggle_button_new_with_mnemonic (_("No DL slot limit"));
  gtk_widget_show (autoflag_user_flag_ignore_dl_limit_togglebutton);
  gtk_table_attach (GTK_TABLE (table15), autoflag_user_flag_ignore_dl_limit_togglebutton, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, autoflag_user_flag_ignore_dl_limit_togglebutton, _("This user will be able to start a download even if you don't have free slot."), NULL);

  autoflag_user_flag_no_xfer_togglebutton = gtk_toggle_button_new_with_mnemonic (_("No transfers"));
  gtk_widget_show (autoflag_user_flag_no_xfer_togglebutton);
  gtk_table_attach (GTK_TABLE (table15), autoflag_user_flag_no_xfer_togglebutton, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, autoflag_user_flag_no_xfer_togglebutton, _("Tranfers (UL/DL) with this user will be ignored"), NULL);

  autoflag_user_flag_ignore_pubmsg_togglebutton = gtk_toggle_button_new_with_mnemonic (_("Ignore Public Messages"));
  gtk_widget_show (autoflag_user_flag_ignore_pubmsg_togglebutton);
  gtk_table_attach (GTK_TABLE (table15), autoflag_user_flag_ignore_pubmsg_togglebutton, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, autoflag_user_flag_ignore_pubmsg_togglebutton, _("Public chat message sent by this user will be discarded"), NULL);

  label309 = gtk_label_new (_("Default auto-flag Flags"));
  gtk_widget_show (label309);
  gtk_frame_set_label_widget (GTK_FRAME (frame9), label309);
  gtk_label_set_justify (GTK_LABEL (label309), GTK_JUSTIFY_LEFT);

  label308 = gtk_label_new (_("When a user is flagged from private chat"));
  gtk_widget_show (label308);
  gtk_frame_set_label_widget (GTK_FRAME (frame8), label308);
  gtk_label_set_justify (GTK_LABEL (label308), GTK_JUSTIFY_LEFT);

  label216 = gtk_label_new (_("Flagged Users"));
  gtk_widget_show (label216);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (gui_pref_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (gui_pref_notebook), 3), label216);

  vbox46 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox46);
  gtk_container_add (GTK_CONTAINER (gui_pref_notebook), vbox46);

  hbox723 = gtk_hbox_new (FALSE, 3);
  gtk_widget_show (hbox723);
  gtk_box_pack_start (GTK_BOX (vbox46), hbox723, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox723), 3);

  label350 = gtk_label_new (_("BitTorrent list refresh rate: every"));
  gtk_widget_show (label350);
  gtk_box_pack_start (GTK_BOX (hbox723), label350, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label350), GTK_JUSTIFY_LEFT);

  bittorrent_refresh_rate_spinbutton_adj = gtk_adjustment_new (5, 5, 100, 1, 10, 10);
  bittorrent_refresh_rate_spinbutton = gtk_spin_button_new (GTK_ADJUSTMENT (bittorrent_refresh_rate_spinbutton_adj), 1, 0);
  gtk_widget_show (bittorrent_refresh_rate_spinbutton);
  gtk_box_pack_start (GTK_BOX (hbox723), bittorrent_refresh_rate_spinbutton, FALSE, FALSE, 0);

  label351 = gtk_label_new (_("seconds"));
  gtk_widget_show (label351);
  gtk_box_pack_start (GTK_BOX (hbox723), label351, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label351), GTK_JUSTIFY_LEFT);

  autokill_bt_at_end_checkbutton = gtk_check_button_new_with_mnemonic (_("Automatically kill BitTorrent client after the file was received"));
  gtk_widget_show (autokill_bt_at_end_checkbutton);
  gtk_box_pack_start (GTK_BOX (vbox46), autokill_bt_at_end_checkbutton, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, autokill_bt_at_end_checkbutton, _("After the end of the download, as long as bittorrent runs, the downloaded file remains busy."), NULL);

  hbox721 = gtk_hbox_new (FALSE, 3);
  gtk_widget_show (hbox721);
  gtk_box_pack_start (GTK_BOX (vbox46), hbox721, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox721), 3);

  label347 = gtk_label_new (_("Kill delay:"));
  gtk_widget_show (label347);
  gtk_box_pack_start (GTK_BOX (hbox721), label347, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label347), GTK_JUSTIFY_LEFT);

  bittorrent_autokill_delay_spinbutton_adj = gtk_adjustment_new (60, 10, 1440, 1, 10, 10);
  bittorrent_autokill_delay_spinbutton = gtk_spin_button_new (GTK_ADJUSTMENT (bittorrent_autokill_delay_spinbutton_adj), 1, 0);
  gtk_widget_show (bittorrent_autokill_delay_spinbutton);
  gtk_box_pack_start (GTK_BOX (hbox721), bittorrent_autokill_delay_spinbutton, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, bittorrent_autokill_delay_spinbutton, _("If autokill is enabled and after the download is completed, the GUI will wait the given time before killing the client."), NULL);

  label348 = gtk_label_new (_("minutes"));
  gtk_widget_show (label348);
  gtk_box_pack_start (GTK_BOX (hbox721), label348, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label348), GTK_JUSTIFY_LEFT);

  label346 = gtk_label_new (_("BitTorrent"));
  gtk_widget_show (label346);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (gui_pref_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (gui_pref_notebook), 4), label346);
  gtk_label_set_justify (GTK_LABEL (label346), GTK_JUSTIFY_LEFT);

  hbox724 = gtk_hbox_new (TRUE, 3);
  gtk_widget_show (hbox724);
  gtk_box_pack_start (GTK_BOX (vbox47), hbox724, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox724), 3);

  save_gui_prefs_button = gtk_button_new_from_stock ("gtk-save");
  gtk_widget_show (save_gui_prefs_button);
  gtk_box_pack_start (GTK_BOX (hbox724), save_gui_prefs_button, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, save_gui_prefs_button, _("GUI preferences are automatically saved on exit. However, you can force the save by pressing this button"), NULL);

  reload_gui_prefs_button = gtk_button_new_from_stock ("gtk-open");
  gtk_widget_show (reload_gui_prefs_button);
  gtk_box_pack_start (GTK_BOX (hbox724), reload_gui_prefs_button, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, reload_gui_prefs_button, _("reload previously saved GUI parameters"), NULL);

  hbox728 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox728);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (main_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (main_notebook), 6), hbox728);

  image59 = gtk_image_new_from_stock ("gtk-preferences", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image59);
  gtk_box_pack_start (GTK_BOX (hbox728), image59, TRUE, TRUE, 0);

  label353 = gtk_label_new (_("GUI prefs"));
  gtk_widget_show (label353);
  gtk_box_pack_start (GTK_BOX (hbox728), label353, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label353), GTK_JUSTIFY_LEFT);

  hbox41 = gtk_hbox_new (FALSE, 3);
  gtk_widget_show (hbox41);
  gtk_container_add (GTK_CONTAINER (main_notebook), hbox41);
  gtk_container_set_border_width (GTK_CONTAINER (hbox41), 3);

  frame11 = gtk_frame_new (NULL);
  gtk_widget_show (frame11);
  gtk_box_pack_start (GTK_BOX (hbox41), frame11, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame11), 3);

  vbox30 = gtk_vbox_new (FALSE, 4);
  gtk_widget_show (vbox30);
  gtk_container_add (GTK_CONTAINER (frame11), vbox30);
  gtk_container_set_border_width (GTK_CONTAINER (vbox30), 4);

  scrolledwindow26 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow26);
  gtk_box_pack_start (GTK_BOX (vbox30), scrolledwindow26, TRUE, TRUE, 0);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow26, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow26), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow26), GTK_SHADOW_IN);

  uaddr_clist = gtk_tree_view_new ();
  gtk_widget_show (uaddr_clist);
  gtk_container_add (GTK_CONTAINER (scrolledwindow26), uaddr_clist);

  hbox42 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox42);
  gtk_box_pack_start (GTK_BOX (vbox30), hbox42, FALSE, FALSE, 0);

  label186 = gtk_label_new (_("Nickname"));
  gtk_widget_show (label186);
  gtk_box_pack_start (GTK_BOX (hbox42), label186, FALSE, FALSE, 0);

  uaddr_nick_entry = gtk_entry_new ();
  gtk_widget_show (uaddr_nick_entry);
  gtk_box_pack_start (GTK_BOX (hbox42), uaddr_nick_entry, TRUE, TRUE, 0);

  hbox19 = gtk_hbox_new (FALSE, 4);
  gtk_widget_show (hbox19);
  gtk_box_pack_start (GTK_BOX (vbox30), hbox19, FALSE, FALSE, 0);

  label187 = gtk_label_new (_("Host address (ip:port format)"));
  gtk_widget_show (label187);
  gtk_box_pack_start (GTK_BOX (hbox19), label187, FALSE, FALSE, 0);

  uaddr_hostipport_entry = gtk_entry_new ();
  gtk_widget_show (uaddr_hostipport_entry);
  gtk_box_pack_start (GTK_BOX (hbox19), uaddr_hostipport_entry, TRUE, TRUE, 0);

  hbox43 = gtk_hbox_new (TRUE, 4);
  gtk_widget_show (hbox43);
  gtk_box_pack_start (GTK_BOX (vbox30), hbox43, FALSE, FALSE, 0);

  find_uaddr_by_nick_button = gtk_button_new_with_mnemonic (_("Find a nickname"));
  gtk_widget_show (find_uaddr_by_nick_button);
  gtk_box_pack_start (GTK_BOX (hbox43), find_uaddr_by_nick_button, TRUE, TRUE, 0);

  button = gtk_button_new_with_mnemonic (_("Add new UADDR (nick;host)"));
  gtk_widget_show (button);
  gtk_box_pack_start (GTK_BOX (hbox43), button, TRUE, TRUE, 0);

  hbox20 = gtk_hbox_new (TRUE, 4);
  gtk_widget_show (hbox20);
  gtk_box_pack_start (GTK_BOX (vbox30), hbox20, FALSE, FALSE, 0);

  button2 = gtk_button_new_with_mnemonic (_("Add new UADDR (host)"));
  gtk_widget_show (button2);
  gtk_box_pack_start (GTK_BOX (hbox20), button2, TRUE, TRUE, 0);

  find_uaddr_by_addr_button = gtk_button_new_with_mnemonic (_("Find an address (ip:port)"));
  gtk_widget_show (find_uaddr_by_addr_button);
  gtk_box_pack_start (GTK_BOX (hbox20), find_uaddr_by_addr_button, TRUE, TRUE, 0);

  label311 = gtk_label_new (_("UADDR"));
  gtk_widget_show (label311);
  gtk_frame_set_label_widget (GTK_FRAME (frame11), label311);
  gtk_label_set_justify (GTK_LABEL (label311), GTK_JUSTIFY_LEFT);

  frame10 = gtk_frame_new (NULL);
  gtk_widget_show (frame10);
  gtk_box_pack_start (GTK_BOX (hbox41), frame10, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame10), 3);

  vbox39 = gtk_vbox_new (FALSE, 2);
  gtk_widget_show (vbox39);
  gtk_container_add (GTK_CONTAINER (frame10), vbox39);
  gtk_container_set_border_width (GTK_CONTAINER (vbox39), 4);

  scrolledwindow29 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow29);
  gtk_box_pack_start (GTK_BOX (vbox39), scrolledwindow29, TRUE, TRUE, 0);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow29, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow29), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow29), GTK_SHADOW_IN);

  unode_clist = gtk_tree_view_new ();
  gtk_widget_show (unode_clist);
  gtk_container_add (GTK_CONTAINER (scrolledwindow29), unode_clist);

  unode_addr_entry = gtk_entry_new ();
  gtk_widget_show (unode_addr_entry);
  gtk_box_pack_start (GTK_BOX (vbox39), unode_addr_entry, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, unode_addr_entry, _("Enter here the address of other trusted Unode in \"hostname\", \"host IP\", \"hostname:port\" or \"host IP:port\" format"), NULL);

  addr_unode_button = gtk_button_new_with_mnemonic (_("Add New Unode address"));
  gtk_widget_show (addr_unode_button);
  gtk_box_pack_start (GTK_BOX (vbox39), addr_unode_button, FALSE, FALSE, 0);

  del_selected_unode_button = gtk_button_new_with_mnemonic (_("Delete selected Unodes"));
  gtk_widget_show (del_selected_unode_button);
  gtk_box_pack_start (GTK_BOX (vbox39), del_selected_unode_button, FALSE, FALSE, 0);

  reload_unode_address_list_button = gtk_button_new_with_mnemonic (_("Reload Unode address list"));
  gtk_widget_show (reload_unode_address_list_button);
  gtk_box_pack_start (GTK_BOX (vbox39), reload_unode_address_list_button, FALSE, FALSE, 0);

  label312 = gtk_label_new (_("Unode"));
  gtk_widget_show (label312);
  gtk_frame_set_label_widget (GTK_FRAME (frame10), label312);
  gtk_label_set_justify (GTK_LABEL (label312), GTK_JUSTIFY_LEFT);

  label183 = gtk_label_new (_("UADDR"));
  gtk_widget_show (label183);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (main_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (main_notebook), 7), label183);

  vbox35 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox35);
  gtk_container_add (GTK_CONTAINER (main_notebook), vbox35);

  scrolledwindow28 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow28);
  gtk_box_pack_start (GTK_BOX (vbox35), scrolledwindow28, TRUE, TRUE, 0);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow28, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow28), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow28), GTK_SHADOW_IN);

  flagged_user_clist = gtk_tree_view_new ();
  gtk_widget_show (flagged_user_clist);
  gtk_container_add (GTK_CONTAINER (scrolledwindow28), flagged_user_clist);

  hbox35 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox35);
  gtk_box_pack_start (GTK_BOX (vbox35), hbox35, FALSE, TRUE, 0);

  vbox36 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox36);
  gtk_box_pack_start (GTK_BOX (hbox35), vbox36, FALSE, FALSE, 0);

  hbox36 = gtk_hbox_new (FALSE, 3);
  gtk_widget_show (hbox36);
  gtk_box_pack_start (GTK_BOX (vbox36), hbox36, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox36), 3);

  label215 = gtk_label_new (_("Nick:"));
  gtk_widget_show (label215);
  gtk_box_pack_start (GTK_BOX (hbox36), label215, FALSE, FALSE, 0);

  flagged_user_label = gtk_label_new (_("xxxxxxxxxxxxx"));
  gtk_widget_show (flagged_user_label);
  gtk_box_pack_start (GTK_BOX (hbox36), flagged_user_label, FALSE, FALSE, 0);

  hbox37 = gtk_hbox_new (FALSE, 3);
  gtk_widget_show (hbox37);
  gtk_box_pack_start (GTK_BOX (vbox36), hbox37, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox37), 3);

  add_modify_flag_user_button = gtk_button_new_with_mnemonic (_("Add User / Modify User"));
  gtk_widget_show (add_modify_flag_user_button);
  gtk_box_pack_start (GTK_BOX (hbox37), add_modify_flag_user_button, FALSE, FALSE, 0);

  delete_flag_user_button = gtk_button_new ();
  gtk_widget_show (delete_flag_user_button);
  gtk_box_pack_start (GTK_BOX (hbox37), delete_flag_user_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, delete_flag_user_button, _("Delete user"), NULL);

  pixmap8 = gtk_image_new_from_stock ("gtk-delete", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (pixmap8);
  gtk_container_add (GTK_CONTAINER (delete_flag_user_button), pixmap8);

  frame7 = gtk_frame_new (NULL);
  gtk_widget_show (frame7);
  gtk_box_pack_start (GTK_BOX (hbox35), frame7, TRUE, TRUE, 0);

  table14 = gtk_table_new (2, 3, FALSE);
  gtk_widget_show (table14);
  gtk_container_add (GTK_CONTAINER (frame7), table14);
  gtk_container_set_border_width (GTK_CONTAINER (table14), 3);
  gtk_table_set_row_spacings (GTK_TABLE (table14), 2);
  gtk_table_set_col_spacings (GTK_TABLE (table14), 2);

  user_flag_ignore_sr_togglebutton = gtk_toggle_button_new_with_mnemonic (_("Ignore Search Replies"));
  gtk_widget_show (user_flag_ignore_sr_togglebutton);
  gtk_table_attach (GTK_TABLE (table14), user_flag_ignore_sr_togglebutton, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, user_flag_ignore_sr_togglebutton, _("Search results sent by this user will be ignored"), NULL);

  user_flag_ignore_srch_togglebutton = gtk_toggle_button_new_with_mnemonic (_("Ignore Search Queries"));
  gtk_widget_show (user_flag_ignore_srch_togglebutton);
  gtk_table_attach (GTK_TABLE (table14), user_flag_ignore_srch_togglebutton, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, user_flag_ignore_srch_togglebutton, _("Search queries made by this user will be ignored"), NULL);

  user_flag_ignore_pmsg_togglebutton = gtk_toggle_button_new_with_mnemonic (_("Ignore Private Messages"));
  gtk_widget_show (user_flag_ignore_pmsg_togglebutton);
  gtk_table_attach (GTK_TABLE (table14), user_flag_ignore_pmsg_togglebutton, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, user_flag_ignore_pmsg_togglebutton, _("Private chat message sent by this user will be discarded"), NULL);

  user_flag_ignore_dl_limit_togglebutton = gtk_toggle_button_new_with_mnemonic (_("No DL slot limit"));
  gtk_widget_show (user_flag_ignore_dl_limit_togglebutton);
  gtk_table_attach (GTK_TABLE (table14), user_flag_ignore_dl_limit_togglebutton, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, user_flag_ignore_dl_limit_togglebutton, _("This user will be able to start a download even if you don't have free slot."), NULL);

  user_flag_no_xfer_togglebutton = gtk_toggle_button_new_with_mnemonic (_("No transfers"));
  gtk_widget_show (user_flag_no_xfer_togglebutton);
  gtk_table_attach (GTK_TABLE (table14), user_flag_no_xfer_togglebutton, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, user_flag_no_xfer_togglebutton, _("Tranfers (UL/DL) with this user will be ignored"), NULL);

  user_flag_ignore_pubmsg_togglebutton = gtk_toggle_button_new_with_mnemonic (_("Ignore Public Messages"));
  gtk_widget_show (user_flag_ignore_pubmsg_togglebutton);
  gtk_table_attach (GTK_TABLE (table14), user_flag_ignore_pubmsg_togglebutton, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, user_flag_ignore_pubmsg_togglebutton, _("Public chat message sent by this user will be discarded"), NULL);

  label313 = gtk_label_new (_("Flags"));
  gtk_widget_show (label313);
  gtk_frame_set_label_widget (GTK_FRAME (frame7), label313);
  gtk_label_set_justify (GTK_LABEL (label313), GTK_JUSTIFY_LEFT);

  reload_flagged_user_list_button = gtk_button_new ();
  gtk_widget_show (reload_flagged_user_list_button);
  gtk_box_pack_start (GTK_BOX (hbox35), reload_flagged_user_list_button, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (reload_flagged_user_list_button), 3);
  gtk_tooltips_set_tip (tooltips, reload_flagged_user_list_button, _("Reload list"), NULL);

  pixmap9 = gtk_image_new_from_stock ("gtk-refresh", GTK_ICON_SIZE_SMALL_TOOLBAR);
  gtk_widget_show (pixmap9);
  gtk_container_add (GTK_CONTAINER (reload_flagged_user_list_button), pixmap9);

  label210 = gtk_label_new (_("Flagged users"));
  gtk_widget_show (label210);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (main_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (main_notebook), 8), label210);

  vbox48 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox48);
  gtk_container_add (GTK_CONTAINER (main_notebook), vbox48);

  scrolledwindow41 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow41);
  gtk_box_pack_start (GTK_BOX (vbox48), scrolledwindow41, TRUE, TRUE, 0);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow41), GTK_SHADOW_IN);

  notes_textview = gtk_text_view_new ();
  gtk_widget_show (notes_textview);
  gtk_container_add (GTK_CONTAINER (scrolledwindow41), notes_textview);
  gtk_tooltips_set_tip (tooltips, notes_textview, _("Freely usable text place"), NULL);

  hbox725 = gtk_hbox_new (FALSE, 10);
  gtk_widget_show (hbox725);
  gtk_box_pack_start (GTK_BOX (vbox48), hbox725, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox725), 3);

  reload_notes_button = gtk_button_new ();
  gtk_widget_show (reload_notes_button);
  gtk_box_pack_start (GTK_BOX (hbox725), reload_notes_button, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, reload_notes_button, _("Reload the notes from the disk"), NULL);

  alignment2 = gtk_alignment_new (0.5, 0.5, 0, 0);
  gtk_widget_show (alignment2);
  gtk_container_add (GTK_CONTAINER (reload_notes_button), alignment2);

  hbox726 = gtk_hbox_new (FALSE, 2);
  gtk_widget_show (hbox726);
  gtk_container_add (GTK_CONTAINER (alignment2), hbox726);

  image14 = gtk_image_new_from_stock ("gtk-refresh", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image14);
  gtk_box_pack_start (GTK_BOX (hbox726), image14, FALSE, FALSE, 0);

  label355 = gtk_label_new_with_mnemonic (_("Reload"));
  gtk_widget_show (label355);
  gtk_box_pack_start (GTK_BOX (hbox726), label355, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label355), GTK_JUSTIFY_LEFT);

  save_notes_button = gtk_button_new_from_stock ("gtk-save");
  gtk_widget_show (save_notes_button);
  gtk_box_pack_start (GTK_BOX (hbox725), save_notes_button, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, save_notes_button, _("Save the notes on disk"), NULL);

  clear_notes_button = gtk_button_new_from_stock ("gtk-clear");
  gtk_widget_show (clear_notes_button);
  gtk_box_pack_start (GTK_BOX (hbox725), clear_notes_button, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, clear_notes_button, _("Clear the note buffer"), NULL);

  hbox729 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox729);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (main_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (main_notebook), 9), hbox729);

  image60 = gtk_image_new_from_stock ("gnome-stock-book-open", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image60);
  gtk_box_pack_start (GTK_BOX (hbox729), image60, TRUE, TRUE, 0);

  label354 = gtk_label_new (_("Notes"));
  gtk_widget_show (label354);
  gtk_box_pack_start (GTK_BOX (hbox729), label354, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label354), GTK_JUSTIFY_LEFT);

  xfer_notebook = gtk_notebook_new ();
  gtk_widget_show (xfer_notebook);
  gtk_paned_pack2 (GTK_PANED (vpaned2), xfer_notebook, TRUE, TRUE);

  scrolledwindow25 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow25);
  gtk_container_add (GTK_CONTAINER (xfer_notebook), scrolledwindow25);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow25, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow25), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow25), GTK_SHADOW_IN);

  gdl_ctree = gtk_tree_view_new ();
  gtk_widget_show (gdl_ctree);
  gtk_container_add (GTK_CONTAINER (scrolledwindow25), gdl_ctree);

  hbox730 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox730);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (xfer_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (xfer_notebook), 0), hbox730);

  image61 = gtk_image_new_from_stock ("gtk-save-as", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image61);
  gtk_box_pack_start (GTK_BOX (hbox730), image61, TRUE, TRUE, 0);

  label159 = gtk_label_new (_("GDL"));
  gtk_widget_show (label159);
  gtk_box_pack_start (GTK_BOX (hbox730), label159, FALSE, FALSE, 0);

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

  hbox737 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox737);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (xfer_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (xfer_notebook), 1), hbox737);

  image68 = gtk_image_new_from_stock ("gtk-no", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image68);
  gtk_box_pack_start (GTK_BOX (hbox737), image68, TRUE, TRUE, 0);

  label314 = gtk_label_new (_("Unattached GDLs"));
  gtk_widget_show (label314);
  gtk_box_pack_start (GTK_BOX (hbox737), label314, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label314), GTK_JUSTIFY_LEFT);

  scrolledwindow8 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow8);
  gtk_container_add (GTK_CONTAINER (xfer_notebook), scrolledwindow8);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow8, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow8), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow8), GTK_SHADOW_IN);

  upload_clist = gtk_tree_view_new ();
  gtk_widget_show (upload_clist);
  gtk_container_add (GTK_CONTAINER (scrolledwindow8), upload_clist);

  hbox731 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox731);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (xfer_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (xfer_notebook), 2), hbox731);

  image62 = gtk_image_new_from_stock ("gtk-revert-to-saved", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image62);
  gtk_box_pack_start (GTK_BOX (hbox731), image62, TRUE, TRUE, 0);

  label49 = gtk_label_new (_("Upload"));
  gtk_widget_show (label49);
  gtk_box_pack_start (GTK_BOX (hbox731), label49, FALSE, FALSE, 0);

  scrolledwindow9 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow9);
  gtk_container_add (GTK_CONTAINER (xfer_notebook), scrolledwindow9);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow9, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow9), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow9), GTK_SHADOW_IN);

  queue_clist = gtk_tree_view_new ();
  gtk_widget_show (queue_clist);
  gtk_container_add (GTK_CONTAINER (scrolledwindow9), queue_clist);

  label54 = gtk_label_new (_("Queue"));
  gtk_widget_show (label54);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (xfer_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (xfer_notebook), 3), label54);

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

  hbox736 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox736);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (xfer_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (xfer_notebook), 4), hbox736);

  image67 = gtk_image_new_from_stock ("gtk-yes", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image67);
  gtk_box_pack_start (GTK_BOX (hbox736), image67, TRUE, TRUE, 0);

  label60 = gtk_label_new (_("Done"));
  gtk_widget_show (label60);
  gtk_box_pack_start (GTK_BOX (hbox736), label60, FALSE, FALSE, 0);

  scrolledwindow33 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow33);
  gtk_container_add (GTK_CONTAINER (xfer_notebook), scrolledwindow33);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow33), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow33), GTK_SHADOW_IN);

  download_clist = gtk_tree_view_new ();
  gtk_widget_show (download_clist);
  gtk_container_add (GTK_CONTAINER (scrolledwindow33), download_clist);

  hbox732 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox732);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (xfer_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (xfer_notebook), 5), hbox732);

  image63 = gtk_image_new_from_stock ("gtk-index", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image63);
  gtk_box_pack_start (GTK_BOX (hbox732), image63, TRUE, TRUE, 0);

  label44 = gtk_label_new (_("Download"));
  gtk_widget_show (label44);
  gtk_box_pack_start (GTK_BOX (hbox732), label44, FALSE, FALSE, 0);

  vbox40 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox40);
  gtk_container_add (GTK_CONTAINER (xfer_notebook), vbox40);

  scrolledwindow24 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow24);
  gtk_box_pack_start (GTK_BOX (vbox40), scrolledwindow24, TRUE, TRUE, 0);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow24, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow24), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow24), GTK_SHADOW_IN);

  error_messages_text = gtk_text_view_new ();
  gtk_widget_show (error_messages_text);
  gtk_container_add (GTK_CONTAINER (scrolledwindow24), error_messages_text);
  gtk_text_view_set_editable (GTK_TEXT_VIEW (error_messages_text), FALSE);
  gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (error_messages_text), GTK_WRAP_CHAR);

  clear_error_messages_button = gtk_button_new_with_mnemonic (_("Clear error message list"));
  gtk_widget_show (clear_error_messages_button);
  gtk_box_pack_start (GTK_BOX (vbox40), clear_error_messages_button, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (clear_error_messages_button), 3);

  hbox733 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox733);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (xfer_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (xfer_notebook), 6), hbox733);

  image64 = gtk_image_new_from_stock ("gtk-dialog-warning", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image64);
  gtk_box_pack_start (GTK_BOX (hbox733), image64, TRUE, TRUE, 0);

  label156 = gtk_label_new (_("Error messages"));
  gtk_widget_show (label156);
  gtk_box_pack_start (GTK_BOX (hbox733), label156, FALSE, FALSE, 0);

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

  hbox735 = gtk_hbox_new (FALSE, 0);
  gtk_widget_show (hbox735);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (xfer_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (xfer_notebook), 7), hbox735);

  image66 = gtk_image_new_from_stock ("gtk-convert", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image66);
  gtk_box_pack_start (GTK_BOX (hbox735), image66, TRUE, TRUE, 0);

  label345 = gtk_label_new (_("BitTorrent"));
  gtk_widget_show (label345);
  gtk_box_pack_start (GTK_BOX (hbox735), label345, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label345), GTK_JUSTIFY_LEFT);

  appbar1 = gnome_appbar_new (TRUE, TRUE, GNOME_PREFERENCES_NEVER);
  gtk_widget_show (appbar1);
  gnome_app_set_statusbar (GNOME_APP (app1), appbar1);

  g_signal_connect ((gpointer) app1, "delete_event",
                    G_CALLBACK (on_app1_delete_event),
                    NULL);
  gnome_app_install_menu_hints (GNOME_APP (app1), menubar1_uiinfo);
  g_signal_connect ((gpointer) main_notebook, "switch_page",
                    G_CALLBACK (on_main_notebook_switch_page),
                    NULL);
  g_signal_connect ((gpointer) connect_notebook, "switch_page",
                    G_CALLBACK (on_connect_notebook_switch_page),
                    NULL);
  g_signal_connect ((gpointer) running_hub_clist, "button_press_event",
                    G_CALLBACK (on_running_hub_clist_button_press_event),
                    NULL);
  g_signal_connect ((gpointer) hub_favorite_clist, "button_press_event",
                    G_CALLBACK (on_hub_favorite_clist_button_press_event),
                    NULL);
  g_signal_connect ((gpointer) hub_favorite_clist, "key_press_event",
                    G_CALLBACK (on_hub_favorite_clist_key_press_event),
                    NULL);
  g_signal_connect ((gpointer) hub_public_clist, "button_press_event",
                    G_CALLBACK (on_hub_public_clist_button_press_event),
                    NULL);
  g_signal_connect ((gpointer) hub_recent_clist, "button_press_event",
                    G_CALLBACK (on_hub_recent_clist_button_press_event),
                    NULL);
  g_signal_connect ((gpointer) clear_recent_list_button, "clicked",
                    G_CALLBACK (on_clear_recent_list_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) seen_hub_clist, "button_press_event",
                    G_CALLBACK (on_seen_hub_clist_button_press_event),
                    NULL);
  g_signal_connect ((gpointer) hubs_to_select_entry, "activate",
                    G_CALLBACK (on_hubs_to_select_entry_activate),
                    NULL);
  g_signal_connect ((gpointer) find_hub_button, "clicked",
                    G_CALLBACK (on_find_hub_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) find_prev_hub_button, "clicked",
                    G_CALLBACK (on_find_prev_hub_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) find_next_hub_button, "clicked",
                    G_CALLBACK (on_find_next_hub_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) refresh_sitelist_button, "clicked",
                    G_CALLBACK (on_refresh_sitelist_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) bookmark_button, "clicked",
                    G_CALLBACK (on_bookmark_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) delete_selected_bookmark_button, "clicked",
                    G_CALLBACK (on_delete_selected_bookmark_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) start_dctc_selected_hub_button, "clicked",
                    G_CALLBACK (on_start_dctc_selected_hub_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) connect_entry, "activate",
                    G_CALLBACK (on_connect_entry_activate),
                    NULL);
  g_signal_connect ((gpointer) do_connection_button, "clicked",
                    G_CALLBACK (on_do_connection_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) do_reconnect_now, "clicked",
                    G_CALLBACK (on_do_reconnect_now_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) do_goto, "clicked",
                    G_CALLBACK (on_do_goto_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) terminate_selected_dctcs_button, "clicked",
                    G_CALLBACK (on_terminate_selected_dctcs_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) kill_selected_dctcs_button, "clicked",
                    G_CALLBACK (on_kill_selected_dctcs_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) dctc_cmd_entry, "activate",
                    G_CALLBACK (on_dctc_cmd_entry_activate),
                    NULL);
  g_signal_connect ((gpointer) chat_notebook, "switch_page",
                    G_CALLBACK (on_chat_notebook_switch_page),
                    NULL);
  g_signal_connect ((gpointer) close_pchat_button, "clicked",
                    G_CALLBACK (on_close_pchat_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) close_all_pchat_button, "clicked",
                    G_CALLBACK (on_close_all_pchat_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) pchat_entry, "activate",
                    G_CALLBACK (on_pchat_entry_activate),
                    NULL);
  g_signal_connect_after ((gpointer) pchat_entry, "key_press_event",
                          G_CALLBACK (on_pchat_entry_key_press_event),
                          NULL);
  g_signal_connect ((gpointer) clear_private_chat_button, "clicked",
                    G_CALLBACK (on_clear_private_chat_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) flag_pchat_user_button, "clicked",
                    G_CALLBACK (on_flag_pchat_user_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) pubchat_flag_selected_user_button, "clicked",
                    G_CALLBACK (on_pubchat_flag_selected_user_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) user_clist, "button_press_event",
                    G_CALLBACK (on_user_clist_button_press_event),
                    NULL);
  g_signal_connect ((gpointer) away_togglebutton, "toggled",
                    G_CALLBACK (on_away_togglebutton_toggled),
                    NULL);
  g_signal_connect ((gpointer) find_result, "button_press_event",
                    G_CALLBACK (on_find_result_button_press_event),
                    NULL);
  g_signal_connect ((gpointer) find_result, "key_press_event",
                    G_CALLBACK (on_find_result_key_press_event),
                    NULL);
  g_signal_connect ((gpointer) find_entry, "activate",
                    G_CALLBACK (on_find_entry_activate),
                    NULL);
  g_signal_connect ((gpointer) find_button, "clicked",
                    G_CALLBACK (on_find_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) show_search_user_side_button, "clicked",
                    G_CALLBACK (on_show_search_user_side_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) hide_search_user_button, "clicked",
                    G_CALLBACK (on_hide_search_user_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) copy_search_result_button, "clicked",
                    G_CALLBACK (on_copy_search_result_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) paste_search_result_button, "clicked",
                    G_CALLBACK (on_paste_search_result_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) search_result_filter_param_entry, "activate",
                    G_CALLBACK (on_search_result_filter_param_entry_activate),
                    NULL);
  g_signal_connect ((gpointer) apply_filter_button, "clicked",
                    G_CALLBACK (on_apply_filter_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) ed2k_url_entry, "activate",
                    G_CALLBACK (on_ed2k_url_entry_activate),
                    NULL);
  g_signal_connect ((gpointer) create_gdl_from_ed2k_url_button, "clicked",
                    G_CALLBACK (on_create_gdl_from_ed2k_url_button_activate),
                    NULL);
  g_signal_connect ((gpointer) clear_ed2k_url_entry_button, "clicked",
                    G_CALLBACK (on_clear_ed2k_url_entry_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) locate_user_clist, "button_press_event",
                    G_CALLBACK (on_locate_user_clist_button_press_event),
                    NULL);
  g_signal_connect ((gpointer) locate_user_entry, "activate",
                    G_CALLBACK (on_locate_user_entry_activate),
                    NULL);
  g_signal_connect ((gpointer) search_user_button, "clicked",
                    G_CALLBACK (on_search_user_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) add_as_to_gdl_button, "clicked",
                    G_CALLBACK (on_add_as_to_gdl_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) do_gdl_rename_button, "clicked",
                    G_CALLBACK (on_do_gdl_rename_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) remove_current_gdl_rename_button, "clicked",
                    G_CALLBACK (on_remove_current_gdl_rename_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) do_gdl_script_button, "clicked",
                    G_CALLBACK (on_do_gdl_script_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) remove_current_gdl_script_button, "clicked",
                    G_CALLBACK (on_remove_current_gdl_script_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) user_file_list_clist, "button_press_event",
                    G_CALLBACK (on_user_file_list_clist_button_press_event),
                    NULL);
  g_signal_connect ((gpointer) user_file_list_clist, "key_press_event",
                    G_CALLBACK (on_user_file_list_clist_key_press_event),
                    NULL);
  g_signal_connect ((gpointer) clear_user_file_list, "clicked",
                    G_CALLBACK (on_clear_user_file_list_clicked),
                    NULL);
  g_signal_connect ((gpointer) user_file_list_search_entry, "activate",
                    G_CALLBACK (on_user_file_list_search_entry_activate),
                    NULL);
  g_signal_connect ((gpointer) user_file_list_search_button, "clicked",
                    G_CALLBACK (on_user_file_list_search_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) user_file_list_find_previous_button, "clicked",
                    G_CALLBACK (on_user_file_list_find_previous_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) user_file_list_find_next_button, "clicked",
                    G_CALLBACK (on_user_file_list_find_next_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) cached_user_list_clist, "button_press_event",
                    G_CALLBACK (on_cached_user_list_clist_button_press_event),
                    NULL);
  g_signal_connect ((gpointer) reload_cached_user_list, "clicked",
                    G_CALLBACK (on_reload_cached_user_list_clicked),
                    NULL);
  g_signal_connect ((gpointer) load_selected_share_lists_button, "clicked",
                    G_CALLBACK (on_load_selected_share_lists_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) delete_selected_share_lists_button, "clicked",
                    G_CALLBACK (on_delete_selected_share_lists_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) shared_dir_clist, "key_press_event",
                    G_CALLBACK (on_shared_dir_clist_key_press_event),
                    NULL);
  g_signal_connect ((gpointer) add_shared_dir_button, "clicked",
                    G_CALLBACK (on_add_shared_dir_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) remove_shared_dir_button, "clicked",
                    G_CALLBACK (on_remove_shared_dir_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) do_browse_dl_dir_button, "clicked",
                    G_CALLBACK (on_do_browse_dl_dir_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) do_browse_vshare_dir_button, "clicked",
                    G_CALLBACK (on_do_browse_vshare_dir_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) lmule_default_temp_dir_button, "clicked",
                    G_CALLBACK (on_lmule_default_temp_dir_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) apply_pref, "clicked",
                    G_CALLBACK (on_apply_pref_clicked),
                    NULL);
  g_signal_connect ((gpointer) reload_pref, "clicked",
                    G_CALLBACK (on_reload_pref_clicked),
                    NULL);
  g_signal_connect ((gpointer) save_default_profile_button, "clicked",
                    G_CALLBACK (on_save_default_profile_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) load_default_profil_button, "clicked",
                    G_CALLBACK (on_load_default_profil_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) delete_profile_button, "button_press_event",
                    G_CALLBACK (on_delete_profile_button_button_press_event),
                    NULL);
  g_signal_connect ((gpointer) add_hublist_entry, "activate",
                    G_CALLBACK (on_add_hublist_entry_activate),
                    NULL);
  g_signal_connect ((gpointer) add_hublist_button, "clicked",
                    G_CALLBACK (on_add_hublist_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) remove_hublist_button, "clicked",
                    G_CALLBACK (on_remove_hublist_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) utf8_mode_checkbutton, "toggled",
                    G_CALLBACK (on_utf8_mode_checkbutton_toggled),
                    NULL);
  g_signal_connect ((gpointer) get_uinfo_checkbutton, "toggled",
                    G_CALLBACK (on_get_uinfo_checkbutton_toggled),
                    NULL);
  g_signal_connect ((gpointer) disable_tooltips_checkbutton, "toggled",
                    G_CALLBACK (on_disable_tooltips_checkbutton_toggled),
                    NULL);
  g_signal_connect ((gpointer) end_of_dl_sound_button, "clicked",
                    G_CALLBACK (on_end_of_dl_sound_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) privmsg_sound_button, "clicked",
                    G_CALLBACK (on_privmsg_sound_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) hublist_sound_button, "clicked",
                    G_CALLBACK (on_hublist_sound_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) save_gui_prefs_button, "clicked",
                    G_CALLBACK (on_save_gui_prefs_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) reload_gui_prefs_button, "clicked",
                    G_CALLBACK (on_reload_gui_prefs_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) uaddr_clist, "button_press_event",
                    G_CALLBACK (on_uaddr_clist_button_press_event),
                    NULL);
  g_signal_connect ((gpointer) find_uaddr_by_nick_button, "clicked",
                    G_CALLBACK (on_find_uaddr_by_nick_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) button, "clicked",
                    G_CALLBACK (on_add_new_uaddr_full_clicked),
                    NULL);
  g_signal_connect ((gpointer) button2, "clicked",
                    G_CALLBACK (on_add_new_uaddr_host_clicked),
                    NULL);
  g_signal_connect ((gpointer) find_uaddr_by_addr_button, "clicked",
                    G_CALLBACK (on_find_uaddr_by_addr_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) unode_addr_entry, "activate",
                    G_CALLBACK (on_unode_addr_entry_activate),
                    NULL);
  g_signal_connect ((gpointer) addr_unode_button, "clicked",
                    G_CALLBACK (on_addr_unode_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) del_selected_unode_button, "clicked",
                    G_CALLBACK (on_del_selected_unode_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) reload_unode_address_list_button, "clicked",
                    G_CALLBACK (on_reload_unode_address_list_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) flagged_user_clist, "row_activated",
                    G_CALLBACK (on_flagged_user_clist_row_activated),
                    NULL);
  g_signal_connect ((gpointer) add_modify_flag_user_button, "clicked",
                    G_CALLBACK (on_add_modify_flag_user_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) delete_flag_user_button, "clicked",
                    G_CALLBACK (on_delete_flag_user_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) reload_flagged_user_list_button, "clicked",
                    G_CALLBACK (on_reload_flagged_user_list_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) notes_textview, "insert_at_cursor",
                    G_CALLBACK (on_notes_textview_insert_at_cursor),
                    NULL);
  g_signal_connect ((gpointer) reload_notes_button, "clicked",
                    G_CALLBACK (on_reload_notes_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) save_notes_button, "clicked",
                    G_CALLBACK (on_save_notes_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) clear_notes_button, "clicked",
                    G_CALLBACK (on_clear_notes_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) gdl_ctree, "button_press_event",
                    G_CALLBACK (on_gdl_ctree_button_press_event),
                    NULL);
  g_signal_connect ((gpointer) gdl_ctree, "key_press_event",
                    G_CALLBACK (on_gdl_ctree_key_press_event),
                    NULL);
  g_signal_connect ((gpointer) upload_clist, "button_press_event",
                    G_CALLBACK (on_upload_clist_button_press_event),
                    NULL);
  g_signal_connect ((gpointer) upload_clist, "key_press_event",
                    G_CALLBACK (on_upload_clist_key_press_event),
                    NULL);
  g_signal_connect ((gpointer) queue_clist, "button_press_event",
                    G_CALLBACK (on_queue_clist_button_press_event),
                    NULL);
  g_signal_connect ((gpointer) queue_clist, "key_press_event",
                    G_CALLBACK (on_queue_clist_key_press_event),
                    NULL);
  g_signal_connect ((gpointer) download_clist, "button_press_event",
                    G_CALLBACK (on_download_clist_button_press_event),
                    NULL);
  g_signal_connect ((gpointer) download_clist, "key_press_event",
                    G_CALLBACK (on_download_clist_key_press_event),
                    NULL);
  g_signal_connect ((gpointer) clear_error_messages_button, "clicked",
                    G_CALLBACK (on_clear_error_messages_button_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (app1, app1, "app1");
  GLADE_HOOKUP_OBJECT (app1, dock1, "dock1");
  GLADE_HOOKUP_OBJECT (app1, menubar1_uiinfo[0].widget, "action1");
  GLADE_HOOKUP_OBJECT (app1, action1_menu_uiinfo[0].widget, "connect1");
  GLADE_HOOKUP_OBJECT (app1, action1_menu_uiinfo[1].widget, "close_connection_with_the_client1");
  GLADE_HOOKUP_OBJECT (app1, action1_menu_uiinfo[2].widget, "disconnect1");
  GLADE_HOOKUP_OBJECT (app1, action1_menu_uiinfo[3].widget, "find1");
  GLADE_HOOKUP_OBJECT (app1, action1_menu_uiinfo[4].widget, "enter_a_password_menu_entry");
  GLADE_HOOKUP_OBJECT (app1, action1_menu_uiinfo[5].widget, "separator1");
  GLADE_HOOKUP_OBJECT (app1, action1_menu_uiinfo[6].widget, "exit1");
  GLADE_HOOKUP_OBJECT (app1, menubar1_uiinfo[1].widget, "settings1");
  GLADE_HOOKUP_OBJECT (app1, settings1_menu_uiinfo[0].widget, "preferences1");
  GLADE_HOOKUP_OBJECT (app1, settings1_menu_uiinfo[1].widget, "separator9");
  GLADE_HOOKUP_OBJECT (app1, settings1_menu_uiinfo[2].widget, "profile_wizard1");
  GLADE_HOOKUP_OBJECT (app1, settings1_menu_uiinfo[3].widget, "check_ed2k_handler");
  GLADE_HOOKUP_OBJECT (app1, settings1_menu_uiinfo[4].widget, "check_torrent_handler_registration1");
  GLADE_HOOKUP_OBJECT (app1, menubar1_uiinfo[2].widget, "help1");
  GLADE_HOOKUP_OBJECT (app1, help1_menu_uiinfo[0].widget, "about1");
  GLADE_HOOKUP_OBJECT (app1, vpaned2, "vpaned2");
  GLADE_HOOKUP_OBJECT (app1, main_notebook, "main_notebook");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow37, "scrolledwindow37");
  GLADE_HOOKUP_OBJECT (app1, viewport3, "viewport3");
  GLADE_HOOKUP_OBJECT (app1, vbox5, "vbox5");
  GLADE_HOOKUP_OBJECT (app1, connect_notebook, "connect_notebook");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow18, "scrolledwindow18");
  GLADE_HOOKUP_OBJECT (app1, running_hub_clist, "running_hub_clist");
  GLADE_HOOKUP_OBJECT (app1, label103, "label103");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow16, "scrolledwindow16");
  GLADE_HOOKUP_OBJECT (app1, hub_favorite_clist, "hub_favorite_clist");
  GLADE_HOOKUP_OBJECT (app1, label73, "label73");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow15, "scrolledwindow15");
  GLADE_HOOKUP_OBJECT (app1, hub_public_clist, "hub_public_clist");
  GLADE_HOOKUP_OBJECT (app1, connect_public_label, "connect_public_label");
  GLADE_HOOKUP_OBJECT (app1, vbox28, "vbox28");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow14, "scrolledwindow14");
  GLADE_HOOKUP_OBJECT (app1, hub_recent_clist, "hub_recent_clist");
  GLADE_HOOKUP_OBJECT (app1, hbox12, "hbox12");
  GLADE_HOOKUP_OBJECT (app1, clear_recent_list_button, "clear_recent_list_button");
  GLADE_HOOKUP_OBJECT (app1, label75, "label75");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow27, "scrolledwindow27");
  GLADE_HOOKUP_OBJECT (app1, seen_hub_clist, "seen_hub_clist");
  GLADE_HOOKUP_OBJECT (app1, label191, "label191");
  GLADE_HOOKUP_OBJECT (app1, hbox47, "hbox47");
  GLADE_HOOKUP_OBJECT (app1, label258, "label258");
  GLADE_HOOKUP_OBJECT (app1, hubs_to_select_entry, "hubs_to_select_entry");
  GLADE_HOOKUP_OBJECT (app1, find_hub_button, "find_hub_button");
  GLADE_HOOKUP_OBJECT (app1, find_prev_hub_button, "find_prev_hub_button");
  GLADE_HOOKUP_OBJECT (app1, find_next_hub_button, "find_next_hub_button");
  GLADE_HOOKUP_OBJECT (app1, hbox3, "hbox3");
  GLADE_HOOKUP_OBJECT (app1, refresh_sitelist_button, "refresh_sitelist_button");
  GLADE_HOOKUP_OBJECT (app1, pixmap1, "pixmap1");
  GLADE_HOOKUP_OBJECT (app1, bookmark_button, "bookmark_button");
  GLADE_HOOKUP_OBJECT (app1, delete_selected_bookmark_button, "delete_selected_bookmark_button");
  GLADE_HOOKUP_OBJECT (app1, pixmap3, "pixmap3");
  GLADE_HOOKUP_OBJECT (app1, start_dctc_selected_hub_button, "start_dctc_selected_hub_button");
  GLADE_HOOKUP_OBJECT (app1, connect_entry, "connect_entry");
  GLADE_HOOKUP_OBJECT (app1, do_connection_button, "do_connection_button");
  GLADE_HOOKUP_OBJECT (app1, do_reconnect_now, "do_reconnect_now");
  GLADE_HOOKUP_OBJECT (app1, do_goto, "do_goto");
  GLADE_HOOKUP_OBJECT (app1, hbox14, "hbox14");
  GLADE_HOOKUP_OBJECT (app1, terminate_selected_dctcs_button, "terminate_selected_dctcs_button");
  GLADE_HOOKUP_OBJECT (app1, kill_selected_dctcs_button, "kill_selected_dctcs_button");
  GLADE_HOOKUP_OBJECT (app1, pixmap2, "pixmap2");
  GLADE_HOOKUP_OBJECT (app1, label171, "label171");
  GLADE_HOOKUP_OBJECT (app1, dctc_cmd_entry, "dctc_cmd_entry");
  GLADE_HOOKUP_OBJECT (app1, connect_page, "connect_page");
  GLADE_HOOKUP_OBJECT (app1, hpaned3, "hpaned3");
  GLADE_HOOKUP_OBJECT (app1, vbox7, "vbox7");
  GLADE_HOOKUP_OBJECT (app1, chat_notebook, "chat_notebook");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow12, "scrolledwindow12");
  GLADE_HOOKUP_OBJECT (app1, chat_output, "chat_output");
  GLADE_HOOKUP_OBJECT (app1, label352, "label352");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow21, "scrolledwindow21");
  GLADE_HOOKUP_OBJECT (app1, chat1_text, "chat1_text");
  GLADE_HOOKUP_OBJECT (app1, pchat_label1, "pchat_label1");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindowa21, "scrolledwindowa21");
  GLADE_HOOKUP_OBJECT (app1, chat2_text, "chat2_text");
  GLADE_HOOKUP_OBJECT (app1, pchat_label2, "pchat_label2");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindowb21, "scrolledwindowb21");
  GLADE_HOOKUP_OBJECT (app1, chat3_text, "chat3_text");
  GLADE_HOOKUP_OBJECT (app1, pchat_label3, "pchat_label3");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindowc21, "scrolledwindowc21");
  GLADE_HOOKUP_OBJECT (app1, chat4_text, "chat4_text");
  GLADE_HOOKUP_OBJECT (app1, pchat_label4, "pchat_label4");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindowd21, "scrolledwindowd21");
  GLADE_HOOKUP_OBJECT (app1, chat5_text, "chat5_text");
  GLADE_HOOKUP_OBJECT (app1, pchat_label5, "pchat_label5");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindowe21, "scrolledwindowe21");
  GLADE_HOOKUP_OBJECT (app1, chat6_text, "chat6_text");
  GLADE_HOOKUP_OBJECT (app1, pchat_label6, "pchat_label6");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindowf21, "scrolledwindowf21");
  GLADE_HOOKUP_OBJECT (app1, chat7_text, "chat7_text");
  GLADE_HOOKUP_OBJECT (app1, pchat_label7, "pchat_label7");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindowg21, "scrolledwindowg21");
  GLADE_HOOKUP_OBJECT (app1, chat8_text, "chat8_text");
  GLADE_HOOKUP_OBJECT (app1, pchat_label8, "pchat_label8");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindowh21, "scrolledwindowh21");
  GLADE_HOOKUP_OBJECT (app1, chat9_text, "chat9_text");
  GLADE_HOOKUP_OBJECT (app1, pchat_label9, "pchat_label9");
  GLADE_HOOKUP_OBJECT (app1, hbox5, "hbox5");
  GLADE_HOOKUP_OBJECT (app1, close_pchat_button, "close_pchat_button");
  GLADE_HOOKUP_OBJECT (app1, pixmap6, "pixmap6");
  GLADE_HOOKUP_OBJECT (app1, close_all_pchat_button, "close_all_pchat_button");
  GLADE_HOOKUP_OBJECT (app1, pixmap11, "pixmap11");
  GLADE_HOOKUP_OBJECT (app1, pchat_entry, "pchat_entry");
  GLADE_HOOKUP_OBJECT (app1, clear_private_chat_button, "clear_private_chat_button");
  GLADE_HOOKUP_OBJECT (app1, flag_pchat_user_button, "flag_pchat_user_button");
  GLADE_HOOKUP_OBJECT (app1, pubchat_flag_selected_user_button, "pubchat_flag_selected_user_button");
  GLADE_HOOKUP_OBJECT (app1, vbox20, "vbox20");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow6, "scrolledwindow6");
  GLADE_HOOKUP_OBJECT (app1, user_clist, "user_clist");
  GLADE_HOOKUP_OBJECT (app1, users_info_label, "users_info_label");
  GLADE_HOOKUP_OBJECT (app1, hbox15, "hbox15");
  GLADE_HOOKUP_OBJECT (app1, label172, "label172");
  GLADE_HOOKUP_OBJECT (app1, current_hub_address_label, "current_hub_address_label");
  GLADE_HOOKUP_OBJECT (app1, away_togglebutton, "away_togglebutton");
  GLADE_HOOKUP_OBJECT (app1, chat_page, "chat_page");
  GLADE_HOOKUP_OBJECT (app1, vbox3, "vbox3");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow13, "scrolledwindow13");
  GLADE_HOOKUP_OBJECT (app1, find_result, "find_result");
  GLADE_HOOKUP_OBJECT (app1, hbox38, "hbox38");
  GLADE_HOOKUP_OBJECT (app1, find_history_combo, "find_history_combo");
  GLADE_HOOKUP_OBJECT (app1, find_entry, "find_entry");
  GLADE_HOOKUP_OBJECT (app1, find_button, "find_button");
  GLADE_HOOKUP_OBJECT (app1, show_search_user_side_button, "show_search_user_side_button");
  GLADE_HOOKUP_OBJECT (app1, hide_search_user_button, "hide_search_user_button");
  GLADE_HOOKUP_OBJECT (app1, hbox717, "hbox717");
  GLADE_HOOKUP_OBJECT (app1, label338, "label338");
  GLADE_HOOKUP_OBJECT (app1, copy_search_result_button, "copy_search_result_button");
  GLADE_HOOKUP_OBJECT (app1, paste_search_result_button, "paste_search_result_button");
  GLADE_HOOKUP_OBJECT (app1, label339, "label339");
  GLADE_HOOKUP_OBJECT (app1, search_result_filter_combo, "search_result_filter_combo");
  GLADE_HOOKUP_OBJECT (app1, search_result_filter_combo_entry, "search_result_filter_combo_entry");
  GLADE_HOOKUP_OBJECT (app1, search_result_filter_param_entry, "search_result_filter_param_entry");
  GLADE_HOOKUP_OBJECT (app1, apply_filter_button, "apply_filter_button");
  GLADE_HOOKUP_OBJECT (app1, alignment1, "alignment1");
  GLADE_HOOKUP_OBJECT (app1, hbox718, "hbox718");
  GLADE_HOOKUP_OBJECT (app1, image7, "image7");
  GLADE_HOOKUP_OBJECT (app1, label340, "label340");
  GLADE_HOOKUP_OBJECT (app1, hbox714, "hbox714");
  GLADE_HOOKUP_OBJECT (app1, ed2k_url_radiobutton, "ed2k_url_radiobutton");
  GLADE_HOOKUP_OBJECT (app1, bittorrent_url_radiobutton, "bittorrent_url_radiobutton");
  GLADE_HOOKUP_OBJECT (app1, ed2k_url_entry, "ed2k_url_entry");
  GLADE_HOOKUP_OBJECT (app1, create_gdl_from_ed2k_url_button, "create_gdl_from_ed2k_url_button");
  GLADE_HOOKUP_OBJECT (app1, clear_ed2k_url_entry_button, "clear_ed2k_url_entry_button");
  GLADE_HOOKUP_OBJECT (app1, user_search_vbox, "user_search_vbox");
  GLADE_HOOKUP_OBJECT (app1, currently_searched_user_label, "currently_searched_user_label");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow31, "scrolledwindow31");
  GLADE_HOOKUP_OBJECT (app1, locate_user_clist, "locate_user_clist");
  GLADE_HOOKUP_OBJECT (app1, hbox713, "hbox713");
  GLADE_HOOKUP_OBJECT (app1, locate_user_entry, "locate_user_entry");
  GLADE_HOOKUP_OBJECT (app1, search_user_button, "search_user_button");
  GLADE_HOOKUP_OBJECT (app1, hbox734, "hbox734");
  GLADE_HOOKUP_OBJECT (app1, image65, "image65");
  GLADE_HOOKUP_OBJECT (app1, find_page, "find_page");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow35, "scrolledwindow35");
  GLADE_HOOKUP_OBJECT (app1, viewport1, "viewport1");
  GLADE_HOOKUP_OBJECT (app1, vbox4, "vbox4");
  GLADE_HOOKUP_OBJECT (app1, frame4, "frame4");
  GLADE_HOOKUP_OBJECT (app1, table12, "table12");
  GLADE_HOOKUP_OBJECT (app1, hbox1, "hbox1");
  GLADE_HOOKUP_OBJECT (app1, size_checkbutton, "size_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, combo2, "combo2");
  GLADE_HOOKUP_OBJECT (app1, sizetype_entry, "sizetype_entry");
  GLADE_HOOKUP_OBJECT (app1, size_entry, "size_entry");
  GLADE_HOOKUP_OBJECT (app1, combo3, "combo3");
  GLADE_HOOKUP_OBJECT (app1, size_unit_entry, "size_unit_entry");
  GLADE_HOOKUP_OBJECT (app1, hbox2, "hbox2");
  GLADE_HOOKUP_OBJECT (app1, label70, "label70");
  GLADE_HOOKUP_OBJECT (app1, combo4, "combo4");
  GLADE_HOOKUP_OBJECT (app1, filetype_entry, "filetype_entry");
  GLADE_HOOKUP_OBJECT (app1, label71, "label71");
  GLADE_HOOKUP_OBJECT (app1, combo8, "combo8");
  GLADE_HOOKUP_OBJECT (app1, filetype_entry1, "filetype_entry1");
  GLADE_HOOKUP_OBJECT (app1, postfiltering_checkbutton, "postfiltering_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, label259a, "label259a");
  GLADE_HOOKUP_OBJECT (app1, frame1, "frame1");
  GLADE_HOOKUP_OBJECT (app1, table8, "table8");
  GLADE_HOOKUP_OBJECT (app1, label178, "label178");
  GLADE_HOOKUP_OBJECT (app1, hbox18, "hbox18");
  GLADE_HOOKUP_OBJECT (app1, as_gid_label, "as_gid_label");
  GLADE_HOOKUP_OBJECT (app1, as_fname_label, "as_fname_label");
  GLADE_HOOKUP_OBJECT (app1, combo9, "combo9");
  GLADE_HOOKUP_OBJECT (app1, gdl_as_filetype_entry, "gdl_as_filetype_entry");
  GLADE_HOOKUP_OBJECT (app1, label181, "label181");
  GLADE_HOOKUP_OBJECT (app1, label182, "label182");
  GLADE_HOOKUP_OBJECT (app1, add_as_to_gdl_button, "add_as_to_gdl_button");
  GLADE_HOOKUP_OBJECT (app1, gdl_as_pattern_entry, "gdl_as_pattern_entry");
  GLADE_HOOKUP_OBJECT (app1, label260a, "label260a");
  GLADE_HOOKUP_OBJECT (app1, frame15, "frame15");
  GLADE_HOOKUP_OBJECT (app1, table20, "table20");
  GLADE_HOOKUP_OBJECT (app1, label282, "label282");
  GLADE_HOOKUP_OBJECT (app1, label284, "label284");
  GLADE_HOOKUP_OBJECT (app1, gdl_rename_filename_entry, "gdl_rename_filename_entry");
  GLADE_HOOKUP_OBJECT (app1, hbox704, "hbox704");
  GLADE_HOOKUP_OBJECT (app1, gdl_rename_gid_label, "gdl_rename_gid_label");
  GLADE_HOOKUP_OBJECT (app1, gdl_rename_fname_label, "gdl_rename_fname_label");
  GLADE_HOOKUP_OBJECT (app1, do_gdl_rename_button, "do_gdl_rename_button");
  GLADE_HOOKUP_OBJECT (app1, remove_current_gdl_rename_button, "remove_current_gdl_rename_button");
  GLADE_HOOKUP_OBJECT (app1, label261, "label261");
  GLADE_HOOKUP_OBJECT (app1, frame16, "frame16");
  GLADE_HOOKUP_OBJECT (app1, table22, "table22");
  GLADE_HOOKUP_OBJECT (app1, label301, "label301");
  GLADE_HOOKUP_OBJECT (app1, label302, "label302");
  GLADE_HOOKUP_OBJECT (app1, gdl_endname_filename_entry, "gdl_endname_filename_entry");
  GLADE_HOOKUP_OBJECT (app1, hbox706, "hbox706");
  GLADE_HOOKUP_OBJECT (app1, gdl_script_gid_label, "gdl_script_gid_label");
  GLADE_HOOKUP_OBJECT (app1, gdl_script_fname_label, "gdl_script_fname_label");
  GLADE_HOOKUP_OBJECT (app1, do_gdl_script_button, "do_gdl_script_button");
  GLADE_HOOKUP_OBJECT (app1, remove_current_gdl_script_button, "remove_current_gdl_script_button");
  GLADE_HOOKUP_OBJECT (app1, label285a, "label285a");
  GLADE_HOOKUP_OBJECT (app1, find_config, "find_config");
  GLADE_HOOKUP_OBJECT (app1, hpaned4, "hpaned4");
  GLADE_HOOKUP_OBJECT (app1, vbox27, "vbox27");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow30, "scrolledwindow30");
  GLADE_HOOKUP_OBJECT (app1, user_file_list_clist, "user_file_list_clist");
  GLADE_HOOKUP_OBJECT (app1, hbox11, "hbox11");
  GLADE_HOOKUP_OBJECT (app1, clear_user_file_list, "clear_user_file_list");
  GLADE_HOOKUP_OBJECT (app1, pixmap10, "pixmap10");
  GLADE_HOOKUP_OBJECT (app1, label293, "label293");
  GLADE_HOOKUP_OBJECT (app1, user_file_list_search_entry, "user_file_list_search_entry");
  GLADE_HOOKUP_OBJECT (app1, user_file_list_search_button, "user_file_list_search_button");
  GLADE_HOOKUP_OBJECT (app1, user_file_list_find_previous_button, "user_file_list_find_previous_button");
  GLADE_HOOKUP_OBJECT (app1, user_file_list_find_next_button, "user_file_list_find_next_button");
  GLADE_HOOKUP_OBJECT (app1, user_file_list_search_as_directory_checkbutton, "user_file_list_search_as_directory_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, user_file_list_search_as_file_checkbutton, "user_file_list_search_as_file_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, cached_user_list_vbox, "cached_user_list_vbox");
  GLADE_HOOKUP_OBJECT (app1, label279, "label279");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow32, "scrolledwindow32");
  GLADE_HOOKUP_OBJECT (app1, cached_user_list_clist, "cached_user_list_clist");
  GLADE_HOOKUP_OBJECT (app1, hbox701, "hbox701");
  GLADE_HOOKUP_OBJECT (app1, reload_cached_user_list, "reload_cached_user_list");
  GLADE_HOOKUP_OBJECT (app1, pixmap4, "pixmap4");
  GLADE_HOOKUP_OBJECT (app1, load_selected_share_lists_button, "load_selected_share_lists_button");
  GLADE_HOOKUP_OBJECT (app1, delete_selected_share_lists_button, "delete_selected_share_lists_button");
  GLADE_HOOKUP_OBJECT (app1, pixmap5, "pixmap5");
  GLADE_HOOKUP_OBJECT (app1, user_file_list_page, "user_file_list_page");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow36, "scrolledwindow36");
  GLADE_HOOKUP_OBJECT (app1, viewport2, "viewport2");
  GLADE_HOOKUP_OBJECT (app1, vbox21, "vbox21");
  GLADE_HOOKUP_OBJECT (app1, user_pref_notebook, "user_pref_notebook");
  GLADE_HOOKUP_OBJECT (app1, table4, "table4");
  GLADE_HOOKUP_OBJECT (app1, passive_mode_radio_button, "passive_mode_radio_button");
  GLADE_HOOKUP_OBJECT (app1, label126, "label126");
  GLADE_HOOKUP_OBJECT (app1, table5, "table5");
  GLADE_HOOKUP_OBJECT (app1, incoming_port_number_entry, "incoming_port_number_entry");
  GLADE_HOOKUP_OBJECT (app1, xfer_host_ip_entry, "xfer_host_ip_entry");
  GLADE_HOOKUP_OBJECT (app1, label127, "label127");
  GLADE_HOOKUP_OBJECT (app1, hbox16, "hbox16");
  GLADE_HOOKUP_OBJECT (app1, label173, "label173");
  GLADE_HOOKUP_OBJECT (app1, ignore_ipcheckbutton, "ignore_ipcheckbutton");
  GLADE_HOOKUP_OBJECT (app1, dynipcheckbutton, "dynipcheckbutton");
  GLADE_HOOKUP_OBJECT (app1, label356, "label356");
  GLADE_HOOKUP_OBJECT (app1, curhostip_var_label, "curhostip_var_label");
  GLADE_HOOKUP_OBJECT (app1, active_mode_radio_button, "active_mode_radio_button");
  GLADE_HOOKUP_OBJECT (app1, hseparator2, "hseparator2");
  GLADE_HOOKUP_OBJECT (app1, hbox31, "hbox31");
  GLADE_HOOKUP_OBJECT (app1, enable_upload_checkbutton, "enable_upload_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, label125, "label125");
  GLADE_HOOKUP_OBJECT (app1, sim_dl_hscale, "sim_dl_hscale");
  GLADE_HOOKUP_OBJECT (app1, hidden_shared_dir_entry, "hidden_shared_dir_entry");
  GLADE_HOOKUP_OBJECT (app1, table10, "table10");
  GLADE_HOOKUP_OBJECT (app1, label123, "label123");
  GLADE_HOOKUP_OBJECT (app1, label129, "label129");
  GLADE_HOOKUP_OBJECT (app1, label130, "label130");
  GLADE_HOOKUP_OBJECT (app1, label124, "label124");
  GLADE_HOOKUP_OBJECT (app1, combo6, "combo6");
  GLADE_HOOKUP_OBJECT (app1, cnx_type_entry, "cnx_type_entry");
  GLADE_HOOKUP_OBJECT (app1, user_description_entry, "user_description_entry");
  GLADE_HOOKUP_OBJECT (app1, nickname_entry, "nickname_entry");
  GLADE_HOOKUP_OBJECT (app1, e_mail_entry, "e_mail_entry");
  GLADE_HOOKUP_OBJECT (app1, frame3, "frame3");
  GLADE_HOOKUP_OBJECT (app1, table11, "table11");
  GLADE_HOOKUP_OBJECT (app1, label189, "label189");
  GLADE_HOOKUP_OBJECT (app1, label285, "label285");
  GLADE_HOOKUP_OBJECT (app1, label188, "label188");
  GLADE_HOOKUP_OBJECT (app1, label190, "label190");
  GLADE_HOOKUP_OBJECT (app1, label286, "label286");
  GLADE_HOOKUP_OBJECT (app1, combo14, "combo14");
  GLADE_HOOKUP_OBJECT (app1, socks_proxy_version_combo_entry, "socks_proxy_version_combo_entry");
  GLADE_HOOKUP_OBJECT (app1, socks_address_entry, "socks_address_entry");
  GLADE_HOOKUP_OBJECT (app1, socks_port_entry, "socks_port_entry");
  GLADE_HOOKUP_OBJECT (app1, socks_user_passwd_entry, "socks_user_passwd_entry");
  GLADE_HOOKUP_OBJECT (app1, socks_userid_entry, "socks_userid_entry");
  GLADE_HOOKUP_OBJECT (app1, label303a, "label303a");
  GLADE_HOOKUP_OBJECT (app1, frame6, "frame6");
  GLADE_HOOKUP_OBJECT (app1, hbox32, "hbox32");
  GLADE_HOOKUP_OBJECT (app1, hublist_cnx_type_combo, "hublist_cnx_type_combo");
  GLADE_HOOKUP_OBJECT (app1, hublist_cnxtype_entry, "hublist_cnxtype_entry");
  GLADE_HOOKUP_OBJECT (app1, label206, "label206");
  GLADE_HOOKUP_OBJECT (app1, web_proxy_host_entry, "web_proxy_host_entry");
  GLADE_HOOKUP_OBJECT (app1, label207, "label207");
  GLADE_HOOKUP_OBJECT (app1, web_proxy_port_entry, "web_proxy_port_entry");
  GLADE_HOOKUP_OBJECT (app1, label304, "label304");
  GLADE_HOOKUP_OBJECT (app1, label131, "label131");
  GLADE_HOOKUP_OBJECT (app1, table6, "table6");
  GLADE_HOOKUP_OBJECT (app1, label257, "label257");
  GLADE_HOOKUP_OBJECT (app1, label134, "label134");
  GLADE_HOOKUP_OBJECT (app1, label132, "label132");
  GLADE_HOOKUP_OBJECT (app1, label133, "label133");
  GLADE_HOOKUP_OBJECT (app1, hbox710, "hbox710");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow22, "scrolledwindow22");
  GLADE_HOOKUP_OBJECT (app1, shared_dir_clist, "shared_dir_clist");
  GLADE_HOOKUP_OBJECT (app1, vbox22, "vbox22");
  GLADE_HOOKUP_OBJECT (app1, add_shared_dir_button, "add_shared_dir_button");
  GLADE_HOOKUP_OBJECT (app1, pixmap12, "pixmap12");
  GLADE_HOOKUP_OBJECT (app1, remove_shared_dir_button, "remove_shared_dir_button");
  GLADE_HOOKUP_OBJECT (app1, pixmap13, "pixmap13");
  GLADE_HOOKUP_OBJECT (app1, hbox709, "hbox709");
  GLADE_HOOKUP_OBJECT (app1, dl_dir_entry, "dl_dir_entry");
  GLADE_HOOKUP_OBJECT (app1, do_browse_dl_dir_button, "do_browse_dl_dir_button");
  GLADE_HOOKUP_OBJECT (app1, hbox707, "hbox707");
  GLADE_HOOKUP_OBJECT (app1, vshare_dir_entry, "vshare_dir_entry");
  GLADE_HOOKUP_OBJECT (app1, do_browse_vshare_dir_button, "do_browse_vshare_dir_button");
  GLADE_HOOKUP_OBJECT (app1, hbox708, "hbox708");
  GLADE_HOOKUP_OBJECT (app1, size_offset_entry, "size_offset_entry");
  GLADE_HOOKUP_OBJECT (app1, combo7, "combo7");
  GLADE_HOOKUP_OBJECT (app1, size_offset_unit_entry, "size_offset_unit_entry");
  GLADE_HOOKUP_OBJECT (app1, label135, "label135");
  GLADE_HOOKUP_OBJECT (app1, vbox33, "vbox33");
  GLADE_HOOKUP_OBJECT (app1, hbox29, "hbox29");
  GLADE_HOOKUP_OBJECT (app1, label205, "label205");
  GLADE_HOOKUP_OBJECT (app1, dctc_version_label, "dctc_version_label");
  GLADE_HOOKUP_OBJECT (app1, hbox23, "hbox23");
  GLADE_HOOKUP_OBJECT (app1, override_version_checkbutton, "override_version_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, version_number_entry, "version_number_entry");
  GLADE_HOOKUP_OBJECT (app1, hbox24, "hbox24");
  GLADE_HOOKUP_OBJECT (app1, label157, "label157");
  GLADE_HOOKUP_OBJECT (app1, reconnect_delay_scale, "reconnect_delay_scale");
  GLADE_HOOKUP_OBJECT (app1, hbox25, "hbox25");
  GLADE_HOOKUP_OBJECT (app1, label158, "label158");
  GLADE_HOOKUP_OBJECT (app1, rebuild_delay_scale, "rebuild_delay_scale");
  GLADE_HOOKUP_OBJECT (app1, hbox711, "hbox711");
  GLADE_HOOKUP_OBJECT (app1, label303, "label303");
  GLADE_HOOKUP_OBJECT (app1, min_delay_between_search_spinbutton, "min_delay_between_search_spinbutton");
  GLADE_HOOKUP_OBJECT (app1, frame12, "frame12");
  GLADE_HOOKUP_OBJECT (app1, table13, "table13");
  GLADE_HOOKUP_OBJECT (app1, follow_forcemove_checkbutton, "follow_forcemove_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, grabip_checkbutton, "grabip_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, hide_kick_checkbutton, "hide_kick_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, abort_upload_checkbutton, "abort_upload_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, add_tag_checkbutton, "add_tag_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, fake_dcpp_checkbutton, "fake_dcpp_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, hbox722, "hbox722");
  GLADE_HOOKUP_OBJECT (app1, label349, "label349");
  GLADE_HOOKUP_OBJECT (app1, fake_dcpp_version_entry, "fake_dcpp_version_entry");
  GLADE_HOOKUP_OBJECT (app1, label305, "label305");
  GLADE_HOOKUP_OBJECT (app1, hbox44, "hbox44");
  GLADE_HOOKUP_OBJECT (app1, label220, "label220");
  GLADE_HOOKUP_OBJECT (app1, unodeport_entry, "unodeport_entry");
  GLADE_HOOKUP_OBJECT (app1, label201, "label201");
  GLADE_HOOKUP_OBJECT (app1, vbox31, "vbox31");
  GLADE_HOOKUP_OBJECT (app1, use_done_dir_checkbutton, "use_done_dir_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, ddl_checkbutton, "ddl_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, lazykc_checkbutton, "lazykc_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, hbox39, "hbox39");
  GLADE_HOOKUP_OBJECT (app1, dbl_checkbutton, "dbl_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, dbl_entry, "dbl_entry");
  GLADE_HOOKUP_OBJECT (app1, label217, "label217");
  GLADE_HOOKUP_OBJECT (app1, frame17, "frame17");
  GLADE_HOOKUP_OBJECT (app1, vbox42, "vbox42");
  GLADE_HOOKUP_OBJECT (app1, limit_as_port_checkbutton, "limit_as_port_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, hbox712, "hbox712");
  GLADE_HOOKUP_OBJECT (app1, label317, "label317");
  GLADE_HOOKUP_OBJECT (app1, low_as_port_spinbutton, "low_as_port_spinbutton");
  GLADE_HOOKUP_OBJECT (app1, label318, "label318");
  GLADE_HOOKUP_OBJECT (app1, up_as_port_spinbutton, "up_as_port_spinbutton");
  GLADE_HOOKUP_OBJECT (app1, label316, "label316");
  GLADE_HOOKUP_OBJECT (app1, label199, "label199");
  GLADE_HOOKUP_OBJECT (app1, vbox41, "vbox41");
  GLADE_HOOKUP_OBJECT (app1, frame5, "frame5");
  GLADE_HOOKUP_OBJECT (app1, vbox34, "vbox34");
  GLADE_HOOKUP_OBJECT (app1, hbox27, "hbox27");
  GLADE_HOOKUP_OBJECT (app1, label202, "label202");
  GLADE_HOOKUP_OBJECT (app1, maxrunspinbutton, "maxrunspinbutton");
  GLADE_HOOKUP_OBJECT (app1, hbox28, "hbox28");
  GLADE_HOOKUP_OBJECT (app1, label203, "label203");
  GLADE_HOOKUP_OBJECT (app1, maxasoffspinbutton, "maxasoffspinbutton");
  GLADE_HOOKUP_OBJECT (app1, label204, "label204");
  GLADE_HOOKUP_OBJECT (app1, hbox49, "hbox49");
  GLADE_HOOKUP_OBJECT (app1, label278, "label278");
  GLADE_HOOKUP_OBJECT (app1, maxudl_spinbutton, "maxudl_spinbutton");
  GLADE_HOOKUP_OBJECT (app1, hbox40, "hbox40");
  GLADE_HOOKUP_OBJECT (app1, gbl_checkbutton, "gbl_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, gbl_entry, "gbl_entry");
  GLADE_HOOKUP_OBJECT (app1, label218, "label218");
  GLADE_HOOKUP_OBJECT (app1, label306, "label306");
  GLADE_HOOKUP_OBJECT (app1, frame13, "frame13");
  GLADE_HOOKUP_OBJECT (app1, table17, "table17");
  GLADE_HOOKUP_OBJECT (app1, incoming_wake_up_checkbutton, "incoming_wake_up_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, sr_wake_up_checkbutton, "sr_wake_up_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, hbox46, "hbox46");
  GLADE_HOOKUP_OBJECT (app1, label255, "label255");
  GLADE_HOOKUP_OBJECT (app1, min_gdl_wake_up_delay_entry, "min_gdl_wake_up_delay_entry");
  GLADE_HOOKUP_OBJECT (app1, label256, "label256");
  GLADE_HOOKUP_OBJECT (app1, label307, "label307");
  GLADE_HOOKUP_OBJECT (app1, frame19, "frame19");
  GLADE_HOOKUP_OBJECT (app1, vbox45, "vbox45");
  GLADE_HOOKUP_OBJECT (app1, hbox719, "hbox719");
  GLADE_HOOKUP_OBJECT (app1, label342, "label342");
  GLADE_HOOKUP_OBJECT (app1, lmule_temp_entry, "lmule_temp_entry");
  GLADE_HOOKUP_OBJECT (app1, lmule_default_temp_dir_button, "lmule_default_temp_dir_button");
  GLADE_HOOKUP_OBJECT (app1, image8, "image8");
  GLADE_HOOKUP_OBJECT (app1, hbox720, "hbox720");
  GLADE_HOOKUP_OBJECT (app1, label343, "label343");
  GLADE_HOOKUP_OBJECT (app1, lmule_scan_spinbutton, "lmule_scan_spinbutton");
  GLADE_HOOKUP_OBJECT (app1, label344, "label344");
  GLADE_HOOKUP_OBJECT (app1, label341, "label341");
  GLADE_HOOKUP_OBJECT (app1, label315, "label315");
  GLADE_HOOKUP_OBJECT (app1, vbox32, "vbox32");
  GLADE_HOOKUP_OBJECT (app1, hbox21, "hbox21");
  GLADE_HOOKUP_OBJECT (app1, ubl_checkbutton, "ubl_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, ubl_entry, "ubl_entry");
  GLADE_HOOKUP_OBJECT (app1, label154, "label154");
  GLADE_HOOKUP_OBJECT (app1, sharelist_dl_checkbutton, "sharelist_dl_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, label200, "label200");
  GLADE_HOOKUP_OBJECT (app1, table18, "table18");
  GLADE_HOOKUP_OBJECT (app1, label260, "label260");
  GLADE_HOOKUP_OBJECT (app1, label261_search__UNODE_, "label261_search__UNODE_");
  GLADE_HOOKUP_OBJECT (app1, label262, "label262");
  GLADE_HOOKUP_OBJECT (app1, label263, "label263");
  GLADE_HOOKUP_OBJECT (app1, combo10, "combo10");
  GLADE_HOOKUP_OBJECT (app1, hub_tos_entry, "hub_tos_entry");
  GLADE_HOOKUP_OBJECT (app1, combo13, "combo13");
  GLADE_HOOKUP_OBJECT (app1, ul_tos_entry, "ul_tos_entry");
  GLADE_HOOKUP_OBJECT (app1, combo12, "combo12");
  GLADE_HOOKUP_OBJECT (app1, dl_tos_entry, "dl_tos_entry");
  GLADE_HOOKUP_OBJECT (app1, combo11, "combo11");
  GLADE_HOOKUP_OBJECT (app1, udp_tos_entry, "udp_tos_entry");
  GLADE_HOOKUP_OBJECT (app1, frame14, "frame14");
  GLADE_HOOKUP_OBJECT (app1, table19, "table19");
  GLADE_HOOKUP_OBJECT (app1, label266, "label266");
  GLADE_HOOKUP_OBJECT (app1, label267, "label267");
  GLADE_HOOKUP_OBJECT (app1, label268, "label268");
  GLADE_HOOKUP_OBJECT (app1, label269, "label269");
  GLADE_HOOKUP_OBJECT (app1, label270, "label270");
  GLADE_HOOKUP_OBJECT (app1, label271, "label271");
  GLADE_HOOKUP_OBJECT (app1, label272, "label272");
  GLADE_HOOKUP_OBJECT (app1, label273, "label273");
  GLADE_HOOKUP_OBJECT (app1, label274, "label274");
  GLADE_HOOKUP_OBJECT (app1, label275, "label275");
  GLADE_HOOKUP_OBJECT (app1, label310, "label310");
  GLADE_HOOKUP_OBJECT (app1, label259, "label259");
  GLADE_HOOKUP_OBJECT (app1, hbox6, "hbox6");
  GLADE_HOOKUP_OBJECT (app1, apply_pref, "apply_pref");
  GLADE_HOOKUP_OBJECT (app1, reload_pref, "reload_pref");
  GLADE_HOOKUP_OBJECT (app1, pixmap7, "pixmap7");
  GLADE_HOOKUP_OBJECT (app1, save_default_profile_button, "save_default_profile_button");
  GLADE_HOOKUP_OBJECT (app1, load_default_profil_button, "load_default_profil_button");
  GLADE_HOOKUP_OBJECT (app1, label287, "label287");
  GLADE_HOOKUP_OBJECT (app1, profile_name_combo, "profile_name_combo");
  GLADE_HOOKUP_OBJECT (app1, profile_name_combo_entry, "profile_name_combo_entry");
  GLADE_HOOKUP_OBJECT (app1, image22, "image22");
  GLADE_HOOKUP_OBJECT (app1, delete_profile_button, "delete_profile_button");
  GLADE_HOOKUP_OBJECT (app1, hbox727, "hbox727");
  GLADE_HOOKUP_OBJECT (app1, image58, "image58");
  GLADE_HOOKUP_OBJECT (app1, label122, "label122");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow40, "scrolledwindow40");
  GLADE_HOOKUP_OBJECT (app1, viewport4, "viewport4");
  GLADE_HOOKUP_OBJECT (app1, vbox47, "vbox47");
  GLADE_HOOKUP_OBJECT (app1, gui_pref_notebook, "gui_pref_notebook");
  GLADE_HOOKUP_OBJECT (app1, vbox43, "vbox43");
  GLADE_HOOKUP_OBJECT (app1, hbox715, "hbox715");
  GLADE_HOOKUP_OBJECT (app1, label335, "label335");
  GLADE_HOOKUP_OBJECT (app1, hublist_radiobutton, "hublist_radiobutton");
  GLADE_HOOKUP_OBJECT (app1, xml_hublist_org_radiobutton, "xml_hublist_org_radiobutton");
  GLADE_HOOKUP_OBJECT (app1, custom_hublist_radiobutton, "custom_hublist_radiobutton");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow38, "scrolledwindow38");
  GLADE_HOOKUP_OBJECT (app1, custom_hublist_treeview, "custom_hublist_treeview");
  GLADE_HOOKUP_OBJECT (app1, hbox716, "hbox716");
  GLADE_HOOKUP_OBJECT (app1, add_hublist_entry, "add_hublist_entry");
  GLADE_HOOKUP_OBJECT (app1, add_hublist_button, "add_hublist_button");
  GLADE_HOOKUP_OBJECT (app1, remove_hublist_button, "remove_hublist_button");
  GLADE_HOOKUP_OBJECT (app1, hidden_planar_hublist, "hidden_planar_hublist");
  GLADE_HOOKUP_OBJECT (app1, label334, "label334");
  GLADE_HOOKUP_OBJECT (app1, table21, "table21");
  GLADE_HOOKUP_OBJECT (app1, label289, "label289");
  GLADE_HOOKUP_OBJECT (app1, label290, "label290");
  GLADE_HOOKUP_OBJECT (app1, running_client_list_refresh_rate_spinbutton, "running_client_list_refresh_rate_spinbutton");
  GLADE_HOOKUP_OBJECT (app1, label291, "label291");
  GLADE_HOOKUP_OBJECT (app1, label292, "label292");
  GLADE_HOOKUP_OBJECT (app1, favorite_client_autostart_check_rate_spinbutton, "favorite_client_autostart_check_rate_spinbutton");
  GLADE_HOOKUP_OBJECT (app1, utf8_mode_checkbutton, "utf8_mode_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, enhanced_chat_display_checkbutton, "enhanced_chat_display_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, get_uinfo_checkbutton, "get_uinfo_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, ignore_all_pmsg_checkbutton, "ignore_all_pmsg_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, disable_tooltips_checkbutton, "disable_tooltips_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, label288, "label288");
  GLADE_HOOKUP_OBJECT (app1, vbox44, "vbox44");
  GLADE_HOOKUP_OBJECT (app1, enable_sound_checkbutton, "enable_sound_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, frame18, "frame18");
  GLADE_HOOKUP_OBJECT (app1, table26, "table26");
  GLADE_HOOKUP_OBJECT (app1, end_of_dl_sound_checkbutton, "end_of_dl_sound_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, privmsg_sound_checkbutton, "privmsg_sound_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, end_of_dl_sound_entry, "end_of_dl_sound_entry");
  GLADE_HOOKUP_OBJECT (app1, privmsg_sound_entry, "privmsg_sound_entry");
  GLADE_HOOKUP_OBJECT (app1, end_of_dl_sound_button, "end_of_dl_sound_button");
  GLADE_HOOKUP_OBJECT (app1, privmsg_sound_button, "privmsg_sound_button");
  GLADE_HOOKUP_OBJECT (app1, hublist_sound_checkbutton, "hublist_sound_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, hublist_sound_entry, "hublist_sound_entry");
  GLADE_HOOKUP_OBJECT (app1, hublist_sound_button, "hublist_sound_button");
  GLADE_HOOKUP_OBJECT (app1, label337, "label337");
  GLADE_HOOKUP_OBJECT (app1, label336, "label336");
  GLADE_HOOKUP_OBJECT (app1, vbox37, "vbox37");
  GLADE_HOOKUP_OBJECT (app1, frame8, "frame8");
  GLADE_HOOKUP_OBJECT (app1, vbox38, "vbox38");
  GLADE_HOOKUP_OBJECT (app1, pchat_flag_switch_to_flag_tab_checkbutton, "pchat_flag_switch_to_flag_tab_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, pchat_flag_auto_add_checkbutton, "pchat_flag_auto_add_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, frame9, "frame9");
  GLADE_HOOKUP_OBJECT (app1, table15, "table15");
  GLADE_HOOKUP_OBJECT (app1, autoflag_user_flag_ignore_sr_togglebutton, "autoflag_user_flag_ignore_sr_togglebutton");
  GLADE_HOOKUP_OBJECT (app1, autoflag_user_flag_ignore_srch_togglebutton, "autoflag_user_flag_ignore_srch_togglebutton");
  GLADE_HOOKUP_OBJECT (app1, autoflag_user_flag_ignore_pmsg_togglebutton, "autoflag_user_flag_ignore_pmsg_togglebutton");
  GLADE_HOOKUP_OBJECT (app1, autoflag_user_flag_ignore_dl_limit_togglebutton, "autoflag_user_flag_ignore_dl_limit_togglebutton");
  GLADE_HOOKUP_OBJECT (app1, autoflag_user_flag_no_xfer_togglebutton, "autoflag_user_flag_no_xfer_togglebutton");
  GLADE_HOOKUP_OBJECT (app1, autoflag_user_flag_ignore_pubmsg_togglebutton, "autoflag_user_flag_ignore_pubmsg_togglebutton");
  GLADE_HOOKUP_OBJECT (app1, label309, "label309");
  GLADE_HOOKUP_OBJECT (app1, label308, "label308");
  GLADE_HOOKUP_OBJECT (app1, label216, "label216");
  GLADE_HOOKUP_OBJECT (app1, vbox46, "vbox46");
  GLADE_HOOKUP_OBJECT (app1, hbox723, "hbox723");
  GLADE_HOOKUP_OBJECT (app1, label350, "label350");
  GLADE_HOOKUP_OBJECT (app1, bittorrent_refresh_rate_spinbutton, "bittorrent_refresh_rate_spinbutton");
  GLADE_HOOKUP_OBJECT (app1, label351, "label351");
  GLADE_HOOKUP_OBJECT (app1, autokill_bt_at_end_checkbutton, "autokill_bt_at_end_checkbutton");
  GLADE_HOOKUP_OBJECT (app1, hbox721, "hbox721");
  GLADE_HOOKUP_OBJECT (app1, label347, "label347");
  GLADE_HOOKUP_OBJECT (app1, bittorrent_autokill_delay_spinbutton, "bittorrent_autokill_delay_spinbutton");
  GLADE_HOOKUP_OBJECT (app1, label348, "label348");
  GLADE_HOOKUP_OBJECT (app1, label346, "label346");
  GLADE_HOOKUP_OBJECT (app1, hbox724, "hbox724");
  GLADE_HOOKUP_OBJECT (app1, save_gui_prefs_button, "save_gui_prefs_button");
  GLADE_HOOKUP_OBJECT (app1, reload_gui_prefs_button, "reload_gui_prefs_button");
  GLADE_HOOKUP_OBJECT (app1, hbox728, "hbox728");
  GLADE_HOOKUP_OBJECT (app1, image59, "image59");
  GLADE_HOOKUP_OBJECT (app1, label353, "label353");
  GLADE_HOOKUP_OBJECT (app1, hbox41, "hbox41");
  GLADE_HOOKUP_OBJECT (app1, frame11, "frame11");
  GLADE_HOOKUP_OBJECT (app1, vbox30, "vbox30");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow26, "scrolledwindow26");
  GLADE_HOOKUP_OBJECT (app1, uaddr_clist, "uaddr_clist");
  GLADE_HOOKUP_OBJECT (app1, hbox42, "hbox42");
  GLADE_HOOKUP_OBJECT (app1, label186, "label186");
  GLADE_HOOKUP_OBJECT (app1, uaddr_nick_entry, "uaddr_nick_entry");
  GLADE_HOOKUP_OBJECT (app1, hbox19, "hbox19");
  GLADE_HOOKUP_OBJECT (app1, label187, "label187");
  GLADE_HOOKUP_OBJECT (app1, uaddr_hostipport_entry, "uaddr_hostipport_entry");
  GLADE_HOOKUP_OBJECT (app1, hbox43, "hbox43");
  GLADE_HOOKUP_OBJECT (app1, find_uaddr_by_nick_button, "find_uaddr_by_nick_button");
  GLADE_HOOKUP_OBJECT (app1, button, "button");
  GLADE_HOOKUP_OBJECT (app1, hbox20, "hbox20");
  GLADE_HOOKUP_OBJECT (app1, button2, "button2");
  GLADE_HOOKUP_OBJECT (app1, find_uaddr_by_addr_button, "find_uaddr_by_addr_button");
  GLADE_HOOKUP_OBJECT (app1, label311, "label311");
  GLADE_HOOKUP_OBJECT (app1, frame10, "frame10");
  GLADE_HOOKUP_OBJECT (app1, vbox39, "vbox39");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow29, "scrolledwindow29");
  GLADE_HOOKUP_OBJECT (app1, unode_clist, "unode_clist");
  GLADE_HOOKUP_OBJECT (app1, unode_addr_entry, "unode_addr_entry");
  GLADE_HOOKUP_OBJECT (app1, addr_unode_button, "addr_unode_button");
  GLADE_HOOKUP_OBJECT (app1, del_selected_unode_button, "del_selected_unode_button");
  GLADE_HOOKUP_OBJECT (app1, reload_unode_address_list_button, "reload_unode_address_list_button");
  GLADE_HOOKUP_OBJECT (app1, label312, "label312");
  GLADE_HOOKUP_OBJECT (app1, label183, "label183");
  GLADE_HOOKUP_OBJECT (app1, vbox35, "vbox35");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow28, "scrolledwindow28");
  GLADE_HOOKUP_OBJECT (app1, flagged_user_clist, "flagged_user_clist");
  GLADE_HOOKUP_OBJECT (app1, hbox35, "hbox35");
  GLADE_HOOKUP_OBJECT (app1, vbox36, "vbox36");
  GLADE_HOOKUP_OBJECT (app1, hbox36, "hbox36");
  GLADE_HOOKUP_OBJECT (app1, label215, "label215");
  GLADE_HOOKUP_OBJECT (app1, flagged_user_label, "flagged_user_label");
  GLADE_HOOKUP_OBJECT (app1, hbox37, "hbox37");
  GLADE_HOOKUP_OBJECT (app1, add_modify_flag_user_button, "add_modify_flag_user_button");
  GLADE_HOOKUP_OBJECT (app1, delete_flag_user_button, "delete_flag_user_button");
  GLADE_HOOKUP_OBJECT (app1, pixmap8, "pixmap8");
  GLADE_HOOKUP_OBJECT (app1, frame7, "frame7");
  GLADE_HOOKUP_OBJECT (app1, table14, "table14");
  GLADE_HOOKUP_OBJECT (app1, user_flag_ignore_sr_togglebutton, "user_flag_ignore_sr_togglebutton");
  GLADE_HOOKUP_OBJECT (app1, user_flag_ignore_srch_togglebutton, "user_flag_ignore_srch_togglebutton");
  GLADE_HOOKUP_OBJECT (app1, user_flag_ignore_pmsg_togglebutton, "user_flag_ignore_pmsg_togglebutton");
  GLADE_HOOKUP_OBJECT (app1, user_flag_ignore_dl_limit_togglebutton, "user_flag_ignore_dl_limit_togglebutton");
  GLADE_HOOKUP_OBJECT (app1, user_flag_no_xfer_togglebutton, "user_flag_no_xfer_togglebutton");
  GLADE_HOOKUP_OBJECT (app1, user_flag_ignore_pubmsg_togglebutton, "user_flag_ignore_pubmsg_togglebutton");
  GLADE_HOOKUP_OBJECT (app1, label313, "label313");
  GLADE_HOOKUP_OBJECT (app1, reload_flagged_user_list_button, "reload_flagged_user_list_button");
  GLADE_HOOKUP_OBJECT (app1, pixmap9, "pixmap9");
  GLADE_HOOKUP_OBJECT (app1, label210, "label210");
  GLADE_HOOKUP_OBJECT (app1, vbox48, "vbox48");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow41, "scrolledwindow41");
  GLADE_HOOKUP_OBJECT (app1, notes_textview, "notes_textview");
  GLADE_HOOKUP_OBJECT (app1, hbox725, "hbox725");
  GLADE_HOOKUP_OBJECT (app1, reload_notes_button, "reload_notes_button");
  GLADE_HOOKUP_OBJECT (app1, alignment2, "alignment2");
  GLADE_HOOKUP_OBJECT (app1, hbox726, "hbox726");
  GLADE_HOOKUP_OBJECT (app1, image14, "image14");
  GLADE_HOOKUP_OBJECT (app1, label355, "label355");
  GLADE_HOOKUP_OBJECT (app1, save_notes_button, "save_notes_button");
  GLADE_HOOKUP_OBJECT (app1, clear_notes_button, "clear_notes_button");
  GLADE_HOOKUP_OBJECT (app1, hbox729, "hbox729");
  GLADE_HOOKUP_OBJECT (app1, image60, "image60");
  GLADE_HOOKUP_OBJECT (app1, label354, "label354");
  GLADE_HOOKUP_OBJECT (app1, xfer_notebook, "xfer_notebook");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow25, "scrolledwindow25");
  GLADE_HOOKUP_OBJECT (app1, gdl_ctree, "gdl_ctree");
  GLADE_HOOKUP_OBJECT (app1, hbox730, "hbox730");
  GLADE_HOOKUP_OBJECT (app1, image61, "image61");
  GLADE_HOOKUP_OBJECT (app1, label159, "label159");
  GLADE_HOOKUP_OBJECT (app1, hbox737, "hbox737");
  GLADE_HOOKUP_OBJECT (app1, image68, "image68");
  GLADE_HOOKUP_OBJECT (app1, label314, "label314");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow8, "scrolledwindow8");
  GLADE_HOOKUP_OBJECT (app1, upload_clist, "upload_clist");
  GLADE_HOOKUP_OBJECT (app1, hbox731, "hbox731");
  GLADE_HOOKUP_OBJECT (app1, image62, "image62");
  GLADE_HOOKUP_OBJECT (app1, label49, "label49");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow9, "scrolledwindow9");
  GLADE_HOOKUP_OBJECT (app1, queue_clist, "queue_clist");
  GLADE_HOOKUP_OBJECT (app1, label54, "label54");
  GLADE_HOOKUP_OBJECT (app1, hbox736, "hbox736");
  GLADE_HOOKUP_OBJECT (app1, image67, "image67");
  GLADE_HOOKUP_OBJECT (app1, label60, "label60");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow33, "scrolledwindow33");
  GLADE_HOOKUP_OBJECT (app1, download_clist, "download_clist");
  GLADE_HOOKUP_OBJECT (app1, hbox732, "hbox732");
  GLADE_HOOKUP_OBJECT (app1, image63, "image63");
  GLADE_HOOKUP_OBJECT (app1, label44, "label44");
  GLADE_HOOKUP_OBJECT (app1, vbox40, "vbox40");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow24, "scrolledwindow24");
  GLADE_HOOKUP_OBJECT (app1, error_messages_text, "error_messages_text");
  GLADE_HOOKUP_OBJECT (app1, clear_error_messages_button, "clear_error_messages_button");
  GLADE_HOOKUP_OBJECT (app1, hbox733, "hbox733");
  GLADE_HOOKUP_OBJECT (app1, image64, "image64");
  GLADE_HOOKUP_OBJECT (app1, label156, "label156");
  GLADE_HOOKUP_OBJECT (app1, hbox735, "hbox735");
  GLADE_HOOKUP_OBJECT (app1, image66, "image66");
  GLADE_HOOKUP_OBJECT (app1, label345, "label345");
  GLADE_HOOKUP_OBJECT (app1, appbar1, "appbar1");
  GLADE_HOOKUP_OBJECT_NO_REF (app1, tooltips, "tooltips");

  return app1;
}

GtkWidget*
create_about2 (void)
{
  const gchar *authors[] = {
    "Eric PREVOTEAU (www@a2pb.gotdns.org)",
    NULL
  };
  const gchar *documenters[] = { NULL };
  /* TRANSLATORS: Replace this string with your names, one name per line. */
  gchar *translators = _("translator_credits");
  GtkWidget *about2;

  if (!strcmp (translators, "translator_credits"))
    translators = NULL;
  about2 = gnome_about_new ("Dc_gui2", VERSION,
                        "",
                        "",
                        authors,
                        documenters,
                        translators,
                        NULL);
  gtk_container_set_border_width (GTK_CONTAINER (about2), 5);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (about2, about2, "about2");

  return about2;
}

static GnomeUIInfo dl_popup_menu_uiinfo[] =
{
  {
    GNOME_APP_UI_ITEM, N_("Cancel"),
    NULL,
    (gpointer) on_cancel_dl_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gtk-stop",
    GDK_d, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("_View file list"),
    NULL,
    (gpointer) on_dl_ul_done_view_file_list_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gtk-open",
    GDK_v, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("Open private chat"),
    NULL,
    (gpointer) on_dl_ul_done_open_private_chat_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gnome-stock-mail",
    0, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("Flag user"),
    NULL,
    (gpointer) on_flag_user2_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gtk-jump-to",
    0, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("Search user"),
    NULL,
    (gpointer) on_search_user_of_dl_clist_activate, NULL, NULL,
    GNOME_APP_PIXMAP_NONE, NULL,
    0, (GdkModifierType) 0, NULL
  },
  GNOMEUIINFO_END
};

GtkWidget*
create_dl_popup_menu (void)
{
  GtkWidget *dl_popup_menu;

  dl_popup_menu = gtk_menu_new ();
  gnome_app_fill_menu (GTK_MENU_SHELL (dl_popup_menu), dl_popup_menu_uiinfo,
                       NULL, FALSE, 0);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (dl_popup_menu, dl_popup_menu, "dl_popup_menu");
  GLADE_HOOKUP_OBJECT (dl_popup_menu, dl_popup_menu_uiinfo[0].widget, "cancel_dl");
  GLADE_HOOKUP_OBJECT (dl_popup_menu, dl_popup_menu_uiinfo[1].widget, "dl_ul_done_view_file_list");
  GLADE_HOOKUP_OBJECT (dl_popup_menu, dl_popup_menu_uiinfo[2].widget, "dl_ul_done_open_private_chat");
  GLADE_HOOKUP_OBJECT (dl_popup_menu, dl_popup_menu_uiinfo[3].widget, "flag_user2");
  GLADE_HOOKUP_OBJECT (dl_popup_menu, dl_popup_menu_uiinfo[4].widget, "search_user_of_dl_clist");

  return dl_popup_menu;
}

static GnomeUIInfo ul_popup_menu_uiinfo[] =
{
  {
    GNOME_APP_UI_ITEM, N_("Cancel"),
    NULL,
    (gpointer) on_cancel_ul_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gtk-stop",
    GDK_d, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("_View file list"),
    NULL,
    (gpointer) on_dl_ul_done_view_file_list_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gtk-open",
    GDK_v, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("Open private chat"),
    NULL,
    (gpointer) on_dl_ul_done_open_private_chat_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gnome-stock-mail",
    0, (GdkModifierType) 0, NULL
  },
  GNOMEUIINFO_END
};

GtkWidget*
create_ul_popup_menu (void)
{
  GtkWidget *ul_popup_menu;

  ul_popup_menu = gtk_menu_new ();
  gnome_app_fill_menu (GTK_MENU_SHELL (ul_popup_menu), ul_popup_menu_uiinfo,
                       NULL, FALSE, 0);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (ul_popup_menu, ul_popup_menu, "ul_popup_menu");
  GLADE_HOOKUP_OBJECT (ul_popup_menu, ul_popup_menu_uiinfo[0].widget, "cancel_ul");
  GLADE_HOOKUP_OBJECT (ul_popup_menu, ul_popup_menu_uiinfo[1].widget, "dl_ul_done_view_file_list");
  GLADE_HOOKUP_OBJECT (ul_popup_menu, ul_popup_menu_uiinfo[2].widget, "dl_ul_done_open_private_chat");

  return ul_popup_menu;
}

static GnomeUIInfo q_popup_menu_uiinfo[] =
{
  {
    GNOME_APP_UI_ITEM, N_("Unqueue"),
    NULL,
    (gpointer) on_unqueue_xfer_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gtk-stop",
    GDK_d, (GdkModifierType) 0, NULL
  },
  GNOMEUIINFO_END
};

GtkWidget*
create_q_popup_menu (void)
{
  GtkWidget *q_popup_menu;

  q_popup_menu = gtk_menu_new ();
  gnome_app_fill_menu (GTK_MENU_SHELL (q_popup_menu), q_popup_menu_uiinfo,
                       NULL, FALSE, 0);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (q_popup_menu, q_popup_menu, "q_popup_menu");
  GLADE_HOOKUP_OBJECT (q_popup_menu, q_popup_menu_uiinfo[0].widget, "unqueue_xfer");

  return q_popup_menu;
}

static GnomeUIInfo user_popup_menu_uiinfo[] =
{
  {
    GNOME_APP_UI_ITEM, N_("View file list"),
    NULL,
    (gpointer) on_view_file_list_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gtk-open",
    0, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("Open private chat"),
    NULL,
    (gpointer) on_open_private_chat_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gnome-stock-mail",
    0, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("Kick user"),
    NULL,
    (gpointer) on_kick_user_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gtk-stop",
    0, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("Flag user"),
    NULL,
    (gpointer) on_flag_user_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gtk-jump-to",
    0, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("Search user"),
    NULL,
    (gpointer) on_search_user_of_user_clist_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gtk-find",
    0, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("Wake this user GDL source"),
    NULL,
    (gpointer) on_wake_this_user_gdl_source_on_user_clist_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gnome-stock-timer",
    0, (GdkModifierType) 0, NULL
  },
  GNOMEUIINFO_END
};

GtkWidget*
create_user_popup_menu (void)
{
  GtkWidget *user_popup_menu;

  user_popup_menu = gtk_menu_new ();
  gnome_app_fill_menu (GTK_MENU_SHELL (user_popup_menu), user_popup_menu_uiinfo,
                       NULL, FALSE, 0);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (user_popup_menu, user_popup_menu, "user_popup_menu");
  GLADE_HOOKUP_OBJECT (user_popup_menu, user_popup_menu_uiinfo[0].widget, "view_file_list");
  GLADE_HOOKUP_OBJECT (user_popup_menu, user_popup_menu_uiinfo[1].widget, "open_private_chat");
  GLADE_HOOKUP_OBJECT (user_popup_menu, user_popup_menu_uiinfo[2].widget, "kick_user");
  GLADE_HOOKUP_OBJECT (user_popup_menu, user_popup_menu_uiinfo[3].widget, "flag_user");
  GLADE_HOOKUP_OBJECT (user_popup_menu, user_popup_menu_uiinfo[4].widget, "search_user_of_user_clist");
  GLADE_HOOKUP_OBJECT (user_popup_menu, user_popup_menu_uiinfo[5].widget, "wake_this_user_gdl_source_on_user_clist");

  return user_popup_menu;
}

GtkWidget*
create_dl_dir_fileselection (void)
{
  GtkWidget *dl_dir_fileselection;
  GtkWidget *dl_dir_select_ok_button;
  GtkWidget *dl_dir_cancel_button;

  dl_dir_fileselection = gtk_file_selection_new (_("Select download directory"));
  gtk_container_set_border_width (GTK_CONTAINER (dl_dir_fileselection), 10);

  dl_dir_select_ok_button = GTK_FILE_SELECTION (dl_dir_fileselection)->ok_button;
  gtk_widget_show (dl_dir_select_ok_button);
  GTK_WIDGET_SET_FLAGS (dl_dir_select_ok_button, GTK_CAN_DEFAULT);

  dl_dir_cancel_button = GTK_FILE_SELECTION (dl_dir_fileselection)->cancel_button;
  gtk_widget_show (dl_dir_cancel_button);
  GTK_WIDGET_SET_FLAGS (dl_dir_cancel_button, GTK_CAN_DEFAULT);

  g_signal_connect ((gpointer) dl_dir_select_ok_button, "clicked",
                    G_CALLBACK (on_dl_dir_select_ok_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) dl_dir_cancel_button, "clicked",
                    G_CALLBACK (on_dl_dir_cancel_button_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (dl_dir_fileselection, dl_dir_fileselection, "dl_dir_fileselection");
  GLADE_HOOKUP_OBJECT_NO_REF (dl_dir_fileselection, dl_dir_select_ok_button, "dl_dir_select_ok_button");
  GLADE_HOOKUP_OBJECT_NO_REF (dl_dir_fileselection, dl_dir_cancel_button, "dl_dir_cancel_button");

  return dl_dir_fileselection;
}

GtkWidget*
create_shared_dir_fileselection (void)
{
  GtkWidget *shared_dir_fileselection;
  GtkWidget *shared_dir_fs_ok_button;
  GtkWidget *shared_dir_fs_cancel_button;

  shared_dir_fileselection = gtk_file_selection_new (_("Select Directories to share"));
  gtk_container_set_border_width (GTK_CONTAINER (shared_dir_fileselection), 10);

  shared_dir_fs_ok_button = GTK_FILE_SELECTION (shared_dir_fileselection)->ok_button;
  gtk_widget_show (shared_dir_fs_ok_button);
  GTK_WIDGET_SET_FLAGS (shared_dir_fs_ok_button, GTK_CAN_DEFAULT);

  shared_dir_fs_cancel_button = GTK_FILE_SELECTION (shared_dir_fileselection)->cancel_button;
  gtk_widget_show (shared_dir_fs_cancel_button);
  GTK_WIDGET_SET_FLAGS (shared_dir_fs_cancel_button, GTK_CAN_DEFAULT);

  g_signal_connect ((gpointer) shared_dir_fs_ok_button, "clicked",
                    G_CALLBACK (on_shared_dir_fs_ok_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) shared_dir_fs_cancel_button, "clicked",
                    G_CALLBACK (on_shared_dir_fs_cancel_button_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (shared_dir_fileselection, shared_dir_fileselection, "shared_dir_fileselection");
  GLADE_HOOKUP_OBJECT_NO_REF (shared_dir_fileselection, shared_dir_fs_ok_button, "shared_dir_fs_ok_button");
  GLADE_HOOKUP_OBJECT_NO_REF (shared_dir_fileselection, shared_dir_fs_cancel_button, "shared_dir_fs_cancel_button");

  return shared_dir_fileselection;
}

static GnomeUIInfo start_dl_popup_menu_uiinfo[] =
{
  {
    GNOME_APP_UI_ITEM, N_("_Download selected files"),
    NULL,
    (gpointer) on_download_selected_files1_activate, NULL, NULL,
    GNOME_APP_PIXMAP_NONE, NULL,
    0, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("_Unselect files"),
    NULL,
    (gpointer) on_unselect_files1_activate, NULL, NULL,
    GNOME_APP_PIXMAP_NONE, NULL,
    0, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("_Get File list of selected users"),
    NULL,
    (gpointer) on_get_file_list_of_selected_users1_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gtk-open",
    0, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("_Flag user"),
    NULL,
    (gpointer) on_flag_user3_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gtk-jump-to",
    0, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("Wake this user GDL source"),
    NULL,
    (gpointer) on_wake_this_user_gdl_source_of_start_dl_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gnome-stock-timer",
    0, (GdkModifierType) 0, NULL
  },
  GNOMEUIINFO_END
};

GtkWidget*
create_start_dl_popup_menu (void)
{
  GtkWidget *start_dl_popup_menu;

  start_dl_popup_menu = gtk_menu_new ();
  gnome_app_fill_menu (GTK_MENU_SHELL (start_dl_popup_menu), start_dl_popup_menu_uiinfo,
                       NULL, FALSE, 0);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (start_dl_popup_menu, start_dl_popup_menu, "start_dl_popup_menu");
  GLADE_HOOKUP_OBJECT (start_dl_popup_menu, start_dl_popup_menu_uiinfo[0].widget, "download_selected_files1");
  GLADE_HOOKUP_OBJECT (start_dl_popup_menu, start_dl_popup_menu_uiinfo[1].widget, "unselect_files1");
  GLADE_HOOKUP_OBJECT (start_dl_popup_menu, start_dl_popup_menu_uiinfo[2].widget, "get_file_list_of_selected_users1");
  GLADE_HOOKUP_OBJECT (start_dl_popup_menu, start_dl_popup_menu_uiinfo[3].widget, "flag_user3");
  GLADE_HOOKUP_OBJECT (start_dl_popup_menu, start_dl_popup_menu_uiinfo[4].widget, "wake_this_user_gdl_source_of_start_dl");

  return start_dl_popup_menu;
}

static GnomeUIInfo run_popup_menu_uiinfo[] =
{
  {
    GNOME_APP_UI_ITEM, N_("Contact selected running client"),
    NULL,
    (gpointer) on_contact_selected_running_client1_activate, NULL, NULL,
    GNOME_APP_PIXMAP_NONE, NULL,
    0, (GdkModifierType) 0, NULL
  },
  GNOMEUIINFO_SEPARATOR,
  {
    GNOME_APP_UI_ITEM, N_("Kill selected running clients"),
    NULL,
    (gpointer) on_kill_selected_unning_clients1_activate, NULL, NULL,
    GNOME_APP_PIXMAP_NONE, NULL,
    0, (GdkModifierType) 0, NULL
  },
  GNOMEUIINFO_END
};

GtkWidget*
create_run_popup_menu (void)
{
  GtkWidget *run_popup_menu;

  run_popup_menu = gtk_menu_new ();
  gnome_app_fill_menu (GTK_MENU_SHELL (run_popup_menu), run_popup_menu_uiinfo,
                       NULL, FALSE, 0);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (run_popup_menu, run_popup_menu, "run_popup_menu");
  GLADE_HOOKUP_OBJECT (run_popup_menu, run_popup_menu_uiinfo[0].widget, "contact_selected_running_client1");
  GLADE_HOOKUP_OBJECT (run_popup_menu, run_popup_menu_uiinfo[1].widget, "separator2");
  GLADE_HOOKUP_OBJECT (run_popup_menu, run_popup_menu_uiinfo[2].widget, "kill_selected_unning_clients1");

  return run_popup_menu;
}

static GnomeUIInfo gdl_popup_menu_uiinfo[] =
{
  {
    GNOME_APP_UI_ITEM, N_("Stop and detach"),
    NULL,
    (gpointer) on_stop_and_detach1_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gtk-stop",
    GDK_s, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("Cancel and delete"),
    NULL,
    (gpointer) on_cancel_gdl_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gnome-stock-trash",
    GDK_d, (GdkModifierType) 0, NULL
  },
  GNOMEUIINFO_SEPARATOR,
  {
    GNOME_APP_UI_ITEM, N_("Attach autoscan pattern to selected GDL"),
    NULL,
    (gpointer) on_attach_autoscan_pattern_to_selected_gdl1_activate, NULL, NULL,
    GNOME_APP_PIXMAP_NONE, NULL,
    GDK_a, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("Generate autoscan pattern for selected GDL"),
    NULL,
    (gpointer) on_generate_autoscan_pattern_for_selected_gdl1_activate, NULL, NULL,
    GNOME_APP_PIXMAP_NONE, NULL,
    0, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("Rename/move selected GDL"),
    NULL,
    (gpointer) on_rename_selected_gdl_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gtk-convert",
    GDK_r, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("Set end script to selected GDL"),
    NULL,
    (gpointer) on_script_selected_gdl_activate, NULL, NULL,
    GNOME_APP_PIXMAP_NONE, NULL,
    0, (GdkModifierType) 0, NULL
  },
  GNOMEUIINFO_SEPARATOR,
  {
    GNOME_APP_UI_ITEM, N_("View file list"),
    NULL,
    (gpointer) on_gdl_view_file_list_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gtk-open",
    GDK_v, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("Flag user of selected sources"),
    NULL,
    (gpointer) on_flag_user_from_gdl_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gtk-jump-to",
    GDK_f, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("Search user"),
    NULL,
    (gpointer) on_search_user_of_gdl_clist_activate, NULL, NULL,
    GNOME_APP_PIXMAP_NONE, NULL,
    0, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("Wake this user GDL source"),
    NULL,
    (gpointer) on_wake_this_user_gdl_source_on_gdl_clist_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gnome-stock-timer",
    0, (GdkModifierType) 0, NULL
  },
  GNOMEUIINFO_SEPARATOR,
  {
    GNOME_APP_UI_ITEM, N_("Expand all GDL"),
    NULL,
    (gpointer) on_expand_all_gdl_activate, NULL, NULL,
    GNOME_APP_PIXMAP_NONE, NULL,
    GDK_e, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("Shrink all GDL"),
    NULL,
    (gpointer) on_shrink_all_gdl_activate, NULL, NULL,
    GNOME_APP_PIXMAP_NONE, NULL,
    GDK_c, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("Attach all unattached GDLs"),
    NULL,
    (gpointer) on_attach_all_unattached_gdl_activate, NULL, NULL,
    GNOME_APP_PIXMAP_NONE, NULL,
    GDK_l, (GdkModifierType) 0, NULL
  },
  GNOMEUIINFO_END
};

GtkWidget*
create_gdl_popup_menu (void)
{
  GtkWidget *gdl_popup_menu;

  gdl_popup_menu = gtk_menu_new ();
  gnome_app_fill_menu (GTK_MENU_SHELL (gdl_popup_menu), gdl_popup_menu_uiinfo,
                       NULL, FALSE, 0);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (gdl_popup_menu, gdl_popup_menu, "gdl_popup_menu");
  GLADE_HOOKUP_OBJECT (gdl_popup_menu, gdl_popup_menu_uiinfo[0].widget, "stop_and_detach1");
  GLADE_HOOKUP_OBJECT (gdl_popup_menu, gdl_popup_menu_uiinfo[1].widget, "cancel_gdl");
  GLADE_HOOKUP_OBJECT (gdl_popup_menu, gdl_popup_menu_uiinfo[2].widget, "separator3");
  GLADE_HOOKUP_OBJECT (gdl_popup_menu, gdl_popup_menu_uiinfo[3].widget, "attach_autoscan_pattern_to_selected_gdl1");
  GLADE_HOOKUP_OBJECT (gdl_popup_menu, gdl_popup_menu_uiinfo[4].widget, "generate_autoscan_pattern_for_selected_gdl1");
  GLADE_HOOKUP_OBJECT (gdl_popup_menu, gdl_popup_menu_uiinfo[5].widget, "rename_selected_gdl");
  GLADE_HOOKUP_OBJECT (gdl_popup_menu, gdl_popup_menu_uiinfo[6].widget, "script_selected_gdl");
  GLADE_HOOKUP_OBJECT (gdl_popup_menu, gdl_popup_menu_uiinfo[7].widget, "separator4");
  GLADE_HOOKUP_OBJECT (gdl_popup_menu, gdl_popup_menu_uiinfo[8].widget, "gdl_view_file_list");
  GLADE_HOOKUP_OBJECT (gdl_popup_menu, gdl_popup_menu_uiinfo[9].widget, "flag_user_from_gdl");
  GLADE_HOOKUP_OBJECT (gdl_popup_menu, gdl_popup_menu_uiinfo[10].widget, "search_user_of_gdl_clist");
  GLADE_HOOKUP_OBJECT (gdl_popup_menu, gdl_popup_menu_uiinfo[11].widget, "wake_this_user_gdl_source_on_gdl_clist");
  GLADE_HOOKUP_OBJECT (gdl_popup_menu, gdl_popup_menu_uiinfo[12].widget, "separator6");
  GLADE_HOOKUP_OBJECT (gdl_popup_menu, gdl_popup_menu_uiinfo[13].widget, "expand_all_gdl");
  GLADE_HOOKUP_OBJECT (gdl_popup_menu, gdl_popup_menu_uiinfo[14].widget, "shrink_all_gdl");
  GLADE_HOOKUP_OBJECT (gdl_popup_menu, gdl_popup_menu_uiinfo[15].widget, "attach_all_unattached_gdl");

  return gdl_popup_menu;
}

static GnomeUIInfo uaddr_popup_menu_uiinfo[] =
{
  {
    GNOME_APP_UI_ITEM, N_("View file list"),
    NULL,
    (gpointer) on_uaddr_view_file_list_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gtk-open",
    0, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("Delete selected UADDR entries"),
    NULL,
    (gpointer) on_delete_uaddr_entries_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gnome-stock-trash",
    0, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("refresh UADDR list"),
    NULL,
    (gpointer) on_refresh_uaddr_list_activate, NULL, NULL,
    GNOME_APP_PIXMAP_STOCK, "gtk-refresh",
    0, (GdkModifierType) 0, NULL
  },
  {
    GNOME_APP_UI_ITEM, N_("Unselect UADDR entries"),
    NULL,
    (gpointer) on_unselect_uaddr_activate, NULL, NULL,
    GNOME_APP_PIXMAP_NONE, NULL,
    0, (GdkModifierType) 0, NULL
  },
  GNOMEUIINFO_END
};

GtkWidget*
create_uaddr_popup_menu (void)
{
  GtkWidget *uaddr_popup_menu;

  uaddr_popup_menu = gtk_menu_new ();
  gnome_app_fill_menu (GTK_MENU_SHELL (uaddr_popup_menu), uaddr_popup_menu_uiinfo,
                       NULL, FALSE, 0);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (uaddr_popup_menu, uaddr_popup_menu, "uaddr_popup_menu");
  GLADE_HOOKUP_OBJECT (uaddr_popup_menu, uaddr_popup_menu_uiinfo[0].widget, "uaddr_view_file_list");
  GLADE_HOOKUP_OBJECT (uaddr_popup_menu, uaddr_popup_menu_uiinfo[1].widget, "delete_uaddr_entries");
  GLADE_HOOKUP_OBJECT (uaddr_popup_menu, uaddr_popup_menu_uiinfo[2].widget, "refresh_uaddr_list");
  GLADE_HOOKUP_OBJECT (uaddr_popup_menu, uaddr_popup_menu_uiinfo[3].widget, "unselect_uaddr");

  return uaddr_popup_menu;
}

GtkWidget*
create_vshare_dir_fileselection (void)
{
  GtkWidget *vshare_dir_fileselection;
  GtkWidget *button4;
  GtkWidget *button5;

  vshare_dir_fileselection = gtk_file_selection_new (_("Select virtual share directory"));
  gtk_container_set_border_width (GTK_CONTAINER (vshare_dir_fileselection), 10);

  button4 = GTK_FILE_SELECTION (vshare_dir_fileselection)->ok_button;
  gtk_widget_show (button4);
  GTK_WIDGET_SET_FLAGS (button4, GTK_CAN_DEFAULT);

  button5 = GTK_FILE_SELECTION (vshare_dir_fileselection)->cancel_button;
  gtk_widget_show (button5);
  GTK_WIDGET_SET_FLAGS (button5, GTK_CAN_DEFAULT);

  g_signal_connect ((gpointer) button4, "clicked",
                    G_CALLBACK (on_vshare_dir_select_ok_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) button5, "clicked",
                    G_CALLBACK (on_vshare_dir_cancel_button_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (vshare_dir_fileselection, vshare_dir_fileselection, "vshare_dir_fileselection");
  GLADE_HOOKUP_OBJECT_NO_REF (vshare_dir_fileselection, button4, "button4");
  GLADE_HOOKUP_OBJECT_NO_REF (vshare_dir_fileselection, button5, "button5");

  return vshare_dir_fileselection;
}

static GnomeUIInfo fav_popup_menu_uiinfo[] =
{
  {
    GNOME_APP_UI_ITEM, N_("Toggle Auto-start flag"),
    NULL,
    (gpointer) on_toggle_autostart_item_activate, NULL, NULL,
    GNOME_APP_PIXMAP_NONE, NULL,
    0, (GdkModifierType) 0, NULL
  },
  GNOMEUIINFO_SEPARATOR,
  GNOMEUIINFO_END
};

GtkWidget*
create_fav_popup_menu (void)
{
  GtkWidget *fav_popup_menu;

  fav_popup_menu = gtk_menu_new ();
  gnome_app_fill_menu (GTK_MENU_SHELL (fav_popup_menu), fav_popup_menu_uiinfo,
                       NULL, FALSE, 0);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (fav_popup_menu, fav_popup_menu, "fav_popup_menu");
  GLADE_HOOKUP_OBJECT (fav_popup_menu, fav_popup_menu_uiinfo[0].widget, "toggle_autostart_item");
  GLADE_HOOKUP_OBJECT (fav_popup_menu, fav_popup_menu_uiinfo[1].widget, "separator8");

  return fav_popup_menu;
}

GtkWidget*
create_profile_wizard_window (void)
{
  GtkWidget *profile_wizard_window;
  GtkWidget *profile_druid;
  GtkWidget *druidpagestart1;
  GdkColor druidpagestart1_bg_color = { 0, 0, 0, 40166 };
  GtkWidget *druidpage_id;
  GtkWidget *druid_vbox1;
  GtkWidget *table23;
  GtkWidget *label320;
  GtkWidget *label321;
  GtkWidget *label322;
  GtkWidget *label323;
  GtkWidget *druid_nickname_entry;
  GtkWidget *druid_e_mail_entry;
  GtkWidget *druid_user_description_entry;
  GtkWidget *combo15;
  GList *combo15_items = NULL;
  GtkWidget *druid_cnx_type_entry;
  GtkWidget *label328;
  GtkWidget *hseparator3;
  GtkWidget *druidpage_share;
  GtkWidget *druid_vbox2;
  GtkWidget *table24;
  GtkWidget *label324;
  GtkWidget *druid_dl_dir_entry;
  GtkWidget *label325;
  GtkWidget *druid_hidden_shared_dir_entry;
  GtkWidget *druid_do_browse_dl_dir_button;
  GtkWidget *label326;
  GtkWidget *druid_add_shared_dir_button;
  GtkWidget *label327;
  GtkWidget *druidpage_profname;
  GtkWidget *druid_vbox4;
  GtkWidget *table25;
  GtkWidget *hseparator4;
  GtkWidget *label329;
  GtkWidget *druid_profile_name_entry;
  GtkWidget *label330;
  GtkWidget *label331;
  GtkWidget *label332;
  GtkWidget *label333;
  GtkWidget *druidpagefinish1;

  profile_wizard_window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_window_set_title (GTK_WINDOW (profile_wizard_window), _("Profile Wizard window"));

  profile_druid = gnome_druid_new ();
  gtk_widget_show (profile_druid);
  gtk_container_add (GTK_CONTAINER (profile_wizard_window), profile_druid);
  gtk_container_set_border_width (GTK_CONTAINER (profile_druid), 4);

  druidpagestart1 = gnome_druid_page_edge_new (GNOME_EDGE_START);
  gtk_widget_show (druidpagestart1);
  gnome_druid_append_page (GNOME_DRUID (profile_druid),
                           GNOME_DRUID_PAGE (druidpagestart1));
  gnome_druid_page_edge_set_bg_color (GNOME_DRUID_PAGE_EDGE (druidpagestart1),
                                      &druidpagestart1_bg_color);
  gnome_druid_page_edge_set_title (GNOME_DRUID_PAGE_EDGE (druidpagestart1),
                                   _("dc_gui Profile Wizard"));
  gnome_druid_page_edge_set_text (GNOME_DRUID_PAGE_EDGE (druidpagestart1),
                                  _("This wizard will help you to create a new profile. Most of unfamiliar parameters will be automatically predefined.\n\nNote: the current profile will be erased. Already existing profiles will be left untouched."));

  druidpage_id = gnome_druid_page_standard_new ();
  gtk_widget_show_all (druidpage_id);
  gnome_druid_append_page (GNOME_DRUID (profile_druid),
                           GNOME_DRUID_PAGE (druidpage_id));
  gnome_druid_page_standard_set_title (GNOME_DRUID_PAGE_STANDARD (druidpage_id), _("All about yourself..."));

  druid_vbox1 = GNOME_DRUID_PAGE_STANDARD (druidpage_id)->vbox;
  gtk_widget_show (druid_vbox1);
  gtk_container_set_border_width (GTK_CONTAINER (druid_vbox1), 16);

  table23 = gtk_table_new (6, 2, FALSE);
  gtk_widget_show (table23);
  gtk_box_pack_start (GTK_BOX (druid_vbox1), table23, TRUE, TRUE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table23), 15);
  gtk_table_set_col_spacings (GTK_TABLE (table23), 10);

  label320 = gtk_label_new (_("Your Nickname:"));
  gtk_widget_show (label320);
  gtk_table_attach (GTK_TABLE (table23), label320, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_label_set_justify (GTK_LABEL (label320), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (label320), 0, 0.5);

  label321 = gtk_label_new (_("Your e-mail (optional):"));
  gtk_widget_show (label321);
  gtk_table_attach (GTK_TABLE (table23), label321, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_label_set_justify (GTK_LABEL (label321), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (label321), 0, 0.5);

  label322 = gtk_label_new (_("Your description (optional):"));
  gtk_widget_show (label322);
  gtk_table_attach (GTK_TABLE (table23), label322, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_label_set_justify (GTK_LABEL (label322), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (label322), 0, 0.5);

  label323 = gtk_label_new (_("Your connection type:"));
  gtk_widget_show (label323);
  gtk_table_attach (GTK_TABLE (table23), label323, 0, 1, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_label_set_justify (GTK_LABEL (label323), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (label323), 0, 0.5);

  druid_nickname_entry = gtk_entry_new ();
  gtk_widget_show (druid_nickname_entry);
  gtk_table_attach (GTK_TABLE (table23), druid_nickname_entry, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  druid_e_mail_entry = gtk_entry_new ();
  gtk_widget_show (druid_e_mail_entry);
  gtk_table_attach (GTK_TABLE (table23), druid_e_mail_entry, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  druid_user_description_entry = gtk_entry_new ();
  gtk_widget_show (druid_user_description_entry);
  gtk_table_attach (GTK_TABLE (table23), druid_user_description_entry, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  combo15 = gtk_combo_new ();
  g_object_set_data (G_OBJECT (GTK_COMBO (combo15)->popwin),
                     "GladeParentKey", combo15);
  gtk_widget_show (combo15);
  gtk_table_attach (GTK_TABLE (table23), combo15, 1, 2, 3, 4,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_combo_set_value_in_list (GTK_COMBO (combo15), TRUE, FALSE);
  combo15_items = g_list_append (combo15_items, (gpointer) _("28.8Kbps"));
  combo15_items = g_list_append (combo15_items, (gpointer) _("33.6Kbps"));
  combo15_items = g_list_append (combo15_items, (gpointer) _("56Kbps"));
  combo15_items = g_list_append (combo15_items, (gpointer) _("Satellite"));
  combo15_items = g_list_append (combo15_items, (gpointer) _("ISDN"));
  combo15_items = g_list_append (combo15_items, (gpointer) _("DSL"));
  combo15_items = g_list_append (combo15_items, (gpointer) _("Cable"));
  combo15_items = g_list_append (combo15_items, (gpointer) _("LAN(T1)"));
  combo15_items = g_list_append (combo15_items, (gpointer) _("LAN(T3)"));
  gtk_combo_set_popdown_strings (GTK_COMBO (combo15), combo15_items);
  g_list_free (combo15_items);

  druid_cnx_type_entry = GTK_COMBO (combo15)->entry;
  gtk_widget_show (druid_cnx_type_entry);
  gtk_editable_set_editable (GTK_EDITABLE (druid_cnx_type_entry), FALSE);

  label328 = gtk_label_new (_("Note: you cannot use the characters '$' (dollar) and '|' (pipe) in the fields."));
  gtk_widget_show (label328);
  gtk_table_attach (GTK_TABLE (table23), label328, 0, 2, 5, 6,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_label_set_justify (GTK_LABEL (label328), GTK_JUSTIFY_FILL);
  gtk_label_set_line_wrap (GTK_LABEL (label328), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label328), 0, 0.5);

  hseparator3 = gtk_hseparator_new ();
  gtk_widget_show (hseparator3);
  gtk_table_attach (GTK_TABLE (table23), hseparator3, 0, 2, 4, 5,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 10, 0);

  druidpage_share = gnome_druid_page_standard_new ();
  gtk_widget_show_all (druidpage_share);
  gnome_druid_append_page (GNOME_DRUID (profile_druid),
                           GNOME_DRUID_PAGE (druidpage_share));
  gnome_druid_page_standard_set_title (GNOME_DRUID_PAGE_STANDARD (druidpage_share), _("What about your share ?"));

  druid_vbox2 = GNOME_DRUID_PAGE_STANDARD (druidpage_share)->vbox;
  gtk_widget_show (druid_vbox2);
  gtk_container_set_border_width (GTK_CONTAINER (druid_vbox2), 16);

  table24 = gtk_table_new (4, 3, FALSE);
  gtk_widget_show (table24);
  gtk_box_pack_start (GTK_BOX (druid_vbox2), table24, TRUE, TRUE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table24), 15);
  gtk_table_set_col_spacings (GTK_TABLE (table24), 10);

  label324 = gtk_label_new (_("Download directory:"));
  gtk_widget_show (label324);
  gtk_table_attach (GTK_TABLE (table24), label324, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_label_set_justify (GTK_LABEL (label324), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (label324), 0, 0.5);

  druid_dl_dir_entry = gtk_entry_new ();
  gtk_widget_show (druid_dl_dir_entry);
  gtk_table_attach (GTK_TABLE (table24), druid_dl_dir_entry, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label325 = gtk_label_new (_("Shared Directory:"));
  gtk_widget_show (label325);
  gtk_table_attach (GTK_TABLE (table24), label325, 0, 1, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_label_set_justify (GTK_LABEL (label325), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (label325), 0, 0.5);

  druid_hidden_shared_dir_entry = gtk_entry_new ();
  gtk_widget_show (druid_hidden_shared_dir_entry);
  gtk_table_attach (GTK_TABLE (table24), druid_hidden_shared_dir_entry, 1, 2, 3, 4,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  druid_do_browse_dl_dir_button = gtk_button_new_from_stock ("gtk-open");
  gtk_widget_show (druid_do_browse_dl_dir_button);
  gtk_table_attach (GTK_TABLE (table24), druid_do_browse_dl_dir_button, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label326 = gtk_label_new (_("The download directory is the place where the files you get from other users will be saved. Be sure to have enough disk space."));
  gtk_widget_show (label326);
  gtk_table_attach (GTK_TABLE (table24), label326, 0, 3, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_label_set_justify (GTK_LABEL (label326), GTK_JUSTIFY_FILL);
  gtk_label_set_line_wrap (GTK_LABEL (label326), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label326), 0, 0.5);

  druid_add_shared_dir_button = gtk_button_new_from_stock ("gtk-open");
  gtk_widget_show (druid_add_shared_dir_button);
  gtk_table_attach (GTK_TABLE (table24), druid_add_shared_dir_button, 2, 3, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label327 = gtk_label_new (_("The shared directory is the place where the files you want to share are. Most of the hub needs at least 5GB of shared data."));
  gtk_widget_show (label327);
  gtk_table_attach (GTK_TABLE (table24), label327, 0, 3, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_label_set_justify (GTK_LABEL (label327), GTK_JUSTIFY_FILL);
  gtk_label_set_line_wrap (GTK_LABEL (label327), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label327), 0, 0.5);

  druidpage_profname = gnome_druid_page_standard_new ();
  gtk_widget_show_all (druidpage_profname);
  gnome_druid_append_page (GNOME_DRUID (profile_druid),
                           GNOME_DRUID_PAGE (druidpage_profname));
  gnome_druid_page_standard_set_title (GNOME_DRUID_PAGE_STANDARD (druidpage_profname), _("Choose a profile name..."));

  druid_vbox4 = GNOME_DRUID_PAGE_STANDARD (druidpage_profname)->vbox;
  gtk_widget_show (druid_vbox4);
  gtk_container_set_border_width (GTK_CONTAINER (druid_vbox4), 16);

  table25 = gtk_table_new (4, 2, FALSE);
  gtk_widget_show (table25);
  gtk_box_pack_start (GTK_BOX (druid_vbox4), table25, TRUE, TRUE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table25), 15);
  gtk_table_set_col_spacings (GTK_TABLE (table25), 10);

  hseparator4 = gtk_hseparator_new ();
  gtk_widget_show (hseparator4);
  gtk_table_attach (GTK_TABLE (table25), hseparator4, 0, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 10, 0);

  label329 = gtk_label_new (_("Profile Name:"));
  gtk_widget_show (label329);
  gtk_table_attach (GTK_TABLE (table25), label329, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_label_set_justify (GTK_LABEL (label329), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (label329), 0, 0.5);

  druid_profile_name_entry = gtk_entry_new ();
  gtk_widget_show (druid_profile_name_entry);
  gtk_table_attach (GTK_TABLE (table25), druid_profile_name_entry, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label330 = gtk_label_new (_("Note:"));
  gtk_widget_show (label330);
  gtk_table_attach (GTK_TABLE (table25), label330, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_label_set_justify (GTK_LABEL (label330), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (label330), 0, 0.5);

  label331 = gtk_label_new (_("Note:"));
  gtk_widget_show (label331);
  gtk_table_attach (GTK_TABLE (table25), label331, 0, 1, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_label_set_justify (GTK_LABEL (label331), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (label331), 0, 0.5);

  label332 = gtk_label_new (_("The profile name can only use alphanumeric characters (A - Z, a - z, 0 - 9)"));
  gtk_widget_show (label332);
  gtk_table_attach (GTK_TABLE (table25), label332, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_label_set_justify (GTK_LABEL (label332), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (label332), 0, 0.5);

  label333 = gtk_label_new (_("If the profile name you gave already exists, the old profile will be replaced by this new one"));
  gtk_widget_show (label333);
  gtk_table_attach (GTK_TABLE (table25), label333, 1, 2, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_label_set_justify (GTK_LABEL (label333), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (label333), 0, 0.5);

  druidpagefinish1 = gnome_druid_page_edge_new (GNOME_EDGE_FINISH);
  gtk_widget_show (druidpagefinish1);
  gnome_druid_append_page (GNOME_DRUID (profile_druid),
                           GNOME_DRUID_PAGE (druidpagefinish1));
  gnome_druid_page_edge_set_title (GNOME_DRUID_PAGE_EDGE (druidpagefinish1),
                                   _("It's time to play..."));
  gnome_druid_page_edge_set_text (GNOME_DRUID_PAGE_EDGE (druidpagefinish1),
                                  _("The wizard will now create your new profile. You can edit the profile later using the \"user prefs\" tab."));

  g_signal_connect ((gpointer) profile_wizard_window, "delete_event",
                    G_CALLBACK (on_profile_wizard_window_delete_event),
                    NULL);
  g_signal_connect ((gpointer) profile_druid, "cancel",
                    G_CALLBACK (on_profile_druid_cancel),
                    NULL);
  g_signal_connect ((gpointer) druidpage_id, "next",
                    G_CALLBACK (on_druidpageid_next),
                    NULL);
  g_signal_connect ((gpointer) druidpage_share, "next",
                    G_CALLBACK (on_druidpage_share_next),
                    NULL);
  g_signal_connect ((gpointer) druid_do_browse_dl_dir_button, "clicked",
                    G_CALLBACK (on_druid_do_browse_dl_dir_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) druid_add_shared_dir_button, "clicked",
                    G_CALLBACK (on_druid_add_shared_dir_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) druidpage_profname, "next",
                    G_CALLBACK (on_druidpage_profname_next),
                    NULL);
  g_signal_connect ((gpointer) druidpagefinish1, "finish",
                    G_CALLBACK (on_druidpagefinish1_finish),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (profile_wizard_window, profile_wizard_window, "profile_wizard_window");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, profile_druid, "profile_druid");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, druidpagestart1, "druidpagestart1");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, druidpage_id, "druidpage_id");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, druid_vbox1, "druid_vbox1");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, table23, "table23");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, label320, "label320");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, label321, "label321");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, label322, "label322");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, label323, "label323");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, druid_nickname_entry, "druid_nickname_entry");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, druid_e_mail_entry, "druid_e_mail_entry");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, druid_user_description_entry, "druid_user_description_entry");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, combo15, "combo15");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, druid_cnx_type_entry, "druid_cnx_type_entry");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, label328, "label328");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, hseparator3, "hseparator3");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, druidpage_share, "druidpage_share");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, druid_vbox2, "druid_vbox2");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, table24, "table24");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, label324, "label324");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, druid_dl_dir_entry, "druid_dl_dir_entry");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, label325, "label325");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, druid_hidden_shared_dir_entry, "druid_hidden_shared_dir_entry");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, druid_do_browse_dl_dir_button, "druid_do_browse_dl_dir_button");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, label326, "label326");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, druid_add_shared_dir_button, "druid_add_shared_dir_button");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, label327, "label327");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, druidpage_profname, "druidpage_profname");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, druid_vbox4, "druid_vbox4");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, table25, "table25");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, hseparator4, "hseparator4");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, label329, "label329");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, druid_profile_name_entry, "druid_profile_name_entry");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, label330, "label330");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, label331, "label331");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, label332, "label332");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, label333, "label333");
  GLADE_HOOKUP_OBJECT (profile_wizard_window, druidpagefinish1, "druidpagefinish1");

  return profile_wizard_window;
}

GtkWidget*
create_druid_dl_dir_fileselection (void)
{
  GtkWidget *druid_dl_dir_fileselection;
  GtkWidget *button7;
  GtkWidget *button6;

  druid_dl_dir_fileselection = gtk_file_selection_new (_("Select download directory"));
  gtk_container_set_border_width (GTK_CONTAINER (druid_dl_dir_fileselection), 10);

  button7 = GTK_FILE_SELECTION (druid_dl_dir_fileselection)->ok_button;
  gtk_widget_show (button7);
  GTK_WIDGET_SET_FLAGS (button7, GTK_CAN_DEFAULT);

  button6 = GTK_FILE_SELECTION (druid_dl_dir_fileselection)->cancel_button;
  gtk_widget_show (button6);
  GTK_WIDGET_SET_FLAGS (button6, GTK_CAN_DEFAULT);

  g_signal_connect ((gpointer) button7, "clicked",
                    G_CALLBACK (on_druid_dl_dir_select_ok_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) button6, "clicked",
                    G_CALLBACK (on_druid_dl_dir_cancel_button_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (druid_dl_dir_fileselection, druid_dl_dir_fileselection, "druid_dl_dir_fileselection");
  GLADE_HOOKUP_OBJECT_NO_REF (druid_dl_dir_fileselection, button7, "button7");
  GLADE_HOOKUP_OBJECT_NO_REF (druid_dl_dir_fileselection, button6, "button6");

  return druid_dl_dir_fileselection;
}

GtkWidget*
create_druid_shared_dir_fileselection (void)
{
  GtkWidget *druid_shared_dir_fileselection;
  GtkWidget *button9;
  GtkWidget *button8;

  druid_shared_dir_fileselection = gtk_file_selection_new (_("Select Directory to share"));
  gtk_container_set_border_width (GTK_CONTAINER (druid_shared_dir_fileselection), 10);

  button9 = GTK_FILE_SELECTION (druid_shared_dir_fileselection)->ok_button;
  gtk_widget_show (button9);
  GTK_WIDGET_SET_FLAGS (button9, GTK_CAN_DEFAULT);

  button8 = GTK_FILE_SELECTION (druid_shared_dir_fileselection)->cancel_button;
  gtk_widget_show (button8);
  GTK_WIDGET_SET_FLAGS (button8, GTK_CAN_DEFAULT);

  g_signal_connect ((gpointer) button9, "clicked",
                    G_CALLBACK (on_druid_shared_dir_fs_ok_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) button8, "clicked",
                    G_CALLBACK (on_druid_shared_dir_fs_cancel_button_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (druid_shared_dir_fileselection, druid_shared_dir_fileselection, "druid_shared_dir_fileselection");
  GLADE_HOOKUP_OBJECT_NO_REF (druid_shared_dir_fileselection, button9, "button9");
  GLADE_HOOKUP_OBJECT_NO_REF (druid_shared_dir_fileselection, button8, "button8");

  return druid_shared_dir_fileselection;
}

GtkWidget*
create_sound_file_fileselection (void)
{
  GtkWidget *sound_file_fileselection;
  GtkWidget *ok_snd_file_fs_button;
  GtkWidget *cancel_snd_file_fs_button;

  sound_file_fileselection = gtk_file_selection_new (_("Select the sound file to play for this event."));
  gtk_container_set_border_width (GTK_CONTAINER (sound_file_fileselection), 10);

  ok_snd_file_fs_button = GTK_FILE_SELECTION (sound_file_fileselection)->ok_button;
  gtk_widget_show (ok_snd_file_fs_button);
  GTK_WIDGET_SET_FLAGS (ok_snd_file_fs_button, GTK_CAN_DEFAULT);

  cancel_snd_file_fs_button = GTK_FILE_SELECTION (sound_file_fileselection)->cancel_button;
  gtk_widget_show (cancel_snd_file_fs_button);
  GTK_WIDGET_SET_FLAGS (cancel_snd_file_fs_button, GTK_CAN_DEFAULT);

  g_signal_connect ((gpointer) ok_snd_file_fs_button, "clicked",
                    G_CALLBACK (on_ok_snd_file_fs_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) cancel_snd_file_fs_button, "clicked",
                    G_CALLBACK (on_cancel_snd_file_fs_button_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (sound_file_fileselection, sound_file_fileselection, "sound_file_fileselection");
  GLADE_HOOKUP_OBJECT_NO_REF (sound_file_fileselection, ok_snd_file_fs_button, "ok_snd_file_fs_button");
  GLADE_HOOKUP_OBJECT_NO_REF (sound_file_fileselection, cancel_snd_file_fs_button, "cancel_snd_file_fs_button");

  return sound_file_fileselection;
}


Generated by  Doxygen 1.6.0   Back to index