/*
 * 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 <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>

#include "preferences_callbacks.h"
#include "preferences_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)

GtkWidget*
create_hxplayer_preferences_dialog (void)
{
  GtkWidget *hxplayer_preferences_dialog;
  GdkPixbuf *hxplayer_preferences_dialog_icon_pixbuf;
  GtkWidget *dialog_vbox3;
  GtkWidget *hpd_prefs_notebook;
  GtkWidget *vbox1;
  GtkWidget *frame34;
  GtkWidget *table5;
  GtkWidget *label101;
  GtkWidget *hpd_media_files_path;
  GtkWidget *button5;
  GtkWidget *alignment1;
  GtkWidget *hbox5;
  GtkWidget *image1;
  GtkWidget *label102;
  GtkWidget *label105;
  GtkWidget *hpd_web_browser_path;
  GtkWidget *button7;
  GtkWidget *alignment2;
  GtkWidget *hbox7;
  GtkWidget *image2;
  GtkWidget *label106;
  GtkWidget *label100;
  GtkWidget *frame35;
  GtkWidget *hbox11;
  GtkWidget *hpd_enable_recent_urls_list;
  GtkWidget *alignment6;
  GtkWidget *button8;
  GtkWidget *label99;
  GtkWidget *vbox27;
  GtkWidget *image3;
  GtkWidget *label115;
  GtkWidget *vbox2;
  GtkWidget *frame23;
  GtkWidget *hbox1;
  GtkWidget *label67;
  GtkWidget *hpd_quality;
  GtkWidget *label68;
  GtkWidget *label63;
  GtkWidget *frame43;
  GtkWidget *table7;
  GtkWidget *hpd_cache_enabled;
  GtkWidget *alignment7;
  GtkWidget *button12;
  GtkWidget *hbox14;
  GtkWidget *label136;
  GtkWidget *hpd_cache_max_size;
  GtkWidget *label137;
  GtkWidget *label132;
  GtkWidget *frame39;
  GtkWidget *vbox23;
  GtkWidget *hpd_caption_switch;
  GtkWidget *hpd_system_audio_desc;
  GtkWidget *label111;
  GtkWidget *vbox28;
  GtkWidget *image4;
  GtkWidget *label123;
  GtkWidget *vbox9;
  GtkWidget *frame29;
  GtkWidget *table2;
  GtkWidget *label86;
  GtkWidget *label87;
  GtkWidget *hpd_normal_bandwidth;
  GtkWidget *menu13;
  GtkWidget *menuitem59;
  GtkWidget *menuitem63;
  GtkWidget *item1;
  GtkWidget *item2;
  GtkWidget *item3;
  GtkWidget *item4;
  GtkWidget *item722;
  GtkWidget *item51;
  GtkWidget *menuitem62;
  GtkWidget *menuitem61;
  GtkWidget *menuitem60;
  GtkWidget *hpd_max_bandwidth;
  GtkWidget *menu14;
  GtkWidget *menuitem2004;
  GtkWidget *menuitem69;
  GtkWidget *menuitem70;
  GtkWidget *menuitem71;
  GtkWidget *menuitem72;
  GtkWidget *menuitem73;
  GtkWidget *menuitem75;
  GtkWidget *menuitem76;
  GtkWidget *menuitem77;
  GtkWidget *menuitem78;
  GtkWidget *menuitem79;
  GtkWidget *label83;
  GtkWidget *frame45;
  GtkWidget *hpd_turbo_play;
  GtkWidget *label145;
  GtkWidget *vbox29;
  GtkWidget *image5;
  GtkWidget *label124;
  GtkWidget *vbox38;
  GtkWidget *frame30;
  GtkWidget *vbox10;
  GtkWidget *hbox4;
  GtkWidget *radiobutton13;
  GSList *radiobutton13_group = NULL;
  GtkWidget *hpd_buffered_play_time;
  GtkWidget *label88;
  GtkWidget *hpd_perf_play_entire_clip;
  GtkWidget *label85;
  GtkWidget *frame46;
  GtkWidget *alignment9;
  GtkWidget *table8;
  GtkWidget *label148;
  GtkWidget *hpd_connection_time_out;
  GtkWidget *label150;
  GtkWidget *label147;
  GtkWidget *vbox30;
  GtkWidget *image6;
  GtkWidget *label118;
  GtkWidget *vbox11;
  GtkWidget *frame31;
  GtkWidget *vbox12;
  GtkWidget *hpd_send_statistics;
  GtkWidget *hpd_allow_auth_id;
  GtkWidget *hpd_cookies_enabled;
  GtkWidget *label89;
  GtkWidget *frame36;
  GtkWidget *hpd_synch_mm;
  GtkWidget *label107;
  GtkWidget *vbox31;
  GtkWidget *image7;
  GtkWidget *label119;
  GtkWidget *vbox36;
  GtkWidget *frame41;
  GtkWidget *table6;
  GtkWidget *hpd_pna_proxy_support;
  GtkWidget *label126;
  GtkWidget *label127;
  GtkWidget *hpd_pna_proxy_host;
  GtkWidget *hpd_pna_proxy_port;
  GtkWidget *hpd_rtsp_proxy_support;
  GtkWidget *hpd_http_proxy_support;
  GtkWidget *hpd_rtsp_proxy_host;
  GtkWidget *hpd_rtsp_proxy_port;
  GtkWidget *hpd_http_proxy_host;
  GtkWidget *hpd_http_proxy_port;
  GtkWidget *label128;
  GtkWidget *frame42;
  GtkWidget *vbox37;
  GtkWidget *label129;
  GtkWidget *hpd_no_proxy_for;
  GtkWidget *label130;
  GtkWidget *vbox32;
  GtkWidget *image8;
  GtkWidget *label120;
  GtkWidget *vbox5;
  GtkWidget *frame25;
  GtkWidget *vbox16;
  GtkWidget *vbox17;
  GtkWidget *hpd_auto_transport_on;
  GSList *hpd_auto_transport_on_group = NULL;
  GtkWidget *hpd_auto_transport_off;
  GtkWidget *hbox6;
  GtkWidget *hpd_configure_rtsp_button;
  GtkWidget *hpd_configure_pna_button;
  GtkWidget *label71;
  GtkWidget *vbox33;
  GtkWidget *image9;
  GtkWidget *label121;
  GtkWidget *frame24;
  GtkWidget *vbox3;
  GtkWidget *hpd_bits_per_sample;
  GtkWidget *hpd_sampling_rate;
  GtkWidget *hpd_use_overlay;
  GtkWidget *label66;
  GtkWidget *vbox35;
  GtkWidget *image11;
  GtkWidget *label125;
  GtkWidget *vbox40;
  GtkWidget *frame37;
  GtkWidget *hbox9;
  GtkWidget *vbox24;
  GtkWidget *hpd_no_subtitles_overdub;
  GSList *hpd_no_subtitles_overdub_group = NULL;
  GtkWidget *hpd_show_subtitles;
  GtkWidget *hpd_play_overdub_track;
  GtkWidget *vbox25;
  GtkWidget *label112;
  GtkWidget *hpd_content_language_combo;
  GtkWidget *hpd_content_language_entry;
  GtkWidget *label109;
  GtkWidget *frame38;
  GtkWidget *vbox22;
  GtkWidget *hpd_use_system_cpu;
  GtkWidget *hpd_use_system_os;
  GtkWidget *label110;
  GtkWidget *vbox39;
  GtkWidget *image12;
  GtkWidget *label142;
  GtkWidget *dialog_action_area3;
  GtkWidget *PrefsDialog;
  GtkWidget *applybutton2;
  GtkWidget *cancelbutton2;
  GtkWidget *okbutton3;

  hxplayer_preferences_dialog = gtk_dialog_new ();
  gtk_widget_set_name (hxplayer_preferences_dialog, "hxplayer_preferences_dialog");
  gtk_window_set_title (GTK_WINDOW (hxplayer_preferences_dialog), _("Preferences"));
  hxplayer_preferences_dialog_icon_pixbuf = create_pixbuf ("icon.png");
  if (hxplayer_preferences_dialog_icon_pixbuf)
    {
      gtk_window_set_icon (GTK_WINDOW (hxplayer_preferences_dialog), hxplayer_preferences_dialog_icon_pixbuf);
      gdk_pixbuf_unref (hxplayer_preferences_dialog_icon_pixbuf);
    }
  gtk_window_set_type_hint (GTK_WINDOW (hxplayer_preferences_dialog), GDK_WINDOW_TYPE_HINT_DIALOG);

  dialog_vbox3 = GTK_DIALOG (hxplayer_preferences_dialog)->vbox;
  gtk_widget_set_name (dialog_vbox3, "dialog_vbox3");
  gtk_widget_show (dialog_vbox3);

  hpd_prefs_notebook = gtk_notebook_new ();
  gtk_widget_set_name (hpd_prefs_notebook, "hpd_prefs_notebook");
  gtk_widget_show (hpd_prefs_notebook);
  gtk_box_pack_start (GTK_BOX (dialog_vbox3), hpd_prefs_notebook, TRUE, TRUE, 0);
  gtk_notebook_set_show_border (GTK_NOTEBOOK (hpd_prefs_notebook), FALSE);

  vbox1 = gtk_vbox_new (FALSE, 5);
  gtk_widget_set_name (vbox1, "vbox1");
  gtk_widget_show (vbox1);
  gtk_container_add (GTK_CONTAINER (hpd_prefs_notebook), vbox1);
  gtk_container_set_border_width (GTK_CONTAINER (vbox1), 5);

  frame34 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame34, "frame34");
  gtk_widget_show (frame34);
  gtk_box_pack_start (GTK_BOX (vbox1), frame34, FALSE, FALSE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame34), GTK_SHADOW_NONE);

  table5 = gtk_table_new (2, 3, FALSE);
  gtk_widget_set_name (table5, "table5");
  gtk_widget_show (table5);
  gtk_container_add (GTK_CONTAINER (frame34), table5);
  gtk_container_set_border_width (GTK_CONTAINER (table5), 12);
  gtk_table_set_row_spacings (GTK_TABLE (table5), 6);
  gtk_table_set_col_spacings (GTK_TABLE (table5), 10);

  label101 = gtk_label_new (_("Media files:"));
  gtk_widget_set_name (label101, "label101");
  gtk_widget_show (label101);
  gtk_table_attach (GTK_TABLE (table5), label101, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label101), 0, 0.5);

  hpd_media_files_path = gtk_entry_new ();
  gtk_widget_set_name (hpd_media_files_path, "hpd_media_files_path");
  gtk_widget_show (hpd_media_files_path);
  gtk_table_attach (GTK_TABLE (table5), hpd_media_files_path, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  button5 = gtk_button_new ();
  gtk_widget_set_name (button5, "button5");
  gtk_widget_show (button5);
  gtk_table_attach (GTK_TABLE (table5), button5, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  alignment1 = gtk_alignment_new (0.5, 0.5, 0, 0);
  gtk_widget_set_name (alignment1, "alignment1");
  gtk_widget_show (alignment1);
  gtk_container_add (GTK_CONTAINER (button5), alignment1);

  hbox5 = gtk_hbox_new (FALSE, 2);
  gtk_widget_set_name (hbox5, "hbox5");
  gtk_widget_show (hbox5);
  gtk_container_add (GTK_CONTAINER (alignment1), hbox5);

  image1 = gtk_image_new_from_stock ("gtk-find", GTK_ICON_SIZE_BUTTON);
  gtk_widget_set_name (image1, "image1");
  gtk_widget_show (image1);
  gtk_box_pack_start (GTK_BOX (hbox5), image1, FALSE, FALSE, 0);

  label102 = gtk_label_new_with_mnemonic (_("Browse..."));
  gtk_widget_set_name (label102, "label102");
  gtk_widget_show (label102);
  gtk_box_pack_start (GTK_BOX (hbox5), label102, FALSE, FALSE, 0);

  label105 = gtk_label_new (_("Web browser:"));
  gtk_widget_set_name (label105, "label105");
  gtk_widget_show (label105);
  gtk_table_attach (GTK_TABLE (table5), label105, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label105), 0, 0.5);

  hpd_web_browser_path = gtk_entry_new ();
  gtk_widget_set_name (hpd_web_browser_path, "hpd_web_browser_path");
  gtk_widget_show (hpd_web_browser_path);
  gtk_table_attach (GTK_TABLE (table5), hpd_web_browser_path, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  button7 = gtk_button_new ();
  gtk_widget_set_name (button7, "button7");
  gtk_widget_show (button7);
  gtk_table_attach (GTK_TABLE (table5), button7, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  alignment2 = gtk_alignment_new (0.5, 0.5, 0, 0);
  gtk_widget_set_name (alignment2, "alignment2");
  gtk_widget_show (alignment2);
  gtk_container_add (GTK_CONTAINER (button7), alignment2);

  hbox7 = gtk_hbox_new (FALSE, 2);
  gtk_widget_set_name (hbox7, "hbox7");
  gtk_widget_show (hbox7);
  gtk_container_add (GTK_CONTAINER (alignment2), hbox7);

  image2 = gtk_image_new_from_stock ("gtk-find", GTK_ICON_SIZE_BUTTON);
  gtk_widget_set_name (image2, "image2");
  gtk_widget_show (image2);
  gtk_box_pack_start (GTK_BOX (hbox7), image2, FALSE, FALSE, 0);

  label106 = gtk_label_new_with_mnemonic (_("Browse..."));
  gtk_widget_set_name (label106, "label106");
  gtk_widget_show (label106);
  gtk_box_pack_start (GTK_BOX (hbox7), label106, FALSE, FALSE, 0);

  label100 = gtk_label_new (_("<b>File Locations</b>"));
  gtk_widget_set_name (label100, "label100");
  gtk_widget_show (label100);
  gtk_frame_set_label_widget (GTK_FRAME (frame34), label100);
  gtk_label_set_use_markup (GTK_LABEL (label100), TRUE);

  frame35 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame35, "frame35");
  gtk_widget_show (frame35);
  gtk_box_pack_start (GTK_BOX (vbox1), frame35, FALSE, FALSE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame35), GTK_SHADOW_NONE);

  hbox11 = gtk_hbox_new (FALSE, 12);
  gtk_widget_set_name (hbox11, "hbox11");
  gtk_widget_show (hbox11);
  gtk_container_add (GTK_CONTAINER (frame35), hbox11);
  gtk_container_set_border_width (GTK_CONTAINER (hbox11), 12);

  hpd_enable_recent_urls_list = gtk_check_button_new_with_mnemonic (_("_Enable recent clips in file menu"));
  gtk_widget_set_name (hpd_enable_recent_urls_list, "hpd_enable_recent_urls_list");
  gtk_widget_show (hpd_enable_recent_urls_list);
  gtk_box_pack_start (GTK_BOX (hbox11), hpd_enable_recent_urls_list, FALSE, FALSE, 0);

  alignment6 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_set_name (alignment6, "alignment6");
  gtk_widget_show (alignment6);
  gtk_box_pack_start (GTK_BOX (hbox11), alignment6, TRUE, TRUE, 0);

  button8 = gtk_button_new_with_mnemonic (_("Clear Recent Clips"));
  gtk_widget_set_name (button8, "button8");
  gtk_widget_show (button8);
  gtk_container_add (GTK_CONTAINER (alignment6), button8);

  label99 = gtk_label_new (_("<b>Recent Clips</b>"));
  gtk_widget_set_name (label99, "label99");
  gtk_widget_show (label99);
  gtk_frame_set_label_widget (GTK_FRAME (frame35), label99);
  gtk_label_set_use_markup (GTK_LABEL (label99), TRUE);

  vbox27 = gtk_vbox_new (FALSE, 3);
  gtk_widget_set_name (vbox27, "vbox27");
  gtk_widget_show (vbox27);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (hpd_prefs_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (hpd_prefs_notebook), 0), vbox27);

  image3 = create_pixmap (hxplayer_preferences_dialog, "prefs_general.png");
  gtk_widget_set_name (image3, "image3");
  gtk_widget_show (image3);
  gtk_box_pack_start (GTK_BOX (vbox27), image3, TRUE, TRUE, 0);

  label115 = gtk_label_new (_("<span size=\"x-small\">General</span>"));
  gtk_widget_set_name (label115, "label115");
  gtk_widget_show (label115);
  gtk_box_pack_start (GTK_BOX (vbox27), label115, FALSE, FALSE, 0);
  gtk_label_set_use_markup (GTK_LABEL (label115), TRUE);

  vbox2 = gtk_vbox_new (FALSE, 5);
  gtk_widget_set_name (vbox2, "vbox2");
  gtk_widget_show (vbox2);
  gtk_container_add (GTK_CONTAINER (hpd_prefs_notebook), vbox2);
  gtk_notebook_set_tab_label_packing (GTK_NOTEBOOK (hpd_prefs_notebook), vbox2,
                                      FALSE, FALSE, GTK_PACK_START);
  gtk_container_set_border_width (GTK_CONTAINER (vbox2), 5);

  frame23 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame23, "frame23");
  gtk_widget_show (frame23);
  gtk_box_pack_start (GTK_BOX (vbox2), frame23, FALSE, FALSE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame23), GTK_SHADOW_NONE);

  hbox1 = gtk_hbox_new (FALSE, 6);
  gtk_widget_set_name (hbox1, "hbox1");
  gtk_widget_show (hbox1);
  gtk_container_add (GTK_CONTAINER (frame23), hbox1);
  gtk_container_set_border_width (GTK_CONTAINER (hbox1), 12);

  label67 = gtk_label_new (_("Lowest CPU\nusage"));
  gtk_widget_set_name (label67, "label67");
  gtk_widget_show (label67);
  gtk_box_pack_start (GTK_BOX (hbox1), label67, FALSE, TRUE, 0);
  gtk_label_set_justify (GTK_LABEL (label67), GTK_JUSTIFY_CENTER);

  hpd_quality = gtk_hscale_new (GTK_ADJUSTMENT (gtk_adjustment_new (4, 0, 5, 1, 1, 1)));
  gtk_widget_set_name (hpd_quality, "hpd_quality");
  gtk_widget_show (hpd_quality);
  gtk_box_pack_start (GTK_BOX (hbox1), hpd_quality, TRUE, TRUE, 5);
  gtk_scale_set_draw_value (GTK_SCALE (hpd_quality), FALSE);

  label68 = gtk_label_new (_("Best\nquality"));
  gtk_widget_set_name (label68, "label68");
  gtk_widget_show (label68);
  gtk_box_pack_start (GTK_BOX (hbox1), label68, FALSE, TRUE, 0);
  gtk_label_set_justify (GTK_LABEL (label68), GTK_JUSTIFY_CENTER);

  label63 = gtk_label_new (_("<b>Playback Performance</b>"));
  gtk_widget_set_name (label63, "label63");
  gtk_widget_show (label63);
  gtk_frame_set_label_widget (GTK_FRAME (frame23), label63);
  gtk_label_set_use_markup (GTK_LABEL (label63), TRUE);

  frame43 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame43, "frame43");
  gtk_widget_show (frame43);
  gtk_box_pack_start (GTK_BOX (vbox2), frame43, FALSE, FALSE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame43), GTK_SHADOW_NONE);

  table7 = gtk_table_new (2, 2, FALSE);
  gtk_widget_set_name (table7, "table7");
  gtk_widget_show (table7);
  gtk_container_add (GTK_CONTAINER (frame43), table7);
  gtk_container_set_border_width (GTK_CONTAINER (table7), 12);
  gtk_table_set_row_spacings (GTK_TABLE (table7), 6);
  gtk_table_set_col_spacings (GTK_TABLE (table7), 24);

  hpd_cache_enabled = gtk_check_button_new_with_mnemonic (_("Enable caching"));
  gtk_widget_set_name (hpd_cache_enabled, "hpd_cache_enabled");
  gtk_widget_show (hpd_cache_enabled);
  gtk_table_attach (GTK_TABLE (table7), hpd_cache_enabled, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  alignment7 = gtk_alignment_new (0, 0.5, 0, 0);
  gtk_widget_set_name (alignment7, "alignment7");
  gtk_widget_show (alignment7);
  gtk_table_attach (GTK_TABLE (table7), alignment7, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);

  button12 = gtk_button_new_with_mnemonic (_("Empty Clip Cache"));
  gtk_widget_set_name (button12, "button12");
  gtk_widget_show (button12);
  gtk_container_add (GTK_CONTAINER (alignment7), button12);

  hbox14 = gtk_hbox_new (FALSE, 6);
  gtk_widget_set_name (hbox14, "hbox14");
  gtk_widget_show (hbox14);
  gtk_table_attach (GTK_TABLE (table7), hbox14, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  label136 = gtk_label_new (_("Cache Size: "));
  gtk_widget_set_name (label136, "label136");
  gtk_widget_show (label136);
  gtk_box_pack_start (GTK_BOX (hbox14), label136, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label136), 0, 0.5);

  hpd_cache_max_size = gtk_entry_new ();
  gtk_widget_set_name (hpd_cache_max_size, "hpd_cache_max_size");
  gtk_widget_show (hpd_cache_max_size);
  gtk_box_pack_start (GTK_BOX (hbox14), hpd_cache_max_size, FALSE, TRUE, 0);
  gtk_widget_set_size_request (hpd_cache_max_size, 75, 25);

  label137 = gtk_label_new (_("MB"));
  gtk_widget_set_name (label137, "label137");
  gtk_widget_show (label137);
  gtk_box_pack_start (GTK_BOX (hbox14), label137, FALSE, FALSE, 0);

  label132 = gtk_label_new (_("<b>Clip Cache</b>"));
  gtk_widget_set_name (label132, "label132");
  gtk_widget_show (label132);
  gtk_frame_set_label_widget (GTK_FRAME (frame43), label132);
  gtk_label_set_use_markup (GTK_LABEL (label132), TRUE);

  frame39 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame39, "frame39");
  gtk_widget_show (frame39);
  gtk_box_pack_start (GTK_BOX (vbox2), frame39, FALSE, FALSE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame39), GTK_SHADOW_NONE);

  vbox23 = gtk_vbox_new (FALSE, 6);
  gtk_widget_set_name (vbox23, "vbox23");
  gtk_widget_show (vbox23);
  gtk_container_add (GTK_CONTAINER (frame39), vbox23);
  gtk_container_set_border_width (GTK_CONTAINER (vbox23), 12);

  hpd_caption_switch = gtk_check_button_new_with_mnemonic (_("Use supplemental text captioning when available"));
  gtk_widget_set_name (hpd_caption_switch, "hpd_caption_switch");
  gtk_widget_show (hpd_caption_switch);
  gtk_box_pack_start (GTK_BOX (vbox23), hpd_caption_switch, FALSE, FALSE, 0);

  hpd_system_audio_desc = gtk_check_button_new_with_mnemonic (_("Use descriptive audio when available"));
  gtk_widget_set_name (hpd_system_audio_desc, "hpd_system_audio_desc");
  gtk_widget_show (hpd_system_audio_desc);
  gtk_box_pack_start (GTK_BOX (vbox23), hpd_system_audio_desc, FALSE, FALSE, 0);

  label111 = gtk_label_new (_("<b>Accessibility</b>"));
  gtk_widget_set_name (label111, "label111");
  gtk_widget_show (label111);
  gtk_frame_set_label_widget (GTK_FRAME (frame39), label111);
  gtk_label_set_use_markup (GTK_LABEL (label111), TRUE);

  vbox28 = gtk_vbox_new (FALSE, 3);
  gtk_widget_set_name (vbox28, "vbox28");
  gtk_widget_show (vbox28);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (hpd_prefs_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (hpd_prefs_notebook), 1), vbox28);

  image4 = create_pixmap (hxplayer_preferences_dialog, "prefs_content.png");
  gtk_widget_set_name (image4, "image4");
  gtk_widget_show (image4);
  gtk_box_pack_start (GTK_BOX (vbox28), image4, TRUE, TRUE, 0);

  label123 = gtk_label_new (_("<span size=\"x-small\">Content</span>"));
  gtk_widget_set_name (label123, "label123");
  gtk_widget_show (label123);
  gtk_box_pack_start (GTK_BOX (vbox28), label123, FALSE, FALSE, 0);
  gtk_label_set_use_markup (GTK_LABEL (label123), TRUE);

  vbox9 = gtk_vbox_new (FALSE, 12);
  gtk_widget_set_name (vbox9, "vbox9");
  gtk_widget_show (vbox9);
  gtk_container_add (GTK_CONTAINER (hpd_prefs_notebook), vbox9);
  gtk_container_set_border_width (GTK_CONTAINER (vbox9), 12);

  frame29 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame29, "frame29");
  gtk_widget_show (frame29);
  gtk_box_pack_start (GTK_BOX (vbox9), frame29, FALSE, FALSE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame29), GTK_SHADOW_NONE);

  table2 = gtk_table_new (2, 2, FALSE);
  gtk_widget_set_name (table2, "table2");
  gtk_widget_show (table2);
  gtk_container_add (GTK_CONTAINER (frame29), table2);
  gtk_container_set_border_width (GTK_CONTAINER (table2), 12);
  gtk_table_set_row_spacings (GTK_TABLE (table2), 6);

  label86 = gtk_label_new (_("Normal bandwidth:"));
  gtk_widget_set_name (label86, "label86");
  gtk_widget_show (label86);
  gtk_table_attach (GTK_TABLE (table2), label86, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label86), 0, 0.5);

  label87 = gtk_label_new (_("Maximum bandwidth:"));
  gtk_widget_set_name (label87, "label87");
  gtk_widget_show (label87);
  gtk_table_attach (GTK_TABLE (table2), label87, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label87), 0, 0.5);

  hpd_normal_bandwidth = gtk_option_menu_new ();
  gtk_widget_set_name (hpd_normal_bandwidth, "hpd_normal_bandwidth");
  gtk_widget_show (hpd_normal_bandwidth);
  gtk_table_attach (GTK_TABLE (table2), hpd_normal_bandwidth, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  menu13 = gtk_menu_new ();
  gtk_widget_set_name (menu13, "menu13");

  menuitem59 = gtk_menu_item_new_with_mnemonic (_("Office LAN (10 Mbps and above)"));
  gtk_widget_set_name (menuitem59, "menuitem59");
  gtk_widget_show (menuitem59);
  gtk_container_add (GTK_CONTAINER (menu13), menuitem59);

  menuitem63 = gtk_menu_item_new_with_mnemonic (_("DSL/Cable/T1 (1.5 Mbps)"));
  gtk_widget_set_name (menuitem63, "menuitem63");
  gtk_widget_show (menuitem63);
  gtk_container_add (GTK_CONTAINER (menu13), menuitem63);

  item1 = gtk_menu_item_new_with_mnemonic (_("DSL/Cable (768 Kbps)"));
  gtk_widget_set_name (item1, "item1");
  gtk_widget_show (item1);
  gtk_container_add (GTK_CONTAINER (menu13), item1);

  item2 = gtk_menu_item_new_with_mnemonic (_("DSL/Cable (512 Kbps)"));
  gtk_widget_set_name (item2, "item2");
  gtk_widget_show (item2);
  gtk_container_add (GTK_CONTAINER (menu13), item2);

  item3 = gtk_menu_item_new_with_mnemonic (_("DSL/Cable (384 Kbps)"));
  gtk_widget_set_name (item3, "item3");
  gtk_widget_show (item3);
  gtk_container_add (GTK_CONTAINER (menu13), item3);

  item4 = gtk_menu_item_new_with_mnemonic (_("DSL/Cable (256 Kbps)"));
  gtk_widget_set_name (item4, "item4");
  gtk_widget_show (item4);
  gtk_container_add (GTK_CONTAINER (menu13), item4);

  item722 = gtk_menu_item_new_with_mnemonic (_("Dual ISDN (128 Kbps)"));
  gtk_widget_set_name (item722, "item722");
  gtk_widget_show (item722);
  gtk_container_add (GTK_CONTAINER (menu13), item722);

  item51 = gtk_menu_item_new_with_mnemonic (_("ISDN (64 Kbps)"));
  gtk_widget_set_name (item51, "item51");
  gtk_widget_show (item51);
  gtk_container_add (GTK_CONTAINER (menu13), item51);

  menuitem62 = gtk_menu_item_new_with_mnemonic (_("Modem (56 Kbps)"));
  gtk_widget_set_name (menuitem62, "menuitem62");
  gtk_widget_show (menuitem62);
  gtk_container_add (GTK_CONTAINER (menu13), menuitem62);

  menuitem61 = gtk_menu_item_new_with_mnemonic (_("Modem (28.8 Kbps)"));
  gtk_widget_set_name (menuitem61, "menuitem61");
  gtk_widget_show (menuitem61);
  gtk_container_add (GTK_CONTAINER (menu13), menuitem61);

  menuitem60 = gtk_menu_item_new_with_mnemonic (_("Modem (14.4 Kbps)"));
  gtk_widget_set_name (menuitem60, "menuitem60");
  gtk_widget_show (menuitem60);
  gtk_container_add (GTK_CONTAINER (menu13), menuitem60);

  gtk_option_menu_set_menu (GTK_OPTION_MENU (hpd_normal_bandwidth), menu13);

  hpd_max_bandwidth = gtk_option_menu_new ();
  gtk_widget_set_name (hpd_max_bandwidth, "hpd_max_bandwidth");
  gtk_widget_show (hpd_max_bandwidth);
  gtk_table_attach (GTK_TABLE (table2), hpd_max_bandwidth, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  menu14 = gtk_menu_new ();
  gtk_widget_set_name (menu14, "menu14");

  menuitem2004 = gtk_menu_item_new_with_mnemonic (_("Office LAN (10 Mbps and above)"));
  gtk_widget_set_name (menuitem2004, "menuitem2004");
  gtk_widget_show (menuitem2004);
  gtk_container_add (GTK_CONTAINER (menu14), menuitem2004);

  menuitem69 = gtk_menu_item_new_with_mnemonic (_("DSL/Cable/T1 (1.5 Mbps)"));
  gtk_widget_set_name (menuitem69, "menuitem69");
  gtk_widget_show (menuitem69);
  gtk_container_add (GTK_CONTAINER (menu14), menuitem69);

  menuitem70 = gtk_menu_item_new_with_mnemonic (_("DSL/Cable (768 Kbps)"));
  gtk_widget_set_name (menuitem70, "menuitem70");
  gtk_widget_show (menuitem70);
  gtk_container_add (GTK_CONTAINER (menu14), menuitem70);

  menuitem71 = gtk_menu_item_new_with_mnemonic (_("DSL/Cable (512 Kbps)"));
  gtk_widget_set_name (menuitem71, "menuitem71");
  gtk_widget_show (menuitem71);
  gtk_container_add (GTK_CONTAINER (menu14), menuitem71);

  menuitem72 = gtk_menu_item_new_with_mnemonic (_("DSL/Cable (384 Kbps)"));
  gtk_widget_set_name (menuitem72, "menuitem72");
  gtk_widget_show (menuitem72);
  gtk_container_add (GTK_CONTAINER (menu14), menuitem72);

  menuitem73 = gtk_menu_item_new_with_mnemonic (_("DSL/Cable (256 Kbps)"));
  gtk_widget_set_name (menuitem73, "menuitem73");
  gtk_widget_show (menuitem73);
  gtk_container_add (GTK_CONTAINER (menu14), menuitem73);

  menuitem75 = gtk_menu_item_new_with_mnemonic (_("Dual ISDN (128 Kbps)"));
  gtk_widget_set_name (menuitem75, "menuitem75");
  gtk_widget_show (menuitem75);
  gtk_container_add (GTK_CONTAINER (menu14), menuitem75);

  menuitem76 = gtk_menu_item_new_with_mnemonic (_("ISDN (64 Kbps)"));
  gtk_widget_set_name (menuitem76, "menuitem76");
  gtk_widget_show (menuitem76);
  gtk_container_add (GTK_CONTAINER (menu14), menuitem76);

  menuitem77 = gtk_menu_item_new_with_mnemonic (_("Modem (56 Kbps)"));
  gtk_widget_set_name (menuitem77, "menuitem77");
  gtk_widget_show (menuitem77);
  gtk_container_add (GTK_CONTAINER (menu14), menuitem77);

  menuitem78 = gtk_menu_item_new_with_mnemonic (_("Modem (28.8 Kbps)"));
  gtk_widget_set_name (menuitem78, "menuitem78");
  gtk_widget_show (menuitem78);
  gtk_container_add (GTK_CONTAINER (menu14), menuitem78);

  menuitem79 = gtk_menu_item_new_with_mnemonic (_("Modem (14.4 Kbps)"));
  gtk_widget_set_name (menuitem79, "menuitem79");
  gtk_widget_show (menuitem79);
  gtk_container_add (GTK_CONTAINER (menu14), menuitem79);

  gtk_option_menu_set_menu (GTK_OPTION_MENU (hpd_max_bandwidth), menu14);

  label83 = gtk_label_new (_("<b>Bandwidth</b>"));
  gtk_widget_set_name (label83, "label83");
  gtk_widget_show (label83);
  gtk_frame_set_label_widget (GTK_FRAME (frame29), label83);
  gtk_label_set_use_markup (GTK_LABEL (label83), TRUE);

  frame45 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame45, "frame45");
  gtk_widget_show (frame45);
  gtk_box_pack_start (GTK_BOX (vbox9), frame45, FALSE, FALSE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame45), GTK_SHADOW_NONE);

  hpd_turbo_play = gtk_check_button_new_with_mnemonic (_("Enable TurboPlay"));
  gtk_widget_set_name (hpd_turbo_play, "hpd_turbo_play");
  gtk_widget_show (hpd_turbo_play);
  gtk_container_add (GTK_CONTAINER (frame45), hpd_turbo_play);
  gtk_container_set_border_width (GTK_CONTAINER (hpd_turbo_play), 12);

  label145 = gtk_label_new (_("<b>TurboPlay</b>"));
  gtk_widget_set_name (label145, "label145");
  gtk_widget_show (label145);
  gtk_frame_set_label_widget (GTK_FRAME (frame45), label145);
  gtk_label_set_use_markup (GTK_LABEL (label145), TRUE);

  vbox29 = gtk_vbox_new (FALSE, 3);
  gtk_widget_set_name (vbox29, "vbox29");
  gtk_widget_show (vbox29);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (hpd_prefs_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (hpd_prefs_notebook), 2), vbox29);

  image5 = create_pixmap (hxplayer_preferences_dialog, "prefs_connection.png");
  gtk_widget_set_name (image5, "image5");
  gtk_widget_show (image5);
  gtk_box_pack_start (GTK_BOX (vbox29), image5, TRUE, TRUE, 0);

  label124 = gtk_label_new (_("<span size=\"x-small\">Connection</span>"));
  gtk_widget_set_name (label124, "label124");
  gtk_widget_show (label124);
  gtk_box_pack_start (GTK_BOX (vbox29), label124, FALSE, FALSE, 0);
  gtk_label_set_use_markup (GTK_LABEL (label124), TRUE);

  vbox38 = gtk_vbox_new (FALSE, 6);
  gtk_widget_set_name (vbox38, "vbox38");
  gtk_widget_show (vbox38);
  gtk_container_add (GTK_CONTAINER (hpd_prefs_notebook), vbox38);
  gtk_notebook_set_tab_label_packing (GTK_NOTEBOOK (hpd_prefs_notebook), vbox38,
                                      FALSE, FALSE, GTK_PACK_START);
  gtk_container_set_border_width (GTK_CONTAINER (vbox38), 12);

  frame30 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame30, "frame30");
  gtk_widget_show (frame30);
  gtk_box_pack_start (GTK_BOX (vbox38), frame30, FALSE, FALSE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame30), GTK_SHADOW_NONE);

  vbox10 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox10, "vbox10");
  gtk_widget_show (vbox10);
  gtk_container_add (GTK_CONTAINER (frame30), vbox10);
  gtk_container_set_border_width (GTK_CONTAINER (vbox10), 12);

  hbox4 = gtk_hbox_new (FALSE, 5);
  gtk_widget_set_name (hbox4, "hbox4");
  gtk_widget_show (hbox4);
  gtk_box_pack_start (GTK_BOX (vbox10), hbox4, FALSE, FALSE, 0);

  radiobutton13 = gtk_radio_button_new_with_mnemonic (NULL, _("Buffer partial clip for"));
  gtk_widget_set_name (radiobutton13, "radiobutton13");
  gtk_widget_show (radiobutton13);
  gtk_box_pack_start (GTK_BOX (hbox4), radiobutton13, FALSE, FALSE, 0);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton13), radiobutton13_group);
  radiobutton13_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton13));

  hpd_buffered_play_time = gtk_entry_new ();
  gtk_widget_set_name (hpd_buffered_play_time, "hpd_buffered_play_time");
  gtk_widget_show (hpd_buffered_play_time);
  gtk_box_pack_start (GTK_BOX (hbox4), hpd_buffered_play_time, FALSE, TRUE, 0);
  gtk_widget_set_size_request (hpd_buffered_play_time, 50, -1);
  gtk_entry_set_text (GTK_ENTRY (hpd_buffered_play_time), _("10"));
  gtk_entry_set_width_chars (GTK_ENTRY (hpd_buffered_play_time), 10);

  label88 = gtk_label_new (_("seconds"));
  gtk_widget_set_name (label88, "label88");
  gtk_widget_show (label88);
  gtk_box_pack_start (GTK_BOX (hbox4), label88, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label88), 0, 0.5);

  hpd_perf_play_entire_clip = gtk_radio_button_new_with_mnemonic (NULL, _("Buffer entire clip"));
  gtk_widget_set_name (hpd_perf_play_entire_clip, "hpd_perf_play_entire_clip");
  gtk_widget_show (hpd_perf_play_entire_clip);
  gtk_box_pack_start (GTK_BOX (vbox10), hpd_perf_play_entire_clip, FALSE, FALSE, 0);
  gtk_widget_set_size_request (hpd_perf_play_entire_clip, 128, 24);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (hpd_perf_play_entire_clip), radiobutton13_group);
  radiobutton13_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (hpd_perf_play_entire_clip));

  label85 = gtk_label_new (_("<b>Buffering</b>"));
  gtk_widget_set_name (label85, "label85");
  gtk_widget_show (label85);
  gtk_frame_set_label_widget (GTK_FRAME (frame30), label85);
  gtk_label_set_use_markup (GTK_LABEL (label85), TRUE);

  frame46 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame46, "frame46");
  gtk_widget_show (frame46);
  gtk_box_pack_start (GTK_BOX (vbox38), frame46, FALSE, FALSE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame46), GTK_SHADOW_NONE);

  alignment9 = gtk_alignment_new (0, 0.5, 0, 1);
  gtk_widget_set_name (alignment9, "alignment9");
  gtk_widget_show (alignment9);
  gtk_container_add (GTK_CONTAINER (frame46), alignment9);
  gtk_container_set_border_width (GTK_CONTAINER (alignment9), 12);

  table8 = gtk_table_new (1, 3, FALSE);
  gtk_widget_set_name (table8, "table8");
  gtk_widget_show (table8);
  gtk_container_add (GTK_CONTAINER (alignment9), table8);
  gtk_table_set_row_spacings (GTK_TABLE (table8), 6);
  gtk_table_set_col_spacings (GTK_TABLE (table8), 6);

  label148 = gtk_label_new (_("Connection time-out:"));
  gtk_widget_set_name (label148, "label148");
  gtk_widget_show (label148);
  gtk_table_attach (GTK_TABLE (table8), label148, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label148), 0, 0.5);

  hpd_connection_time_out = gtk_entry_new ();
  gtk_widget_set_name (hpd_connection_time_out, "hpd_connection_time_out");
  gtk_widget_show (hpd_connection_time_out);
  gtk_table_attach (GTK_TABLE (table8), hpd_connection_time_out, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_size_request (hpd_connection_time_out, 50, -1);

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

  label147 = gtk_label_new (_("<b>Network Time-Out</b>"));
  gtk_widget_set_name (label147, "label147");
  gtk_widget_show (label147);
  gtk_frame_set_label_widget (GTK_FRAME (frame46), label147);
  gtk_label_set_use_markup (GTK_LABEL (label147), TRUE);

  vbox30 = gtk_vbox_new (FALSE, 3);
  gtk_widget_set_name (vbox30, "vbox30");
  gtk_widget_show (vbox30);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (hpd_prefs_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (hpd_prefs_notebook), 3), vbox30);

  image6 = create_pixmap (hxplayer_preferences_dialog, "prefs_playback.png");
  gtk_widget_set_name (image6, "image6");
  gtk_widget_show (image6);
  gtk_box_pack_start (GTK_BOX (vbox30), image6, TRUE, TRUE, 0);

  label118 = gtk_label_new (_("<span size=\"x-small\">Playback</span>"));
  gtk_widget_set_name (label118, "label118");
  gtk_widget_show (label118);
  gtk_box_pack_start (GTK_BOX (vbox30), label118, FALSE, FALSE, 0);
  gtk_label_set_use_markup (GTK_LABEL (label118), TRUE);

  vbox11 = gtk_vbox_new (FALSE, 6);
  gtk_widget_set_name (vbox11, "vbox11");
  gtk_widget_show (vbox11);
  gtk_container_add (GTK_CONTAINER (hpd_prefs_notebook), vbox11);
  gtk_container_set_border_width (GTK_CONTAINER (vbox11), 12);

  frame31 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame31, "frame31");
  gtk_widget_show (frame31);
  gtk_box_pack_start (GTK_BOX (vbox11), frame31, FALSE, FALSE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame31), GTK_SHADOW_NONE);

  vbox12 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox12, "vbox12");
  gtk_widget_show (vbox12);
  gtk_container_add (GTK_CONTAINER (frame31), vbox12);
  gtk_container_set_border_width (GTK_CONTAINER (vbox12), 12);

  hpd_send_statistics = gtk_check_button_new_with_mnemonic (_("Supply connection-quality data to RealServers"));
  gtk_widget_set_name (hpd_send_statistics, "hpd_send_statistics");
  gtk_widget_show (hpd_send_statistics);
  gtk_box_pack_start (GTK_BOX (vbox12), hpd_send_statistics, FALSE, FALSE, 0);
  gtk_widget_set_size_request (hpd_send_statistics, 336, 24);

  hpd_allow_auth_id = gtk_check_button_new_with_mnemonic (_("Supply GUID when playing streaming content"));
  gtk_widget_set_name (hpd_allow_auth_id, "hpd_allow_auth_id");
  gtk_widget_show (hpd_allow_auth_id);
  gtk_box_pack_start (GTK_BOX (vbox12), hpd_allow_auth_id, FALSE, FALSE, 0);
  gtk_widget_set_size_request (hpd_allow_auth_id, 352, 24);

  hpd_cookies_enabled = gtk_check_button_new_with_mnemonic (_("Enable cookies"));
  gtk_widget_set_name (hpd_cookies_enabled, "hpd_cookies_enabled");
  gtk_widget_show (hpd_cookies_enabled);
  gtk_box_pack_start (GTK_BOX (vbox12), hpd_cookies_enabled, FALSE, FALSE, 0);

  label89 = gtk_label_new (_("<b>Supply Info to Content Providers</b>"));
  gtk_widget_set_name (label89, "label89");
  gtk_widget_show (label89);
  gtk_frame_set_label_widget (GTK_FRAME (frame31), label89);
  gtk_label_set_use_markup (GTK_LABEL (label89), TRUE);

  frame36 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame36, "frame36");
  gtk_widget_show (frame36);
  gtk_box_pack_start (GTK_BOX (vbox11), frame36, FALSE, FALSE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame36), GTK_SHADOW_NONE);

  hpd_synch_mm = gtk_check_button_new_with_mnemonic (_("Allow content to link automatically to web pages during playback"));
  gtk_widget_set_name (hpd_synch_mm, "hpd_synch_mm");
  gtk_widget_show (hpd_synch_mm);
  gtk_container_add (GTK_CONTAINER (frame36), hpd_synch_mm);
  gtk_container_set_border_width (GTK_CONTAINER (hpd_synch_mm), 12);

  label107 = gtk_label_new (_("<b>Web Browser Settings</b>"));
  gtk_widget_set_name (label107, "label107");
  gtk_widget_show (label107);
  gtk_frame_set_label_widget (GTK_FRAME (frame36), label107);
  gtk_label_set_use_markup (GTK_LABEL (label107), TRUE);

  vbox31 = gtk_vbox_new (FALSE, 3);
  gtk_widget_set_name (vbox31, "vbox31");
  gtk_widget_show (vbox31);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (hpd_prefs_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (hpd_prefs_notebook), 4), vbox31);

  image7 = create_pixmap (hxplayer_preferences_dialog, "prefs_internet.png");
  gtk_widget_set_name (image7, "image7");
  gtk_widget_show (image7);
  gtk_box_pack_start (GTK_BOX (vbox31), image7, TRUE, TRUE, 0);

  label119 = gtk_label_new (_("<span size=\"x-small\">Internet</span>"));
  gtk_widget_set_name (label119, "label119");
  gtk_widget_show (label119);
  gtk_box_pack_start (GTK_BOX (vbox31), label119, FALSE, FALSE, 0);
  gtk_label_set_use_markup (GTK_LABEL (label119), TRUE);

  vbox36 = gtk_vbox_new (FALSE, 12);
  gtk_widget_set_name (vbox36, "vbox36");
  gtk_widget_show (vbox36);
  gtk_container_add (GTK_CONTAINER (hpd_prefs_notebook), vbox36);
  gtk_container_set_border_width (GTK_CONTAINER (vbox36), 12);

  frame41 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame41, "frame41");
  gtk_widget_show (frame41);
  gtk_box_pack_start (GTK_BOX (vbox36), frame41, FALSE, FALSE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame41), GTK_SHADOW_NONE);

  table6 = gtk_table_new (4, 3, FALSE);
  gtk_widget_set_name (table6, "table6");
  gtk_widget_show (table6);
  gtk_container_add (GTK_CONTAINER (frame41), table6);
  gtk_container_set_border_width (GTK_CONTAINER (table6), 12);
  gtk_table_set_row_spacings (GTK_TABLE (table6), 6);
  gtk_table_set_col_spacings (GTK_TABLE (table6), 6);

  hpd_pna_proxy_support = gtk_check_button_new_with_mnemonic (_("Use PNA proxy"));
  gtk_widget_set_name (hpd_pna_proxy_support, "hpd_pna_proxy_support");
  gtk_widget_show (hpd_pna_proxy_support);
  gtk_table_attach (GTK_TABLE (table6), hpd_pna_proxy_support, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  label126 = gtk_label_new (_("Hostname:"));
  gtk_widget_set_name (label126, "label126");
  gtk_widget_show (label126);
  gtk_table_attach (GTK_TABLE (table6), label126, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label126), 0, 0.5);

  label127 = gtk_label_new (_("Port:"));
  gtk_widget_set_name (label127, "label127");
  gtk_widget_show (label127);
  gtk_table_attach (GTK_TABLE (table6), label127, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label127), 0, 0.5);

  hpd_pna_proxy_host = gtk_entry_new ();
  gtk_widget_set_name (hpd_pna_proxy_host, "hpd_pna_proxy_host");
  gtk_widget_show (hpd_pna_proxy_host);
  gtk_table_attach (GTK_TABLE (table6), hpd_pna_proxy_host, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_size_request (hpd_pna_proxy_host, 176, 25);

  hpd_pna_proxy_port = gtk_entry_new ();
  gtk_widget_set_name (hpd_pna_proxy_port, "hpd_pna_proxy_port");
  gtk_widget_show (hpd_pna_proxy_port);
  gtk_table_attach (GTK_TABLE (table6), hpd_pna_proxy_port, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_size_request (hpd_pna_proxy_port, 62, 24);

  hpd_rtsp_proxy_support = gtk_check_button_new_with_mnemonic (_("Use RTSP proxy"));
  gtk_widget_set_name (hpd_rtsp_proxy_support, "hpd_rtsp_proxy_support");
  gtk_widget_show (hpd_rtsp_proxy_support);
  gtk_table_attach (GTK_TABLE (table6), hpd_rtsp_proxy_support, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  hpd_http_proxy_support = gtk_check_button_new_with_mnemonic (_("Use HTTP proxy"));
  gtk_widget_set_name (hpd_http_proxy_support, "hpd_http_proxy_support");
  gtk_widget_show (hpd_http_proxy_support);
  gtk_table_attach (GTK_TABLE (table6), hpd_http_proxy_support, 0, 1, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  hpd_rtsp_proxy_host = gtk_entry_new ();
  gtk_widget_set_name (hpd_rtsp_proxy_host, "hpd_rtsp_proxy_host");
  gtk_widget_show (hpd_rtsp_proxy_host);
  gtk_table_attach (GTK_TABLE (table6), hpd_rtsp_proxy_host, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_size_request (hpd_rtsp_proxy_host, 176, 24);

  hpd_rtsp_proxy_port = gtk_entry_new ();
  gtk_widget_set_name (hpd_rtsp_proxy_port, "hpd_rtsp_proxy_port");
  gtk_widget_show (hpd_rtsp_proxy_port);
  gtk_table_attach (GTK_TABLE (table6), hpd_rtsp_proxy_port, 2, 3, 2, 3,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_size_request (hpd_rtsp_proxy_port, 62, 24);

  hpd_http_proxy_host = gtk_entry_new ();
  gtk_widget_set_name (hpd_http_proxy_host, "hpd_http_proxy_host");
  gtk_widget_show (hpd_http_proxy_host);
  gtk_table_attach (GTK_TABLE (table6), hpd_http_proxy_host, 1, 2, 3, 4,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_size_request (hpd_http_proxy_host, 176, 25);

  hpd_http_proxy_port = gtk_entry_new ();
  gtk_widget_set_name (hpd_http_proxy_port, "hpd_http_proxy_port");
  gtk_widget_show (hpd_http_proxy_port);
  gtk_table_attach (GTK_TABLE (table6), hpd_http_proxy_port, 2, 3, 3, 4,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_size_request (hpd_http_proxy_port, 64, 25);

  label128 = gtk_label_new (_("<b>Proxies</b>"));
  gtk_widget_set_name (label128, "label128");
  gtk_widget_show (label128);
  gtk_frame_set_label_widget (GTK_FRAME (frame41), label128);
  gtk_label_set_use_markup (GTK_LABEL (label128), TRUE);

  frame42 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame42, "frame42");
  gtk_widget_show (frame42);
  gtk_box_pack_start (GTK_BOX (vbox36), frame42, FALSE, FALSE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame42), GTK_SHADOW_NONE);

  vbox37 = gtk_vbox_new (FALSE, 6);
  gtk_widget_set_name (vbox37, "vbox37");
  gtk_widget_show (vbox37);
  gtk_container_add (GTK_CONTAINER (frame42), vbox37);
  gtk_container_set_border_width (GTK_CONTAINER (vbox37), 12);

  label129 = gtk_label_new (_("Do not use proxy for: (host1, host2, host3...)"));
  gtk_widget_set_name (label129, "label129");
  gtk_widget_show (label129);
  gtk_box_pack_start (GTK_BOX (vbox37), label129, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label129), 0, 0.5);

  hpd_no_proxy_for = gtk_entry_new ();
  gtk_widget_set_name (hpd_no_proxy_for, "hpd_no_proxy_for");
  gtk_widget_show (hpd_no_proxy_for);
  gtk_box_pack_start (GTK_BOX (vbox37), hpd_no_proxy_for, FALSE, FALSE, 0);

  label130 = gtk_label_new (_("<b>Exceptions</b>"));
  gtk_widget_set_name (label130, "label130");
  gtk_widget_show (label130);
  gtk_frame_set_label_widget (GTK_FRAME (frame42), label130);
  gtk_label_set_use_markup (GTK_LABEL (label130), TRUE);

  vbox32 = gtk_vbox_new (FALSE, 3);
  gtk_widget_set_name (vbox32, "vbox32");
  gtk_widget_show (vbox32);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (hpd_prefs_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (hpd_prefs_notebook), 5), vbox32);

  image8 = create_pixmap (hxplayer_preferences_dialog, "prefs_proxy.png");
  gtk_widget_set_name (image8, "image8");
  gtk_widget_show (image8);
  gtk_box_pack_start (GTK_BOX (vbox32), image8, TRUE, TRUE, 0);

  label120 = gtk_label_new (_("<span size=\"x-small\">Proxy</span>"));
  gtk_widget_set_name (label120, "label120");
  gtk_widget_show (label120);
  gtk_box_pack_start (GTK_BOX (vbox32), label120, FALSE, FALSE, 0);
  gtk_label_set_use_markup (GTK_LABEL (label120), TRUE);

  vbox5 = gtk_vbox_new (FALSE, 12);
  gtk_widget_set_name (vbox5, "vbox5");
  gtk_widget_show (vbox5);
  gtk_container_add (GTK_CONTAINER (hpd_prefs_notebook), vbox5);
  gtk_container_set_border_width (GTK_CONTAINER (vbox5), 12);

  frame25 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame25, "frame25");
  gtk_widget_show (frame25);
  gtk_box_pack_start (GTK_BOX (vbox5), frame25, FALSE, FALSE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame25), GTK_SHADOW_NONE);

  vbox16 = gtk_vbox_new (FALSE, 12);
  gtk_widget_set_name (vbox16, "vbox16");
  gtk_widget_show (vbox16);
  gtk_container_add (GTK_CONTAINER (frame25), vbox16);
  gtk_container_set_border_width (GTK_CONTAINER (vbox16), 12);

  vbox17 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox17, "vbox17");
  gtk_widget_show (vbox17);
  gtk_box_pack_start (GTK_BOX (vbox16), vbox17, TRUE, TRUE, 0);

  hpd_auto_transport_on = gtk_radio_button_new_with_mnemonic (NULL, _("_Automatically select best transport"));
  gtk_widget_set_name (hpd_auto_transport_on, "hpd_auto_transport_on");
  gtk_widget_show (hpd_auto_transport_on);
  gtk_box_pack_start (GTK_BOX (vbox17), hpd_auto_transport_on, FALSE, FALSE, 0);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (hpd_auto_transport_on), hpd_auto_transport_on_group);
  hpd_auto_transport_on_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (hpd_auto_transport_on));

  hpd_auto_transport_off = gtk_radio_button_new_with_mnemonic (NULL, _("_Use specified transport"));
  gtk_widget_set_name (hpd_auto_transport_off, "hpd_auto_transport_off");
  gtk_widget_show (hpd_auto_transport_off);
  gtk_box_pack_start (GTK_BOX (vbox17), hpd_auto_transport_off, FALSE, FALSE, 0);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (hpd_auto_transport_off), hpd_auto_transport_on_group);
  hpd_auto_transport_on_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (hpd_auto_transport_off));

  hbox6 = gtk_hbox_new (FALSE, 6);
  gtk_widget_set_name (hbox6, "hbox6");
  gtk_widget_show (hbox6);
  gtk_box_pack_start (GTK_BOX (vbox16), hbox6, TRUE, TRUE, 0);

  hpd_configure_rtsp_button = gtk_button_new_with_mnemonic (_("Configure _RTSP..."));
  gtk_widget_set_name (hpd_configure_rtsp_button, "hpd_configure_rtsp_button");
  gtk_widget_show (hpd_configure_rtsp_button);
  gtk_box_pack_start (GTK_BOX (hbox6), hpd_configure_rtsp_button, FALSE, FALSE, 0);
  gtk_widget_set_sensitive (hpd_configure_rtsp_button, FALSE);

  hpd_configure_pna_button = gtk_button_new_with_mnemonic (_("Configure _PNA..."));
  gtk_widget_set_name (hpd_configure_pna_button, "hpd_configure_pna_button");
  gtk_widget_show (hpd_configure_pna_button);
  gtk_box_pack_start (GTK_BOX (hbox6), hpd_configure_pna_button, FALSE, FALSE, 0);
  gtk_widget_set_sensitive (hpd_configure_pna_button, FALSE);

  label71 = gtk_label_new (_("<b>Network Transports</b>"));
  gtk_widget_set_name (label71, "label71");
  gtk_widget_show (label71);
  gtk_frame_set_label_widget (GTK_FRAME (frame25), label71);
  gtk_label_set_use_markup (GTK_LABEL (label71), TRUE);

  vbox33 = gtk_vbox_new (FALSE, 3);
  gtk_widget_set_name (vbox33, "vbox33");
  gtk_widget_show (vbox33);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (hpd_prefs_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (hpd_prefs_notebook), 6), vbox33);

  image9 = create_pixmap (hxplayer_preferences_dialog, "prefs_transport.png");
  gtk_widget_set_name (image9, "image9");
  gtk_widget_show (image9);
  gtk_box_pack_start (GTK_BOX (vbox33), image9, TRUE, TRUE, 0);

  label121 = gtk_label_new (_("<span size=\"x-small\">Transport</span>"));
  gtk_widget_set_name (label121, "label121");
  gtk_widget_show (label121);
  gtk_box_pack_start (GTK_BOX (vbox33), label121, FALSE, FALSE, 0);
  gtk_label_set_use_markup (GTK_LABEL (label121), TRUE);

  frame24 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame24, "frame24");
  gtk_widget_show (frame24);
  gtk_container_add (GTK_CONTAINER (hpd_prefs_notebook), frame24);
  gtk_container_set_border_width (GTK_CONTAINER (frame24), 12);
  gtk_frame_set_shadow_type (GTK_FRAME (frame24), GTK_SHADOW_NONE);

  vbox3 = gtk_vbox_new (FALSE, 6);
  gtk_widget_set_name (vbox3, "vbox3");
  gtk_widget_show (vbox3);
  gtk_container_add (GTK_CONTAINER (frame24), vbox3);
  gtk_container_set_border_width (GTK_CONTAINER (vbox3), 12);

  hpd_bits_per_sample = gtk_check_button_new_with_mnemonic (_("Disable 16-bit Sound"));
  gtk_widget_set_name (hpd_bits_per_sample, "hpd_bits_per_sample");
  gtk_widget_show (hpd_bits_per_sample);
  gtk_box_pack_start (GTK_BOX (vbox3), hpd_bits_per_sample, FALSE, FALSE, 0);

  hpd_sampling_rate = gtk_check_button_new_with_mnemonic (_("Disable custom\nsampling rates"));
  gtk_widget_set_name (hpd_sampling_rate, "hpd_sampling_rate");
  gtk_widget_show (hpd_sampling_rate);
  gtk_box_pack_start (GTK_BOX (vbox3), hpd_sampling_rate, FALSE, FALSE, 0);

  hpd_use_overlay = gtk_check_button_new_with_mnemonic (_("Use XVideo"));
  gtk_widget_set_name (hpd_use_overlay, "hpd_use_overlay");
  gtk_widget_show (hpd_use_overlay);
  gtk_box_pack_start (GTK_BOX (vbox3), hpd_use_overlay, FALSE, FALSE, 0);

  label66 = gtk_label_new (_("<b>Driver Options</b>"));
  gtk_widget_set_name (label66, "label66");
  gtk_widget_show (label66);
  gtk_frame_set_label_widget (GTK_FRAME (frame24), label66);
  gtk_label_set_use_markup (GTK_LABEL (label66), TRUE);

  vbox35 = gtk_vbox_new (FALSE, 3);
  gtk_widget_set_name (vbox35, "vbox35");
  gtk_widget_show (vbox35);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (hpd_prefs_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (hpd_prefs_notebook), 7), vbox35);

  image11 = create_pixmap (hxplayer_preferences_dialog, "prefs_hardware.png");
  gtk_widget_set_name (image11, "image11");
  gtk_widget_show (image11);
  gtk_box_pack_start (GTK_BOX (vbox35), image11, TRUE, TRUE, 0);

  label125 = gtk_label_new (_("<span size=\"x-small\">Hardware</span>"));
  gtk_widget_set_name (label125, "label125");
  gtk_widget_show (label125);
  gtk_box_pack_start (GTK_BOX (vbox35), label125, FALSE, FALSE, 0);
  gtk_label_set_use_markup (GTK_LABEL (label125), TRUE);

  vbox40 = gtk_vbox_new (FALSE, 12);
  gtk_widget_set_name (vbox40, "vbox40");
  gtk_widget_show (vbox40);
  gtk_container_add (GTK_CONTAINER (hpd_prefs_notebook), vbox40);
  gtk_notebook_set_tab_label_packing (GTK_NOTEBOOK (hpd_prefs_notebook), vbox40,
                                      FALSE, FALSE, GTK_PACK_START);
  gtk_container_set_border_width (GTK_CONTAINER (vbox40), 12);

  frame37 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame37, "frame37");
  gtk_widget_show (frame37);
  gtk_box_pack_start (GTK_BOX (vbox40), frame37, FALSE, FALSE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame37), GTK_SHADOW_NONE);

  hbox9 = gtk_hbox_new (FALSE, 12);
  gtk_widget_set_name (hbox9, "hbox9");
  gtk_widget_show (hbox9);
  gtk_container_add (GTK_CONTAINER (frame37), hbox9);
  gtk_container_set_border_width (GTK_CONTAINER (hbox9), 12);

  vbox24 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox24, "vbox24");
  gtk_widget_show (vbox24);
  gtk_box_pack_start (GTK_BOX (hbox9), vbox24, TRUE, TRUE, 0);

  hpd_no_subtitles_overdub = gtk_radio_button_new_with_mnemonic (NULL, _("No subtitles or overdub track"));
  gtk_widget_set_name (hpd_no_subtitles_overdub, "hpd_no_subtitles_overdub");
  gtk_widget_show (hpd_no_subtitles_overdub);
  gtk_box_pack_start (GTK_BOX (vbox24), hpd_no_subtitles_overdub, FALSE, FALSE, 0);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (hpd_no_subtitles_overdub), hpd_no_subtitles_overdub_group);
  hpd_no_subtitles_overdub_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (hpd_no_subtitles_overdub));

  hpd_show_subtitles = gtk_radio_button_new_with_mnemonic (NULL, _("Show subtitles"));
  gtk_widget_set_name (hpd_show_subtitles, "hpd_show_subtitles");
  gtk_widget_show (hpd_show_subtitles);
  gtk_box_pack_start (GTK_BOX (vbox24), hpd_show_subtitles, FALSE, FALSE, 0);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (hpd_show_subtitles), hpd_no_subtitles_overdub_group);
  hpd_no_subtitles_overdub_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (hpd_show_subtitles));

  hpd_play_overdub_track = gtk_radio_button_new_with_mnemonic (NULL, _("Play overdub track"));
  gtk_widget_set_name (hpd_play_overdub_track, "hpd_play_overdub_track");
  gtk_widget_show (hpd_play_overdub_track);
  gtk_box_pack_start (GTK_BOX (vbox24), hpd_play_overdub_track, FALSE, FALSE, 0);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (hpd_play_overdub_track), hpd_no_subtitles_overdub_group);
  hpd_no_subtitles_overdub_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (hpd_play_overdub_track));

  vbox25 = gtk_vbox_new (FALSE, 5);
  gtk_widget_set_name (vbox25, "vbox25");
  gtk_widget_show (vbox25);
  gtk_box_pack_start (GTK_BOX (hbox9), vbox25, TRUE, TRUE, 0);

  label112 = gtk_label_new (_("Content language:"));
  gtk_widget_set_name (label112, "label112");
  gtk_widget_show (label112);
  gtk_box_pack_start (GTK_BOX (vbox25), label112, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label112), 0, 0.5);

  hpd_content_language_combo = gtk_combo_new ();
  g_object_set_data (G_OBJECT (GTK_COMBO (hpd_content_language_combo)->popwin),
                     "GladeParentKey", hpd_content_language_combo);
  gtk_widget_set_name (hpd_content_language_combo, "hpd_content_language_combo");
  gtk_widget_show (hpd_content_language_combo);
  gtk_box_pack_start (GTK_BOX (vbox25), hpd_content_language_combo, FALSE, FALSE, 0);

  hpd_content_language_entry = GTK_COMBO (hpd_content_language_combo)->entry;
  gtk_widget_set_name (hpd_content_language_entry, "hpd_content_language_entry");
  gtk_widget_show (hpd_content_language_entry);

  label109 = gtk_label_new (_("<b>SMIL Language</b>"));
  gtk_widget_set_name (label109, "label109");
  gtk_widget_show (label109);
  gtk_frame_set_label_widget (GTK_FRAME (frame37), label109);
  gtk_label_set_use_markup (GTK_LABEL (label109), TRUE);

  frame38 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame38, "frame38");
  gtk_widget_show (frame38);
  gtk_box_pack_start (GTK_BOX (vbox40), frame38, FALSE, FALSE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame38), GTK_SHADOW_NONE);

  vbox22 = gtk_vbox_new (FALSE, 6);
  gtk_widget_set_name (vbox22, "vbox22");
  gtk_widget_show (vbox22);
  gtk_container_add (GTK_CONTAINER (frame38), vbox22);
  gtk_container_set_border_width (GTK_CONTAINER (vbox22), 12);

  hpd_use_system_cpu = gtk_check_button_new_with_mnemonic (_("Use actual system CPU in SMIL"));
  gtk_widget_set_name (hpd_use_system_cpu, "hpd_use_system_cpu");
  gtk_widget_show (hpd_use_system_cpu);
  gtk_box_pack_start (GTK_BOX (vbox22), hpd_use_system_cpu, FALSE, FALSE, 0);

  hpd_use_system_os = gtk_check_button_new_with_mnemonic (_("Use actual system OS in SMIL"));
  gtk_widget_set_name (hpd_use_system_os, "hpd_use_system_os");
  gtk_widget_show (hpd_use_system_os);
  gtk_box_pack_start (GTK_BOX (vbox22), hpd_use_system_os, FALSE, FALSE, 0);

  label110 = gtk_label_new (_("<b>Advanced SMIL options</b>"));
  gtk_widget_set_name (label110, "label110");
  gtk_widget_show (label110);
  gtk_frame_set_label_widget (GTK_FRAME (frame38), label110);
  gtk_label_set_use_markup (GTK_LABEL (label110), TRUE);

  vbox39 = gtk_vbox_new (FALSE, 3);
  gtk_widget_set_name (vbox39, "vbox39");
  gtk_widget_show (vbox39);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (hpd_prefs_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (hpd_prefs_notebook), 8), vbox39);

  image12 = create_pixmap (hxplayer_preferences_dialog, "prefs_advanced.png");
  gtk_widget_set_name (image12, "image12");
  gtk_widget_show (image12);
  gtk_box_pack_start (GTK_BOX (vbox39), image12, TRUE, TRUE, 0);

  label142 = gtk_label_new (_("<span size=\"x-small\">Advanced</span>"));
  gtk_widget_set_name (label142, "label142");
  gtk_widget_show (label142);
  gtk_box_pack_start (GTK_BOX (vbox39), label142, FALSE, FALSE, 0);
  gtk_label_set_use_markup (GTK_LABEL (label142), TRUE);

  dialog_action_area3 = GTK_DIALOG (hxplayer_preferences_dialog)->action_area;
  gtk_widget_set_name (dialog_action_area3, "dialog_action_area3");
  gtk_widget_show (dialog_action_area3);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area3), GTK_BUTTONBOX_END);

  PrefsDialog = gtk_button_new_from_stock ("gtk-help");
  gtk_widget_set_name (PrefsDialog, "PrefsDialog");
  gtk_widget_show (PrefsDialog);
  gtk_dialog_add_action_widget (GTK_DIALOG (hxplayer_preferences_dialog), PrefsDialog, GTK_RESPONSE_HELP);
  GTK_WIDGET_SET_FLAGS (PrefsDialog, GTK_CAN_DEFAULT);

  applybutton2 = gtk_button_new_from_stock ("gtk-apply");
  gtk_widget_set_name (applybutton2, "applybutton2");
  gtk_widget_show (applybutton2);
  gtk_dialog_add_action_widget (GTK_DIALOG (hxplayer_preferences_dialog), applybutton2, GTK_RESPONSE_APPLY);
  GTK_WIDGET_SET_FLAGS (applybutton2, GTK_CAN_DEFAULT);

  cancelbutton2 = gtk_button_new_from_stock ("gtk-cancel");
  gtk_widget_set_name (cancelbutton2, "cancelbutton2");
  gtk_widget_show (cancelbutton2);
  gtk_dialog_add_action_widget (GTK_DIALOG (hxplayer_preferences_dialog), cancelbutton2, GTK_RESPONSE_CANCEL);
  GTK_WIDGET_SET_FLAGS (cancelbutton2, GTK_CAN_DEFAULT);

  okbutton3 = gtk_button_new_from_stock ("gtk-ok");
  gtk_widget_set_name (okbutton3, "okbutton3");
  gtk_widget_show (okbutton3);
  gtk_dialog_add_action_widget (GTK_DIALOG (hxplayer_preferences_dialog), okbutton3, GTK_RESPONSE_OK);
  GTK_WIDGET_SET_FLAGS (okbutton3, GTK_CAN_DEFAULT);

  g_signal_connect ((gpointer) button5, "clicked",
                    G_CALLBACK (hpd_media_files_browse),
                    NULL);
  g_signal_connect ((gpointer) button7, "clicked",
                    G_CALLBACK (hpd_web_browser_browse),
                    NULL);
  g_signal_connect ((gpointer) button8, "clicked",
                    G_CALLBACK (hpd_clear_recent_clips),
                    NULL);
  g_signal_connect ((gpointer) button12, "clicked",
                    G_CALLBACK (hpd_empty_clip_cache),
                    NULL);
  g_signal_connect ((gpointer) hpd_normal_bandwidth, "changed",
                    G_CALLBACK (hpd_bandwidth_changed),
                    NULL);
  g_signal_connect ((gpointer) hpd_max_bandwidth, "changed",
                    G_CALLBACK (hpd_bandwidth_changed),
                    NULL);
  g_signal_connect ((gpointer) hpd_auto_transport_on, "toggled",
                    G_CALLBACK (hpd_auto_transport_toggled),
                    NULL);
  g_signal_connect ((gpointer) hpd_configure_rtsp_button, "clicked",
                    G_CALLBACK (hpd_configure_rtsp),
                    NULL);
  g_signal_connect ((gpointer) hpd_configure_pna_button, "clicked",
                    G_CALLBACK (hpd_configure_pna),
                    NULL);
  g_signal_connect ((gpointer) PrefsDialog, "clicked",
                    G_CALLBACK (hxcommon_launch_context_help_with_widget_name),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (hxplayer_preferences_dialog, hxplayer_preferences_dialog, "hxplayer_preferences_dialog");
  GLADE_HOOKUP_OBJECT_NO_REF (hxplayer_preferences_dialog, dialog_vbox3, "dialog_vbox3");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_prefs_notebook, "hpd_prefs_notebook");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, vbox1, "vbox1");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, frame34, "frame34");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, table5, "table5");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label101, "label101");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_media_files_path, "hpd_media_files_path");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, button5, "button5");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, alignment1, "alignment1");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hbox5, "hbox5");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, image1, "image1");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label102, "label102");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label105, "label105");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_web_browser_path, "hpd_web_browser_path");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, button7, "button7");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, alignment2, "alignment2");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hbox7, "hbox7");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, image2, "image2");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label106, "label106");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label100, "label100");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, frame35, "frame35");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hbox11, "hbox11");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_enable_recent_urls_list, "hpd_enable_recent_urls_list");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, alignment6, "alignment6");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, button8, "button8");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label99, "label99");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, vbox27, "vbox27");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, image3, "image3");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label115, "label115");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, vbox2, "vbox2");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, frame23, "frame23");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hbox1, "hbox1");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label67, "label67");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_quality, "hpd_quality");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label68, "label68");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label63, "label63");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, frame43, "frame43");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, table7, "table7");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_cache_enabled, "hpd_cache_enabled");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, alignment7, "alignment7");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, button12, "button12");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hbox14, "hbox14");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label136, "label136");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_cache_max_size, "hpd_cache_max_size");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label137, "label137");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label132, "label132");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, frame39, "frame39");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, vbox23, "vbox23");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_caption_switch, "hpd_caption_switch");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_system_audio_desc, "hpd_system_audio_desc");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label111, "label111");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, vbox28, "vbox28");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, image4, "image4");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label123, "label123");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, vbox9, "vbox9");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, frame29, "frame29");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, table2, "table2");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label86, "label86");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label87, "label87");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_normal_bandwidth, "hpd_normal_bandwidth");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, menu13, "menu13");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, menuitem59, "menuitem59");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, menuitem63, "menuitem63");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, item1, "item1");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, item2, "item2");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, item3, "item3");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, item4, "item4");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, item722, "item722");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, item51, "item51");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, menuitem62, "menuitem62");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, menuitem61, "menuitem61");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, menuitem60, "menuitem60");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_max_bandwidth, "hpd_max_bandwidth");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, menu14, "menu14");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, menuitem2004, "menuitem2004");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, menuitem69, "menuitem69");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, menuitem70, "menuitem70");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, menuitem71, "menuitem71");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, menuitem72, "menuitem72");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, menuitem73, "menuitem73");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, menuitem75, "menuitem75");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, menuitem76, "menuitem76");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, menuitem77, "menuitem77");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, menuitem78, "menuitem78");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, menuitem79, "menuitem79");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label83, "label83");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, frame45, "frame45");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_turbo_play, "hpd_turbo_play");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label145, "label145");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, vbox29, "vbox29");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, image5, "image5");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label124, "label124");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, vbox38, "vbox38");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, frame30, "frame30");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, vbox10, "vbox10");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hbox4, "hbox4");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, radiobutton13, "radiobutton13");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_buffered_play_time, "hpd_buffered_play_time");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label88, "label88");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_perf_play_entire_clip, "hpd_perf_play_entire_clip");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label85, "label85");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, frame46, "frame46");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, alignment9, "alignment9");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, table8, "table8");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label148, "label148");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_connection_time_out, "hpd_connection_time_out");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label150, "label150");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label147, "label147");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, vbox30, "vbox30");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, image6, "image6");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label118, "label118");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, vbox11, "vbox11");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, frame31, "frame31");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, vbox12, "vbox12");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_send_statistics, "hpd_send_statistics");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_allow_auth_id, "hpd_allow_auth_id");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_cookies_enabled, "hpd_cookies_enabled");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label89, "label89");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, frame36, "frame36");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_synch_mm, "hpd_synch_mm");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label107, "label107");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, vbox31, "vbox31");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, image7, "image7");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label119, "label119");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, vbox36, "vbox36");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, frame41, "frame41");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, table6, "table6");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_pna_proxy_support, "hpd_pna_proxy_support");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label126, "label126");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label127, "label127");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_pna_proxy_host, "hpd_pna_proxy_host");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_pna_proxy_port, "hpd_pna_proxy_port");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_rtsp_proxy_support, "hpd_rtsp_proxy_support");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_http_proxy_support, "hpd_http_proxy_support");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_rtsp_proxy_host, "hpd_rtsp_proxy_host");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_rtsp_proxy_port, "hpd_rtsp_proxy_port");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_http_proxy_host, "hpd_http_proxy_host");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_http_proxy_port, "hpd_http_proxy_port");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label128, "label128");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, frame42, "frame42");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, vbox37, "vbox37");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label129, "label129");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_no_proxy_for, "hpd_no_proxy_for");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label130, "label130");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, vbox32, "vbox32");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, image8, "image8");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label120, "label120");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, vbox5, "vbox5");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, frame25, "frame25");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, vbox16, "vbox16");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, vbox17, "vbox17");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_auto_transport_on, "hpd_auto_transport_on");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_auto_transport_off, "hpd_auto_transport_off");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hbox6, "hbox6");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_configure_rtsp_button, "hpd_configure_rtsp_button");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_configure_pna_button, "hpd_configure_pna_button");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label71, "label71");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, vbox33, "vbox33");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, image9, "image9");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label121, "label121");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, frame24, "frame24");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, vbox3, "vbox3");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_bits_per_sample, "hpd_bits_per_sample");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_sampling_rate, "hpd_sampling_rate");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_use_overlay, "hpd_use_overlay");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label66, "label66");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, vbox35, "vbox35");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, image11, "image11");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label125, "label125");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, vbox40, "vbox40");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, frame37, "frame37");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hbox9, "hbox9");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, vbox24, "vbox24");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_no_subtitles_overdub, "hpd_no_subtitles_overdub");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_show_subtitles, "hpd_show_subtitles");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_play_overdub_track, "hpd_play_overdub_track");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, vbox25, "vbox25");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label112, "label112");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_content_language_combo, "hpd_content_language_combo");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_content_language_entry, "hpd_content_language_entry");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label109, "label109");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, frame38, "frame38");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, vbox22, "vbox22");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_use_system_cpu, "hpd_use_system_cpu");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, hpd_use_system_os, "hpd_use_system_os");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label110, "label110");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, vbox39, "vbox39");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, image12, "image12");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, label142, "label142");
  GLADE_HOOKUP_OBJECT_NO_REF (hxplayer_preferences_dialog, dialog_action_area3, "dialog_action_area3");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, PrefsDialog, "PrefsDialog");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, applybutton2, "applybutton2");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, cancelbutton2, "cancelbutton2");
  GLADE_HOOKUP_OBJECT (hxplayer_preferences_dialog, okbutton3, "okbutton3");

  gtk_widget_grab_default (okbutton3);
  return hxplayer_preferences_dialog;
}

