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

interface.c

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

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

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

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

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

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

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

GtkWidget*
create_app1 (void)
{
  GtkWidget *app1;
  GtkWidget *root_notebook;
  GtkWidget *hbox1;
  GtkWidget *scrolledwindow1;
  GtkWidget *done_clist;
  GtkWidget *vbox1;
  GtkWidget *clear_global_list_button;
  GtkWidget *reload_done_list_button;
  GtkWidget *label3;
  GtkWidget *dl_speed_stat;
  GtkWidget *dl_size_stat;
  GtkWidget *dl_time_stat;
  GtkWidget *label1;
  GtkWidget *hbox2;
  GtkWidget *vbox2;
  GtkWidget *frame2;
  GtkWidget *vbox3;
  GtkWidget *graph_by_weekdayradiobutton;
  GSList *graph_by_weekdayradiobutton_group = NULL;
  GtkWidget *graph_by_monthdayradiobutton;
  GtkWidget *label7;
  GtkWidget *frame3;
  GtkWidget *vbox4;
  GtkWidget *display_by_transfer_radiobutton;
  GSList *display_by_transfer_radiobutton_group = NULL;
  GtkWidget *display_by_size_radiobutton;
  GtkWidget *label8;
  GtkWidget *redraw_button;
  GtkWidget *frame1;
  GtkWidget *graph_drawingarea;
  GtkWidget *label2;
  GtkWidget *hbox4;
  GtkWidget *scrolledwindow2;
  GtkWidget *ul_done_treeview;
  GtkWidget *vbox8;
  GtkWidget *button2;
  GtkWidget *reload_ul_done_list_button;
  GtkWidget *label13;
  GtkWidget *ul_speed_stat;
  GtkWidget *ul_size_stat;
  GtkWidget *ul_time_stat;
  GtkWidget *label9;
  GtkWidget *hbox3;
  GtkWidget *vbox5;
  GtkWidget *frame4;
  GtkWidget *vbox6;
  GtkWidget *ul_graph_by_weekday_radiobutton;
  GSList *ul_graph_by_weekday_radiobutton_group = NULL;
  GtkWidget *ul_graph_by_monthday_radiobutton;
  GtkWidget *label11;
  GtkWidget *frame5;
  GtkWidget *vbox7;
  GtkWidget *on_ul_display_by_transfer_radiobutton;
  GSList *on_ul_display_by_transfer_radiobutton_group = NULL;
  GtkWidget *on_ul_display_by_size_radiobutton;
  GtkWidget *label12;
  GtkWidget *ul_redraw_button;
  GtkWidget *frame6;
  GtkWidget *ul_graph_drawingarea;
  GtkWidget *label10;
  GtkTooltips *tooltips;

  tooltips = gtk_tooltips_new ();

  app1 = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_window_set_title (GTK_WINDOW (app1), _("Dc_gui2_stat"));

  root_notebook = gtk_notebook_new ();
  gtk_widget_show (root_notebook);
  gtk_container_add (GTK_CONTAINER (app1), root_notebook);
  gtk_notebook_set_tab_pos (GTK_NOTEBOOK (root_notebook), GTK_POS_LEFT);

  hbox1 = gtk_hbox_new (FALSE, 3);
  gtk_widget_show (hbox1);
  gtk_container_add (GTK_CONTAINER (root_notebook), hbox1);
  gtk_container_set_border_width (GTK_CONTAINER (hbox1), 3);

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

  done_clist = gtk_tree_view_new ();
  gtk_widget_show (done_clist);
  gtk_container_add (GTK_CONTAINER (scrolledwindow1), done_clist);

  vbox1 = gtk_vbox_new (FALSE, 3);
  gtk_widget_show (vbox1);
  gtk_box_pack_start (GTK_BOX (hbox1), vbox1, FALSE, TRUE, 0);

  clear_global_list_button = gtk_button_new_from_stock ("gtk-delete");
  gtk_widget_show (clear_global_list_button);
  gtk_box_pack_start (GTK_BOX (vbox1), clear_global_list_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, clear_global_list_button, _("Clear the \"done\" list"), NULL);

  reload_done_list_button = gtk_button_new_from_stock ("gtk-refresh");
  gtk_widget_show (reload_done_list_button);
  gtk_box_pack_start (GTK_BOX (vbox1), reload_done_list_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, reload_done_list_button, _("Reload lists"), NULL);

  label3 = gtk_label_new (_("DL speed stat:"));
  gtk_widget_show (label3);
  gtk_box_pack_start (GTK_BOX (vbox1), label3, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label3), GTK_JUSTIFY_LEFT);

  dl_speed_stat = gtk_label_new (_("0 KB/s"));
  gtk_widget_show (dl_speed_stat);
  gtk_box_pack_start (GTK_BOX (vbox1), dl_speed_stat, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (dl_speed_stat), GTK_JUSTIFY_LEFT);

  dl_size_stat = gtk_label_new (_("0 bytes"));
  gtk_widget_show (dl_size_stat);
  gtk_box_pack_start (GTK_BOX (vbox1), dl_size_stat, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (dl_size_stat), GTK_JUSTIFY_LEFT);

  dl_time_stat = gtk_label_new (_("in 0\""));
  gtk_widget_show (dl_time_stat);
  gtk_box_pack_start (GTK_BOX (vbox1), dl_time_stat, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (dl_time_stat), GTK_JUSTIFY_LEFT);

  label1 = gtk_label_new (_("Done List"));
  gtk_widget_show (label1);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (root_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (root_notebook), 0), label1);
  gtk_label_set_justify (GTK_LABEL (label1), GTK_JUSTIFY_LEFT);

  hbox2 = gtk_hbox_new (FALSE, 3);
  gtk_widget_show (hbox2);
  gtk_container_add (GTK_CONTAINER (root_notebook), hbox2);
  gtk_container_set_border_width (GTK_CONTAINER (hbox2), 3);

  vbox2 = gtk_vbox_new (FALSE, 3);
  gtk_widget_show (vbox2);
  gtk_box_pack_start (GTK_BOX (hbox2), vbox2, FALSE, FALSE, 0);

  frame2 = gtk_frame_new (NULL);
  gtk_widget_show (frame2);
  gtk_box_pack_start (GTK_BOX (vbox2), frame2, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame2), 3);

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

  graph_by_weekdayradiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("week day"));
  gtk_widget_show (graph_by_weekdayradiobutton);
  gtk_box_pack_start (GTK_BOX (vbox3), graph_by_weekdayradiobutton, FALSE, FALSE, 0);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (graph_by_weekdayradiobutton), graph_by_weekdayradiobutton_group);
  graph_by_weekdayradiobutton_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (graph_by_weekdayradiobutton));

  graph_by_monthdayradiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("month day"));
  gtk_widget_show (graph_by_monthdayradiobutton);
  gtk_box_pack_start (GTK_BOX (vbox3), graph_by_monthdayradiobutton, FALSE, FALSE, 0);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (graph_by_monthdayradiobutton), graph_by_weekdayradiobutton_group);
  graph_by_weekdayradiobutton_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (graph_by_monthdayradiobutton));

  label7 = gtk_label_new (_("Group by"));
  gtk_widget_show (label7);
  gtk_frame_set_label_widget (GTK_FRAME (frame2), label7);
  gtk_label_set_justify (GTK_LABEL (label7), GTK_JUSTIFY_LEFT);

  frame3 = gtk_frame_new (NULL);
  gtk_widget_show (frame3);
  gtk_box_pack_start (GTK_BOX (vbox2), frame3, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame3), 3);

  vbox4 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox4);
  gtk_container_add (GTK_CONTAINER (frame3), vbox4);

  display_by_transfer_radiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("transfer"));
  gtk_widget_show (display_by_transfer_radiobutton);
  gtk_box_pack_start (GTK_BOX (vbox4), display_by_transfer_radiobutton, FALSE, FALSE, 0);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (display_by_transfer_radiobutton), display_by_transfer_radiobutton_group);
  display_by_transfer_radiobutton_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (display_by_transfer_radiobutton));

  display_by_size_radiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("size"));
  gtk_widget_show (display_by_size_radiobutton);
  gtk_box_pack_start (GTK_BOX (vbox4), display_by_size_radiobutton, FALSE, FALSE, 0);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (display_by_size_radiobutton), display_by_transfer_radiobutton_group);
  display_by_transfer_radiobutton_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (display_by_size_radiobutton));

  label8 = gtk_label_new (_("Display by"));
  gtk_widget_show (label8);
  gtk_frame_set_label_widget (GTK_FRAME (frame3), label8);
  gtk_label_set_justify (GTK_LABEL (label8), GTK_JUSTIFY_LEFT);

  redraw_button = gtk_button_new_from_stock ("gtk-refresh");
  gtk_widget_show (redraw_button);
  gtk_box_pack_start (GTK_BOX (vbox2), redraw_button, FALSE, FALSE, 0);

  frame1 = gtk_frame_new (NULL);
  gtk_widget_show (frame1);
  gtk_box_pack_start (GTK_BOX (hbox2), frame1, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame1), 3);

  graph_drawingarea = gtk_drawing_area_new ();
  gtk_widget_show (graph_drawingarea);
  gtk_container_add (GTK_CONTAINER (frame1), graph_drawingarea);

  label2 = gtk_label_new (_("Graphic"));
  gtk_widget_show (label2);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (root_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (root_notebook), 1), label2);
  gtk_label_set_justify (GTK_LABEL (label2), GTK_JUSTIFY_LEFT);

  hbox4 = gtk_hbox_new (FALSE, 3);
  gtk_widget_show (hbox4);
  gtk_container_add (GTK_CONTAINER (root_notebook), hbox4);
  gtk_container_set_border_width (GTK_CONTAINER (hbox4), 3);

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

  ul_done_treeview = gtk_tree_view_new ();
  gtk_widget_show (ul_done_treeview);
  gtk_container_add (GTK_CONTAINER (scrolledwindow2), ul_done_treeview);

  vbox8 = gtk_vbox_new (FALSE, 3);
  gtk_widget_show (vbox8);
  gtk_box_pack_start (GTK_BOX (hbox4), vbox8, FALSE, TRUE, 0);

  button2 = gtk_button_new_from_stock ("gtk-delete");
  gtk_widget_show (button2);
  gtk_box_pack_start (GTK_BOX (vbox8), button2, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, button2, _("Clear the \"done\" list"), NULL);

  reload_ul_done_list_button = gtk_button_new_from_stock ("gtk-refresh");
  gtk_widget_show (reload_ul_done_list_button);
  gtk_box_pack_start (GTK_BOX (vbox8), reload_ul_done_list_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, reload_ul_done_list_button, _("Reload lists"), NULL);

  label13 = gtk_label_new (_("UL speed stat:"));
  gtk_widget_show (label13);
  gtk_box_pack_start (GTK_BOX (vbox8), label13, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label13), GTK_JUSTIFY_LEFT);

  ul_speed_stat = gtk_label_new (_("0 KB/s"));
  gtk_widget_show (ul_speed_stat);
  gtk_box_pack_start (GTK_BOX (vbox8), ul_speed_stat, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (ul_speed_stat), GTK_JUSTIFY_LEFT);

  ul_size_stat = gtk_label_new (_("0 bytes"));
  gtk_widget_show (ul_size_stat);
  gtk_box_pack_start (GTK_BOX (vbox8), ul_size_stat, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (ul_size_stat), GTK_JUSTIFY_LEFT);

  ul_time_stat = gtk_label_new (_("in 0\""));
  gtk_widget_show (ul_time_stat);
  gtk_box_pack_start (GTK_BOX (vbox8), ul_time_stat, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (ul_time_stat), GTK_JUSTIFY_LEFT);

  label9 = gtk_label_new (_("UL List"));
  gtk_widget_show (label9);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (root_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (root_notebook), 2), label9);
  gtk_label_set_justify (GTK_LABEL (label9), GTK_JUSTIFY_LEFT);

  hbox3 = gtk_hbox_new (FALSE, 3);
  gtk_widget_show (hbox3);
  gtk_container_add (GTK_CONTAINER (root_notebook), hbox3);
  gtk_container_set_border_width (GTK_CONTAINER (hbox3), 3);

  vbox5 = gtk_vbox_new (FALSE, 3);
  gtk_widget_show (vbox5);
  gtk_box_pack_start (GTK_BOX (hbox3), vbox5, FALSE, FALSE, 0);

  frame4 = gtk_frame_new (NULL);
  gtk_widget_show (frame4);
  gtk_box_pack_start (GTK_BOX (vbox5), frame4, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame4), 3);

  vbox6 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox6);
  gtk_container_add (GTK_CONTAINER (frame4), vbox6);

  ul_graph_by_weekday_radiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("week day"));
  gtk_widget_show (ul_graph_by_weekday_radiobutton);
  gtk_box_pack_start (GTK_BOX (vbox6), ul_graph_by_weekday_radiobutton, FALSE, FALSE, 0);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (ul_graph_by_weekday_radiobutton), ul_graph_by_weekday_radiobutton_group);
  ul_graph_by_weekday_radiobutton_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (ul_graph_by_weekday_radiobutton));

  ul_graph_by_monthday_radiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("month day"));
  gtk_widget_show (ul_graph_by_monthday_radiobutton);
  gtk_box_pack_start (GTK_BOX (vbox6), ul_graph_by_monthday_radiobutton, FALSE, FALSE, 0);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (ul_graph_by_monthday_radiobutton), ul_graph_by_weekday_radiobutton_group);
  ul_graph_by_weekday_radiobutton_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (ul_graph_by_monthday_radiobutton));

  label11 = gtk_label_new (_("Group by"));
  gtk_widget_show (label11);
  gtk_frame_set_label_widget (GTK_FRAME (frame4), label11);
  gtk_label_set_justify (GTK_LABEL (label11), GTK_JUSTIFY_LEFT);

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

  vbox7 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox7);
  gtk_container_add (GTK_CONTAINER (frame5), vbox7);

  on_ul_display_by_transfer_radiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("transfer"));
  gtk_widget_show (on_ul_display_by_transfer_radiobutton);
  gtk_box_pack_start (GTK_BOX (vbox7), on_ul_display_by_transfer_radiobutton, FALSE, FALSE, 0);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (on_ul_display_by_transfer_radiobutton), on_ul_display_by_transfer_radiobutton_group);
  on_ul_display_by_transfer_radiobutton_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (on_ul_display_by_transfer_radiobutton));

  on_ul_display_by_size_radiobutton = gtk_radio_button_new_with_mnemonic (NULL, _("size"));
  gtk_widget_show (on_ul_display_by_size_radiobutton);
  gtk_box_pack_start (GTK_BOX (vbox7), on_ul_display_by_size_radiobutton, FALSE, FALSE, 0);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (on_ul_display_by_size_radiobutton), on_ul_display_by_transfer_radiobutton_group);
  on_ul_display_by_transfer_radiobutton_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (on_ul_display_by_size_radiobutton));

  label12 = gtk_label_new (_("Display by"));
  gtk_widget_show (label12);
  gtk_frame_set_label_widget (GTK_FRAME (frame5), label12);
  gtk_label_set_justify (GTK_LABEL (label12), GTK_JUSTIFY_LEFT);

  ul_redraw_button = gtk_button_new_from_stock ("gtk-refresh");
  gtk_widget_show (ul_redraw_button);
  gtk_box_pack_start (GTK_BOX (vbox5), ul_redraw_button, FALSE, FALSE, 0);

  frame6 = gtk_frame_new (NULL);
  gtk_widget_show (frame6);
  gtk_box_pack_start (GTK_BOX (hbox3), frame6, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame6), 3);

  ul_graph_drawingarea = gtk_drawing_area_new ();
  gtk_widget_show (ul_graph_drawingarea);
  gtk_container_add (GTK_CONTAINER (frame6), ul_graph_drawingarea);

  label10 = gtk_label_new (_("UL Graphic"));
  gtk_widget_show (label10);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (root_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (root_notebook), 3), label10);
  gtk_label_set_justify (GTK_LABEL (label10), GTK_JUSTIFY_LEFT);

  g_signal_connect ((gpointer) app1, "delete_event",
                    G_CALLBACK (on_app1_delete_event),
                    NULL);
  g_signal_connect ((gpointer) root_notebook, "delete_event",
                    G_CALLBACK (on_root_notebook_delete_event),
                    NULL);
  g_signal_connect ((gpointer) clear_global_list_button, "clicked",
                    G_CALLBACK (on_clear_global_list_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) reload_done_list_button, "clicked",
                    G_CALLBACK (on_reload_done_list_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) graph_by_weekdayradiobutton, "toggled",
                    G_CALLBACK (on_graph_by_weekdayradiobutton_toggled),
                    NULL);
  g_signal_connect ((gpointer) graph_by_monthdayradiobutton, "toggled",
                    G_CALLBACK (on_graph_by_monthdayradiobutton_toggled),
                    NULL);
  g_signal_connect ((gpointer) display_by_transfer_radiobutton, "toggled",
                    G_CALLBACK (on_display_by_transfer_radiobutton_toggled),
                    NULL);
  g_signal_connect ((gpointer) display_by_size_radiobutton, "toggled",
                    G_CALLBACK (on_display_by_size_radiobutton_toggled),
                    NULL);
  g_signal_connect ((gpointer) redraw_button, "clicked",
                    G_CALLBACK (on_redraw_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) graph_drawingarea, "expose_event",
                    G_CALLBACK (on_graph_drawingarea_expose_event),
                    NULL);
  g_signal_connect ((gpointer) button2, "clicked",
                    G_CALLBACK (on_clear_global_list_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) reload_ul_done_list_button, "clicked",
                    G_CALLBACK (on_reload_done_list_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) ul_graph_by_weekday_radiobutton, "toggled",
                    G_CALLBACK (on_ul_graph_by_weekday_radiobutton_toggled),
                    NULL);
  g_signal_connect ((gpointer) ul_graph_by_monthday_radiobutton, "toggled",
                    G_CALLBACK (on_ul_graph_by_monthday_radiobutton_toggled),
                    NULL);
  g_signal_connect ((gpointer) on_ul_display_by_transfer_radiobutton, "toggled",
                    G_CALLBACK (on_on_ul_display_by_transfer_radiobutton_toggled),
                    NULL);
  g_signal_connect ((gpointer) on_ul_display_by_size_radiobutton, "toggled",
                    G_CALLBACK (on_on_ul_display_by_size_radiobutton_toggled),
                    NULL);
  g_signal_connect ((gpointer) ul_redraw_button, "clicked",
                    G_CALLBACK (on_ul_redraw_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) ul_graph_drawingarea, "expose_event",
                    G_CALLBACK (on_ul_graph_drawingarea_expose_event),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (app1, app1, "app1");
  GLADE_HOOKUP_OBJECT (app1, root_notebook, "root_notebook");
  GLADE_HOOKUP_OBJECT (app1, hbox1, "hbox1");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow1, "scrolledwindow1");
  GLADE_HOOKUP_OBJECT (app1, done_clist, "done_clist");
  GLADE_HOOKUP_OBJECT (app1, vbox1, "vbox1");
  GLADE_HOOKUP_OBJECT (app1, clear_global_list_button, "clear_global_list_button");
  GLADE_HOOKUP_OBJECT (app1, reload_done_list_button, "reload_done_list_button");
  GLADE_HOOKUP_OBJECT (app1, label3, "label3");
  GLADE_HOOKUP_OBJECT (app1, dl_speed_stat, "dl_speed_stat");
  GLADE_HOOKUP_OBJECT (app1, dl_size_stat, "dl_size_stat");
  GLADE_HOOKUP_OBJECT (app1, dl_time_stat, "dl_time_stat");
  GLADE_HOOKUP_OBJECT (app1, label1, "label1");
  GLADE_HOOKUP_OBJECT (app1, hbox2, "hbox2");
  GLADE_HOOKUP_OBJECT (app1, vbox2, "vbox2");
  GLADE_HOOKUP_OBJECT (app1, frame2, "frame2");
  GLADE_HOOKUP_OBJECT (app1, vbox3, "vbox3");
  GLADE_HOOKUP_OBJECT (app1, graph_by_weekdayradiobutton, "graph_by_weekdayradiobutton");
  GLADE_HOOKUP_OBJECT (app1, graph_by_monthdayradiobutton, "graph_by_monthdayradiobutton");
  GLADE_HOOKUP_OBJECT (app1, label7, "label7");
  GLADE_HOOKUP_OBJECT (app1, frame3, "frame3");
  GLADE_HOOKUP_OBJECT (app1, vbox4, "vbox4");
  GLADE_HOOKUP_OBJECT (app1, display_by_transfer_radiobutton, "display_by_transfer_radiobutton");
  GLADE_HOOKUP_OBJECT (app1, display_by_size_radiobutton, "display_by_size_radiobutton");
  GLADE_HOOKUP_OBJECT (app1, label8, "label8");
  GLADE_HOOKUP_OBJECT (app1, redraw_button, "redraw_button");
  GLADE_HOOKUP_OBJECT (app1, frame1, "frame1");
  GLADE_HOOKUP_OBJECT (app1, graph_drawingarea, "graph_drawingarea");
  GLADE_HOOKUP_OBJECT (app1, label2, "label2");
  GLADE_HOOKUP_OBJECT (app1, hbox4, "hbox4");
  GLADE_HOOKUP_OBJECT (app1, scrolledwindow2, "scrolledwindow2");
  GLADE_HOOKUP_OBJECT (app1, ul_done_treeview, "ul_done_treeview");
  GLADE_HOOKUP_OBJECT (app1, vbox8, "vbox8");
  GLADE_HOOKUP_OBJECT (app1, button2, "button2");
  GLADE_HOOKUP_OBJECT (app1, reload_ul_done_list_button, "reload_ul_done_list_button");
  GLADE_HOOKUP_OBJECT (app1, label13, "label13");
  GLADE_HOOKUP_OBJECT (app1, ul_speed_stat, "ul_speed_stat");
  GLADE_HOOKUP_OBJECT (app1, ul_size_stat, "ul_size_stat");
  GLADE_HOOKUP_OBJECT (app1, ul_time_stat, "ul_time_stat");
  GLADE_HOOKUP_OBJECT (app1, label9, "label9");
  GLADE_HOOKUP_OBJECT (app1, hbox3, "hbox3");
  GLADE_HOOKUP_OBJECT (app1, vbox5, "vbox5");
  GLADE_HOOKUP_OBJECT (app1, frame4, "frame4");
  GLADE_HOOKUP_OBJECT (app1, vbox6, "vbox6");
  GLADE_HOOKUP_OBJECT (app1, ul_graph_by_weekday_radiobutton, "ul_graph_by_weekday_radiobutton");
  GLADE_HOOKUP_OBJECT (app1, ul_graph_by_monthday_radiobutton, "ul_graph_by_monthday_radiobutton");
  GLADE_HOOKUP_OBJECT (app1, label11, "label11");
  GLADE_HOOKUP_OBJECT (app1, frame5, "frame5");
  GLADE_HOOKUP_OBJECT (app1, vbox7, "vbox7");
  GLADE_HOOKUP_OBJECT (app1, on_ul_display_by_transfer_radiobutton, "on_ul_display_by_transfer_radiobutton");
  GLADE_HOOKUP_OBJECT (app1, on_ul_display_by_size_radiobutton, "on_ul_display_by_size_radiobutton");
  GLADE_HOOKUP_OBJECT (app1, label12, "label12");
  GLADE_HOOKUP_OBJECT (app1, ul_redraw_button, "ul_redraw_button");
  GLADE_HOOKUP_OBJECT (app1, frame6, "frame6");
  GLADE_HOOKUP_OBJECT (app1, ul_graph_drawingarea, "ul_graph_drawingarea");
  GLADE_HOOKUP_OBJECT (app1, label10, "label10");
  GLADE_HOOKUP_OBJECT_NO_REF (app1, tooltips, "tooltips");

  return app1;
}


Generated by  Doxygen 1.6.0   Back to index