/*
 * 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 "statistics_callbacks.h"
#include "statistics_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_statistics_dialog (void)
{
  GtkWidget *hxplayer_statistics_dialog;
  GdkPixbuf *hxplayer_statistics_dialog_icon_pixbuf;
  GtkWidget *dialog_vbox1;
  GtkWidget *notebook1;
  GtkWidget *alignment2;
  GtkWidget *vbox1;
  GtkWidget *table1;
  GtkWidget *label16;
  GtkWidget *hsd_bandwidth_graph;
  GtkWidget *label17;
  GtkWidget *label18;
  GtkWidget *hbox1;
  GtkWidget *table2;
  GtkWidget *label29;
  GtkWidget *label30;
  GtkWidget *hsd_clip_bandwidth;
  GtkWidget *hsd_current_bandwidth;
  GtkWidget *table3;
  GtkWidget *label33;
  GtkWidget *label34;
  GtkWidget *hsd_min_bandwidth;
  GtkWidget *hsd_max_bandwidth;
  GtkWidget *table4;
  GtkWidget *label37;
  GtkWidget *hsd_average_bandwidth;
  GtkWidget *label12;
  GtkWidget *hbox2;
  GtkWidget *frame1;
  GtkWidget *vbox4;
  GtkWidget *hbox3;
  GtkWidget *table5;
  GtkWidget *label42;
  GtkWidget *label44;
  GtkWidget *label46;
  GtkWidget *hsd_received;
  GtkWidget *hsd_recovered;
  GtkWidget *hsd_total_received;
  GtkWidget *hsd_received_percent;
  GtkWidget *hsd_recovered_percent;
  GtkWidget *hsd_total_received_percent;
  GtkWidget *table6;
  GtkWidget *label50;
  GtkWidget *label51;
  GtkWidget *label52;
  GtkWidget *hsd_lost;
  GtkWidget *hsd_late;
  GtkWidget *hsd_total_missed;
  GtkWidget *hsd_lost_percent;
  GtkWidget *hsd_late_percent;
  GtkWidget *hsd_total_missed_percent;
  GtkWidget *hbox4;
  GtkWidget *label48;
  GtkWidget *hsd_lost_30;
  GtkWidget *hsd_lost_30_percent;
  GtkWidget *label39;
  GtkWidget *vbox3;
  GtkWidget *frame2;
  GtkWidget *table7;
  GtkWidget *label56;
  GtkWidget *label57;
  GtkWidget *hsd_resend_requested;
  GtkWidget *hsd_resend_received;
  GtkWidget *label40;
  GtkWidget *frame3;
  GtkWidget *table8;
  GtkWidget *label60;
  GtkWidget *label62;
  GtkWidget *label64;
  GtkWidget *hsd_average_latency;
  GtkWidget *hsd_high_latency;
  GtkWidget *hsd_low_latency;
  GtkWidget *label41;
  GtkWidget *label13;
  GtkWidget *alignment3;
  GtkWidget *vbox5;
  GtkWidget *frame4;
  GtkWidget *alignment1;
  GtkWidget *hsd_stream_combo;
  GtkWidget *combo_entry1;
  GtkWidget *label66;
  GtkWidget *frame5;
  GtkWidget *table18;
  GtkWidget *label71;
  GtkWidget *label69;
  GtkWidget *label75;
  GtkWidget *hsd_source_clip_bandwidth;
  GtkWidget *hsd_source_server_info;
  GtkWidget *hsd_source_renderer_codec_name;
  GtkWidget *alignment4;
  GtkWidget *hbox17;
  GtkWidget *label73;
  GtkWidget *hsd_source_transport_mode;
  GtkWidget *label67;
  GtkWidget *frame6;
  GtkWidget *hbox7;
  GtkWidget *table15;
  GtkWidget *label88;
  GtkWidget *label89;
  GtkWidget *hsd_source_renderer_frames_displayed;
  GtkWidget *hsd_source_renderer_codec_frame_rate;
  GtkWidget *table16;
  GtkWidget *label92;
  GtkWidget *label93;
  GtkWidget *hsd_source_renderer_current_frame_rate;
  GtkWidget *hsd_source_renderer_frames_lost;
  GtkWidget *table17;
  GtkWidget *label96;
  GtkWidget *label97;
  GtkWidget *hsd_source_renderer_post_filter;
  GtkWidget *hsd_source_renderer_frames_dropped;
  GtkWidget *label68;
  GtkWidget *label420;
  GtkWidget *dialog_action_area1;
  GtkWidget *okbutton1;

  hxplayer_statistics_dialog = gtk_dialog_new ();
  gtk_widget_set_name (hxplayer_statistics_dialog, "hxplayer_statistics_dialog");
  gtk_container_set_border_width (GTK_CONTAINER (hxplayer_statistics_dialog), 12);
  gtk_window_set_title (GTK_WINDOW (hxplayer_statistics_dialog), _("Statistics"));
  hxplayer_statistics_dialog_icon_pixbuf = create_pixbuf ("icon.png");
  if (hxplayer_statistics_dialog_icon_pixbuf)
    {
      gtk_window_set_icon (GTK_WINDOW (hxplayer_statistics_dialog), hxplayer_statistics_dialog_icon_pixbuf);
      gdk_pixbuf_unref (hxplayer_statistics_dialog_icon_pixbuf);
    }
  gtk_window_set_type_hint (GTK_WINDOW (hxplayer_statistics_dialog), GDK_WINDOW_TYPE_HINT_DIALOG);

  dialog_vbox1 = GTK_DIALOG (hxplayer_statistics_dialog)->vbox;
  gtk_widget_set_name (dialog_vbox1, "dialog_vbox1");
  gtk_widget_show (dialog_vbox1);

  notebook1 = gtk_notebook_new ();
  gtk_widget_set_name (notebook1, "notebook1");
  gtk_widget_show (notebook1);
  gtk_box_pack_start (GTK_BOX (dialog_vbox1), notebook1, FALSE, FALSE, 0);

  alignment2 = gtk_alignment_new (0, 0, 1, 0);
  gtk_widget_set_name (alignment2, "alignment2");
  gtk_widget_show (alignment2);
  gtk_container_add (GTK_CONTAINER (notebook1), alignment2);

  vbox1 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox1, "vbox1");
  gtk_widget_show (vbox1);
  gtk_container_add (GTK_CONTAINER (alignment2), vbox1);

  table1 = gtk_table_new (3, 2, FALSE);
  gtk_widget_set_name (table1, "table1");
  gtk_widget_show (table1);
  gtk_box_pack_start (GTK_BOX (vbox1), table1, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (table1), 12);
  gtk_table_set_row_spacings (GTK_TABLE (table1), 6);
  gtk_table_set_col_spacings (GTK_TABLE (table1), 6);

  label16 = gtk_label_new (_("Target bandwidth"));
  gtk_widget_set_name (label16, "label16");
  gtk_widget_show (label16);
  gtk_table_attach (GTK_TABLE (table1), label16, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label16), 0, 0.5);

  hsd_bandwidth_graph = hsd_create_bandwidth_graph ("hsd_bandwidth_graph", "", "", 0, 0);
  gtk_widget_set_name (hsd_bandwidth_graph, "hsd_bandwidth_graph");
  gtk_widget_show (hsd_bandwidth_graph);
  gtk_table_attach (GTK_TABLE (table1), hsd_bandwidth_graph, 1, 2, 1, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_widget_set_size_request (hsd_bandwidth_graph, 435, 110);
  GTK_WIDGET_UNSET_FLAGS (hsd_bandwidth_graph, GTK_CAN_FOCUS);
  GTK_WIDGET_UNSET_FLAGS (hsd_bandwidth_graph, GTK_CAN_DEFAULT);

  label17 = gtk_label_new (_("110 %"));
  gtk_widget_set_name (label17, "label17");
  gtk_widget_show (label17);
  gtk_table_attach (GTK_TABLE (table1), label17, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label17), 1, 0);

  label18 = gtk_label_new (_("0 %"));
  gtk_widget_set_name (label18, "label18");
  gtk_widget_show (label18);
  gtk_table_attach (GTK_TABLE (table1), label18, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label18), 1, 1);

  hbox1 = gtk_hbox_new (TRUE, 12);
  gtk_widget_set_name (hbox1, "hbox1");
  gtk_widget_show (hbox1);
  gtk_box_pack_start (GTK_BOX (vbox1), hbox1, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox1), 12);

  table2 = gtk_table_new (2, 2, FALSE);
  gtk_widget_set_name (table2, "table2");
  gtk_widget_show (table2);
  gtk_box_pack_start (GTK_BOX (hbox1), table2, FALSE, FALSE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table2), 6);
  gtk_table_set_col_spacings (GTK_TABLE (table2), 6);

  label29 = gtk_label_new (_("Encoded at:"));
  gtk_widget_set_name (label29, "label29");
  gtk_widget_show (label29);
  gtk_table_attach (GTK_TABLE (table2), label29, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label29), 0, 0.5);

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

  hsd_clip_bandwidth = gtk_label_new (_("0.0 Kbps"));
  gtk_widget_set_name (hsd_clip_bandwidth, "hsd_clip_bandwidth");
  gtk_widget_show (hsd_clip_bandwidth);
  gtk_table_attach (GTK_TABLE (table2), hsd_clip_bandwidth, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hsd_clip_bandwidth), 0, 0.5);

  hsd_current_bandwidth = gtk_label_new (_("0.0 Kbps"));
  gtk_widget_set_name (hsd_current_bandwidth, "hsd_current_bandwidth");
  gtk_widget_show (hsd_current_bandwidth);
  gtk_table_attach (GTK_TABLE (table2), hsd_current_bandwidth, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hsd_current_bandwidth), 0, 0.5);

  table3 = gtk_table_new (2, 2, FALSE);
  gtk_widget_set_name (table3, "table3");
  gtk_widget_show (table3);
  gtk_box_pack_start (GTK_BOX (hbox1), table3, FALSE, FALSE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table3), 6);
  gtk_table_set_col_spacings (GTK_TABLE (table3), 6);

  label33 = gtk_label_new (_("Minimum:"));
  gtk_widget_set_name (label33, "label33");
  gtk_widget_show (label33);
  gtk_table_attach (GTK_TABLE (table3), label33, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label33), 0, 0.5);

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

  hsd_min_bandwidth = gtk_label_new (_("0.0 Kbps"));
  gtk_widget_set_name (hsd_min_bandwidth, "hsd_min_bandwidth");
  gtk_widget_show (hsd_min_bandwidth);
  gtk_table_attach (GTK_TABLE (table3), hsd_min_bandwidth, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hsd_min_bandwidth), 0, 0.5);

  hsd_max_bandwidth = gtk_label_new (_("0.0 Kbps"));
  gtk_widget_set_name (hsd_max_bandwidth, "hsd_max_bandwidth");
  gtk_widget_show (hsd_max_bandwidth);
  gtk_table_attach (GTK_TABLE (table3), hsd_max_bandwidth, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hsd_max_bandwidth), 0, 0.5);

  table4 = gtk_table_new (2, 2, FALSE);
  gtk_widget_set_name (table4, "table4");
  gtk_widget_show (table4);
  gtk_box_pack_start (GTK_BOX (hbox1), table4, FALSE, FALSE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table4), 6);
  gtk_table_set_col_spacings (GTK_TABLE (table4), 6);

  label37 = gtk_label_new (_("Average:"));
  gtk_widget_set_name (label37, "label37");
  gtk_widget_show (label37);
  gtk_table_attach (GTK_TABLE (table4), label37, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label37), 0, 0.5);

  hsd_average_bandwidth = gtk_label_new (_("0.0 Kbps"));
  gtk_widget_set_name (hsd_average_bandwidth, "hsd_average_bandwidth");
  gtk_widget_show (hsd_average_bandwidth);
  gtk_table_attach (GTK_TABLE (table4), hsd_average_bandwidth, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hsd_average_bandwidth), 0, 0.5);

  label12 = gtk_label_new (_("Bandwidth"));
  gtk_widget_set_name (label12, "label12");
  gtk_widget_show (label12);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook1), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook1), 0), label12);

  hbox2 = gtk_hbox_new (FALSE, 12);
  gtk_widget_set_name (hbox2, "hbox2");
  gtk_widget_show (hbox2);
  gtk_container_add (GTK_CONTAINER (notebook1), hbox2);
  gtk_notebook_set_tab_label_packing (GTK_NOTEBOOK (notebook1), hbox2,
                                      FALSE, FALSE, GTK_PACK_START);
  gtk_container_set_border_width (GTK_CONTAINER (hbox2), 12);

  frame1 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame1, "frame1");
  gtk_widget_show (frame1);
  gtk_box_pack_start (GTK_BOX (hbox2), frame1, TRUE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame1), GTK_SHADOW_NONE);

  vbox4 = gtk_vbox_new (FALSE, 36);
  gtk_widget_set_name (vbox4, "vbox4");
  gtk_widget_show (vbox4);
  gtk_container_add (GTK_CONTAINER (frame1), vbox4);
  gtk_container_set_border_width (GTK_CONTAINER (vbox4), 12);

  hbox3 = gtk_hbox_new (TRUE, 24);
  gtk_widget_set_name (hbox3, "hbox3");
  gtk_widget_show (hbox3);
  gtk_box_pack_start (GTK_BOX (vbox4), hbox3, FALSE, FALSE, 0);

  table5 = gtk_table_new (3, 3, FALSE);
  gtk_widget_set_name (table5, "table5");
  gtk_widget_show (table5);
  gtk_box_pack_start (GTK_BOX (hbox3), table5, TRUE, TRUE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table5), 6);
  gtk_table_set_col_spacings (GTK_TABLE (table5), 12);

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

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

  label46 = gtk_label_new (_("Total:"));
  gtk_widget_set_name (label46, "label46");
  gtk_widget_show (label46);
  gtk_table_attach (GTK_TABLE (table5), label46, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label46), 0, 0.5);

  hsd_received = gtk_label_new (_("0"));
  gtk_widget_set_name (hsd_received, "hsd_received");
  gtk_widget_show (hsd_received);
  gtk_table_attach (GTK_TABLE (table5), hsd_received, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_size_request (hsd_received, 50, -1);
  gtk_misc_set_alignment (GTK_MISC (hsd_received), 1, 0.5);

  hsd_recovered = gtk_label_new (_("0"));
  gtk_widget_set_name (hsd_recovered, "hsd_recovered");
  gtk_widget_show (hsd_recovered);
  gtk_table_attach (GTK_TABLE (table5), hsd_recovered, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_size_request (hsd_recovered, 50, -1);
  gtk_misc_set_alignment (GTK_MISC (hsd_recovered), 1, 0.5);

  hsd_total_received = gtk_label_new (_("0"));
  gtk_widget_set_name (hsd_total_received, "hsd_total_received");
  gtk_widget_show (hsd_total_received);
  gtk_table_attach (GTK_TABLE (table5), hsd_total_received, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_size_request (hsd_total_received, 50, -1);
  gtk_misc_set_alignment (GTK_MISC (hsd_total_received), 1, 0.5);

  hsd_received_percent = gtk_label_new (_("(0.00%)"));
  gtk_widget_set_name (hsd_received_percent, "hsd_received_percent");
  gtk_widget_show (hsd_received_percent);
  gtk_table_attach (GTK_TABLE (table5), hsd_received_percent, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hsd_received_percent), 1, 0.5);

  hsd_recovered_percent = gtk_label_new (_("(0.00%)"));
  gtk_widget_set_name (hsd_recovered_percent, "hsd_recovered_percent");
  gtk_widget_show (hsd_recovered_percent);
  gtk_table_attach (GTK_TABLE (table5), hsd_recovered_percent, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hsd_recovered_percent), 1, 0.5);

  hsd_total_received_percent = gtk_label_new (_("(0.00%)"));
  gtk_widget_set_name (hsd_total_received_percent, "hsd_total_received_percent");
  gtk_widget_show (hsd_total_received_percent);
  gtk_table_attach (GTK_TABLE (table5), hsd_total_received_percent, 2, 3, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hsd_total_received_percent), 1, 0.5);

  table6 = gtk_table_new (3, 3, FALSE);
  gtk_widget_set_name (table6, "table6");
  gtk_widget_show (table6);
  gtk_box_pack_start (GTK_BOX (hbox3), table6, TRUE, TRUE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table6), 6);
  gtk_table_set_col_spacings (GTK_TABLE (table6), 12);

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

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

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

  hsd_lost = gtk_label_new (_("0"));
  gtk_widget_set_name (hsd_lost, "hsd_lost");
  gtk_widget_show (hsd_lost);
  gtk_table_attach (GTK_TABLE (table6), hsd_lost, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_size_request (hsd_lost, 50, -1);
  gtk_misc_set_alignment (GTK_MISC (hsd_lost), 1, 0.5);

  hsd_late = gtk_label_new (_("0"));
  gtk_widget_set_name (hsd_late, "hsd_late");
  gtk_widget_show (hsd_late);
  gtk_table_attach (GTK_TABLE (table6), hsd_late, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_size_request (hsd_late, 50, -1);
  gtk_misc_set_alignment (GTK_MISC (hsd_late), 1, 0.5);

  hsd_total_missed = gtk_label_new (_("0"));
  gtk_widget_set_name (hsd_total_missed, "hsd_total_missed");
  gtk_widget_show (hsd_total_missed);
  gtk_table_attach (GTK_TABLE (table6), hsd_total_missed, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_widget_set_size_request (hsd_total_missed, 50, -1);
  gtk_misc_set_alignment (GTK_MISC (hsd_total_missed), 1, 0.5);

  hsd_lost_percent = gtk_label_new (_("(0.00%)"));
  gtk_widget_set_name (hsd_lost_percent, "hsd_lost_percent");
  gtk_widget_show (hsd_lost_percent);
  gtk_table_attach (GTK_TABLE (table6), hsd_lost_percent, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hsd_lost_percent), 1, 0.5);

  hsd_late_percent = gtk_label_new (_("(0.00%)"));
  gtk_widget_set_name (hsd_late_percent, "hsd_late_percent");
  gtk_widget_show (hsd_late_percent);
  gtk_table_attach (GTK_TABLE (table6), hsd_late_percent, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hsd_late_percent), 1, 0.5);

  hsd_total_missed_percent = gtk_label_new (_("(0.00%)"));
  gtk_widget_set_name (hsd_total_missed_percent, "hsd_total_missed_percent");
  gtk_widget_show (hsd_total_missed_percent);
  gtk_table_attach (GTK_TABLE (table6), hsd_total_missed_percent, 2, 3, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hsd_total_missed_percent), 1, 0.5);

  hbox4 = gtk_hbox_new (FALSE, 6);
  gtk_widget_set_name (hbox4, "hbox4");
  gtk_widget_show (hbox4);
  gtk_box_pack_start (GTK_BOX (vbox4), hbox4, FALSE, FALSE, 0);

  label48 = gtk_label_new (_("Unavailable data in the last 30 seconds: "));
  gtk_widget_set_name (label48, "label48");
  gtk_widget_show (label48);
  gtk_box_pack_start (GTK_BOX (hbox4), label48, FALSE, FALSE, 0);

  hsd_lost_30 = gtk_label_new (_("0"));
  gtk_widget_set_name (hsd_lost_30, "hsd_lost_30");
  gtk_widget_show (hsd_lost_30);
  gtk_box_pack_start (GTK_BOX (hbox4), hsd_lost_30, FALSE, FALSE, 0);
  gtk_widget_set_size_request (hsd_lost_30, 50, -1);
  gtk_misc_set_alignment (GTK_MISC (hsd_lost_30), 1, 0.5);

  hsd_lost_30_percent = gtk_label_new (_("(0.00%)"));
  gtk_widget_set_name (hsd_lost_30_percent, "hsd_lost_30_percent");
  gtk_widget_show (hsd_lost_30_percent);
  gtk_box_pack_start (GTK_BOX (hbox4), hsd_lost_30_percent, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (hsd_lost_30_percent), 1, 0.5);

  label39 = gtk_label_new (_("<b>Packet Status</b>"));
  gtk_widget_set_name (label39, "label39");
  gtk_widget_show (label39);
  gtk_frame_set_label_widget (GTK_FRAME (frame1), label39);
  gtk_label_set_use_markup (GTK_LABEL (label39), TRUE);

  vbox3 = gtk_vbox_new (FALSE, 0);
  gtk_widget_set_name (vbox3, "vbox3");
  gtk_widget_show (vbox3);
  gtk_box_pack_start (GTK_BOX (hbox2), vbox3, FALSE, FALSE, 0);

  frame2 = gtk_frame_new (NULL);
  gtk_widget_set_name (frame2, "frame2");
  gtk_widget_show (frame2);
  gtk_box_pack_start (GTK_BOX (vbox3), frame2, FALSE, FALSE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame2), 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 (frame2), 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), 6);

  label56 = gtk_label_new (_("Requested:"));
  gtk_widget_set_name (label56, "label56");
  gtk_widget_show (label56);
  gtk_table_attach (GTK_TABLE (table7), label56, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label56), 0, 0.5);

  label57 = gtk_label_new (_("Received:"));
  gtk_widget_set_name (label57, "label57");
  gtk_widget_show (label57);
  gtk_table_attach (GTK_TABLE (table7), label57, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label57), 0, 0.5);

  hsd_resend_requested = gtk_label_new (_("0"));
  gtk_widget_set_name (hsd_resend_requested, "hsd_resend_requested");
  gtk_widget_show (hsd_resend_requested);
  gtk_table_attach (GTK_TABLE (table7), hsd_resend_requested, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hsd_resend_requested), 1, 0.5);

  hsd_resend_received = gtk_label_new (_("0"));
  gtk_widget_set_name (hsd_resend_received, "hsd_resend_received");
  gtk_widget_show (hsd_resend_received);
  gtk_table_attach (GTK_TABLE (table7), hsd_resend_received, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hsd_resend_received), 1, 0.5);

  label40 = gtk_label_new (_("<b>Retransmission</b>"));
  gtk_widget_set_name (label40, "label40");
  gtk_widget_show (label40);
  gtk_frame_set_label_widget (GTK_FRAME (frame2), label40);
  gtk_label_set_use_markup (GTK_LABEL (label40), TRUE);

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

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

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

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

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

  hsd_average_latency = gtk_label_new (_("0"));
  gtk_widget_set_name (hsd_average_latency, "hsd_average_latency");
  gtk_widget_show (hsd_average_latency);
  gtk_table_attach (GTK_TABLE (table8), hsd_average_latency, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hsd_average_latency), 1, 0.5);

  hsd_high_latency = gtk_label_new (_("0"));
  gtk_widget_set_name (hsd_high_latency, "hsd_high_latency");
  gtk_widget_show (hsd_high_latency);
  gtk_table_attach (GTK_TABLE (table8), hsd_high_latency, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hsd_high_latency), 1, 0.5);

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

  label41 = gtk_label_new (_("<b>Retransmission Time</b>"));
  gtk_widget_set_name (label41, "label41");
  gtk_widget_show (label41);
  gtk_frame_set_label_widget (GTK_FRAME (frame3), label41);
  gtk_label_set_use_markup (GTK_LABEL (label41), TRUE);

  label13 = gtk_label_new (_("Packets"));
  gtk_widget_set_name (label13, "label13");
  gtk_widget_show (label13);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook1), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook1), 1), label13);

  alignment3 = gtk_alignment_new (0, 0, 1, 0);
  gtk_widget_set_name (alignment3, "alignment3");
  gtk_widget_show (alignment3);
  gtk_container_add (GTK_CONTAINER (notebook1), alignment3);

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

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

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

  hsd_stream_combo = gtk_combo_new ();
  g_object_set_data (G_OBJECT (GTK_COMBO (hsd_stream_combo)->popwin),
                     "GladeParentKey", hsd_stream_combo);
  gtk_widget_set_name (hsd_stream_combo, "hsd_stream_combo");
  gtk_widget_show (hsd_stream_combo);
  gtk_container_add (GTK_CONTAINER (alignment1), hsd_stream_combo);
  gtk_widget_set_size_request (hsd_stream_combo, 290, -1);

  combo_entry1 = GTK_COMBO (hsd_stream_combo)->entry;
  gtk_widget_set_name (combo_entry1, "combo_entry1");
  gtk_widget_show (combo_entry1);
  gtk_editable_set_editable (GTK_EDITABLE (combo_entry1), FALSE);

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

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

  table18 = gtk_table_new (3, 3, FALSE);
  gtk_widget_set_name (table18, "table18");
  gtk_widget_show (table18);
  gtk_container_add (GTK_CONTAINER (frame5), table18);
  gtk_container_set_border_width (GTK_CONTAINER (table18), 12);
  gtk_table_set_row_spacings (GTK_TABLE (table18), 6);
  gtk_table_set_col_spacings (GTK_TABLE (table18), 6);

  label71 = gtk_label_new (_("Server:"));
  gtk_widget_set_name (label71, "label71");
  gtk_widget_show (label71);
  gtk_table_attach (GTK_TABLE (table18), label71, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label71), 0, 0.5);

  label69 = gtk_label_new (_("Codec:"));
  gtk_widget_set_name (label69, "label69");
  gtk_widget_show (label69);
  gtk_table_attach (GTK_TABLE (table18), label69, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label69), 0, 0.5);

  label75 = gtk_label_new (_("Bitrate:"));
  gtk_widget_set_name (label75, "label75");
  gtk_widget_show (label75);
  gtk_table_attach (GTK_TABLE (table18), label75, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label75), 0, 0.5);

  hsd_source_clip_bandwidth = gtk_label_new (_("0.0 Kbps"));
  gtk_widget_set_name (hsd_source_clip_bandwidth, "hsd_source_clip_bandwidth");
  gtk_widget_show (hsd_source_clip_bandwidth);
  gtk_table_attach (GTK_TABLE (table18), hsd_source_clip_bandwidth, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hsd_source_clip_bandwidth), 0, 0.5);

  hsd_source_server_info = gtk_label_new (_("--"));
  gtk_widget_set_name (hsd_source_server_info, "hsd_source_server_info");
  gtk_widget_show (hsd_source_server_info);
  gtk_table_attach (GTK_TABLE (table18), hsd_source_server_info, 1, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hsd_source_server_info), 0, 0.5);

  hsd_source_renderer_codec_name = gtk_label_new (_("--"));
  gtk_widget_set_name (hsd_source_renderer_codec_name, "hsd_source_renderer_codec_name");
  gtk_widget_show (hsd_source_renderer_codec_name);
  gtk_table_attach (GTK_TABLE (table18), hsd_source_renderer_codec_name, 1, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hsd_source_renderer_codec_name), 0, 0.5);

  alignment4 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_set_name (alignment4, "alignment4");
  gtk_widget_show (alignment4);
  gtk_table_attach (GTK_TABLE (table18), alignment4, 2, 3, 2, 3,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  hbox17 = gtk_hbox_new (FALSE, 6);
  gtk_widget_set_name (hbox17, "hbox17");
  gtk_widget_show (hbox17);
  gtk_container_add (GTK_CONTAINER (alignment4), hbox17);

  label73 = gtk_label_new (_("Transport protocol:"));
  gtk_widget_set_name (label73, "label73");
  gtk_widget_show (label73);
  gtk_box_pack_start (GTK_BOX (hbox17), label73, TRUE, TRUE, 0);
  gtk_misc_set_alignment (GTK_MISC (label73), 1, 0.5);

  hsd_source_transport_mode = gtk_label_new (_("HTTP"));
  gtk_widget_set_name (hsd_source_transport_mode, "hsd_source_transport_mode");
  gtk_widget_show (hsd_source_transport_mode);
  gtk_box_pack_start (GTK_BOX (hbox17), hsd_source_transport_mode, TRUE, TRUE, 0);
  gtk_misc_set_alignment (GTK_MISC (hsd_source_transport_mode), 0, 0.5);

  label67 = gtk_label_new (_("<b>Stream Info</b>"));
  gtk_widget_set_name (label67, "label67");
  gtk_widget_show (label67);
  gtk_frame_set_label_widget (GTK_FRAME (frame5), label67);
  gtk_label_set_use_markup (GTK_LABEL (label67), TRUE);

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

  hbox7 = gtk_hbox_new (FALSE, 24);
  gtk_widget_set_name (hbox7, "hbox7");
  gtk_widget_show (hbox7);
  gtk_container_add (GTK_CONTAINER (frame6), hbox7);
  gtk_container_set_border_width (GTK_CONTAINER (hbox7), 12);

  table15 = gtk_table_new (2, 2, FALSE);
  gtk_widget_set_name (table15, "table15");
  gtk_widget_show (table15);
  gtk_box_pack_start (GTK_BOX (hbox7), table15, TRUE, TRUE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table15), 6);
  gtk_table_set_col_spacings (GTK_TABLE (table15), 6);

  label88 = gtk_label_new (_("Encoded at:"));
  gtk_widget_set_name (label88, "label88");
  gtk_widget_show (label88);
  gtk_table_attach (GTK_TABLE (table15), label88, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label88), 0, 0.5);

  label89 = gtk_label_new (_("Frames displayed:"));
  gtk_widget_set_name (label89, "label89");
  gtk_widget_show (label89);
  gtk_table_attach (GTK_TABLE (table15), label89, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label89), 0, 0.5);

  hsd_source_renderer_frames_displayed = gtk_label_new (_("100.0%"));
  gtk_widget_set_name (hsd_source_renderer_frames_displayed, "hsd_source_renderer_frames_displayed");
  gtk_widget_show (hsd_source_renderer_frames_displayed);
  gtk_table_attach (GTK_TABLE (table15), hsd_source_renderer_frames_displayed, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hsd_source_renderer_frames_displayed), 0, 0.5);

  hsd_source_renderer_codec_frame_rate = gtk_label_new (_("0.0 fps"));
  gtk_widget_set_name (hsd_source_renderer_codec_frame_rate, "hsd_source_renderer_codec_frame_rate");
  gtk_widget_show (hsd_source_renderer_codec_frame_rate);
  gtk_table_attach (GTK_TABLE (table15), hsd_source_renderer_codec_frame_rate, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hsd_source_renderer_codec_frame_rate), 0, 0.5);

  table16 = gtk_table_new (2, 2, FALSE);
  gtk_widget_set_name (table16, "table16");
  gtk_widget_show (table16);
  gtk_box_pack_start (GTK_BOX (hbox7), table16, TRUE, TRUE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table16), 6);
  gtk_table_set_col_spacings (GTK_TABLE (table16), 6);

  label92 = gtk_label_new (_("Current:"));
  gtk_widget_set_name (label92, "label92");
  gtk_widget_show (label92);
  gtk_table_attach (GTK_TABLE (table16), label92, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label92), 0, 0.5);

  label93 = gtk_label_new (_("Frames lost:"));
  gtk_widget_set_name (label93, "label93");
  gtk_widget_show (label93);
  gtk_table_attach (GTK_TABLE (table16), label93, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label93), 0, 0.5);

  hsd_source_renderer_current_frame_rate = gtk_label_new (_("0.0%"));
  gtk_widget_set_name (hsd_source_renderer_current_frame_rate, "hsd_source_renderer_current_frame_rate");
  gtk_widget_show (hsd_source_renderer_current_frame_rate);
  gtk_table_attach (GTK_TABLE (table16), hsd_source_renderer_current_frame_rate, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hsd_source_renderer_current_frame_rate), 0, 0.5);

  hsd_source_renderer_frames_lost = gtk_label_new (_("0"));
  gtk_widget_set_name (hsd_source_renderer_frames_lost, "hsd_source_renderer_frames_lost");
  gtk_widget_show (hsd_source_renderer_frames_lost);
  gtk_table_attach (GTK_TABLE (table16), hsd_source_renderer_frames_lost, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hsd_source_renderer_frames_lost), 0, 0.5);

  table17 = gtk_table_new (2, 2, FALSE);
  gtk_widget_set_name (table17, "table17");
  gtk_widget_show (table17);
  gtk_box_pack_start (GTK_BOX (hbox7), table17, TRUE, TRUE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table17), 6);
  gtk_table_set_col_spacings (GTK_TABLE (table17), 6);

  label96 = gtk_label_new (_("Post filter:"));
  gtk_widget_set_name (label96, "label96");
  gtk_widget_show (label96);
  gtk_table_attach (GTK_TABLE (table17), label96, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label96), 0, 0.5);

  label97 = gtk_label_new (_("Frames dropped:"));
  gtk_widget_set_name (label97, "label97");
  gtk_widget_show (label97);
  gtk_table_attach (GTK_TABLE (table17), label97, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label97), 0, 0.5);

  hsd_source_renderer_post_filter = gtk_label_new (_("ON"));
  gtk_widget_set_name (hsd_source_renderer_post_filter, "hsd_source_renderer_post_filter");
  gtk_widget_show (hsd_source_renderer_post_filter);
  gtk_table_attach (GTK_TABLE (table17), hsd_source_renderer_post_filter, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hsd_source_renderer_post_filter), 0, 0.5);

  hsd_source_renderer_frames_dropped = gtk_label_new (_("0"));
  gtk_widget_set_name (hsd_source_renderer_frames_dropped, "hsd_source_renderer_frames_dropped");
  gtk_widget_show (hsd_source_renderer_frames_dropped);
  gtk_table_attach (GTK_TABLE (table17), hsd_source_renderer_frames_dropped, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (hsd_source_renderer_frames_dropped), 0, 0.5);

  label68 = gtk_label_new (_("<b>Frame Rate</b>"));
  gtk_widget_set_name (label68, "label68");
  gtk_widget_show (label68);
  gtk_frame_set_label_widget (GTK_FRAME (frame6), label68);
  gtk_label_set_use_markup (GTK_LABEL (label68), TRUE);

  label420 = gtk_label_new (_("Streams"));
  gtk_widget_set_name (label420, "label420");
  gtk_widget_show (label420);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook1), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook1), 2), label420);

  dialog_action_area1 = GTK_DIALOG (hxplayer_statistics_dialog)->action_area;
  gtk_widget_set_name (dialog_action_area1, "dialog_action_area1");
  gtk_widget_show (dialog_action_area1);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area1), GTK_BUTTONBOX_END);

  okbutton1 = gtk_button_new_from_stock ("gtk-close");
  gtk_widget_set_name (okbutton1, "okbutton1");
  gtk_widget_show (okbutton1);
  gtk_dialog_add_action_widget (GTK_DIALOG (hxplayer_statistics_dialog), okbutton1, GTK_RESPONSE_CLOSE);
  GTK_WIDGET_SET_FLAGS (okbutton1, GTK_CAN_DEFAULT);

  g_signal_connect ((gpointer) combo_entry1, "changed",
                    G_CALLBACK (hsd_stream_combo_changed),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (hxplayer_statistics_dialog, hxplayer_statistics_dialog, "hxplayer_statistics_dialog");
  GLADE_HOOKUP_OBJECT_NO_REF (hxplayer_statistics_dialog, dialog_vbox1, "dialog_vbox1");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, notebook1, "notebook1");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, alignment2, "alignment2");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, vbox1, "vbox1");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, table1, "table1");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label16, "label16");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_bandwidth_graph, "hsd_bandwidth_graph");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label17, "label17");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label18, "label18");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hbox1, "hbox1");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, table2, "table2");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label29, "label29");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label30, "label30");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_clip_bandwidth, "hsd_clip_bandwidth");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_current_bandwidth, "hsd_current_bandwidth");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, table3, "table3");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label33, "label33");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label34, "label34");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_min_bandwidth, "hsd_min_bandwidth");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_max_bandwidth, "hsd_max_bandwidth");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, table4, "table4");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label37, "label37");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_average_bandwidth, "hsd_average_bandwidth");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label12, "label12");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hbox2, "hbox2");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, frame1, "frame1");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, vbox4, "vbox4");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hbox3, "hbox3");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, table5, "table5");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label42, "label42");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label44, "label44");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label46, "label46");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_received, "hsd_received");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_recovered, "hsd_recovered");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_total_received, "hsd_total_received");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_received_percent, "hsd_received_percent");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_recovered_percent, "hsd_recovered_percent");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_total_received_percent, "hsd_total_received_percent");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, table6, "table6");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label50, "label50");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label51, "label51");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label52, "label52");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_lost, "hsd_lost");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_late, "hsd_late");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_total_missed, "hsd_total_missed");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_lost_percent, "hsd_lost_percent");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_late_percent, "hsd_late_percent");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_total_missed_percent, "hsd_total_missed_percent");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hbox4, "hbox4");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label48, "label48");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_lost_30, "hsd_lost_30");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_lost_30_percent, "hsd_lost_30_percent");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label39, "label39");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, vbox3, "vbox3");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, frame2, "frame2");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, table7, "table7");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label56, "label56");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label57, "label57");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_resend_requested, "hsd_resend_requested");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_resend_received, "hsd_resend_received");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label40, "label40");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, frame3, "frame3");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, table8, "table8");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label60, "label60");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label62, "label62");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label64, "label64");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_average_latency, "hsd_average_latency");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_high_latency, "hsd_high_latency");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_low_latency, "hsd_low_latency");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label41, "label41");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label13, "label13");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, alignment3, "alignment3");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, vbox5, "vbox5");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, frame4, "frame4");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, alignment1, "alignment1");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_stream_combo, "hsd_stream_combo");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, combo_entry1, "combo_entry1");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label66, "label66");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, frame5, "frame5");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, table18, "table18");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label71, "label71");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label69, "label69");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label75, "label75");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_source_clip_bandwidth, "hsd_source_clip_bandwidth");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_source_server_info, "hsd_source_server_info");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_source_renderer_codec_name, "hsd_source_renderer_codec_name");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, alignment4, "alignment4");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hbox17, "hbox17");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label73, "label73");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_source_transport_mode, "hsd_source_transport_mode");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label67, "label67");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, frame6, "frame6");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hbox7, "hbox7");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, table15, "table15");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label88, "label88");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label89, "label89");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_source_renderer_frames_displayed, "hsd_source_renderer_frames_displayed");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_source_renderer_codec_frame_rate, "hsd_source_renderer_codec_frame_rate");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, table16, "table16");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label92, "label92");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label93, "label93");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_source_renderer_current_frame_rate, "hsd_source_renderer_current_frame_rate");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_source_renderer_frames_lost, "hsd_source_renderer_frames_lost");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, table17, "table17");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label96, "label96");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label97, "label97");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_source_renderer_post_filter, "hsd_source_renderer_post_filter");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, hsd_source_renderer_frames_dropped, "hsd_source_renderer_frames_dropped");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label68, "label68");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, label420, "label420");
  GLADE_HOOKUP_OBJECT_NO_REF (hxplayer_statistics_dialog, dialog_action_area1, "dialog_action_area1");
  GLADE_HOOKUP_OBJECT (hxplayer_statistics_dialog, okbutton1, "okbutton1");

  gtk_widget_grab_default (okbutton1);
  return hxplayer_statistics_dialog;
}

