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

interface.c

/*
 * NE PAS ÉDITER CE FICHIER - il est généré par Glade.
 */

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

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

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

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

GtkWidget*
create_window1 (void)
{
  GtkWidget *window1;
  GtkWidget *vbox1;
  GtkWidget *menubar1;
  guint tmp_key;
  GtkWidget *program1;
  GtkWidget *program1_menu;
  GtkAccelGroup *program1_menu_accels;
  GtkWidget *exit1;
  GtkWidget *host1;
  GtkWidget *host1_menu;
  GtkAccelGroup *host1_menu_accels;
  GtkWidget *connect1;
  GtkWidget *record1;
  GtkWidget *settings1;
  GtkWidget *settings1_menu;
  GtkAccelGroup *settings1_menu_accels;
  GtkWidget *preferences1;
  GtkWidget *help1;
  GtkWidget *help1_menu;
  GtkAccelGroup *help1_menu_accels;
  GtkWidget *about1;
  GtkWidget *scrolledwindow1;
  GtkWidget *text1;
  GtkWidget *entry1;
  GtkAccelGroup *accel_group;

  accel_group = gtk_accel_group_new ();

  window1 = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_object_set_data (GTK_OBJECT (window1), "window1", window1);
  gtk_widget_set_usize (window1, 670, 480);
  gtk_window_set_policy (GTK_WINDOW (window1), TRUE, TRUE, FALSE);

  vbox1 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox1);
  gtk_object_set_data_full (GTK_OBJECT (window1), "vbox1", vbox1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox1);
  gtk_container_add (GTK_CONTAINER (window1), vbox1);

  menubar1 = gtk_menu_bar_new ();
  gtk_widget_ref (menubar1);
  gtk_object_set_data_full (GTK_OBJECT (window1), "menubar1", menubar1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (menubar1);
  gtk_box_pack_start (GTK_BOX (vbox1), menubar1, FALSE, FALSE, 0);

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

  program1_menu = gtk_menu_new ();
  gtk_widget_ref (program1_menu);
  gtk_object_set_data_full (GTK_OBJECT (window1), "program1_menu", program1_menu,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (program1), program1_menu);
  program1_menu_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (program1_menu));

  exit1 = gtk_menu_item_new_with_label (_("Exit"));
  gtk_widget_ref (exit1);
  gtk_object_set_data_full (GTK_OBJECT (window1), "exit1", exit1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (exit1);
  gtk_container_add (GTK_CONTAINER (program1_menu), exit1);

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

  host1_menu = gtk_menu_new ();
  gtk_widget_ref (host1_menu);
  gtk_object_set_data_full (GTK_OBJECT (window1), "host1_menu", host1_menu,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (host1), host1_menu);
  host1_menu_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (host1_menu));

  connect1 = gtk_menu_item_new_with_label (_("Connection..."));
  gtk_widget_ref (connect1);
  gtk_object_set_data_full (GTK_OBJECT (window1), "connect1", connect1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (connect1);
  gtk_container_add (GTK_CONTAINER (host1_menu), connect1);

  record1 = gtk_menu_item_new_with_label (_("Recording..."));
  gtk_widget_ref (record1);
  gtk_object_set_data_full (GTK_OBJECT (window1), "record1", record1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (record1);
  gtk_container_add (GTK_CONTAINER (host1_menu), record1);

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

  settings1_menu = gtk_menu_new ();
  gtk_widget_ref (settings1_menu);
  gtk_object_set_data_full (GTK_OBJECT (window1), "settings1_menu", settings1_menu,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (settings1), settings1_menu);
  settings1_menu_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (settings1_menu));

  preferences1 = gtk_menu_item_new_with_label (_("Preferences..."));
  gtk_widget_ref (preferences1);
  gtk_object_set_data_full (GTK_OBJECT (window1), "preferences1", preferences1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (preferences1);
  gtk_container_add (GTK_CONTAINER (settings1_menu), preferences1);

  help1 = gtk_menu_item_new_with_label ("");
  tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (help1)->child),
                                   _("H_elp"));
  gtk_widget_add_accelerator (help1, "activate_item", accel_group,
                              tmp_key, GDK_MOD1_MASK, (GtkAccelFlags) 0);
  gtk_widget_ref (help1);
  gtk_object_set_data_full (GTK_OBJECT (window1), "help1", help1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (help1);
  gtk_container_add (GTK_CONTAINER (menubar1), help1);
  gtk_menu_item_right_justify (GTK_MENU_ITEM (help1));

  help1_menu = gtk_menu_new ();
  gtk_widget_ref (help1_menu);
  gtk_object_set_data_full (GTK_OBJECT (window1), "help1_menu", help1_menu,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (help1), help1_menu);
  help1_menu_accels = gtk_menu_ensure_uline_accel_group (GTK_MENU (help1_menu));

  about1 = gtk_menu_item_new_with_label (_("About..."));
  gtk_widget_ref (about1);
  gtk_object_set_data_full (GTK_OBJECT (window1), "about1", about1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (about1);
  gtk_container_add (GTK_CONTAINER (help1_menu), about1);

  scrolledwindow1 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (scrolledwindow1);
  gtk_object_set_data_full (GTK_OBJECT (window1), "scrolledwindow1", scrolledwindow1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow1);
  gtk_box_pack_start (GTK_BOX (vbox1), scrolledwindow1, TRUE, TRUE, 0);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow1), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);

  text1 = gtk_text_new (NULL, NULL);
  gtk_widget_ref (text1);
  gtk_object_set_data_full (GTK_OBJECT (window1), "text1", text1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (text1);
  gtk_container_add (GTK_CONTAINER (scrolledwindow1), text1);
  GTK_WIDGET_UNSET_FLAGS (text1, GTK_CAN_FOCUS);

  entry1 = gtk_entry_new_with_max_length (1024);
  gtk_widget_ref (entry1);
  gtk_object_set_data_full (GTK_OBJECT (window1), "entry1", entry1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry1);
  gtk_box_pack_start (GTK_BOX (vbox1), entry1, FALSE, FALSE, 0);
  GTK_WIDGET_SET_FLAGS (entry1, GTK_CAN_DEFAULT);

  gtk_signal_connect (GTK_OBJECT (window1), "show",
                      GTK_SIGNAL_FUNC (on_window1_show),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (window1), "key_press_event",
                      GTK_SIGNAL_FUNC (on_window1_key_press_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (window1), "delete_event",
                      GTK_SIGNAL_FUNC (on_window1_delete_event),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (exit1), "activate",
                      GTK_SIGNAL_FUNC (on_exit1_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (connect1), "activate",
                      GTK_SIGNAL_FUNC (on_connect1_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (record1), "activate",
                      GTK_SIGNAL_FUNC (on_record1_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (preferences1), "activate",
                      GTK_SIGNAL_FUNC (on_preferences1_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (about1), "activate",
                      GTK_SIGNAL_FUNC (on_about1_activate),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (entry1), "activate",
                      GTK_SIGNAL_FUNC (on_entry1_activate),
                      NULL);

  gtk_widget_grab_focus (entry1);
  gtk_widget_grab_default (entry1);
  gtk_window_add_accel_group (GTK_WINDOW (window1), accel_group);

  return window1;
}

GtkWidget*
create_dialog1 (void)
{
  GtkWidget *dialog1;
  GtkWidget *dialog_vbox1;
  GtkWidget *label1;
  GtkWidget *dialog_action_area1;
  GtkWidget *button1;
  GtkWidget *label42;

  dialog1 = gtk_dialog_new ();
  gtk_object_set_data (GTK_OBJECT (dialog1), "dialog1", dialog1);
  GTK_WIDGET_SET_FLAGS (dialog1, GTK_CAN_FOCUS);
  GTK_WIDGET_SET_FLAGS (dialog1, GTK_CAN_DEFAULT);
  gtk_window_set_position (GTK_WINDOW (dialog1), GTK_WIN_POS_MOUSE);
  gtk_window_set_policy (GTK_WINDOW (dialog1), FALSE, TRUE, TRUE);

  dialog_vbox1 = GTK_DIALOG (dialog1)->vbox;
  gtk_object_set_data (GTK_OBJECT (dialog1), "dialog_vbox1", dialog_vbox1);
  gtk_widget_show (dialog_vbox1);

  label1 = gtk_label_new ("");
  gtk_widget_ref (label1);
  gtk_object_set_data_full (GTK_OBJECT (dialog1), "label1", label1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label1);
  gtk_box_pack_start (GTK_BOX (dialog_vbox1), label1, TRUE, TRUE, 10);
  gtk_misc_set_padding (GTK_MISC (label1), 10, 10);

  dialog_action_area1 = GTK_DIALOG (dialog1)->action_area;
  gtk_object_set_data (GTK_OBJECT (dialog1), "dialog_action_area1", dialog_action_area1);
  gtk_widget_show (dialog_action_area1);
  gtk_container_set_border_width (GTK_CONTAINER (dialog_action_area1), 10);

  button1 = gtk_button_new ();
  gtk_widget_ref (button1);
  gtk_object_set_data_full (GTK_OBJECT (dialog1), "button1", button1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button1);
  gtk_box_pack_start (GTK_BOX (dialog_action_area1), button1, TRUE, TRUE, 10);

  label42 = gtk_label_new (_("OK"));
  gtk_widget_ref (label42);
  gtk_object_set_data_full (GTK_OBJECT (dialog1), "label42", label42,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label42);
  gtk_container_add (GTK_CONTAINER (button1), label42);

  gtk_signal_connect (GTK_OBJECT (button1), "clicked",
                      GTK_SIGNAL_FUNC (on_button1_clicked),
                      NULL);

  gtk_widget_grab_focus (dialog1);
  gtk_widget_grab_default (dialog1);
  return dialog1;
}

GtkWidget*
create_dialog2 (void)
{
  GtkWidget *dialog2;
  GtkWidget *dialog_vbox2;
  GtkWidget *notebook1;
  GtkWidget *frame5;
  GtkWidget *vbox8;
  GtkWidget *hbox13;
  GtkWidget *label25;
  GtkWidget *entry4;
  GtkWidget *frame6;
  GtkWidget *vbox9;
  GtkWidget *label26;
  GtkWidget *entry5;
  GtkWidget *frame7;
  GtkWidget *vbox10;
  GtkWidget *checkbutton4;
  GtkWidget *checkbutton5;
  GtkWidget *nlabel1;
  GtkWidget *vbox2;
  GtkWidget *frame1;
  GtkWidget *hbox5;
  GtkWidget *entry2;
  GtkWidget *button4;
  GtkWidget *frame4;
  GtkWidget *vbox7;
  GtkWidget *checkbutton1;
  GtkWidget *checkbutton2;
  GtkWidget *frame2;
  GtkWidget *vbox4;
  GtkWidget *hbox7;
  GtkWidget *label18;
  GtkWidget *button5;
  GtkWidget *hbox8;
  GtkWidget *label19;
  GtkWidget *button6;
  GtkWidget *hbox9;
  GtkWidget *label20;
  GtkWidget *button7;
  GtkWidget *hbox10;
  GtkWidget *label21;
  GtkWidget *button8;
  GtkWidget *hbox11;
  GtkWidget *label22;
  GtkWidget *button9;
  GtkWidget *nlabel2;
  GtkWidget *vbox3;
  GtkWidget *label8;
  GtkWidget *hseparator1;
  GtkWidget *hbox6;
  GtkWidget *label7;
  GtkWidget *combo1;
  GtkWidget *combo_entry1;
  GtkWidget *frame3;
  GtkWidget *vbox5;
  GtkWidget *axlabel1;
  GtkWidget *axlabel2;
  GtkWidget *axlabel3;
  GtkWidget *axlabel4;
  GtkWidget *axlabel5;
  GtkWidget *axlabel6;
  GtkWidget *axlabel7;
  GtkWidget *axlabel8;
  GtkWidget *axlabel9;
  GtkWidget *axlabel10;
  GtkWidget *nlabel3;
  GtkWidget *vbox12;
  GtkWidget *hbox27;
  GtkWidget *dxcheckbutton;
  GtkWidget *frame8;
  GtkWidget *vbox13;
  GtkWidget *hbox17;
  GtkWidget *label31;
  GtkWidget *dxbgbutton;
  GtkWidget *hbox18;
  GtkWidget *label32;
  GtkWidget *dx1_8button;
  GtkWidget *hbox19;
  GtkWidget *label33;
  GtkWidget *dx3_5button;
  GtkWidget *hbox20;
  GtkWidget *label34;
  GtkWidget *dx7button;
  GtkWidget *hbox21;
  GtkWidget *label35;
  GtkWidget *dx10button;
  GtkWidget *hbox22;
  GtkWidget *label36;
  GtkWidget *dx14button;
  GtkWidget *hbox23;
  GtkWidget *label37;
  GtkWidget *dx18button;
  GtkWidget *hbox24;
  GtkWidget *label38;
  GtkWidget *dx21button;
  GtkWidget *hbox25;
  GtkWidget *label39;
  GtkWidget *dx24button;
  GtkWidget *hbox26;
  GtkWidget *label40;
  GtkWidget *dx28button;
  GtkWidget *hbox29;
  GtkWidget *label41;
  GtkWidget *dxotherbutton;
  GtkWidget *label30;
  GtkWidget *dialog_action_area2;
  GtkWidget *hbox1;
  GtkWidget *button2;
  GtkWidget *label43;
  GtkWidget *button3;
  GtkWidget *label44;
  GtkTooltips *tooltips;

  tooltips = gtk_tooltips_new ();

  dialog2 = gtk_dialog_new ();
  gtk_object_set_data (GTK_OBJECT (dialog2), "dialog2", dialog2);
  gtk_window_set_position (GTK_WINDOW (dialog2), GTK_WIN_POS_MOUSE);
  gtk_window_set_policy (GTK_WINDOW (dialog2), FALSE, TRUE, TRUE);

  dialog_vbox2 = GTK_DIALOG (dialog2)->vbox;
  gtk_object_set_data (GTK_OBJECT (dialog2), "dialog_vbox2", dialog_vbox2);
  gtk_widget_show (dialog_vbox2);

  notebook1 = gtk_notebook_new ();
  gtk_widget_ref (notebook1);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "notebook1", notebook1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (notebook1);
  gtk_box_pack_start (GTK_BOX (dialog_vbox2), notebook1, TRUE, TRUE, 0);

  frame5 = gtk_frame_new (NULL);
  gtk_widget_ref (frame5);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "frame5", frame5,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame5);
  gtk_container_add (GTK_CONTAINER (notebook1), frame5);
  gtk_container_set_border_width (GTK_CONTAINER (frame5), 5);

  vbox8 = gtk_vbox_new (FALSE, 5);
  gtk_widget_ref (vbox8);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "vbox8", vbox8,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox8);
  gtk_container_add (GTK_CONTAINER (frame5), vbox8);
  gtk_container_set_border_width (GTK_CONTAINER (vbox8), 5);

  hbox13 = gtk_hbox_new (FALSE, 5);
  gtk_widget_ref (hbox13);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "hbox13", hbox13,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox13);
  gtk_box_pack_start (GTK_BOX (vbox8), hbox13, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox13), 5);

  label25 = gtk_label_new (_("Connection setup timeout"));
  gtk_widget_ref (label25);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "label25", label25,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label25);
  gtk_box_pack_start (GTK_BOX (hbox13), label25, FALSE, FALSE, 0);

  entry4 = gtk_entry_new_with_max_length (3);
  gtk_widget_ref (entry4);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "entry4", entry4,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry4);
  gtk_box_pack_start (GTK_BOX (hbox13), entry4, TRUE, FALSE, 0);
  gtk_widget_set_usize (entry4, 40, -2);
  gtk_tooltips_set_tip (tooltips, entry4, _("Time in seconds before xcall will generate a timeout when connecting"), NULL);

  frame6 = gtk_frame_new (NULL);
  gtk_widget_ref (frame6);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "frame6", frame6,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame6);
  gtk_box_pack_start (GTK_BOX (vbox8), frame6, FALSE, TRUE, 5);

  vbox9 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox9);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "vbox9", vbox9,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox9);
  gtk_container_add (GTK_CONTAINER (frame6), vbox9);

  label26 = gtk_label_new (_("Download directory"));
  gtk_widget_ref (label26);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "label26", label26,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label26);
  gtk_box_pack_start (GTK_BOX (vbox9), label26, FALSE, FALSE, 5);

  entry5 = gtk_entry_new_with_max_length (100);
  gtk_widget_ref (entry5);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "entry5", entry5,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry5);
  gtk_box_pack_start (GTK_BOX (vbox9), entry5, FALSE, FALSE, 5);
  gtk_tooltips_set_tip (tooltips, entry5, _("Full path of the directory where files will be saved for recording"), NULL);

  frame7 = gtk_frame_new (NULL);
  gtk_widget_ref (frame7);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "frame7", frame7,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame7);
  gtk_box_pack_start (GTK_BOX (vbox8), frame7, FALSE, TRUE, 5);

  vbox10 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox10);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "vbox10", vbox10,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox10);
  gtk_container_add (GTK_CONTAINER (frame7), vbox10);

  checkbutton4 = gtk_check_button_new_with_label (_("Save window size at exit"));
  gtk_widget_ref (checkbutton4);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "checkbutton4", checkbutton4,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton4);
  gtk_box_pack_start (GTK_BOX (vbox10), checkbutton4, FALSE, FALSE, 0);

  checkbutton5 = gtk_check_button_new_with_label (_("Save window position at exit"));
  gtk_widget_ref (checkbutton5);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "checkbutton5", checkbutton5,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton5);
  gtk_box_pack_start (GTK_BOX (vbox10), checkbutton5, FALSE, FALSE, 0);

  nlabel1 = gtk_label_new (_("General"));
  gtk_widget_ref (nlabel1);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "nlabel1", nlabel1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (nlabel1);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook1), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook1), 0), nlabel1);

  vbox2 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox2);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "vbox2", vbox2,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox2);
  gtk_container_add (GTK_CONTAINER (notebook1), vbox2);

  frame1 = gtk_frame_new (_("Font"));
  gtk_widget_ref (frame1);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "frame1", frame1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame1);
  gtk_box_pack_start (GTK_BOX (vbox2), frame1, FALSE, TRUE, 5);

  hbox5 = gtk_hbox_new (FALSE, 5);
  gtk_widget_ref (hbox5);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "hbox5", hbox5,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox5);
  gtk_container_add (GTK_CONTAINER (frame1), hbox5);
  gtk_container_set_border_width (GTK_CONTAINER (hbox5), 5);

  entry2 = gtk_entry_new ();
  gtk_widget_ref (entry2);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "entry2", entry2,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry2);
  gtk_box_pack_start (GTK_BOX (hbox5), entry2, TRUE, TRUE, 0);
  gtk_entry_set_editable (GTK_ENTRY (entry2), FALSE);

  button4 = gtk_button_new_with_label (_("..."));
  gtk_widget_ref (button4);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "button4", button4,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button4);
  gtk_box_pack_start (GTK_BOX (hbox5), button4, FALSE, FALSE, 0);
  gtk_widget_set_usize (button4, 30, -2);

  frame4 = gtk_frame_new (_("Widgets"));
  gtk_widget_ref (frame4);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "frame4", frame4,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame4);
  gtk_box_pack_start (GTK_BOX (vbox2), frame4, FALSE, TRUE, 5);

  vbox7 = gtk_vbox_new (TRUE, 5);
  gtk_widget_ref (vbox7);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "vbox7", vbox7,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox7);
  gtk_container_add (GTK_CONTAINER (frame4), vbox7);
  gtk_container_set_border_width (GTK_CONTAINER (vbox7), 5);

  checkbutton1 = gtk_check_button_new_with_label (_("Show scrollbar"));
  gtk_widget_ref (checkbutton1);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "checkbutton1", checkbutton1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton1);
  gtk_box_pack_start (GTK_BOX (vbox7), checkbutton1, FALSE, FALSE, 0);

  checkbutton2 = gtk_check_button_new_with_label (_("Show menu"));
  gtk_widget_ref (checkbutton2);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "checkbutton2", checkbutton2,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (checkbutton2);
  gtk_box_pack_start (GTK_BOX (vbox7), checkbutton2, FALSE, FALSE, 0);

  frame2 = gtk_frame_new (_("Colors"));
  gtk_widget_ref (frame2);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "frame2", frame2,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame2);
  gtk_box_pack_start (GTK_BOX (vbox2), frame2, FALSE, TRUE, 5);

  vbox4 = gtk_vbox_new (TRUE, 2);
  gtk_widget_ref (vbox4);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "vbox4", vbox4,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox4);
  gtk_container_add (GTK_CONTAINER (frame2), vbox4);
  gtk_container_set_border_width (GTK_CONTAINER (vbox4), 5);

  hbox7 = gtk_hbox_new (TRUE, 0);
  gtk_widget_ref (hbox7);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "hbox7", hbox7,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox7);
  gtk_box_pack_start (GTK_BOX (vbox4), hbox7, TRUE, TRUE, 0);

  label18 = gtk_label_new (_("Status messages"));
  gtk_widget_ref (label18);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "label18", label18,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label18);
  gtk_box_pack_start (GTK_BOX (hbox7), label18, FALSE, FALSE, 0);

  button5 = gtk_button_new_with_label ("");
  gtk_widget_ref (button5);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "button5", button5,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button5);
  gtk_box_pack_start (GTK_BOX (hbox7), button5, FALSE, FALSE, 0);
  gtk_widget_set_usize (button5, 50, -2);

  hbox8 = gtk_hbox_new (TRUE, 0);
  gtk_widget_ref (hbox8);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "hbox8", hbox8,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox8);
  gtk_box_pack_start (GTK_BOX (vbox4), hbox8, TRUE, TRUE, 0);

  label19 = gtk_label_new (_("Error messages"));
  gtk_widget_ref (label19);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "label19", label19,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label19);
  gtk_box_pack_start (GTK_BOX (hbox8), label19, FALSE, FALSE, 0);

  button6 = gtk_button_new_with_label ("");
  gtk_widget_ref (button6);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "button6", button6,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button6);
  gtk_box_pack_start (GTK_BOX (hbox8), button6, FALSE, FALSE, 0);
  gtk_widget_set_usize (button6, 50, -2);

  hbox9 = gtk_hbox_new (TRUE, 0);
  gtk_widget_ref (hbox9);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "hbox9", hbox9,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox9);
  gtk_box_pack_start (GTK_BOX (vbox4), hbox9, TRUE, TRUE, 0);

  label20 = gtk_label_new (_("Received text"));
  gtk_widget_ref (label20);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "label20", label20,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label20);
  gtk_box_pack_start (GTK_BOX (hbox9), label20, FALSE, FALSE, 0);

  button7 = gtk_button_new_with_label ("");
  gtk_widget_ref (button7);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "button7", button7,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button7);
  gtk_box_pack_start (GTK_BOX (hbox9), button7, FALSE, FALSE, 0);
  gtk_widget_set_usize (button7, 50, -2);

  hbox10 = gtk_hbox_new (TRUE, 0);
  gtk_widget_ref (hbox10);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "hbox10", hbox10,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox10);
  gtk_box_pack_start (GTK_BOX (vbox4), hbox10, TRUE, TRUE, 0);

  label21 = gtk_label_new (_("Send text"));
  gtk_widget_ref (label21);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "label21", label21,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label21);
  gtk_box_pack_start (GTK_BOX (hbox10), label21, FALSE, FALSE, 0);

  button8 = gtk_button_new_with_label ("");
  gtk_widget_ref (button8);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "button8", button8,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button8);
  gtk_box_pack_start (GTK_BOX (hbox10), button8, FALSE, FALSE, 0);
  gtk_widget_set_usize (button8, 50, -2);

  hbox11 = gtk_hbox_new (TRUE, 0);
  gtk_widget_ref (hbox11);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "hbox11", hbox11,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox11);
  gtk_box_pack_start (GTK_BOX (vbox4), hbox11, TRUE, TRUE, 0);

  label22 = gtk_label_new (_("Background"));
  gtk_widget_ref (label22);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "label22", label22,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label22);
  gtk_box_pack_start (GTK_BOX (hbox11), label22, FALSE, FALSE, 0);

  button9 = gtk_button_new_with_label ("");
  gtk_widget_ref (button9);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "button9", button9,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button9);
  gtk_box_pack_start (GTK_BOX (hbox11), button9, FALSE, FALSE, 0);
  gtk_widget_set_usize (button9, 50, -2);

  nlabel2 = gtk_label_new (_("Display"));
  gtk_widget_ref (nlabel2);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "nlabel2", nlabel2,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (nlabel2);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook1), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook1), 1), nlabel2);

  vbox3 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox3);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "vbox3", vbox3,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox3);
  gtk_container_add (GTK_CONTAINER (notebook1), vbox3);

  label8 = gtk_label_new (_("Run time configurable parameters\navailable through the proc filesystem"));
  gtk_widget_ref (label8);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "label8", label8,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label8);
  gtk_box_pack_start (GTK_BOX (vbox3), label8, FALSE, FALSE, 5);
  gtk_misc_set_padding (GTK_MISC (label8), 10, 0);

  hseparator1 = gtk_hseparator_new ();
  gtk_widget_ref (hseparator1);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "hseparator1", hseparator1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hseparator1);
  gtk_box_pack_start (GTK_BOX (vbox3), hseparator1, TRUE, TRUE, 5);

  hbox6 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox6);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "hbox6", hbox6,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox6);
  gtk_box_pack_start (GTK_BOX (vbox3), hbox6, TRUE, TRUE, 0);

  label7 = gtk_label_new (_("Port"));
  gtk_widget_ref (label7);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "label7", label7,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label7);
  gtk_box_pack_start (GTK_BOX (hbox6), label7, TRUE, TRUE, 0);

  combo1 = gtk_combo_new ();
  gtk_widget_ref (combo1);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "combo1", combo1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (combo1);
  gtk_box_pack_start (GTK_BOX (hbox6), combo1, TRUE, TRUE, 0);
  gtk_widget_set_usize (combo1, 100, -2);
  gtk_container_set_border_width (GTK_CONTAINER (combo1), 11);

  combo_entry1 = GTK_COMBO (combo1)->entry;
  gtk_widget_ref (combo_entry1);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "combo_entry1", combo_entry1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (combo_entry1);
  gtk_entry_set_editable (GTK_ENTRY (combo_entry1), FALSE);

  frame3 = gtk_frame_new (NULL);
  gtk_widget_ref (frame3);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "frame3", frame3,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame3);
  gtk_box_pack_start (GTK_BOX (vbox3), frame3, FALSE, FALSE, 5);

  vbox5 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox5);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "vbox5", vbox5,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox5);
  gtk_container_add (GTK_CONTAINER (frame3), vbox5);

  axlabel1 = gtk_label_new ("");
  gtk_widget_ref (axlabel1);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "axlabel1", axlabel1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (axlabel1);
  gtk_box_pack_start (GTK_BOX (vbox5), axlabel1, FALSE, FALSE, 0);

  axlabel2 = gtk_label_new ("");
  gtk_widget_ref (axlabel2);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "axlabel2", axlabel2,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (axlabel2);
  gtk_box_pack_start (GTK_BOX (vbox5), axlabel2, FALSE, FALSE, 0);

  axlabel3 = gtk_label_new ("");
  gtk_widget_ref (axlabel3);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "axlabel3", axlabel3,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (axlabel3);
  gtk_box_pack_start (GTK_BOX (vbox5), axlabel3, FALSE, FALSE, 0);

  axlabel4 = gtk_label_new ("");
  gtk_widget_ref (axlabel4);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "axlabel4", axlabel4,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (axlabel4);
  gtk_box_pack_start (GTK_BOX (vbox5), axlabel4, FALSE, FALSE, 0);

  axlabel5 = gtk_label_new ("");
  gtk_widget_ref (axlabel5);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "axlabel5", axlabel5,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (axlabel5);
  gtk_box_pack_start (GTK_BOX (vbox5), axlabel5, FALSE, FALSE, 0);

  axlabel6 = gtk_label_new ("");
  gtk_widget_ref (axlabel6);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "axlabel6", axlabel6,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (axlabel6);
  gtk_box_pack_start (GTK_BOX (vbox5), axlabel6, FALSE, FALSE, 0);

  axlabel7 = gtk_label_new ("");
  gtk_widget_ref (axlabel7);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "axlabel7", axlabel7,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (axlabel7);
  gtk_box_pack_start (GTK_BOX (vbox5), axlabel7, FALSE, FALSE, 0);

  axlabel8 = gtk_label_new ("");
  gtk_widget_ref (axlabel8);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "axlabel8", axlabel8,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (axlabel8);
  gtk_box_pack_start (GTK_BOX (vbox5), axlabel8, FALSE, FALSE, 0);

  axlabel9 = gtk_label_new ("");
  gtk_widget_ref (axlabel9);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "axlabel9", axlabel9,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (axlabel9);
  gtk_box_pack_start (GTK_BOX (vbox5), axlabel9, FALSE, FALSE, 0);
  gtk_misc_set_padding (GTK_MISC (axlabel9), 0, 1);

  axlabel10 = gtk_label_new ("");
  gtk_widget_ref (axlabel10);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "axlabel10", axlabel10,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (axlabel10);
  gtk_box_pack_start (GTK_BOX (vbox5), axlabel10, FALSE, FALSE, 0);

  nlabel3 = gtk_label_new (_("AX.25"));
  gtk_widget_ref (nlabel3);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "nlabel3", nlabel3,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (nlabel3);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook1), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook1), 2), nlabel3);

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

  hbox27 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox27);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "hbox27", hbox27,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox27);
  gtk_box_pack_start (GTK_BOX (vbox12), hbox27, FALSE, FALSE, 5);

  dxcheckbutton = gtk_check_button_new_with_label (_("DX cluster support"));
  gtk_widget_ref (dxcheckbutton);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "dxcheckbutton", dxcheckbutton,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (dxcheckbutton);
  gtk_box_pack_start (GTK_BOX (hbox27), dxcheckbutton, FALSE, FALSE, 0);

  frame8 = gtk_frame_new (_("Band colors"));
  gtk_widget_ref (frame8);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "frame8", frame8,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame8);
  gtk_box_pack_start (GTK_BOX (vbox12), frame8, FALSE, TRUE, 0);

  vbox13 = gtk_vbox_new (TRUE, 2);
  gtk_widget_ref (vbox13);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "vbox13", vbox13,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox13);
  gtk_container_add (GTK_CONTAINER (frame8), vbox13);
  gtk_container_set_border_width (GTK_CONTAINER (vbox13), 5);

  hbox17 = gtk_hbox_new (TRUE, 0);
  gtk_widget_ref (hbox17);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "hbox17", hbox17,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox17);
  gtk_box_pack_start (GTK_BOX (vbox13), hbox17, TRUE, TRUE, 0);

  label31 = gtk_label_new (_("Background"));
  gtk_widget_ref (label31);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "label31", label31,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label31);
  gtk_box_pack_start (GTK_BOX (hbox17), label31, FALSE, FALSE, 0);

  dxbgbutton = gtk_button_new_with_label ("");
  gtk_widget_ref (dxbgbutton);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "dxbgbutton", dxbgbutton,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (dxbgbutton);
  gtk_box_pack_start (GTK_BOX (hbox17), dxbgbutton, FALSE, FALSE, 0);
  gtk_widget_set_usize (dxbgbutton, 50, -2);

  hbox18 = gtk_hbox_new (TRUE, 0);
  gtk_widget_ref (hbox18);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "hbox18", hbox18,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox18);
  gtk_box_pack_start (GTK_BOX (vbox13), hbox18, TRUE, TRUE, 0);

  label32 = gtk_label_new (_("1.8"));
  gtk_widget_ref (label32);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "label32", label32,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label32);
  gtk_box_pack_start (GTK_BOX (hbox18), label32, FALSE, FALSE, 0);

  dx1_8button = gtk_button_new_with_label ("");
  gtk_widget_ref (dx1_8button);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "dx1_8button", dx1_8button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (dx1_8button);
  gtk_box_pack_start (GTK_BOX (hbox18), dx1_8button, FALSE, FALSE, 0);
  gtk_widget_set_usize (dx1_8button, 50, -2);

  hbox19 = gtk_hbox_new (TRUE, 0);
  gtk_widget_ref (hbox19);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "hbox19", hbox19,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox19);
  gtk_box_pack_start (GTK_BOX (vbox13), hbox19, TRUE, TRUE, 0);

  label33 = gtk_label_new (_("3.5"));
  gtk_widget_ref (label33);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "label33", label33,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label33);
  gtk_box_pack_start (GTK_BOX (hbox19), label33, FALSE, FALSE, 0);

  dx3_5button = gtk_button_new_with_label ("");
  gtk_widget_ref (dx3_5button);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "dx3_5button", dx3_5button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (dx3_5button);
  gtk_box_pack_start (GTK_BOX (hbox19), dx3_5button, FALSE, FALSE, 0);
  gtk_widget_set_usize (dx3_5button, 50, -2);

  hbox20 = gtk_hbox_new (TRUE, 0);
  gtk_widget_ref (hbox20);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "hbox20", hbox20,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox20);
  gtk_box_pack_start (GTK_BOX (vbox13), hbox20, TRUE, TRUE, 0);

  label34 = gtk_label_new (_("7"));
  gtk_widget_ref (label34);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "label34", label34,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label34);
  gtk_box_pack_start (GTK_BOX (hbox20), label34, FALSE, FALSE, 0);

  dx7button = gtk_button_new_with_label ("");
  gtk_widget_ref (dx7button);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "dx7button", dx7button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (dx7button);
  gtk_box_pack_start (GTK_BOX (hbox20), dx7button, FALSE, FALSE, 0);
  gtk_widget_set_usize (dx7button, 50, -2);

  hbox21 = gtk_hbox_new (TRUE, 0);
  gtk_widget_ref (hbox21);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "hbox21", hbox21,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox21);
  gtk_box_pack_start (GTK_BOX (vbox13), hbox21, TRUE, TRUE, 0);

  label35 = gtk_label_new (_("10"));
  gtk_widget_ref (label35);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "label35", label35,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label35);
  gtk_box_pack_start (GTK_BOX (hbox21), label35, FALSE, FALSE, 0);

  dx10button = gtk_button_new_with_label ("");
  gtk_widget_ref (dx10button);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "dx10button", dx10button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (dx10button);
  gtk_box_pack_start (GTK_BOX (hbox21), dx10button, FALSE, FALSE, 0);
  gtk_widget_set_usize (dx10button, 50, -2);

  hbox22 = gtk_hbox_new (TRUE, 0);
  gtk_widget_ref (hbox22);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "hbox22", hbox22,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox22);
  gtk_box_pack_start (GTK_BOX (vbox13), hbox22, TRUE, TRUE, 0);

  label36 = gtk_label_new (_("14"));
  gtk_widget_ref (label36);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "label36", label36,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label36);
  gtk_box_pack_start (GTK_BOX (hbox22), label36, FALSE, FALSE, 0);

  dx14button = gtk_button_new_with_label ("");
  gtk_widget_ref (dx14button);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "dx14button", dx14button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (dx14button);
  gtk_box_pack_start (GTK_BOX (hbox22), dx14button, FALSE, FALSE, 0);
  gtk_widget_set_usize (dx14button, 50, -2);

  hbox23 = gtk_hbox_new (TRUE, 0);
  gtk_widget_ref (hbox23);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "hbox23", hbox23,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox23);
  gtk_box_pack_start (GTK_BOX (vbox13), hbox23, TRUE, TRUE, 0);

  label37 = gtk_label_new (_("18"));
  gtk_widget_ref (label37);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "label37", label37,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label37);
  gtk_box_pack_start (GTK_BOX (hbox23), label37, FALSE, FALSE, 0);

  dx18button = gtk_button_new_with_label ("");
  gtk_widget_ref (dx18button);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "dx18button", dx18button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (dx18button);
  gtk_box_pack_start (GTK_BOX (hbox23), dx18button, FALSE, FALSE, 0);
  gtk_widget_set_usize (dx18button, 50, -2);

  hbox24 = gtk_hbox_new (TRUE, 0);
  gtk_widget_ref (hbox24);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "hbox24", hbox24,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox24);
  gtk_box_pack_start (GTK_BOX (vbox13), hbox24, TRUE, TRUE, 0);

  label38 = gtk_label_new (_("21"));
  gtk_widget_ref (label38);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "label38", label38,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label38);
  gtk_box_pack_start (GTK_BOX (hbox24), label38, FALSE, FALSE, 0);

  dx21button = gtk_button_new_with_label ("");
  gtk_widget_ref (dx21button);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "dx21button", dx21button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (dx21button);
  gtk_box_pack_start (GTK_BOX (hbox24), dx21button, FALSE, FALSE, 0);
  gtk_widget_set_usize (dx21button, 50, -2);

  hbox25 = gtk_hbox_new (TRUE, 0);
  gtk_widget_ref (hbox25);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "hbox25", hbox25,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox25);
  gtk_box_pack_start (GTK_BOX (vbox13), hbox25, TRUE, TRUE, 0);

  label39 = gtk_label_new (_("24"));
  gtk_widget_ref (label39);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "label39", label39,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label39);
  gtk_box_pack_start (GTK_BOX (hbox25), label39, FALSE, FALSE, 0);

  dx24button = gtk_button_new_with_label ("");
  gtk_widget_ref (dx24button);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "dx24button", dx24button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (dx24button);
  gtk_box_pack_start (GTK_BOX (hbox25), dx24button, FALSE, FALSE, 0);
  gtk_widget_set_usize (dx24button, 50, -2);

  hbox26 = gtk_hbox_new (TRUE, 0);
  gtk_widget_ref (hbox26);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "hbox26", hbox26,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox26);
  gtk_box_pack_start (GTK_BOX (vbox13), hbox26, TRUE, TRUE, 0);

  label40 = gtk_label_new (_("28"));
  gtk_widget_ref (label40);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "label40", label40,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label40);
  gtk_box_pack_start (GTK_BOX (hbox26), label40, FALSE, FALSE, 0);

  dx28button = gtk_button_new_with_label ("");
  gtk_widget_ref (dx28button);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "dx28button", dx28button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (dx28button);
  gtk_box_pack_start (GTK_BOX (hbox26), dx28button, FALSE, FALSE, 0);
  gtk_widget_set_usize (dx28button, 50, -2);

  hbox29 = gtk_hbox_new (TRUE, 0);
  gtk_widget_ref (hbox29);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "hbox29", hbox29,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox29);
  gtk_box_pack_start (GTK_BOX (vbox13), hbox29, TRUE, TRUE, 0);

  label41 = gtk_label_new (_("Other"));
  gtk_widget_ref (label41);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "label41", label41,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label41);
  gtk_box_pack_start (GTK_BOX (hbox29), label41, FALSE, FALSE, 0);

  dxotherbutton = gtk_button_new_with_label ("");
  gtk_widget_ref (dxotherbutton);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "dxotherbutton", dxotherbutton,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (dxotherbutton);
  gtk_box_pack_start (GTK_BOX (hbox29), dxotherbutton, FALSE, FALSE, 0);
  gtk_widget_set_usize (dxotherbutton, 50, -2);

  label30 = gtk_label_new (_(" DX "));
  gtk_widget_ref (label30);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "label30", label30,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label30);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook1), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook1), 3), label30);

  dialog_action_area2 = GTK_DIALOG (dialog2)->action_area;
  gtk_object_set_data (GTK_OBJECT (dialog2), "dialog_action_area2", dialog_action_area2);
  gtk_widget_show (dialog_action_area2);
  gtk_container_set_border_width (GTK_CONTAINER (dialog_action_area2), 10);

  hbox1 = gtk_hbox_new (TRUE, 0);
  gtk_widget_ref (hbox1);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "hbox1", hbox1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox1);
  gtk_box_pack_start (GTK_BOX (dialog_action_area2), hbox1, TRUE, TRUE, 0);

  button2 = gtk_button_new ();
  gtk_widget_ref (button2);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "button2", button2,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button2);
  gtk_box_pack_start (GTK_BOX (hbox1), button2, TRUE, TRUE, 10);
  gtk_widget_set_usize (button2, 100, 30);

  label43 = gtk_label_new (_("OK"));
  gtk_widget_ref (label43);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "label43", label43,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label43);
  gtk_container_add (GTK_CONTAINER (button2), label43);

  button3 = gtk_button_new ();
  gtk_widget_ref (button3);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "button3", button3,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button3);
  gtk_box_pack_start (GTK_BOX (hbox1), button3, TRUE, TRUE, 10);
  gtk_widget_set_usize (button3, 100, 30);

  label44 = gtk_label_new (_("Cancel"));
  gtk_widget_ref (label44);
  gtk_object_set_data_full (GTK_OBJECT (dialog2), "label44", label44,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label44);
  gtk_container_add (GTK_CONTAINER (button3), label44);

  gtk_signal_connect (GTK_OBJECT (dialog2), "destroy",
                      GTK_SIGNAL_FUNC (on_dialog2_destroy),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button4), "clicked",
                      GTK_SIGNAL_FUNC (on_button4_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button5), "clicked",
                      GTK_SIGNAL_FUNC (on_color_clicked),
                      "1");
  gtk_signal_connect (GTK_OBJECT (button6), "clicked",
                      GTK_SIGNAL_FUNC (on_color_clicked),
                      "2");
  gtk_signal_connect (GTK_OBJECT (button7), "clicked",
                      GTK_SIGNAL_FUNC (on_color_clicked),
                      "3");
  gtk_signal_connect (GTK_OBJECT (button8), "clicked",
                      GTK_SIGNAL_FUNC (on_color_clicked),
                      "4");
  gtk_signal_connect (GTK_OBJECT (button9), "clicked",
                      GTK_SIGNAL_FUNC (on_color_clicked),
                      "5");
  gtk_signal_connect (GTK_OBJECT (combo_entry1), "changed",
                      GTK_SIGNAL_FUNC (on_combo_entry1_changed),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (dxcheckbutton), "clicked",
                      GTK_SIGNAL_FUNC (on_dxcheckbutton_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (dxbgbutton), "clicked",
                      GTK_SIGNAL_FUNC (on_color_clicked),
                      "101");
  gtk_signal_connect (GTK_OBJECT (dx1_8button), "clicked",
                      GTK_SIGNAL_FUNC (on_color_clicked),
                      "102");
  gtk_signal_connect (GTK_OBJECT (dx3_5button), "clicked",
                      GTK_SIGNAL_FUNC (on_color_clicked),
                      "103");
  gtk_signal_connect (GTK_OBJECT (dx7button), "clicked",
                      GTK_SIGNAL_FUNC (on_color_clicked),
                      "104");
  gtk_signal_connect (GTK_OBJECT (dx10button), "clicked",
                      GTK_SIGNAL_FUNC (on_color_clicked),
                      "105");
  gtk_signal_connect (GTK_OBJECT (dx14button), "clicked",
                      GTK_SIGNAL_FUNC (on_color_clicked),
                      "106");
  gtk_signal_connect (GTK_OBJECT (dx18button), "clicked",
                      GTK_SIGNAL_FUNC (on_color_clicked),
                      "107");
  gtk_signal_connect (GTK_OBJECT (dx21button), "clicked",
                      GTK_SIGNAL_FUNC (on_color_clicked),
                      "108");
  gtk_signal_connect (GTK_OBJECT (dx24button), "clicked",
                      GTK_SIGNAL_FUNC (on_color_clicked),
                      "109");
  gtk_signal_connect (GTK_OBJECT (dx28button), "clicked",
                      GTK_SIGNAL_FUNC (on_color_clicked),
                      "110");
  gtk_signal_connect (GTK_OBJECT (dxotherbutton), "clicked",
                      GTK_SIGNAL_FUNC (on_color_clicked),
                      "111");
  gtk_signal_connect (GTK_OBJECT (button2), "clicked",
                      GTK_SIGNAL_FUNC (on_button2_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button3), "clicked",
                      GTK_SIGNAL_FUNC (on_button3_clicked),
                      NULL);

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

  return dialog2;
}

GtkWidget*
create_fontselectiondialog1 (void)
{
  GtkWidget *fontselectiondialog1;
  GtkWidget *ok_button1;
  GtkWidget *cancel_button1;
  GtkWidget *apply_button1;

  fontselectiondialog1 = gtk_font_selection_dialog_new ("");
  gtk_object_set_data (GTK_OBJECT (fontselectiondialog1), "fontselectiondialog1", fontselectiondialog1);
  gtk_container_set_border_width (GTK_CONTAINER (fontselectiondialog1), 4);
  gtk_window_set_position (GTK_WINDOW (fontselectiondialog1), GTK_WIN_POS_MOUSE);
  gtk_window_set_policy (GTK_WINDOW (fontselectiondialog1), FALSE, TRUE, TRUE);

  ok_button1 = GTK_FONT_SELECTION_DIALOG (fontselectiondialog1)->ok_button;
  gtk_object_set_data (GTK_OBJECT (fontselectiondialog1), "ok_button1", ok_button1);
  gtk_widget_show (ok_button1);
  gtk_widget_set_usize (ok_button1, 100, -2);
  GTK_WIDGET_SET_FLAGS (ok_button1, GTK_CAN_DEFAULT);

  cancel_button1 = GTK_FONT_SELECTION_DIALOG (fontselectiondialog1)->cancel_button;
  gtk_object_set_data (GTK_OBJECT (fontselectiondialog1), "cancel_button1", cancel_button1);
  gtk_widget_show (cancel_button1);
  gtk_widget_set_usize (cancel_button1, 100, -2);
  GTK_WIDGET_SET_FLAGS (cancel_button1, GTK_CAN_DEFAULT);

  apply_button1 = GTK_FONT_SELECTION_DIALOG (fontselectiondialog1)->apply_button;
  gtk_object_set_data (GTK_OBJECT (fontselectiondialog1), "apply_button1", apply_button1);
  GTK_WIDGET_SET_FLAGS (apply_button1, GTK_CAN_DEFAULT);

  gtk_signal_connect (GTK_OBJECT (fontselectiondialog1), "destroy",
                      GTK_SIGNAL_FUNC (on_fontselectiondialog1_destroy),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (ok_button1), "clicked",
                      GTK_SIGNAL_FUNC (on_ok_button1_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (cancel_button1), "clicked",
                      GTK_SIGNAL_FUNC (on_cancel_button1_clicked),
                      NULL);

  return fontselectiondialog1;
}

GtkWidget*
create_colorselectiondialog1 (void)
{
  GtkWidget *colorselectiondialog1;
  GtkWidget *ok_button2;
  GtkWidget *cancel_button2;
  GtkWidget *help_button1;

  colorselectiondialog1 = gtk_color_selection_dialog_new ("");
  gtk_object_set_data (GTK_OBJECT (colorselectiondialog1), "colorselectiondialog1", colorselectiondialog1);
  gtk_container_set_border_width (GTK_CONTAINER (colorselectiondialog1), 10);

  ok_button2 = GTK_COLOR_SELECTION_DIALOG (colorselectiondialog1)->ok_button;
  gtk_object_set_data (GTK_OBJECT (colorselectiondialog1), "ok_button2", ok_button2);
  gtk_widget_show (ok_button2);
  gtk_widget_set_usize (ok_button2, 100, -2);
  GTK_WIDGET_SET_FLAGS (ok_button2, GTK_CAN_DEFAULT);

  cancel_button2 = GTK_COLOR_SELECTION_DIALOG (colorselectiondialog1)->cancel_button;
  gtk_object_set_data (GTK_OBJECT (colorselectiondialog1), "cancel_button2", cancel_button2);
  gtk_widget_show (cancel_button2);
  gtk_widget_set_usize (cancel_button2, 100, -2);
  GTK_WIDGET_SET_FLAGS (cancel_button2, GTK_CAN_DEFAULT);

  help_button1 = GTK_COLOR_SELECTION_DIALOG (colorselectiondialog1)->help_button;
  gtk_object_set_data (GTK_OBJECT (colorselectiondialog1), "help_button1", help_button1);
  GTK_WIDGET_SET_FLAGS (help_button1, GTK_CAN_DEFAULT);

  gtk_signal_connect (GTK_OBJECT (colorselectiondialog1), "destroy",
                      GTK_SIGNAL_FUNC (on_colorselectiondialog1_destroy),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (ok_button2), "clicked",
                      GTK_SIGNAL_FUNC (on_ok_button2_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (cancel_button2), "clicked",
                      GTK_SIGNAL_FUNC (on_cancel_button2_clicked),
                      NULL);

  return colorselectiondialog1;
}

GtkWidget*
create_dialog3 (void)
{
  GtkWidget *dialog3;
  GtkWidget *dialog_vbox3;
  GtkWidget *vbox11;
  GtkWidget *label29;
  GtkWidget *combo2;
  GtkWidget *combo_entry2;
  GtkWidget *dialog_action_area3;
  GtkWidget *hbox14;
  GtkWidget *button10;
  GtkWidget *label45;
  GtkWidget *button11;
  GtkWidget *label46;

  dialog3 = gtk_dialog_new ();
  gtk_object_set_data (GTK_OBJECT (dialog3), "dialog3", dialog3);
  gtk_window_set_position (GTK_WINDOW (dialog3), GTK_WIN_POS_MOUSE);
  gtk_window_set_policy (GTK_WINDOW (dialog3), TRUE, TRUE, FALSE);

  dialog_vbox3 = GTK_DIALOG (dialog3)->vbox;
  gtk_object_set_data (GTK_OBJECT (dialog3), "dialog_vbox3", dialog_vbox3);
  gtk_widget_show (dialog_vbox3);

  vbox11 = gtk_vbox_new (TRUE, 10);
  gtk_widget_ref (vbox11);
  gtk_object_set_data_full (GTK_OBJECT (dialog3), "vbox11", vbox11,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox11);
  gtk_box_pack_start (GTK_BOX (dialog_vbox3), vbox11, TRUE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (vbox11), 11);

  label29 = gtk_label_new ("");
  gtk_widget_ref (label29);
  gtk_object_set_data_full (GTK_OBJECT (dialog3), "label29", label29,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label29);
  gtk_box_pack_start (GTK_BOX (vbox11), label29, FALSE, TRUE, 0);
  gtk_misc_set_padding (GTK_MISC (label29), 0, 10);

  combo2 = gtk_combo_new ();
  gtk_widget_ref (combo2);
  gtk_object_set_data_full (GTK_OBJECT (dialog3), "combo2", combo2,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (combo2);
  gtk_box_pack_start (GTK_BOX (vbox11), combo2, FALSE, FALSE, 0);

  combo_entry2 = GTK_COMBO (combo2)->entry;
  gtk_widget_ref (combo_entry2);
  gtk_object_set_data_full (GTK_OBJECT (dialog3), "combo_entry2", combo_entry2,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (combo_entry2);

  dialog_action_area3 = GTK_DIALOG (dialog3)->action_area;
  gtk_object_set_data (GTK_OBJECT (dialog3), "dialog_action_area3", dialog_action_area3);
  gtk_widget_show (dialog_action_area3);
  gtk_container_set_border_width (GTK_CONTAINER (dialog_action_area3), 10);

  hbox14 = gtk_hbox_new (TRUE, 0);
  gtk_widget_ref (hbox14);
  gtk_object_set_data_full (GTK_OBJECT (dialog3), "hbox14", hbox14,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox14);
  gtk_box_pack_start (GTK_BOX (dialog_action_area3), hbox14, TRUE, TRUE, 0);
  gtk_widget_set_usize (hbox14, 300, -2);

  button10 = gtk_button_new ();
  gtk_widget_ref (button10);
  gtk_object_set_data_full (GTK_OBJECT (dialog3), "button10", button10,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button10);
  gtk_box_pack_start (GTK_BOX (hbox14), button10, TRUE, TRUE, 10);

  label45 = gtk_label_new (_("OK"));
  gtk_widget_ref (label45);
  gtk_object_set_data_full (GTK_OBJECT (dialog3), "label45", label45,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label45);
  gtk_container_add (GTK_CONTAINER (button10), label45);

  button11 = gtk_button_new ();
  gtk_widget_ref (button11);
  gtk_object_set_data_full (GTK_OBJECT (dialog3), "button11", button11,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button11);
  gtk_box_pack_start (GTK_BOX (hbox14), button11, TRUE, TRUE, 0);

  label46 = gtk_label_new (_("Cancel"));
  gtk_widget_ref (label46);
  gtk_object_set_data_full (GTK_OBJECT (dialog3), "label46", label46,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label46);
  gtk_container_add (GTK_CONTAINER (button11), label46);

  gtk_signal_connect (GTK_OBJECT (dialog3), "destroy",
                      GTK_SIGNAL_FUNC (on_dialog3_destroy),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button10), "clicked",
                      GTK_SIGNAL_FUNC (on_button10_clicked),
                      NULL);
  gtk_signal_connect (GTK_OBJECT (button11), "clicked",
                      GTK_SIGNAL_FUNC (on_button11_clicked),
                      NULL);

  return dialog3;
}


Generated by  Doxygen 1.6.0   Back to index