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

#include "glade-cb-gnc-dialogs.h"
#include "glade-gnc-dialogs.h"
#include "glade-support.h"

GtkWidget*
create_QIF_Import_Account_Picker (void)
{
  GtkWidget *QIF_Import_Account_Picker;
  GtkWidget *vbox1;
  GtkWidget *vbox2;
  GtkWidget *frame1;
  GtkWidget *scrolledwindow24;
  GtkWidget *account_tree;
  GtkWidget *label847711;
  GtkWidget *label847712;
  GtkWidget *button78;
  GtkWidget *hbuttonbox1;
  GtkWidget *button1;
  GtkWidget *button2;

  QIF_Import_Account_Picker = gnome_dialog_new (_("Select Account"), NULL);
  gtk_object_set_data (GTK_OBJECT (QIF_Import_Account_Picker), "QIF_Import_Account_Picker", QIF_Import_Account_Picker);
  gtk_window_set_default_size (GTK_WINDOW (QIF_Import_Account_Picker), 300, 400);
  gtk_window_set_policy (GTK_WINDOW (QIF_Import_Account_Picker), TRUE, TRUE, TRUE);

  vbox1 = GNOME_DIALOG (QIF_Import_Account_Picker)->vbox;
  gtk_object_set_data (GTK_OBJECT (QIF_Import_Account_Picker), "vbox1", vbox1);
  gtk_widget_show (vbox1);

  vbox2 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox2);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Account_Picker), "vbox2", vbox2,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox2);
  gtk_box_pack_start (GTK_BOX (vbox1), vbox2, TRUE, TRUE, 0);

  frame1 = gtk_frame_new (_("Select or add a GnuCash account"));
  gtk_widget_ref (frame1);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Account_Picker), "frame1", frame1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame1);
  gtk_box_pack_start (GTK_BOX (vbox2), frame1, TRUE, TRUE, 0);

  scrolledwindow24 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (scrolledwindow24);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Account_Picker), "scrolledwindow24", scrolledwindow24,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow24);
  gtk_container_add (GTK_CONTAINER (frame1), scrolledwindow24);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow24), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  account_tree = gtk_ctree_new (2, 0);
  gtk_widget_ref (account_tree);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Account_Picker), "account_tree", account_tree,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (account_tree);
  gtk_container_add (GTK_CONTAINER (scrolledwindow24), account_tree);
  gtk_clist_set_column_width (GTK_CLIST (account_tree), 0, 214);
  gtk_clist_set_column_width (GTK_CLIST (account_tree), 1, 48);
  gtk_clist_column_titles_show (GTK_CLIST (account_tree));

  label847711 = gtk_label_new (_("Account"));
  gtk_widget_ref (label847711);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Account_Picker), "label847711", label847711,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847711);
  gtk_clist_set_column_widget (GTK_CLIST (account_tree), 0, label847711);

  label847712 = gtk_label_new (_("New?"));
  gtk_widget_ref (label847712);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Account_Picker), "label847712", label847712,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847712);
  gtk_clist_set_column_widget (GTK_CLIST (account_tree), 1, label847712);

  button78 = gtk_button_new_with_label (_("New Account (child of selected) ..."));
  gtk_widget_ref (button78);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Account_Picker), "button78", button78,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button78);
  gtk_box_pack_start (GTK_BOX (vbox1), button78, FALSE, FALSE, 0);

  hbuttonbox1 = GNOME_DIALOG (QIF_Import_Account_Picker)->action_area;
  gtk_object_set_data (GTK_OBJECT (QIF_Import_Account_Picker), "hbuttonbox1", hbuttonbox1);
  gtk_widget_show (hbuttonbox1);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox1), GTK_BUTTONBOX_SPREAD);
  gtk_button_box_set_spacing (GTK_BUTTON_BOX (hbuttonbox1), 8);

  gnome_dialog_append_button (GNOME_DIALOG (QIF_Import_Account_Picker), GNOME_STOCK_BUTTON_OK);
  button1 = g_list_last (GNOME_DIALOG (QIF_Import_Account_Picker)->buttons)->data;
  gtk_widget_ref (button1);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Account_Picker), "button1", button1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button1);
  GTK_WIDGET_SET_FLAGS (button1, GTK_CAN_DEFAULT);

  gnome_dialog_append_button (GNOME_DIALOG (QIF_Import_Account_Picker), GNOME_STOCK_BUTTON_CANCEL);
  button2 = g_list_last (GNOME_DIALOG (QIF_Import_Account_Picker)->buttons)->data;
  gtk_widget_ref (button2);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Account_Picker), "button2", button2,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button2);
  GTK_WIDGET_SET_FLAGS (button2, GTK_CAN_DEFAULT);

  gtk_signal_connect (GTK_OBJECT (button78), "clicked",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_account_picker_new_cb),
                      QIF_Import_Account_Picker);

  return QIF_Import_Account_Picker;
}

GtkWidget*
create_Print_Check_Dialog (void)
{
  GtkWidget *Print_Check_Dialog;
  GtkWidget *dialog_vbox6;
  GtkWidget *notebook4;
  GtkWidget *vbox10;
  GtkWidget *hbox15;
  GtkWidget *vbox11;
  GtkWidget *label699;
  GtkWidget *label700;
  GtkWidget *label713;
  GtkWidget *vbox12;
  GtkWidget *check_format_picker;
  GtkWidget *check_format_picker_menu;
  GtkWidget *glade_menuitem;
  GtkWidget *check_position_picker;
  GtkWidget *check_position_picker_menu;
  GtkWidget *date_format_picker;
  GtkWidget *date_format_picker_menu;
  GtkWidget *label847675;
  GtkWidget *frame5;
  GtkWidget *vbox1x6;
  GtkWidget *hbox16;
  GtkWidget *vbox13;
  GtkWidget *label702;
  GtkWidget *label701;
  GtkWidget *label705;
  GtkWidget *label706;
  GtkWidget *label707;
  GtkWidget *label708;
  GtkWidget *label711;
  GtkWidget *label714;
  GtkWidget *label709;
  GtkWidget *vbox14;
  GtkWidget *label703;
  GtkObject *payee_x_entry_adj;
  GtkWidget *payee_x_entry;
  GtkObject *date_x_entry_adj;
  GtkWidget *date_x_entry;
  GtkObject *amount_words_x_entry_adj;
  GtkWidget *amount_words_x_entry;
  GtkObject *amount_numbers_x_entry_adj;
  GtkWidget *amount_numbers_x_entry;
  GtkObject *memo_x_entry_adj;
  GtkWidget *memo_x_entry;
  GtkObject *check_position_entry_adj;
  GtkWidget *check_position_entry;
  GtkObject *date_format_entry_adj;
  GtkWidget *date_format_entry;
  GtkWidget *units_picker;
  GtkWidget *units_picker_menu;
  GtkWidget *vbox38;
  GtkWidget *label744;
  GtkObject *payee_y_entry_adj;
  GtkWidget *payee_y_entry;
  GtkObject *date_y_entry_adj;
  GtkWidget *date_y_entry;
  GtkObject *amount_words_y_entry_adj;
  GtkWidget *amount_words_y_entry;
  GtkObject *amount_numbers_y_entry_adj;
  GtkWidget *amount_numbers_y_entry;
  GtkObject *memo_y_entry_adj;
  GtkWidget *memo_y_entry;
  GtkWidget *label745;
  GtkWidget *label746;
  GtkWidget *label747;
  GtkWidget *label847676;
  GtkWidget *dialog_action_area6;
  GtkWidget *button21;
  GtkWidget *button22;
  GtkWidget *button23;

  Print_Check_Dialog = gnome_dialog_new (_("Print Check"), NULL);
  gtk_object_set_data (GTK_OBJECT (Print_Check_Dialog), "Print_Check_Dialog", Print_Check_Dialog);
  gtk_window_set_policy (GTK_WINDOW (Print_Check_Dialog), TRUE, TRUE, FALSE);

  dialog_vbox6 = GNOME_DIALOG (Print_Check_Dialog)->vbox;
  gtk_object_set_data (GTK_OBJECT (Print_Check_Dialog), "dialog_vbox6", dialog_vbox6);
  gtk_widget_show (dialog_vbox6);

  notebook4 = gtk_notebook_new ();
  gtk_widget_ref (notebook4);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "notebook4", notebook4,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (notebook4);
  gtk_box_pack_start (GTK_BOX (dialog_vbox6), notebook4, TRUE, TRUE, 0);

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

  hbox15 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox15);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "hbox15", hbox15,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox15);
  gtk_box_pack_start (GTK_BOX (vbox10), hbox15, FALSE, FALSE, 0);

  vbox11 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox11);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "vbox11", vbox11,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox11);
  gtk_box_pack_start (GTK_BOX (hbox15), vbox11, TRUE, TRUE, 5);

  label699 = gtk_label_new (_("Check format:"));
  gtk_widget_ref (label699);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "label699", label699,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label699);
  gtk_box_pack_start (GTK_BOX (vbox11), label699, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label699), 1, 0.5);

  label700 = gtk_label_new (_("Check position:"));
  gtk_widget_ref (label700);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "label700", label700,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label700);
  gtk_box_pack_start (GTK_BOX (vbox11), label700, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label700), 1, 0.5);

  label713 = gtk_label_new (_("Date format:"));
  gtk_widget_ref (label713);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "label713", label713,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label713);
  gtk_box_pack_start (GTK_BOX (vbox11), label713, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label713), 1, 0.5);

  vbox12 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox12);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "vbox12", vbox12,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox12);
  gtk_box_pack_start (GTK_BOX (hbox15), vbox12, TRUE, TRUE, 0);

  check_format_picker = gtk_option_menu_new ();
  gtk_widget_ref (check_format_picker);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "check_format_picker", check_format_picker,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (check_format_picker);
  gtk_box_pack_start (GTK_BOX (vbox12), check_format_picker, FALSE, FALSE, 0);
  check_format_picker_menu = gtk_menu_new ();
  glade_menuitem = gtk_menu_item_new_with_label (_("Quicken/QuickBooks (tm) US-Letter"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (check_format_picker_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Custom"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (check_format_picker_menu), glade_menuitem);
  gtk_option_menu_set_menu (GTK_OPTION_MENU (check_format_picker), check_format_picker_menu);

  check_position_picker = gtk_option_menu_new ();
  gtk_widget_ref (check_position_picker);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "check_position_picker", check_position_picker,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (check_position_picker);
  gtk_box_pack_start (GTK_BOX (vbox12), check_position_picker, FALSE, FALSE, 0);
  check_position_picker_menu = gtk_menu_new ();
  glade_menuitem = gtk_menu_item_new_with_label (_("Top"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (check_position_picker_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Middle"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (check_position_picker_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Bottom"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (check_position_picker_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Custom"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (check_position_picker_menu), glade_menuitem);
  gtk_option_menu_set_menu (GTK_OPTION_MENU (check_position_picker), check_position_picker_menu);

  date_format_picker = gtk_option_menu_new ();
  gtk_widget_ref (date_format_picker);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "date_format_picker", date_format_picker,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (date_format_picker);
  gtk_box_pack_start (GTK_BOX (vbox12), date_format_picker, FALSE, FALSE, 0);
  date_format_picker_menu = gtk_menu_new ();
  glade_menuitem = gtk_menu_item_new_with_label (_("December  31, 2000"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (date_format_picker_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("31 December, 2000"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (date_format_picker_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Dec 31, 2000"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (date_format_picker_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("31 Dec, 2000"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (date_format_picker_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("12/31/2000"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (date_format_picker_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("12/31/00"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (date_format_picker_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("31/12/2000"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (date_format_picker_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("31/12/00"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (date_format_picker_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Custom"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (date_format_picker_menu), glade_menuitem);
  gtk_option_menu_set_menu (GTK_OPTION_MENU (date_format_picker), date_format_picker_menu);

  label847675 = gtk_label_new (_("Options"));
  gtk_widget_ref (label847675);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "label847675", label847675,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847675);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook4), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook4), 0), label847675);

  frame5 = gtk_frame_new (_("Custom check format"));
  gtk_widget_ref (frame5);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "frame5", frame5,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame5);
  gtk_container_add (GTK_CONTAINER (notebook4), frame5);

  vbox1x6 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox1x6);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "vbox1x6", vbox1x6,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox1x6);
  gtk_container_add (GTK_CONTAINER (frame5), vbox1x6);

  hbox16 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox16);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "hbox16", hbox16,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox16);
  gtk_box_pack_start (GTK_BOX (vbox1x6), hbox16, FALSE, FALSE, 0);

  vbox13 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox13);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "vbox13", vbox13,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox13);
  gtk_box_pack_start (GTK_BOX (hbox16), vbox13, FALSE, FALSE, 2);

  label702 = gtk_label_new ("");
  gtk_widget_ref (label702);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "label702", label702,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label702);
  gtk_box_pack_start (GTK_BOX (vbox13), label702, FALSE, FALSE, 0);

  label701 = gtk_label_new (_("Payee:"));
  gtk_widget_ref (label701);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "label701", label701,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label701);
  gtk_box_pack_start (GTK_BOX (vbox13), label701, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label701), 1, 0.5);

  label705 = gtk_label_new (_("Date:"));
  gtk_widget_ref (label705);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "label705", label705,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label705);
  gtk_box_pack_start (GTK_BOX (vbox13), label705, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label705), 1, 0.5);

  label706 = gtk_label_new (_("Amount (words):"));
  gtk_widget_ref (label706);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "label706", label706,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label706);
  gtk_box_pack_start (GTK_BOX (vbox13), label706, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label706), 1, 0.5);

  label707 = gtk_label_new (_("Amount (numbers):"));
  gtk_widget_ref (label707);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "label707", label707,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label707);
  gtk_box_pack_start (GTK_BOX (vbox13), label707, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label707), 1, 0.5);

  label708 = gtk_label_new (_("Memo:"));
  gtk_widget_ref (label708);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "label708", label708,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label708);
  gtk_box_pack_start (GTK_BOX (vbox13), label708, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label708), 1, 0.5);

  label711 = gtk_label_new (_("Check position:"));
  gtk_widget_ref (label711);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "label711", label711,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label711);
  gtk_box_pack_start (GTK_BOX (vbox13), label711, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label711), 1, 0.5);

  label714 = gtk_label_new (_("Date format:"));
  gtk_widget_ref (label714);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "label714", label714,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label714);
  gtk_box_pack_start (GTK_BOX (vbox13), label714, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label714), 1, 0.5);

  label709 = gtk_label_new (_("Units:"));
  gtk_widget_ref (label709);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "label709", label709,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label709);
  gtk_box_pack_start (GTK_BOX (vbox13), label709, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label709), 1, 0.5);

  vbox14 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox14);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "vbox14", vbox14,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox14);
  gtk_box_pack_start (GTK_BOX (hbox16), vbox14, FALSE, TRUE, 2);

  label703 = gtk_label_new (_("x"));
  gtk_widget_ref (label703);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "label703", label703,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label703);
  gtk_box_pack_start (GTK_BOX (vbox14), label703, FALSE, FALSE, 0);

  payee_x_entry_adj = gtk_adjustment_new (0, 0, 100000, 0.1, 10, 10);
  payee_x_entry = gtk_spin_button_new (GTK_ADJUSTMENT (payee_x_entry_adj), 1, 3);
  gtk_widget_ref (payee_x_entry);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "payee_x_entry", payee_x_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (payee_x_entry);
  gtk_box_pack_start (GTK_BOX (vbox14), payee_x_entry, FALSE, FALSE, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (payee_x_entry), TRUE);

  date_x_entry_adj = gtk_adjustment_new (0, 0, 100000, 0.1, 10, 10);
  date_x_entry = gtk_spin_button_new (GTK_ADJUSTMENT (date_x_entry_adj), 1, 3);
  gtk_widget_ref (date_x_entry);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "date_x_entry", date_x_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (date_x_entry);
  gtk_box_pack_start (GTK_BOX (vbox14), date_x_entry, FALSE, FALSE, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (date_x_entry), TRUE);

  amount_words_x_entry_adj = gtk_adjustment_new (0, 0, 100000, 0.1, 10, 10);
  amount_words_x_entry = gtk_spin_button_new (GTK_ADJUSTMENT (amount_words_x_entry_adj), 1, 3);
  gtk_widget_ref (amount_words_x_entry);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "amount_words_x_entry", amount_words_x_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (amount_words_x_entry);
  gtk_box_pack_start (GTK_BOX (vbox14), amount_words_x_entry, FALSE, FALSE, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (amount_words_x_entry), TRUE);

  amount_numbers_x_entry_adj = gtk_adjustment_new (0, 0, 100000, 0.1, 10, 10);
  amount_numbers_x_entry = gtk_spin_button_new (GTK_ADJUSTMENT (amount_numbers_x_entry_adj), 1, 3);
  gtk_widget_ref (amount_numbers_x_entry);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "amount_numbers_x_entry", amount_numbers_x_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (amount_numbers_x_entry);
  gtk_box_pack_start (GTK_BOX (vbox14), amount_numbers_x_entry, FALSE, FALSE, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (amount_numbers_x_entry), TRUE);

  memo_x_entry_adj = gtk_adjustment_new (0, 0, 100000, 0.1, 10, 10);
  memo_x_entry = gtk_spin_button_new (GTK_ADJUSTMENT (memo_x_entry_adj), 1, 3);
  gtk_widget_ref (memo_x_entry);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "memo_x_entry", memo_x_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (memo_x_entry);
  gtk_box_pack_start (GTK_BOX (vbox14), memo_x_entry, FALSE, FALSE, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (memo_x_entry), TRUE);

  check_position_entry_adj = gtk_adjustment_new (0, 0, 100000, 0.1, 10, 10);
  check_position_entry = gtk_spin_button_new (GTK_ADJUSTMENT (check_position_entry_adj), 1, 3);
  gtk_widget_ref (check_position_entry);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "check_position_entry", check_position_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (check_position_entry);
  gtk_box_pack_start (GTK_BOX (vbox14), check_position_entry, FALSE, FALSE, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (check_position_entry), TRUE);

  date_format_entry_adj = gtk_adjustment_new (0, 0, 100000, 0.1, 10, 10);
  date_format_entry = gtk_spin_button_new (GTK_ADJUSTMENT (date_format_entry_adj), 1, 3);
  gtk_widget_ref (date_format_entry);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "date_format_entry", date_format_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (date_format_entry);
  gtk_box_pack_start (GTK_BOX (vbox14), date_format_entry, FALSE, FALSE, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (date_format_entry), TRUE);

  units_picker = gtk_option_menu_new ();
  gtk_widget_ref (units_picker);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "units_picker", units_picker,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (units_picker);
  gtk_box_pack_start (GTK_BOX (vbox14), units_picker, FALSE, FALSE, 0);
  units_picker_menu = gtk_menu_new ();
  glade_menuitem = gtk_menu_item_new_with_label (_("Inches"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (units_picker_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Centimeters"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (units_picker_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Millimeters"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (units_picker_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Points"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (units_picker_menu), glade_menuitem);
  gtk_option_menu_set_menu (GTK_OPTION_MENU (units_picker), units_picker_menu);
  gtk_option_menu_set_history (GTK_OPTION_MENU (units_picker), 1);

  vbox38 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox38);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "vbox38", vbox38,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox38);
  gtk_box_pack_start (GTK_BOX (hbox16), vbox38, FALSE, TRUE, 2);

  label744 = gtk_label_new (_("y"));
  gtk_widget_ref (label744);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "label744", label744,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label744);
  gtk_box_pack_start (GTK_BOX (vbox38), label744, FALSE, FALSE, 0);

  payee_y_entry_adj = gtk_adjustment_new (0, 0, 100000, 0.1, 10, 10);
  payee_y_entry = gtk_spin_button_new (GTK_ADJUSTMENT (payee_y_entry_adj), 1, 3);
  gtk_widget_ref (payee_y_entry);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "payee_y_entry", payee_y_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (payee_y_entry);
  gtk_box_pack_start (GTK_BOX (vbox38), payee_y_entry, FALSE, FALSE, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (payee_y_entry), TRUE);

  date_y_entry_adj = gtk_adjustment_new (0, 0, 100000, 0.1, 10, 10);
  date_y_entry = gtk_spin_button_new (GTK_ADJUSTMENT (date_y_entry_adj), 1, 3);
  gtk_widget_ref (date_y_entry);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "date_y_entry", date_y_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (date_y_entry);
  gtk_box_pack_start (GTK_BOX (vbox38), date_y_entry, FALSE, FALSE, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (date_y_entry), TRUE);

  amount_words_y_entry_adj = gtk_adjustment_new (0, 0, 100000, 0.1, 10, 10);
  amount_words_y_entry = gtk_spin_button_new (GTK_ADJUSTMENT (amount_words_y_entry_adj), 1, 3);
  gtk_widget_ref (amount_words_y_entry);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "amount_words_y_entry", amount_words_y_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (amount_words_y_entry);
  gtk_box_pack_start (GTK_BOX (vbox38), amount_words_y_entry, FALSE, FALSE, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (amount_words_y_entry), TRUE);

  amount_numbers_y_entry_adj = gtk_adjustment_new (0, 0, 100000, 0.1, 10, 10);
  amount_numbers_y_entry = gtk_spin_button_new (GTK_ADJUSTMENT (amount_numbers_y_entry_adj), 1, 3);
  gtk_widget_ref (amount_numbers_y_entry);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "amount_numbers_y_entry", amount_numbers_y_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (amount_numbers_y_entry);
  gtk_box_pack_start (GTK_BOX (vbox38), amount_numbers_y_entry, FALSE, FALSE, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (amount_numbers_y_entry), TRUE);

  memo_y_entry_adj = gtk_adjustment_new (0, 0, 100000, 0.1, 10, 10);
  memo_y_entry = gtk_spin_button_new (GTK_ADJUSTMENT (memo_y_entry_adj), 1, 3);
  gtk_widget_ref (memo_y_entry);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "memo_y_entry", memo_y_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (memo_y_entry);
  gtk_box_pack_start (GTK_BOX (vbox38), memo_y_entry, FALSE, FALSE, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (memo_y_entry), TRUE);

  label745 = gtk_label_new ("");
  gtk_widget_ref (label745);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "label745", label745,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label745);
  gtk_box_pack_start (GTK_BOX (vbox38), label745, FALSE, FALSE, 0);

  label746 = gtk_label_new (_("                                  "));
  gtk_widget_ref (label746);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "label746", label746,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label746);
  gtk_box_pack_start (GTK_BOX (vbox38), label746, FALSE, FALSE, 0);

  label747 = gtk_label_new (_("                    "));
  gtk_widget_ref (label747);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "label747", label747,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label747);
  gtk_box_pack_start (GTK_BOX (vbox38), label747, FALSE, FALSE, 0);

  label847676 = gtk_label_new (_("Custom format"));
  gtk_widget_ref (label847676);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "label847676", label847676,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847676);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook4), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook4), 1), label847676);

  dialog_action_area6 = GNOME_DIALOG (Print_Check_Dialog)->action_area;
  gtk_object_set_data (GTK_OBJECT (Print_Check_Dialog), "dialog_action_area6", dialog_action_area6);
  gtk_widget_show (dialog_action_area6);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area6), GTK_BUTTONBOX_SPREAD);
  gtk_button_box_set_spacing (GTK_BUTTON_BOX (dialog_action_area6), 8);

  gnome_dialog_append_button (GNOME_DIALOG (Print_Check_Dialog), GNOME_STOCK_BUTTON_OK);
  button21 = g_list_last (GNOME_DIALOG (Print_Check_Dialog)->buttons)->data;
  gtk_widget_ref (button21);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "button21", button21,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button21);
  GTK_WIDGET_SET_FLAGS (button21, GTK_CAN_DEFAULT);

  gnome_dialog_append_button (GNOME_DIALOG (Print_Check_Dialog), GNOME_STOCK_BUTTON_CANCEL);
  button22 = g_list_last (GNOME_DIALOG (Print_Check_Dialog)->buttons)->data;
  gtk_widget_ref (button22);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "button22", button22,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button22);
  GTK_WIDGET_SET_FLAGS (button22, GTK_CAN_DEFAULT);

  gnome_dialog_append_button (GNOME_DIALOG (Print_Check_Dialog), GNOME_STOCK_BUTTON_HELP);
  button23 = g_list_last (GNOME_DIALOG (Print_Check_Dialog)->buttons)->data;
  gtk_widget_ref (button23);
  gtk_object_set_data_full (GTK_OBJECT (Print_Check_Dialog), "button23", button23,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button23);
  GTK_WIDGET_SET_FLAGS (button23, GTK_CAN_DEFAULT);

  gtk_signal_connect (GTK_OBJECT (button21), "clicked",
                      GTK_SIGNAL_FUNC (gnc_ui_print_check_dialog_ok_cb),
                      Print_Check_Dialog);
  gtk_signal_connect (GTK_OBJECT (button22), "clicked",
                      GTK_SIGNAL_FUNC (gnc_ui_print_check_dialog_cancel_cb),
                      Print_Check_Dialog);
  gtk_signal_connect (GTK_OBJECT (button23), "clicked",
                      GTK_SIGNAL_FUNC (gnc_ui_print_check_dialog_help_cb),
                      Print_Check_Dialog);

  return Print_Check_Dialog;
}

GtkWidget*
create_Find_Transactions (void)
{
  GtkWidget *Find_Transactions;
  GtkWidget *dialog_vbox7;
  GtkWidget *find_notebook;
  GtkWidget *frame6;
  GtkWidget *match_accounts_vbox;
  GtkWidget *hbox26;
  GtkWidget *label751;
  GtkWidget *account_match_picker;
  GtkWidget *account_match_picker_menu;
  GtkWidget *glade_menuitem;
  GtkWidget *label743;
  GtkWidget *account_match_scroller;
  GtkWidget *label716;
  GtkWidget *frame11;
  GtkWidget *vbox79;
  GtkWidget *label842;
  GtkWidget *hbox71;
  GtkWidget *vbox80;
  GtkWidget *date_start_toggle;
  GtkWidget *date_end_toggle;
  GtkWidget *vbox81;
  GtkWidget *date_start_frame;
  GtkWidget *date_end_frame;
  GtkWidget *label768;
  GtkWidget *frame8;
  GtkWidget *vbox16;
  GtkWidget *label752;
  GtkWidget *description_entry;
  GtkWidget *vbox41;
  GtkWidget *description_case_toggle;
  GtkWidget *description_regexp_toggle;
  GtkWidget *label718;
  GtkWidget *frame15;
  GtkWidget *vbox42;
  GtkWidget *label761;
  GtkWidget *number_entry;
  GtkWidget *vbox43;
  GtkWidget *number_case_toggle;
  GtkWidget *number_regexp_toggle;
  GtkWidget *label760;
  GtkWidget *frame9;
  GtkWidget *vbox18;
  GtkWidget *hbox17;
  GtkWidget *label753;
  GtkWidget *credit_debit_picker;
  GtkWidget *credit_debit_picker_menu;
  GtkWidget *label726;
  GtkWidget *hbox28;
  GtkWidget *amount_comp_picker;
  GtkWidget *amount_comp_picker_menu;
  GtkWidget *amount_box;
  GtkWidget *label750;
  GtkWidget *label719;
  GtkWidget *frame10;
  GtkWidget *vbox22;
  GtkWidget *label759;
  GtkWidget *memo_entry;
  GtkWidget *vbox40;
  GtkWidget *memo_case_toggle;
  GtkWidget *memo_regexp_toggle;
  GtkWidget *label771;
  GtkWidget *frame18;
  GtkWidget *vbox45;
  GtkWidget *label765;
  GtkWidget *hbox31;
  GtkWidget *shares_comp_picker;
  GtkWidget *shares_comp_picker_menu;
  GtkWidget *shares_box;
  GtkWidget *label766;
  GtkWidget *label764;
  GtkWidget *frame19;
  GtkWidget *vbox46;
  GtkWidget *label769;
  GtkWidget *hbox32;
  GtkWidget *price_comp_picker;
  GtkWidget *price_comp_picker_menu;
  GtkWidget *price_box;
  GtkWidget *label770;
  GtkWidget *label767;
  GtkWidget *frame20;
  GtkWidget *vbox50;
  GtkWidget *label772;
  GtkWidget *action_entry;
  GtkWidget *vbox51;
  GtkWidget *action_case_toggle;
  GtkWidget *action_regexp_toggle;
  GtkWidget *label720;
  GtkWidget *frame25;
  GtkWidget *vbox61;
  GtkWidget *label787;
  GtkWidget *cleared_not_cleared_toggle;
  GtkWidget *cleared_cleared_toggle;
  GtkWidget *cleared_reconciled_toggle;
  GtkWidget *label786;
  GtkWidget *frame36;
  GtkWidget *vbox87;
  GtkWidget *label846;
  GtkWidget *balance_balanced_toggle;
  GtkWidget *balance_not_balanced_toggle;
  GtkWidget *label843;
  GtkWidget *tags_frame;
  GtkWidget *vbox82;
  GtkWidget *label844;
  GtkWidget *tag_entry;
  GtkWidget *vbox83;
  GtkWidget *tag_case_toggle;
  GtkWidget *tag_regexp_toggle;
  GtkWidget *label845;
  GtkWidget *hbox20;
  GtkWidget *hbox23;
  GtkWidget *frame12;
  GtkWidget *vbox24;
  GSList *vbox24_group = NULL;
  GtkWidget *new_search_radiobutton;
  GtkWidget *narrow_search_radiobutton;
  GtkWidget *add_search_radiobutton;
  GtkWidget *delete_search_radiobutton;
  GtkWidget *dialog_action_area7;
  GtkWidget *button26;
  GtkWidget *button27;
  GtkWidget *button28;

  Find_Transactions = gnome_dialog_new (_("Find Transactions"), NULL);
  gtk_object_set_data (GTK_OBJECT (Find_Transactions), "Find_Transactions", Find_Transactions);
  gtk_window_set_policy (GTK_WINDOW (Find_Transactions), TRUE, TRUE, FALSE);

  dialog_vbox7 = GNOME_DIALOG (Find_Transactions)->vbox;
  gtk_object_set_data (GTK_OBJECT (Find_Transactions), "dialog_vbox7", dialog_vbox7);
  gtk_widget_show (dialog_vbox7);

  find_notebook = gtk_notebook_new ();
  gtk_widget_ref (find_notebook);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "find_notebook", find_notebook,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (find_notebook);
  gtk_box_pack_start (GTK_BOX (dialog_vbox7), find_notebook, TRUE, TRUE, 0);
  gtk_notebook_set_tab_pos (GTK_NOTEBOOK (find_notebook), GTK_POS_LEFT);

  frame6 = gtk_frame_new (_("Match Accounts"));
  gtk_widget_ref (frame6);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "frame6", frame6,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame6);
  gtk_container_add (GTK_CONTAINER (find_notebook), frame6);

  match_accounts_vbox = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (match_accounts_vbox);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "match_accounts_vbox", match_accounts_vbox,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (match_accounts_vbox);
  gtk_container_add (GTK_CONTAINER (frame6), match_accounts_vbox);
  gtk_container_set_border_width (GTK_CONTAINER (match_accounts_vbox), 5);

  hbox26 = gtk_hbox_new (FALSE, 5);
  gtk_widget_ref (hbox26);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "hbox26", hbox26,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox26);
  gtk_box_pack_start (GTK_BOX (match_accounts_vbox), hbox26, FALSE, FALSE, 0);

  label751 = gtk_label_new (_("Find transactions affecting"));
  gtk_widget_ref (label751);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label751", label751,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label751);
  gtk_box_pack_start (GTK_BOX (hbox26), label751, FALSE, FALSE, 5);

  account_match_picker = gtk_option_menu_new ();
  gtk_widget_ref (account_match_picker);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "account_match_picker", account_match_picker,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (account_match_picker);
  gtk_box_pack_start (GTK_BOX (hbox26), account_match_picker, FALSE, FALSE, 0);
  account_match_picker_menu = gtk_menu_new ();
  glade_menuitem = gtk_menu_item_new_with_label (_("All"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (account_match_picker_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Any"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (account_match_picker_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("None"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (account_match_picker_menu), glade_menuitem);
  gtk_option_menu_set_menu (GTK_OPTION_MENU (account_match_picker), account_match_picker_menu);
  gtk_option_menu_set_history (GTK_OPTION_MENU (account_match_picker), 1);

  label743 = gtk_label_new (_("selected accounts:"));
  gtk_widget_ref (label743);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label743", label743,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label743);
  gtk_box_pack_start (GTK_BOX (hbox26), label743, FALSE, FALSE, 0);

  account_match_scroller = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (account_match_scroller);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "account_match_scroller", account_match_scroller,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (account_match_scroller);
  gtk_box_pack_start (GTK_BOX (match_accounts_vbox), account_match_scroller, TRUE, TRUE, 0);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (account_match_scroller), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  label716 = gtk_label_new (_("Account"));
  gtk_widget_ref (label716);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label716", label716,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label716);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (find_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (find_notebook), 0), label716);

  frame11 = gtk_frame_new (_("Match Date"));
  gtk_widget_ref (frame11);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "frame11", frame11,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame11);
  gtk_container_add (GTK_CONTAINER (find_notebook), frame11);

  vbox79 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox79);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "vbox79", vbox79,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox79);
  gtk_container_add (GTK_CONTAINER (frame11), vbox79);
  gtk_container_set_border_width (GTK_CONTAINER (vbox79), 5);

  label842 = gtk_label_new (_("Find transactions occurring in the date range:"));
  gtk_widget_ref (label842);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label842", label842,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label842);
  gtk_box_pack_start (GTK_BOX (vbox79), label842, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label842), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (label842), 7.45058e-09, 0.5);

  hbox71 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox71);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "hbox71", hbox71,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox71);
  gtk_box_pack_start (GTK_BOX (vbox79), hbox71, FALSE, FALSE, 0);

  vbox80 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox80);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "vbox80", vbox80,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox80);
  gtk_box_pack_start (GTK_BOX (hbox71), vbox80, FALSE, FALSE, 0);

  date_start_toggle = gtk_check_button_new_with_label (_("Starting "));
  gtk_widget_ref (date_start_toggle);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "date_start_toggle", date_start_toggle,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (date_start_toggle);
  gtk_box_pack_start (GTK_BOX (vbox80), date_start_toggle, FALSE, FALSE, 0);

  date_end_toggle = gtk_check_button_new_with_label (_("Ending "));
  gtk_widget_ref (date_end_toggle);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "date_end_toggle", date_end_toggle,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (date_end_toggle);
  gtk_box_pack_start (GTK_BOX (vbox80), date_end_toggle, FALSE, FALSE, 0);

  vbox81 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox81);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "vbox81", vbox81,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox81);
  gtk_box_pack_start (GTK_BOX (hbox71), vbox81, FALSE, FALSE, 0);

  date_start_frame = gtk_frame_new (NULL);
  gtk_widget_ref (date_start_frame);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "date_start_frame", date_start_frame,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (date_start_frame);
  gtk_box_pack_start (GTK_BOX (vbox81), date_start_frame, TRUE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (date_start_frame), GTK_SHADOW_NONE);

  date_end_frame = gtk_frame_new (NULL);
  gtk_widget_ref (date_end_frame);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "date_end_frame", date_end_frame,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (date_end_frame);
  gtk_box_pack_start (GTK_BOX (vbox81), date_end_frame, TRUE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (date_end_frame), GTK_SHADOW_NONE);

  label768 = gtk_label_new (_("Date"));
  gtk_widget_ref (label768);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label768", label768,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label768);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (find_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (find_notebook), 1), label768);

  frame8 = gtk_frame_new (_("Match Description"));
  gtk_widget_ref (frame8);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "frame8", frame8,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame8);
  gtk_container_add (GTK_CONTAINER (find_notebook), frame8);

  vbox16 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox16);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "vbox16", vbox16,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox16);
  gtk_container_add (GTK_CONTAINER (frame8), vbox16);
  gtk_container_set_border_width (GTK_CONTAINER (vbox16), 5);

  label752 = gtk_label_new (_("Find transactions whose Description contains:"));
  gtk_widget_ref (label752);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label752", label752,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label752);
  gtk_box_pack_start (GTK_BOX (vbox16), label752, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label752), 7.45058e-09, 0.5);

  description_entry = gtk_entry_new ();
  gtk_widget_ref (description_entry);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "description_entry", description_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (description_entry);
  gtk_box_pack_start (GTK_BOX (vbox16), description_entry, FALSE, FALSE, 0);

  vbox41 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox41);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "vbox41", vbox41,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox41);
  gtk_box_pack_start (GTK_BOX (vbox16), vbox41, TRUE, TRUE, 0);

  description_case_toggle = gtk_check_button_new_with_label (_("Case sensitive"));
  gtk_widget_ref (description_case_toggle);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "description_case_toggle", description_case_toggle,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (description_case_toggle);
  gtk_box_pack_start (GTK_BOX (vbox41), description_case_toggle, FALSE, FALSE, 0);

  description_regexp_toggle = gtk_check_button_new_with_label (_("Regular expression"));
  gtk_widget_ref (description_regexp_toggle);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "description_regexp_toggle", description_regexp_toggle,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (description_regexp_toggle);
  gtk_box_pack_start (GTK_BOX (vbox41), description_regexp_toggle, FALSE, FALSE, 0);

  label718 = gtk_label_new (_("Description"));
  gtk_widget_ref (label718);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label718", label718,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label718);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (find_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (find_notebook), 2), label718);

  frame15 = gtk_frame_new (_("Match Description"));
  gtk_widget_ref (frame15);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "frame15", frame15,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame15);
  gtk_container_add (GTK_CONTAINER (find_notebook), frame15);

  vbox42 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox42);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "vbox42", vbox42,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox42);
  gtk_container_add (GTK_CONTAINER (frame15), vbox42);
  gtk_container_set_border_width (GTK_CONTAINER (vbox42), 5);

  label761 = gtk_label_new (_("Find transactions whose Number contains:"));
  gtk_widget_ref (label761);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label761", label761,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label761);
  gtk_box_pack_start (GTK_BOX (vbox42), label761, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label761), 7.45058e-09, 0.5);

  number_entry = gtk_entry_new ();
  gtk_widget_ref (number_entry);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "number_entry", number_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (number_entry);
  gtk_box_pack_start (GTK_BOX (vbox42), number_entry, FALSE, FALSE, 0);

  vbox43 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox43);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "vbox43", vbox43,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox43);
  gtk_box_pack_start (GTK_BOX (vbox42), vbox43, TRUE, TRUE, 0);

  number_case_toggle = gtk_check_button_new_with_label (_("Case sensitive"));
  gtk_widget_ref (number_case_toggle);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "number_case_toggle", number_case_toggle,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (number_case_toggle);
  gtk_box_pack_start (GTK_BOX (vbox43), number_case_toggle, FALSE, FALSE, 0);

  number_regexp_toggle = gtk_check_button_new_with_label (_("Regular expression"));
  gtk_widget_ref (number_regexp_toggle);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "number_regexp_toggle", number_regexp_toggle,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (number_regexp_toggle);
  gtk_box_pack_start (GTK_BOX (vbox43), number_regexp_toggle, FALSE, FALSE, 0);

  label760 = gtk_label_new (_("Number"));
  gtk_widget_ref (label760);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label760", label760,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label760);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (find_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (find_notebook), 3), label760);

  frame9 = gtk_frame_new (_("Match Amount"));
  gtk_widget_ref (frame9);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "frame9", frame9,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame9);
  gtk_container_add (GTK_CONTAINER (find_notebook), frame9);

  vbox18 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox18);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "vbox18", vbox18,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox18);
  gtk_container_add (GTK_CONTAINER (frame9), vbox18);
  gtk_container_set_border_width (GTK_CONTAINER (vbox18), 5);

  hbox17 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox17);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "hbox17", hbox17,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox17);
  gtk_box_pack_start (GTK_BOX (vbox18), hbox17, FALSE, FALSE, 0);

  label753 = gtk_label_new (_("Find "));
  gtk_widget_ref (label753);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label753", label753,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label753);
  gtk_box_pack_start (GTK_BOX (hbox17), label753, FALSE, FALSE, 0);

  credit_debit_picker = gtk_option_menu_new ();
  gtk_widget_ref (credit_debit_picker);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "credit_debit_picker", credit_debit_picker,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (credit_debit_picker);
  gtk_box_pack_start (GTK_BOX (hbox17), credit_debit_picker, FALSE, FALSE, 0);
  credit_debit_picker_menu = gtk_menu_new ();
  glade_menuitem = gtk_menu_item_new_with_label (_("Credit or Debit"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (credit_debit_picker_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Credit"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (credit_debit_picker_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Debit"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (credit_debit_picker_menu), glade_menuitem);
  gtk_option_menu_set_menu (GTK_OPTION_MENU (credit_debit_picker), credit_debit_picker_menu);

  label726 = gtk_label_new (_("splits having amounts of:"));
  gtk_widget_ref (label726);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label726", label726,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label726);
  gtk_box_pack_start (GTK_BOX (hbox17), label726, FALSE, FALSE, 5);

  hbox28 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox28);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "hbox28", hbox28,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox28);
  gtk_box_pack_start (GTK_BOX (vbox18), hbox28, FALSE, FALSE, 0);

  amount_comp_picker = gtk_option_menu_new ();
  gtk_widget_ref (amount_comp_picker);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "amount_comp_picker", amount_comp_picker,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (amount_comp_picker);
  gtk_box_pack_start (GTK_BOX (hbox28), amount_comp_picker, FALSE, FALSE, 0);
  amount_comp_picker_menu = gtk_menu_new ();
  glade_menuitem = gtk_menu_item_new_with_label (_("At least"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (amount_comp_picker_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("At most "));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (amount_comp_picker_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Exactly"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (amount_comp_picker_menu), glade_menuitem);
  gtk_option_menu_set_menu (GTK_OPTION_MENU (amount_comp_picker), amount_comp_picker_menu);

  amount_box = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (amount_box);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "amount_box", amount_box,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (amount_box);
  gtk_box_pack_start (GTK_BOX (hbox28), amount_box, TRUE, TRUE, 0);

  label750 = gtk_label_new ("");
  gtk_widget_ref (label750);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label750", label750,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label750);
  gtk_box_pack_start (GTK_BOX (hbox28), label750, TRUE, TRUE, 0);

  label719 = gtk_label_new (_("Amount"));
  gtk_widget_ref (label719);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label719", label719,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label719);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (find_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (find_notebook), 4), label719);

  frame10 = gtk_frame_new (_("Match Memo"));
  gtk_widget_ref (frame10);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "frame10", frame10,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame10);
  gtk_container_add (GTK_CONTAINER (find_notebook), frame10);

  vbox22 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox22);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "vbox22", vbox22,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox22);
  gtk_container_add (GTK_CONTAINER (frame10), vbox22);
  gtk_container_set_border_width (GTK_CONTAINER (vbox22), 5);

  label759 = gtk_label_new (_("Find splits whose Memo contains:"));
  gtk_widget_ref (label759);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label759", label759,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label759);
  gtk_box_pack_start (GTK_BOX (vbox22), label759, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label759), 7.45058e-09, 0.5);

  memo_entry = gtk_entry_new ();
  gtk_widget_ref (memo_entry);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "memo_entry", memo_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (memo_entry);
  gtk_box_pack_start (GTK_BOX (vbox22), memo_entry, FALSE, FALSE, 0);

  vbox40 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox40);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "vbox40", vbox40,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox40);
  gtk_box_pack_start (GTK_BOX (vbox22), vbox40, TRUE, TRUE, 0);

  memo_case_toggle = gtk_check_button_new_with_label (_("Case sensitive"));
  gtk_widget_ref (memo_case_toggle);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "memo_case_toggle", memo_case_toggle,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (memo_case_toggle);
  gtk_box_pack_start (GTK_BOX (vbox40), memo_case_toggle, FALSE, FALSE, 0);

  memo_regexp_toggle = gtk_check_button_new_with_label (_("Regular expression"));
  gtk_widget_ref (memo_regexp_toggle);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "memo_regexp_toggle", memo_regexp_toggle,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (memo_regexp_toggle);
  gtk_box_pack_start (GTK_BOX (vbox40), memo_regexp_toggle, FALSE, FALSE, 0);

  label771 = gtk_label_new (_("Memo"));
  gtk_widget_ref (label771);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label771", label771,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label771);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (find_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (find_notebook), 5), label771);

  frame18 = gtk_frame_new (_("Match number of shares"));
  gtk_widget_ref (frame18);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "frame18", frame18,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame18);
  gtk_container_add (GTK_CONTAINER (find_notebook), frame18);

  vbox45 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox45);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "vbox45", vbox45,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox45);
  gtk_container_add (GTK_CONTAINER (frame18), vbox45);
  gtk_container_set_border_width (GTK_CONTAINER (vbox45), 5);

  label765 = gtk_label_new (_("Find securities transactions of:"));
  gtk_widget_ref (label765);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label765", label765,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label765);
  gtk_box_pack_start (GTK_BOX (vbox45), label765, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label765), 7.45058e-09, 0.5);

  hbox31 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox31);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "hbox31", hbox31,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox31);
  gtk_box_pack_start (GTK_BOX (vbox45), hbox31, FALSE, FALSE, 0);

  shares_comp_picker = gtk_option_menu_new ();
  gtk_widget_ref (shares_comp_picker);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "shares_comp_picker", shares_comp_picker,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (shares_comp_picker);
  gtk_box_pack_start (GTK_BOX (hbox31), shares_comp_picker, FALSE, FALSE, 0);
  shares_comp_picker_menu = gtk_menu_new ();
  glade_menuitem = gtk_menu_item_new_with_label (_("At least"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (shares_comp_picker_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("At most"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (shares_comp_picker_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Exactly"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (shares_comp_picker_menu), glade_menuitem);
  gtk_option_menu_set_menu (GTK_OPTION_MENU (shares_comp_picker), shares_comp_picker_menu);

  shares_box = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (shares_box);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "shares_box", shares_box,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (shares_box);
  gtk_box_pack_start (GTK_BOX (hbox31), shares_box, TRUE, TRUE, 0);

  label766 = gtk_label_new (_("shares"));
  gtk_widget_ref (label766);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label766", label766,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label766);
  gtk_box_pack_start (GTK_BOX (hbox31), label766, TRUE, TRUE, 0);
  gtk_misc_set_alignment (GTK_MISC (label766), 0.02, 0.5);

  label764 = gtk_label_new (_("Shares"));
  gtk_widget_ref (label764);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label764", label764,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label764);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (find_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (find_notebook), 6), label764);

  frame19 = gtk_frame_new (_("Match share price"));
  gtk_widget_ref (frame19);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "frame19", frame19,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame19);
  gtk_container_add (GTK_CONTAINER (find_notebook), frame19);

  vbox46 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox46);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "vbox46", vbox46,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox46);
  gtk_container_add (GTK_CONTAINER (frame19), vbox46);
  gtk_container_set_border_width (GTK_CONTAINER (vbox46), 5);

  label769 = gtk_label_new (_("Find securities transactions with share price of:"));
  gtk_widget_ref (label769);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label769", label769,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label769);
  gtk_box_pack_start (GTK_BOX (vbox46), label769, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label769), 7.45058e-09, 0.5);

  hbox32 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox32);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "hbox32", hbox32,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox32);
  gtk_box_pack_start (GTK_BOX (vbox46), hbox32, FALSE, FALSE, 0);

  price_comp_picker = gtk_option_menu_new ();
  gtk_widget_ref (price_comp_picker);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "price_comp_picker", price_comp_picker,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (price_comp_picker);
  gtk_box_pack_start (GTK_BOX (hbox32), price_comp_picker, FALSE, FALSE, 0);
  price_comp_picker_menu = gtk_menu_new ();
  glade_menuitem = gtk_menu_item_new_with_label (_("At least"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (price_comp_picker_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("At most"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (price_comp_picker_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Exactly"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (price_comp_picker_menu), glade_menuitem);
  gtk_option_menu_set_menu (GTK_OPTION_MENU (price_comp_picker), price_comp_picker_menu);

  price_box = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (price_box);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "price_box", price_box,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (price_box);
  gtk_box_pack_start (GTK_BOX (hbox32), price_box, TRUE, TRUE, 0);

  label770 = gtk_label_new ("");
  gtk_widget_ref (label770);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label770", label770,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label770);
  gtk_box_pack_start (GTK_BOX (hbox32), label770, TRUE, TRUE, 0);
  gtk_misc_set_alignment (GTK_MISC (label770), 0.02, 0.5);

  label767 = gtk_label_new (_("Price"));
  gtk_widget_ref (label767);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label767", label767,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label767);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (find_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (find_notebook), 7), label767);

  frame20 = gtk_frame_new (_("Match Action"));
  gtk_widget_ref (frame20);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "frame20", frame20,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame20);
  gtk_container_add (GTK_CONTAINER (find_notebook), frame20);

  vbox50 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox50);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "vbox50", vbox50,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox50);
  gtk_container_add (GTK_CONTAINER (frame20), vbox50);
  gtk_container_set_border_width (GTK_CONTAINER (vbox50), 5);

  label772 = gtk_label_new (_("Find transactions whose Action contains:"));
  gtk_widget_ref (label772);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label772", label772,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label772);
  gtk_box_pack_start (GTK_BOX (vbox50), label772, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label772), 7.45058e-09, 0.5);

  action_entry = gtk_entry_new ();
  gtk_widget_ref (action_entry);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "action_entry", action_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (action_entry);
  gtk_box_pack_start (GTK_BOX (vbox50), action_entry, FALSE, FALSE, 0);

  vbox51 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox51);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "vbox51", vbox51,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox51);
  gtk_box_pack_start (GTK_BOX (vbox50), vbox51, TRUE, TRUE, 0);

  action_case_toggle = gtk_check_button_new_with_label (_("Case sensitive"));
  gtk_widget_ref (action_case_toggle);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "action_case_toggle", action_case_toggle,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (action_case_toggle);
  gtk_box_pack_start (GTK_BOX (vbox51), action_case_toggle, FALSE, FALSE, 0);

  action_regexp_toggle = gtk_check_button_new_with_label (_("Regular expression"));
  gtk_widget_ref (action_regexp_toggle);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "action_regexp_toggle", action_regexp_toggle,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (action_regexp_toggle);
  gtk_box_pack_start (GTK_BOX (vbox51), action_regexp_toggle, FALSE, FALSE, 0);

  label720 = gtk_label_new (_("Action"));
  gtk_widget_ref (label720);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label720", label720,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label720);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (find_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (find_notebook), 8), label720);

  frame25 = gtk_frame_new (_("Match Cleared state"));
  gtk_widget_ref (frame25);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "frame25", frame25,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame25);
  gtk_container_add (GTK_CONTAINER (find_notebook), frame25);

  vbox61 = gtk_vbox_new (FALSE, 5);
  gtk_widget_ref (vbox61);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "vbox61", vbox61,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox61);
  gtk_container_add (GTK_CONTAINER (frame25), vbox61);
  gtk_container_set_border_width (GTK_CONTAINER (vbox61), 5);

  label787 = gtk_label_new (_("Find transactions whose Cleared status is:"));
  gtk_widget_ref (label787);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label787", label787,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label787);
  gtk_box_pack_start (GTK_BOX (vbox61), label787, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label787), 7.45058e-09, 0.5);

  cleared_not_cleared_toggle = gtk_check_button_new_with_label (_("Not cleared (n)"));
  gtk_widget_ref (cleared_not_cleared_toggle);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "cleared_not_cleared_toggle", cleared_not_cleared_toggle,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (cleared_not_cleared_toggle);
  gtk_box_pack_start (GTK_BOX (vbox61), cleared_not_cleared_toggle, FALSE, FALSE, 0);

  cleared_cleared_toggle = gtk_check_button_new_with_label (_("Cleared (c)"));
  gtk_widget_ref (cleared_cleared_toggle);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "cleared_cleared_toggle", cleared_cleared_toggle,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (cleared_cleared_toggle);
  gtk_box_pack_start (GTK_BOX (vbox61), cleared_cleared_toggle, FALSE, FALSE, 0);

  cleared_reconciled_toggle = gtk_check_button_new_with_label (_("Reconciled (y)"));
  gtk_widget_ref (cleared_reconciled_toggle);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "cleared_reconciled_toggle", cleared_reconciled_toggle,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (cleared_reconciled_toggle);
  gtk_box_pack_start (GTK_BOX (vbox61), cleared_reconciled_toggle, FALSE, FALSE, 0);

  label786 = gtk_label_new (_("Cleared"));
  gtk_widget_ref (label786);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label786", label786,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label786);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (find_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (find_notebook), 9), label786);

  frame36 = gtk_frame_new (_("Match Balance state"));
  gtk_widget_ref (frame36);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "frame36", frame36,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame36);
  gtk_container_add (GTK_CONTAINER (find_notebook), frame36);

  vbox87 = gtk_vbox_new (FALSE, 5);
  gtk_widget_ref (vbox87);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "vbox87", vbox87,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox87);
  gtk_container_add (GTK_CONTAINER (frame36), vbox87);
  gtk_container_set_border_width (GTK_CONTAINER (vbox87), 5);

  label846 = gtk_label_new (_("Find transactions whose Balance status is:"));
  gtk_widget_ref (label846);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label846", label846,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label846);
  gtk_box_pack_start (GTK_BOX (vbox87), label846, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label846), 7.45058e-09, 0.5);

  balance_balanced_toggle = gtk_check_button_new_with_label (_("Balanced"));
  gtk_widget_ref (balance_balanced_toggle);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "balance_balanced_toggle", balance_balanced_toggle,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (balance_balanced_toggle);
  gtk_box_pack_start (GTK_BOX (vbox87), balance_balanced_toggle, FALSE, FALSE, 0);

  balance_not_balanced_toggle = gtk_check_button_new_with_label (_("Not Balanced"));
  gtk_widget_ref (balance_not_balanced_toggle);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "balance_not_balanced_toggle", balance_not_balanced_toggle,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (balance_not_balanced_toggle);
  gtk_box_pack_start (GTK_BOX (vbox87), balance_not_balanced_toggle, FALSE, FALSE, 0);

  label843 = gtk_label_new (_("Balance"));
  gtk_widget_ref (label843);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label843", label843,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label843);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (find_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (find_notebook), 10), label843);

  tags_frame = gtk_frame_new (_("Match transaction tags (CURRENTLY INOPERABLE)"));
  gtk_widget_ref (tags_frame);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "tags_frame", tags_frame,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (tags_frame);
  gtk_container_add (GTK_CONTAINER (find_notebook), tags_frame);

  vbox82 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox82);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "vbox82", vbox82,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox82);
  gtk_container_add (GTK_CONTAINER (tags_frame), vbox82);
  gtk_container_set_border_width (GTK_CONTAINER (vbox82), 5);

  label844 = gtk_label_new (_("Find transactions with the tag:"));
  gtk_widget_ref (label844);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label844", label844,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label844);
  gtk_box_pack_start (GTK_BOX (vbox82), label844, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label844), 7.45058e-09, 0.5);

  tag_entry = gtk_entry_new ();
  gtk_widget_ref (tag_entry);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "tag_entry", tag_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (tag_entry);
  gtk_box_pack_start (GTK_BOX (vbox82), tag_entry, FALSE, FALSE, 0);
  gtk_widget_set_sensitive (tag_entry, FALSE);

  vbox83 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox83);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "vbox83", vbox83,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox83);
  gtk_box_pack_start (GTK_BOX (vbox82), vbox83, TRUE, TRUE, 0);

  tag_case_toggle = gtk_check_button_new_with_label (_("Case sensitive"));
  gtk_widget_ref (tag_case_toggle);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "tag_case_toggle", tag_case_toggle,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (tag_case_toggle);
  gtk_box_pack_start (GTK_BOX (vbox83), tag_case_toggle, FALSE, FALSE, 0);
  gtk_widget_set_sensitive (tag_case_toggle, FALSE);

  tag_regexp_toggle = gtk_check_button_new_with_label (_("Regular expression"));
  gtk_widget_ref (tag_regexp_toggle);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "tag_regexp_toggle", tag_regexp_toggle,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (tag_regexp_toggle);
  gtk_box_pack_start (GTK_BOX (vbox83), tag_regexp_toggle, FALSE, FALSE, 0);
  gtk_widget_set_sensitive (tag_regexp_toggle, FALSE);

  label845 = gtk_label_new (_("Tags"));
  gtk_widget_ref (label845);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "label845", label845,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label845);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (find_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (find_notebook), 11), label845);

  hbox20 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox20);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "hbox20", hbox20,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox20);
  gtk_box_pack_start (GTK_BOX (dialog_vbox7), hbox20, FALSE, FALSE, 0);

  hbox23 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox23);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "hbox23", hbox23,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox23);
  gtk_box_pack_start (GTK_BOX (hbox20), hbox23, FALSE, FALSE, 0);

  frame12 = gtk_frame_new (_("Type of search"));
  gtk_widget_ref (frame12);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "frame12", frame12,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame12);
  gtk_box_pack_start (GTK_BOX (hbox23), frame12, FALSE, FALSE, 0);

  vbox24 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox24);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "vbox24", vbox24,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox24);
  gtk_container_add (GTK_CONTAINER (frame12), vbox24);
  gtk_container_set_border_width (GTK_CONTAINER (vbox24), 3);

  new_search_radiobutton = gtk_radio_button_new_with_label (vbox24_group, _("New search"));
  vbox24_group = gtk_radio_button_group (GTK_RADIO_BUTTON (new_search_radiobutton));
  gtk_widget_ref (new_search_radiobutton);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "new_search_radiobutton", new_search_radiobutton,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (new_search_radiobutton);
  gtk_box_pack_start (GTK_BOX (vbox24), new_search_radiobutton, FALSE, FALSE, 0);

  narrow_search_radiobutton = gtk_radio_button_new_with_label (vbox24_group, _("Refine current search"));
  vbox24_group = gtk_radio_button_group (GTK_RADIO_BUTTON (narrow_search_radiobutton));
  gtk_widget_ref (narrow_search_radiobutton);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "narrow_search_radiobutton", narrow_search_radiobutton,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (narrow_search_radiobutton);
  gtk_box_pack_start (GTK_BOX (vbox24), narrow_search_radiobutton, FALSE, FALSE, 0);

  add_search_radiobutton = gtk_radio_button_new_with_label (vbox24_group, _("Add results to current search"));
  vbox24_group = gtk_radio_button_group (GTK_RADIO_BUTTON (add_search_radiobutton));
  gtk_widget_ref (add_search_radiobutton);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "add_search_radiobutton", add_search_radiobutton,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (add_search_radiobutton);
  gtk_box_pack_start (GTK_BOX (vbox24), add_search_radiobutton, FALSE, FALSE, 0);

  delete_search_radiobutton = gtk_radio_button_new_with_label (vbox24_group, _("Delete results from current search"));
  vbox24_group = gtk_radio_button_group (GTK_RADIO_BUTTON (delete_search_radiobutton));
  gtk_widget_ref (delete_search_radiobutton);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "delete_search_radiobutton", delete_search_radiobutton,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (delete_search_radiobutton);
  gtk_box_pack_start (GTK_BOX (vbox24), delete_search_radiobutton, FALSE, FALSE, 0);

  dialog_action_area7 = GNOME_DIALOG (Find_Transactions)->action_area;
  gtk_object_set_data (GTK_OBJECT (Find_Transactions), "dialog_action_area7", dialog_action_area7);
  gtk_widget_show (dialog_action_area7);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area7), GTK_BUTTONBOX_SPREAD);
  gtk_button_box_set_spacing (GTK_BUTTON_BOX (dialog_action_area7), 8);

  gnome_dialog_append_button_with_pixmap (GNOME_DIALOG (Find_Transactions),
                                          _("Find"), GNOME_STOCK_PIXMAP_SEARCH);
  button26 = g_list_last (GNOME_DIALOG (Find_Transactions)->buttons)->data;
  gtk_widget_ref (button26);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "button26", button26,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button26);
  GTK_WIDGET_SET_FLAGS (button26, GTK_CAN_DEFAULT);

  gnome_dialog_append_button (GNOME_DIALOG (Find_Transactions), GNOME_STOCK_BUTTON_CANCEL);
  button27 = g_list_last (GNOME_DIALOG (Find_Transactions)->buttons)->data;
  gtk_widget_ref (button27);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "button27", button27,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button27);
  GTK_WIDGET_SET_FLAGS (button27, GTK_CAN_DEFAULT);

  gnome_dialog_append_button (GNOME_DIALOG (Find_Transactions), GNOME_STOCK_BUTTON_HELP);
  button28 = g_list_last (GNOME_DIALOG (Find_Transactions)->buttons)->data;
  gtk_widget_ref (button28);
  gtk_object_set_data_full (GTK_OBJECT (Find_Transactions), "button28", button28,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button28);
  GTK_WIDGET_SET_FLAGS (button28, GTK_CAN_DEFAULT);

  gtk_signal_connect (GTK_OBJECT (date_start_toggle), "toggled",
                      GTK_SIGNAL_FUNC (gnc_ui_find_transactions_dialog_early_date_toggle_cb),
                      Find_Transactions);
  gtk_signal_connect (GTK_OBJECT (date_end_toggle), "toggled",
                      GTK_SIGNAL_FUNC (gnc_ui_find_transactions_dialog_late_date_toggle_cb),
                      Find_Transactions);
  gtk_signal_connect (GTK_OBJECT (new_search_radiobutton), "toggled",
                      GTK_SIGNAL_FUNC (gnc_ui_find_transactions_dialog_search_type_cb),
                      Find_Transactions);
  gtk_signal_connect (GTK_OBJECT (narrow_search_radiobutton), "toggled",
                      GTK_SIGNAL_FUNC (gnc_ui_find_transactions_dialog_search_type_cb),
                      Find_Transactions);
  gtk_signal_connect (GTK_OBJECT (add_search_radiobutton), "toggled",
                      GTK_SIGNAL_FUNC (gnc_ui_find_transactions_dialog_search_type_cb),
                      Find_Transactions);
  gtk_signal_connect (GTK_OBJECT (delete_search_radiobutton), "toggled",
                      GTK_SIGNAL_FUNC (gnc_ui_find_transactions_dialog_search_type_cb),
                      Find_Transactions);
  gtk_signal_connect (GTK_OBJECT (button26), "clicked",
                      GTK_SIGNAL_FUNC (gnc_ui_find_transactions_dialog_ok_cb),
                      Find_Transactions);
  gtk_signal_connect (GTK_OBJECT (button27), "clicked",
                      GTK_SIGNAL_FUNC (gnc_ui_find_transactions_dialog_cancel_cb),
                      Find_Transactions);
  gtk_signal_connect (GTK_OBJECT (button28), "clicked",
                      GTK_SIGNAL_FUNC (gnc_ui_find_transactions_dialog_help_cb),
                      Find_Transactions);

  return Find_Transactions;
}

GtkWidget*
create_Budget_Dialog (void)
{
  GtkWidget *Budget_Dialog;
  GtkWidget *dialog_vbox9;
  GtkWidget *frame24;
  GtkWidget *hbox45;
  GtkWidget *vbox59;
  GtkWidget *label785;
  GtkWidget *vbox60;
  GtkWidget *budget_name_entry;
  GtkWidget *hbox40;
  GtkWidget *frame21;
  GtkWidget *vbox58;
  GtkWidget *scrolledwindow5;
  GtkWidget *viewport2;
  GtkWidget *scrolledwindow6;
  GtkWidget *entry_tree;
  GtkWidget *label773;
  GtkWidget *hbox43;
  GtkWidget *hbuttonbox2;
  GtkWidget *entry_add_button;
  GtkWidget *entry_delete_button;
  GtkWidget *hbox44;
  GtkWidget *entry_up_button;
  GtkWidget *entry_down_button;
  GtkWidget *vbox52;
  GtkWidget *entry_frame;
  GtkWidget *hbox34;
  GtkWidget *vbox54;
  GtkWidget *label774;
  GtkWidget *label775;
  GtkWidget *label776;
  GtkWidget *vbox55;
  GtkWidget *entry_description_entry;
  GtkWidget *entry_type_menu;
  GtkWidget *entry_type_menu_menu;
  GtkWidget *glade_menuitem;
  GtkWidget *match_button;
  GtkWidget *subentry_frame;
  GtkWidget *hbox35;
  GtkWidget *vbox56;
  GtkWidget *label777;
  GtkWidget *label778;
  GtkWidget *label779;
  GtkWidget *label780;
  GtkWidget *label781;
  GtkWidget *label782;
  GtkWidget *vbox57;
  GtkWidget *subentry_description_entry;
  GtkWidget *subentry_amount_entry;
  GtkWidget *period_box;
  GtkWidget *hbox37;
  GtkWidget *subentry_mechanism_menu;
  GtkWidget *subentry_mechanism_menu_menu;
  GtkWidget *label784;
  GtkWidget *bill_day_box;
  GtkWidget *grace_box;
  GtkWidget *dialog_action_area9;
  GtkWidget *ok_button;
  GtkWidget *apply_button;
  GtkWidget *cancel_button;
  GtkWidget *help_button;
  GtkTooltips *tooltips;

  tooltips = gtk_tooltips_new ();

  Budget_Dialog = gnome_dialog_new (_("Budget"), NULL);
  gtk_object_set_data (GTK_OBJECT (Budget_Dialog), "Budget_Dialog", Budget_Dialog);
  gtk_window_set_policy (GTK_WINDOW (Budget_Dialog), TRUE, TRUE, FALSE);

  dialog_vbox9 = GNOME_DIALOG (Budget_Dialog)->vbox;
  gtk_object_set_data (GTK_OBJECT (Budget_Dialog), "dialog_vbox9", dialog_vbox9);
  gtk_widget_show (dialog_vbox9);

  frame24 = gtk_frame_new (_("Budget"));
  gtk_widget_ref (frame24);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "frame24", frame24,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame24);
  gtk_box_pack_start (GTK_BOX (dialog_vbox9), frame24, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame24), 3);

  hbox45 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox45);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "hbox45", hbox45,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox45);
  gtk_container_add (GTK_CONTAINER (frame24), hbox45);
  gtk_container_set_border_width (GTK_CONTAINER (hbox45), 3);

  vbox59 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox59);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "vbox59", vbox59,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox59);
  gtk_box_pack_start (GTK_BOX (hbox45), vbox59, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (vbox59), 3);

  label785 = gtk_label_new (_("Name:"));
  gtk_widget_ref (label785);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "label785", label785,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label785);
  gtk_box_pack_start (GTK_BOX (vbox59), label785, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label785), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label785), 1, 0.5);

  vbox60 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox60);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "vbox60", vbox60,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox60);
  gtk_box_pack_start (GTK_BOX (hbox45), vbox60, TRUE, TRUE, 0);

  budget_name_entry = gtk_entry_new ();
  gtk_widget_ref (budget_name_entry);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "budget_name_entry", budget_name_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (budget_name_entry);
  gtk_box_pack_start (GTK_BOX (vbox60), budget_name_entry, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, budget_name_entry, _("The name of this budget"), NULL);

  hbox40 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox40);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "hbox40", hbox40,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox40);
  gtk_box_pack_start (GTK_BOX (dialog_vbox9), hbox40, TRUE, TRUE, 0);

  frame21 = gtk_frame_new (_("Budget Entries"));
  gtk_widget_ref (frame21);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "frame21", frame21,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame21);
  gtk_box_pack_start (GTK_BOX (hbox40), frame21, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame21), 3);

  vbox58 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox58);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "vbox58", vbox58,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox58);
  gtk_container_add (GTK_CONTAINER (frame21), vbox58);

  scrolledwindow5 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (scrolledwindow5);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "scrolledwindow5", scrolledwindow5,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow5);
  gtk_box_pack_start (GTK_BOX (vbox58), scrolledwindow5, TRUE, TRUE, 0);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow5), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  viewport2 = gtk_viewport_new (NULL, NULL);
  gtk_widget_ref (viewport2);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "viewport2", viewport2,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport2);
  gtk_container_add (GTK_CONTAINER (scrolledwindow5), viewport2);

  scrolledwindow6 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (scrolledwindow6);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "scrolledwindow6", scrolledwindow6,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow6);
  gtk_container_add (GTK_CONTAINER (viewport2), scrolledwindow6);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow6), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  entry_tree = gtk_ctree_new (1, 0);
  gtk_widget_ref (entry_tree);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "entry_tree", entry_tree,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_tree);
  gtk_container_add (GTK_CONTAINER (scrolledwindow6), entry_tree);
  gtk_clist_set_column_width (GTK_CLIST (entry_tree), 0, 80);
  gtk_clist_set_selection_mode (GTK_CLIST (entry_tree), GTK_SELECTION_BROWSE);
  gtk_clist_column_titles_hide (GTK_CLIST (entry_tree));

  label773 = gtk_label_new (_("label773"));
  gtk_widget_ref (label773);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "label773", label773,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label773);
  gtk_clist_set_column_widget (GTK_CLIST (entry_tree), 0, label773);

  hbox43 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox43);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "hbox43", hbox43,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox43);
  gtk_box_pack_start (GTK_BOX (vbox58), hbox43, FALSE, FALSE, 1);

  hbuttonbox2 = gtk_hbutton_box_new ();
  gtk_widget_ref (hbuttonbox2);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "hbuttonbox2", hbuttonbox2,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbuttonbox2);
  gtk_box_pack_start (GTK_BOX (hbox43), hbuttonbox2, TRUE, TRUE, 0);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox2), GTK_BUTTONBOX_SPREAD);
  gtk_button_box_set_spacing (GTK_BUTTON_BOX (hbuttonbox2), 6);
  gtk_button_box_set_child_size (GTK_BUTTON_BOX (hbuttonbox2), 75, 0);

  entry_add_button = gtk_button_new_with_label (_("Add"));
  gtk_widget_ref (entry_add_button);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "entry_add_button", entry_add_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_add_button);
  gtk_container_add (GTK_CONTAINER (hbuttonbox2), entry_add_button);
  GTK_WIDGET_SET_FLAGS (entry_add_button, GTK_CAN_DEFAULT);
  gtk_tooltips_set_tip (tooltips, entry_add_button, _("Add a new entry or subentry"), NULL);

  entry_delete_button = gtk_button_new_with_label (_("Delete"));
  gtk_widget_ref (entry_delete_button);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "entry_delete_button", entry_delete_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_delete_button);
  gtk_container_add (GTK_CONTAINER (hbuttonbox2), entry_delete_button);
  GTK_WIDGET_SET_FLAGS (entry_delete_button, GTK_CAN_DEFAULT);
  gtk_tooltips_set_tip (tooltips, entry_delete_button, _("Delete the selected entry or subentry"), NULL);

  hbox44 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox44);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "hbox44", hbox44,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox44);
  gtk_box_pack_start (GTK_BOX (hbox43), hbox44, FALSE, FALSE, 0);

  entry_up_button = gtk_button_new_with_label ("");
  gtk_widget_ref (entry_up_button);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "entry_up_button", entry_up_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_up_button);
  gtk_box_pack_start (GTK_BOX (hbox44), entry_up_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, entry_up_button, _("Move the selected item up"), NULL);

  entry_down_button = gtk_button_new_with_label ("");
  gtk_widget_ref (entry_down_button);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "entry_down_button", entry_down_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_down_button);
  gtk_box_pack_start (GTK_BOX (hbox44), entry_down_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, entry_down_button, _("Move the selected item down"), NULL);

  vbox52 = gtk_vbox_new (FALSE, 2);
  gtk_widget_ref (vbox52);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "vbox52", vbox52,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox52);
  gtk_box_pack_start (GTK_BOX (hbox40), vbox52, FALSE, FALSE, 0);

  entry_frame = gtk_frame_new (_("Entry"));
  gtk_widget_ref (entry_frame);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "entry_frame", entry_frame,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_frame);
  gtk_box_pack_start (GTK_BOX (vbox52), entry_frame, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (entry_frame), 3);

  hbox34 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox34);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "hbox34", hbox34,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox34);
  gtk_container_add (GTK_CONTAINER (entry_frame), hbox34);
  gtk_container_set_border_width (GTK_CONTAINER (hbox34), 3);

  vbox54 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox54);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "vbox54", vbox54,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox54);
  gtk_box_pack_start (GTK_BOX (hbox34), vbox54, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (vbox54), 3);

  label774 = gtk_label_new (_("Description:"));
  gtk_widget_ref (label774);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "label774", label774,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label774);
  gtk_box_pack_start (GTK_BOX (vbox54), label774, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label774), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label774), 1, 0.5);

  label775 = gtk_label_new (_("Type:"));
  gtk_widget_ref (label775);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "label775", label775,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label775);
  gtk_box_pack_start (GTK_BOX (vbox54), label775, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label775), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label775), 1, 0.5);

  label776 = gtk_label_new ("");
  gtk_widget_ref (label776);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "label776", label776,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label776);
  gtk_box_pack_start (GTK_BOX (vbox54), label776, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label776), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label776), 1, 0.5);

  vbox55 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox55);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "vbox55", vbox55,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox55);
  gtk_box_pack_start (GTK_BOX (hbox34), vbox55, TRUE, TRUE, 0);

  entry_description_entry = gtk_entry_new ();
  gtk_widget_ref (entry_description_entry);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "entry_description_entry", entry_description_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_description_entry);
  gtk_box_pack_start (GTK_BOX (vbox55), entry_description_entry, TRUE, TRUE, 0);

  entry_type_menu = gtk_option_menu_new ();
  gtk_widget_ref (entry_type_menu);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "entry_type_menu", entry_type_menu,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (entry_type_menu);
  gtk_box_pack_start (GTK_BOX (vbox55), entry_type_menu, TRUE, TRUE, 0);
  entry_type_menu_menu = gtk_menu_new ();
  glade_menuitem = gtk_menu_item_new_with_label (_("Normal"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (entry_type_menu_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("No Total"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (entry_type_menu_menu), glade_menuitem);
  gtk_option_menu_set_menu (GTK_OPTION_MENU (entry_type_menu), entry_type_menu_menu);

  match_button = gtk_button_new_with_label (_("Matching Transactions..."));
  gtk_widget_ref (match_button);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "match_button", match_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (match_button);
  gtk_box_pack_start (GTK_BOX (vbox55), match_button, TRUE, TRUE, 0);

  subentry_frame = gtk_frame_new (_("Subentry"));
  gtk_widget_ref (subentry_frame);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "subentry_frame", subentry_frame,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (subentry_frame);
  gtk_box_pack_start (GTK_BOX (vbox52), subentry_frame, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (subentry_frame), 3);

  hbox35 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox35);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "hbox35", hbox35,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox35);
  gtk_container_add (GTK_CONTAINER (subentry_frame), hbox35);
  gtk_container_set_border_width (GTK_CONTAINER (hbox35), 3);

  vbox56 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox56);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "vbox56", vbox56,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox56);
  gtk_box_pack_start (GTK_BOX (hbox35), vbox56, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (vbox56), 3);

  label777 = gtk_label_new (_("Description:"));
  gtk_widget_ref (label777);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "label777", label777,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label777);
  gtk_box_pack_start (GTK_BOX (vbox56), label777, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label777), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label777), 1, 0.5);

  label778 = gtk_label_new (_("Amount:"));
  gtk_widget_ref (label778);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "label778", label778,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label778);
  gtk_box_pack_start (GTK_BOX (vbox56), label778, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label778), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label778), 1, 0.5);

  label779 = gtk_label_new (_("Period:"));
  gtk_widget_ref (label779);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "label779", label779,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label779);
  gtk_box_pack_start (GTK_BOX (vbox56), label779, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label779), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label779), 1, 0.5);

  label780 = gtk_label_new (_("Mechanism:"));
  gtk_widget_ref (label780);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "label780", label780,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label780);
  gtk_box_pack_start (GTK_BOX (vbox56), label780, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label780), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label780), 1, 0.5);

  label781 = gtk_label_new (_("Bill Day:"));
  gtk_widget_ref (label781);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "label781", label781,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label781);
  gtk_box_pack_start (GTK_BOX (vbox56), label781, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label781), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label781), 1, 0.5);

  label782 = gtk_label_new (_("Grace Period:"));
  gtk_widget_ref (label782);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "label782", label782,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label782);
  gtk_box_pack_start (GTK_BOX (vbox56), label782, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label782), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label782), 1, 0.5);

  vbox57 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox57);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "vbox57", vbox57,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox57);
  gtk_box_pack_start (GTK_BOX (hbox35), vbox57, TRUE, TRUE, 0);

  subentry_description_entry = gtk_entry_new ();
  gtk_widget_ref (subentry_description_entry);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "subentry_description_entry", subentry_description_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (subentry_description_entry);
  gtk_box_pack_start (GTK_BOX (vbox57), subentry_description_entry, FALSE, FALSE, 0);

  subentry_amount_entry = gtk_entry_new ();
  gtk_widget_ref (subentry_amount_entry);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "subentry_amount_entry", subentry_amount_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (subentry_amount_entry);
  gtk_box_pack_start (GTK_BOX (vbox57), subentry_amount_entry, TRUE, TRUE, 0);

  period_box = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (period_box);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "period_box", period_box,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (period_box);
  gtk_box_pack_start (GTK_BOX (vbox57), period_box, TRUE, TRUE, 0);

  hbox37 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox37);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "hbox37", hbox37,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox37);
  gtk_box_pack_start (GTK_BOX (vbox57), hbox37, FALSE, FALSE, 0);

  subentry_mechanism_menu = gtk_option_menu_new ();
  gtk_widget_ref (subentry_mechanism_menu);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "subentry_mechanism_menu", subentry_mechanism_menu,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (subentry_mechanism_menu);
  gtk_box_pack_start (GTK_BOX (hbox37), subentry_mechanism_menu, FALSE, FALSE, 0);
  subentry_mechanism_menu_menu = gtk_menu_new ();
  glade_menuitem = gtk_menu_item_new_with_label (_("Nominal"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (subentry_mechanism_menu_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Bill"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (subentry_mechanism_menu_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Recurring"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (subentry_mechanism_menu_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Contingency"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (subentry_mechanism_menu_menu), glade_menuitem);
  gtk_option_menu_set_menu (GTK_OPTION_MENU (subentry_mechanism_menu), subentry_mechanism_menu_menu);

  label784 = gtk_label_new ("");
  gtk_widget_ref (label784);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "label784", label784,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label784);
  gtk_box_pack_start (GTK_BOX (hbox37), label784, TRUE, TRUE, 0);

  bill_day_box = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (bill_day_box);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "bill_day_box", bill_day_box,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (bill_day_box);
  gtk_box_pack_start (GTK_BOX (vbox57), bill_day_box, FALSE, FALSE, 0);

  grace_box = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (grace_box);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "grace_box", grace_box,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (grace_box);
  gtk_box_pack_start (GTK_BOX (vbox57), grace_box, FALSE, FALSE, 0);

  dialog_action_area9 = GNOME_DIALOG (Budget_Dialog)->action_area;
  gtk_object_set_data (GTK_OBJECT (Budget_Dialog), "dialog_action_area9", dialog_action_area9);
  gtk_widget_show (dialog_action_area9);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area9), GTK_BUTTONBOX_END);
  gtk_button_box_set_spacing (GTK_BUTTON_BOX (dialog_action_area9), 8);

  gnome_dialog_append_button (GNOME_DIALOG (Budget_Dialog), GNOME_STOCK_BUTTON_OK);
  ok_button = g_list_last (GNOME_DIALOG (Budget_Dialog)->buttons)->data;
  gtk_widget_ref (ok_button);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "ok_button", ok_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (ok_button);
  GTK_WIDGET_SET_FLAGS (ok_button, GTK_CAN_DEFAULT);

  gnome_dialog_append_button (GNOME_DIALOG (Budget_Dialog), GNOME_STOCK_BUTTON_APPLY);
  apply_button = g_list_last (GNOME_DIALOG (Budget_Dialog)->buttons)->data;
  gtk_widget_ref (apply_button);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "apply_button", apply_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (apply_button);
  GTK_WIDGET_SET_FLAGS (apply_button, GTK_CAN_DEFAULT);

  gnome_dialog_append_button (GNOME_DIALOG (Budget_Dialog), GNOME_STOCK_BUTTON_CANCEL);
  cancel_button = g_list_last (GNOME_DIALOG (Budget_Dialog)->buttons)->data;
  gtk_widget_ref (cancel_button);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "cancel_button", cancel_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (cancel_button);
  GTK_WIDGET_SET_FLAGS (cancel_button, GTK_CAN_DEFAULT);

  gnome_dialog_append_button (GNOME_DIALOG (Budget_Dialog), GNOME_STOCK_BUTTON_HELP);
  help_button = g_list_last (GNOME_DIALOG (Budget_Dialog)->buttons)->data;
  gtk_widget_ref (help_button);
  gtk_object_set_data_full (GTK_OBJECT (Budget_Dialog), "help_button", help_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (help_button);
  GTK_WIDGET_SET_FLAGS (help_button, GTK_CAN_DEFAULT);

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

  return Budget_Dialog;
}

GtkWidget*
create_Financial_Calculator_Dialog (void)
{
  GtkWidget *Financial_Calculator_Dialog;
  GtkWidget *dialog_vbox10;
  GtkWidget *hbox54;
  GtkWidget *frame26;
  GtkWidget *vbox62;
  GtkWidget *vbox66;
  GtkWidget *hbox46;
  GtkWidget *label790;
  GtkWidget *payment_periods_clear_button;
  GtkWidget *payment_periods_calc_button;
  GtkWidget *payment_periods_hbox;
  GtkWidget *vbox67;
  GtkWidget *hbox55;
  GtkWidget *label799;
  GtkWidget *interest_rate_clear_button;
  GtkWidget *interest_rate_calc_button;
  GtkWidget *interest_rate_hbox;
  GtkWidget *vbox68;
  GtkWidget *hbox56;
  GtkWidget *label800;
  GtkWidget *present_value_clear_button;
  GtkWidget *present_value_calc_button;
  GtkWidget *present_value_hbox;
  GtkWidget *vbox69;
  GtkWidget *hbox57;
  GtkWidget *label801;
  GtkWidget *periodic_payment_clear_button;
  GtkWidget *periodic_payment_calc_button;
  GtkWidget *periodic_payment_hbox;
  GtkWidget *vbox70;
  GtkWidget *hbox58;
  GtkWidget *label802;
  GtkWidget *future_value_clear_button;
  GtkWidget *future_value_calc_button;
  GtkWidget *future_value_hbox;
  GtkWidget *frame27;
  GtkWidget *vbox65;
  GtkWidget *hbox51;
  GtkWidget *vbox63;
  GtkWidget *label797;
  GtkWidget *label798;
  GtkWidget *vbox64;
  GtkWidget *compounding_menu;
  GtkWidget *compounding_menu_menu;
  GtkWidget *glade_menuitem;
  GtkWidget *payment_menu;
  GtkWidget *payment_menu_menu;
  GtkWidget *vbox71;
  GSList *period_group_group = NULL;
  GtkWidget *period_payment_radio;
  GtkWidget *radiobutton4;
  GtkWidget *vbox72;
  GSList *compouding_group_group = NULL;
  GtkWidget *discrete_compounding_radio;
  GtkWidget *radiobutton6;
  GtkWidget *hbox76;
  GtkWidget *some_label;
  GtkWidget *payment_total_label;
  GtkWidget *dialog_action_area10;
  GtkWidget *schedule_button;
  GtkWidget *close_button;
  GtkTooltips *tooltips;

  tooltips = gtk_tooltips_new ();

  Financial_Calculator_Dialog = gnome_dialog_new (_("Financial Calculator"), NULL);
  gtk_object_set_data (GTK_OBJECT (Financial_Calculator_Dialog), "Financial_Calculator_Dialog", Financial_Calculator_Dialog);
  gtk_window_set_policy (GTK_WINDOW (Financial_Calculator_Dialog), TRUE, TRUE, FALSE);

  dialog_vbox10 = GNOME_DIALOG (Financial_Calculator_Dialog)->vbox;
  gtk_object_set_data (GTK_OBJECT (Financial_Calculator_Dialog), "dialog_vbox10", dialog_vbox10);
  gtk_widget_show (dialog_vbox10);

  hbox54 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox54);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "hbox54", hbox54,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox54);
  gtk_box_pack_start (GTK_BOX (dialog_vbox10), hbox54, TRUE, TRUE, 0);

  frame26 = gtk_frame_new (NULL);
  gtk_widget_ref (frame26);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "frame26", frame26,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame26);
  gtk_box_pack_start (GTK_BOX (hbox54), frame26, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame26), 3);

  vbox62 = gtk_vbox_new (FALSE, 6);
  gtk_widget_ref (vbox62);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "vbox62", vbox62,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox62);
  gtk_container_add (GTK_CONTAINER (frame26), vbox62);
  gtk_container_set_border_width (GTK_CONTAINER (vbox62), 5);

  vbox66 = gtk_vbox_new (FALSE, 2);
  gtk_widget_ref (vbox66);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "vbox66", vbox66,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox66);
  gtk_box_pack_start (GTK_BOX (vbox62), vbox66, TRUE, TRUE, 0);

  hbox46 = gtk_hbox_new (FALSE, 6);
  gtk_widget_ref (hbox46);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "hbox46", hbox46,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox46);
  gtk_box_pack_start (GTK_BOX (vbox66), hbox46, TRUE, TRUE, 0);

  label790 = gtk_label_new (_("Payment Periods"));
  gtk_widget_ref (label790);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "label790", label790,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label790);
  gtk_box_pack_start (GTK_BOX (hbox46), label790, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label790), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (label790), 0.5, 0.75);

  payment_periods_clear_button = gtk_button_new_with_label (_("Clear"));
  gtk_widget_ref (payment_periods_clear_button);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "payment_periods_clear_button", payment_periods_clear_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (payment_periods_clear_button);
  gtk_box_pack_end (GTK_BOX (hbox46), payment_periods_clear_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, payment_periods_clear_button, _("Clear the entry"), NULL);

  payment_periods_calc_button = gtk_button_new_with_label (_("Calculate"));
  gtk_widget_ref (payment_periods_calc_button);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "payment_periods_calc_button", payment_periods_calc_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (payment_periods_calc_button);
  gtk_box_pack_end (GTK_BOX (hbox46), payment_periods_calc_button, FALSE, FALSE, 0);

  payment_periods_hbox = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (payment_periods_hbox);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "payment_periods_hbox", payment_periods_hbox,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (payment_periods_hbox);
  gtk_box_pack_start (GTK_BOX (vbox66), payment_periods_hbox, FALSE, FALSE, 0);

  vbox67 = gtk_vbox_new (FALSE, 2);
  gtk_widget_ref (vbox67);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "vbox67", vbox67,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox67);
  gtk_box_pack_start (GTK_BOX (vbox62), vbox67, FALSE, FALSE, 0);

  hbox55 = gtk_hbox_new (FALSE, 6);
  gtk_widget_ref (hbox55);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "hbox55", hbox55,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox55);
  gtk_box_pack_start (GTK_BOX (vbox67), hbox55, TRUE, TRUE, 0);

  label799 = gtk_label_new (_("Interest Rate"));
  gtk_widget_ref (label799);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "label799", label799,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label799);
  gtk_box_pack_start (GTK_BOX (hbox55), label799, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label799), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (label799), 0.5, 0.75);

  interest_rate_clear_button = gtk_button_new_with_label (_("Clear"));
  gtk_widget_ref (interest_rate_clear_button);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "interest_rate_clear_button", interest_rate_clear_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (interest_rate_clear_button);
  gtk_box_pack_end (GTK_BOX (hbox55), interest_rate_clear_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, interest_rate_clear_button, _("Clear the entry"), NULL);

  interest_rate_calc_button = gtk_button_new_with_label (_("Calculate"));
  gtk_widget_ref (interest_rate_calc_button);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "interest_rate_calc_button", interest_rate_calc_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (interest_rate_calc_button);
  gtk_box_pack_end (GTK_BOX (hbox55), interest_rate_calc_button, FALSE, FALSE, 0);

  interest_rate_hbox = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (interest_rate_hbox);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "interest_rate_hbox", interest_rate_hbox,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (interest_rate_hbox);
  gtk_box_pack_start (GTK_BOX (vbox67), interest_rate_hbox, FALSE, FALSE, 0);

  vbox68 = gtk_vbox_new (FALSE, 2);
  gtk_widget_ref (vbox68);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "vbox68", vbox68,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox68);
  gtk_box_pack_start (GTK_BOX (vbox62), vbox68, TRUE, TRUE, 0);

  hbox56 = gtk_hbox_new (FALSE, 6);
  gtk_widget_ref (hbox56);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "hbox56", hbox56,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox56);
  gtk_box_pack_start (GTK_BOX (vbox68), hbox56, TRUE, TRUE, 0);

  label800 = gtk_label_new (_("Present Value"));
  gtk_widget_ref (label800);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "label800", label800,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label800);
  gtk_box_pack_start (GTK_BOX (hbox56), label800, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label800), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (label800), 0.5, 0.75);

  present_value_clear_button = gtk_button_new_with_label (_("Clear"));
  gtk_widget_ref (present_value_clear_button);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "present_value_clear_button", present_value_clear_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (present_value_clear_button);
  gtk_box_pack_end (GTK_BOX (hbox56), present_value_clear_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, present_value_clear_button, _("Clear the entry"), NULL);

  present_value_calc_button = gtk_button_new_with_label (_("Calculate"));
  gtk_widget_ref (present_value_calc_button);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "present_value_calc_button", present_value_calc_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (present_value_calc_button);
  gtk_box_pack_end (GTK_BOX (hbox56), present_value_calc_button, FALSE, FALSE, 0);

  present_value_hbox = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (present_value_hbox);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "present_value_hbox", present_value_hbox,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (present_value_hbox);
  gtk_box_pack_start (GTK_BOX (vbox68), present_value_hbox, FALSE, FALSE, 0);

  vbox69 = gtk_vbox_new (FALSE, 2);
  gtk_widget_ref (vbox69);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "vbox69", vbox69,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox69);
  gtk_box_pack_start (GTK_BOX (vbox62), vbox69, FALSE, FALSE, 0);

  hbox57 = gtk_hbox_new (FALSE, 6);
  gtk_widget_ref (hbox57);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "hbox57", hbox57,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox57);
  gtk_box_pack_start (GTK_BOX (vbox69), hbox57, TRUE, TRUE, 0);

  label801 = gtk_label_new (_("Periodic Payment"));
  gtk_widget_ref (label801);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "label801", label801,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label801);
  gtk_box_pack_start (GTK_BOX (hbox57), label801, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label801), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (label801), 0.5, 0.75);

  periodic_payment_clear_button = gtk_button_new_with_label (_("Clear"));
  gtk_widget_ref (periodic_payment_clear_button);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "periodic_payment_clear_button", periodic_payment_clear_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (periodic_payment_clear_button);
  gtk_box_pack_end (GTK_BOX (hbox57), periodic_payment_clear_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, periodic_payment_clear_button, _("Clear the entry"), NULL);

  periodic_payment_calc_button = gtk_button_new_with_label (_("Calculate"));
  gtk_widget_ref (periodic_payment_calc_button);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "periodic_payment_calc_button", periodic_payment_calc_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (periodic_payment_calc_button);
  gtk_box_pack_end (GTK_BOX (hbox57), periodic_payment_calc_button, FALSE, FALSE, 0);

  periodic_payment_hbox = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (periodic_payment_hbox);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "periodic_payment_hbox", periodic_payment_hbox,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (periodic_payment_hbox);
  gtk_box_pack_start (GTK_BOX (vbox69), periodic_payment_hbox, FALSE, FALSE, 0);

  vbox70 = gtk_vbox_new (FALSE, 2);
  gtk_widget_ref (vbox70);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "vbox70", vbox70,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox70);
  gtk_box_pack_start (GTK_BOX (vbox62), vbox70, TRUE, TRUE, 0);

  hbox58 = gtk_hbox_new (FALSE, 6);
  gtk_widget_ref (hbox58);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "hbox58", hbox58,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox58);
  gtk_box_pack_start (GTK_BOX (vbox70), hbox58, TRUE, TRUE, 0);

  label802 = gtk_label_new (_("Future Value"));
  gtk_widget_ref (label802);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "label802", label802,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label802);
  gtk_box_pack_start (GTK_BOX (hbox58), label802, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label802), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (label802), 0.5, 0.75);

  future_value_clear_button = gtk_button_new_with_label (_("Clear"));
  gtk_widget_ref (future_value_clear_button);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "future_value_clear_button", future_value_clear_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (future_value_clear_button);
  gtk_box_pack_end (GTK_BOX (hbox58), future_value_clear_button, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, future_value_clear_button, _("Clear the entry"), NULL);

  future_value_calc_button = gtk_button_new_with_label (_("Calculate"));
  gtk_widget_ref (future_value_calc_button);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "future_value_calc_button", future_value_calc_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (future_value_calc_button);
  gtk_box_pack_end (GTK_BOX (hbox58), future_value_calc_button, FALSE, FALSE, 0);

  future_value_hbox = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (future_value_hbox);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "future_value_hbox", future_value_hbox,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (future_value_hbox);
  gtk_box_pack_start (GTK_BOX (vbox70), future_value_hbox, FALSE, FALSE, 0);

  frame27 = gtk_frame_new (NULL);
  gtk_widget_ref (frame27);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "frame27", frame27,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame27);
  gtk_box_pack_start (GTK_BOX (hbox54), frame27, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame27), 3);

  vbox65 = gtk_vbox_new (FALSE, 10);
  gtk_widget_ref (vbox65);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "vbox65", vbox65,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox65);
  gtk_container_add (GTK_CONTAINER (frame27), vbox65);
  gtk_container_set_border_width (GTK_CONTAINER (vbox65), 5);

  hbox51 = gtk_hbox_new (FALSE, 3);
  gtk_widget_ref (hbox51);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "hbox51", hbox51,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox51);
  gtk_box_pack_start (GTK_BOX (vbox65), hbox51, FALSE, FALSE, 0);

  vbox63 = gtk_vbox_new (TRUE, 2);
  gtk_widget_ref (vbox63);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "vbox63", vbox63,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox63);
  gtk_box_pack_start (GTK_BOX (hbox51), vbox63, TRUE, TRUE, 0);

  label797 = gtk_label_new (_("Compounding:"));
  gtk_widget_ref (label797);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "label797", label797,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label797);
  gtk_box_pack_start (GTK_BOX (vbox63), label797, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label797), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label797), 1, 0.5);

  label798 = gtk_label_new (_("Payments:"));
  gtk_widget_ref (label798);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "label798", label798,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label798);
  gtk_box_pack_start (GTK_BOX (vbox63), label798, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label798), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label798), 1, 0.5);

  vbox64 = gtk_vbox_new (TRUE, 2);
  gtk_widget_ref (vbox64);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "vbox64", vbox64,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox64);
  gtk_box_pack_start (GTK_BOX (hbox51), vbox64, TRUE, TRUE, 0);

  compounding_menu = gtk_option_menu_new ();
  gtk_widget_ref (compounding_menu);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "compounding_menu", compounding_menu,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (compounding_menu);
  gtk_box_pack_start (GTK_BOX (vbox64), compounding_menu, FALSE, FALSE, 0);
  compounding_menu_menu = gtk_menu_new ();
  glade_menuitem = gtk_menu_item_new_with_label (_("Annual"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (compounding_menu_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Semi-annual"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (compounding_menu_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Tri-annual"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (compounding_menu_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Quarterly"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (compounding_menu_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Bi-monthly"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (compounding_menu_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Monthly"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (compounding_menu_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Semi-monthly"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (compounding_menu_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Bi-weekly"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (compounding_menu_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Weekly"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (compounding_menu_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Daily (360)"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (compounding_menu_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Daily (365)"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (compounding_menu_menu), glade_menuitem);
  gtk_option_menu_set_menu (GTK_OPTION_MENU (compounding_menu), compounding_menu_menu);

  payment_menu = gtk_option_menu_new ();
  gtk_widget_ref (payment_menu);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "payment_menu", payment_menu,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (payment_menu);
  gtk_box_pack_start (GTK_BOX (vbox64), payment_menu, FALSE, FALSE, 0);
  payment_menu_menu = gtk_menu_new ();
  glade_menuitem = gtk_menu_item_new_with_label (_("Annual"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (payment_menu_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Semi-annual"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (payment_menu_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Tri-annual"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (payment_menu_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Quarterly"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (payment_menu_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Bi-monthly"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (payment_menu_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Monthly"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (payment_menu_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Semi-monthly"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (payment_menu_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Bi-weekly"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (payment_menu_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Weekly"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (payment_menu_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Daily (360)"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (payment_menu_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Daily (365)"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (payment_menu_menu), glade_menuitem);
  gtk_option_menu_set_menu (GTK_OPTION_MENU (payment_menu), payment_menu_menu);

  vbox71 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox71);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "vbox71", vbox71,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox71);
  gtk_box_pack_start (GTK_BOX (vbox65), vbox71, FALSE, FALSE, 0);

  period_payment_radio = gtk_radio_button_new_with_label (period_group_group, _("End of Period Payments"));
  period_group_group = gtk_radio_button_group (GTK_RADIO_BUTTON (period_payment_radio));
  gtk_widget_ref (period_payment_radio);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "period_payment_radio", period_payment_radio,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (period_payment_radio);
  gtk_box_pack_start (GTK_BOX (vbox71), period_payment_radio, FALSE, FALSE, 0);
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (period_payment_radio), TRUE);

  radiobutton4 = gtk_radio_button_new_with_label (period_group_group, _("Beginning of Period Payments"));
  period_group_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton4));
  gtk_widget_ref (radiobutton4);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "radiobutton4", radiobutton4,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (radiobutton4);
  gtk_box_pack_start (GTK_BOX (vbox71), radiobutton4, FALSE, FALSE, 0);

  vbox72 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox72);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "vbox72", vbox72,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox72);
  gtk_box_pack_start (GTK_BOX (vbox65), vbox72, FALSE, FALSE, 0);

  discrete_compounding_radio = gtk_radio_button_new_with_label (compouding_group_group, _("Discrete Compounding"));
  compouding_group_group = gtk_radio_button_group (GTK_RADIO_BUTTON (discrete_compounding_radio));
  gtk_widget_ref (discrete_compounding_radio);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "discrete_compounding_radio", discrete_compounding_radio,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (discrete_compounding_radio);
  gtk_box_pack_start (GTK_BOX (vbox72), discrete_compounding_radio, FALSE, FALSE, 0);
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (discrete_compounding_radio), TRUE);

  radiobutton6 = gtk_radio_button_new_with_label (compouding_group_group, _("Continuous Compounding"));
  compouding_group_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton6));
  gtk_widget_ref (radiobutton6);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "radiobutton6", radiobutton6,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (radiobutton6);
  gtk_box_pack_start (GTK_BOX (vbox72), radiobutton6, FALSE, FALSE, 0);

  hbox76 = gtk_hbox_new (FALSE, 3);
  gtk_widget_ref (hbox76);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "hbox76", hbox76,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox76);
  gtk_box_pack_end (GTK_BOX (vbox65), hbox76, FALSE, FALSE, 0);

  some_label = gtk_label_new (_("Payment Total:"));
  gtk_widget_ref (some_label);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "some_label", some_label,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (some_label);
  gtk_box_pack_start (GTK_BOX (hbox76), some_label, FALSE, FALSE, 0);

  payment_total_label = gtk_label_new (_("total"));
  gtk_widget_ref (payment_total_label);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "payment_total_label", payment_total_label,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (payment_total_label);
  gtk_box_pack_start (GTK_BOX (hbox76), payment_total_label, FALSE, FALSE, 0);

  dialog_action_area10 = GNOME_DIALOG (Financial_Calculator_Dialog)->action_area;
  gtk_object_set_data (GTK_OBJECT (Financial_Calculator_Dialog), "dialog_action_area10", dialog_action_area10);
  gtk_widget_show (dialog_action_area10);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area10), GTK_BUTTONBOX_END);
  gtk_button_box_set_spacing (GTK_BUTTON_BOX (dialog_action_area10), 8);

  gnome_dialog_append_button (GNOME_DIALOG (Financial_Calculator_Dialog), _("Schedule"));
  schedule_button = g_list_last (GNOME_DIALOG (Financial_Calculator_Dialog)->buttons)->data;
  gtk_widget_ref (schedule_button);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "schedule_button", schedule_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (schedule_button);
  GTK_WIDGET_SET_FLAGS (schedule_button, GTK_CAN_DEFAULT);

  gnome_dialog_append_button (GNOME_DIALOG (Financial_Calculator_Dialog), GNOME_STOCK_BUTTON_CLOSE);
  close_button = g_list_last (GNOME_DIALOG (Financial_Calculator_Dialog)->buttons)->data;
  gtk_widget_ref (close_button);
  gtk_object_set_data_full (GTK_OBJECT (Financial_Calculator_Dialog), "close_button", close_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (close_button);
  GTK_WIDGET_SET_FLAGS (close_button, GTK_CAN_DEFAULT);

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

  return Financial_Calculator_Dialog;
}

GtkWidget*
create_Amortization_Schedule_Dialog (void)
{
  GtkWidget *Amortization_Schedule_Dialog;
  GtkWidget *dialog_vbox11;
  GtkWidget *hbox59;
  GtkWidget *vbox73;
  GtkWidget *label803;
  GtkWidget *label804;
  GtkWidget *label805;
  GtkWidget *label806;
  GtkWidget *vbox74;
  GtkWidget *hbox60;
  GtkWidget *hbox61;
  GtkWidget *optionmenu1;
  GtkWidget *optionmenu1_menu;
  GtkWidget *glade_menuitem;
  GtkWidget *optionmenu2;
  GtkWidget *optionmenu2_menu;
  GtkWidget *dialog_action_area11;
  GtkWidget *button60;
  GtkWidget *button61;
  GtkWidget *button62;

  Amortization_Schedule_Dialog = gnome_dialog_new (_("Account Information"), NULL);
  gtk_object_set_data (GTK_OBJECT (Amortization_Schedule_Dialog), "Amortization_Schedule_Dialog", Amortization_Schedule_Dialog);
  gtk_window_set_policy (GTK_WINDOW (Amortization_Schedule_Dialog), FALSE, FALSE, FALSE);

  dialog_vbox11 = GNOME_DIALOG (Amortization_Schedule_Dialog)->vbox;
  gtk_object_set_data (GTK_OBJECT (Amortization_Schedule_Dialog), "dialog_vbox11", dialog_vbox11);
  gtk_widget_show (dialog_vbox11);

  hbox59 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox59);
  gtk_object_set_data_full (GTK_OBJECT (Amortization_Schedule_Dialog), "hbox59", hbox59,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox59);
  gtk_box_pack_start (GTK_BOX (dialog_vbox11), hbox59, TRUE, TRUE, 0);

  vbox73 = gtk_vbox_new (TRUE, 2);
  gtk_widget_ref (vbox73);
  gtk_object_set_data_full (GTK_OBJECT (Amortization_Schedule_Dialog), "vbox73", vbox73,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox73);
  gtk_box_pack_start (GTK_BOX (hbox59), vbox73, TRUE, TRUE, 0);

  label803 = gtk_label_new (_("Effective Date:"));
  gtk_widget_ref (label803);
  gtk_object_set_data_full (GTK_OBJECT (Amortization_Schedule_Dialog), "label803", label803,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label803);
  gtk_box_pack_start (GTK_BOX (vbox73), label803, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label803), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label803), 0.5, 1);

  label804 = gtk_label_new (_("Initial Payment:"));
  gtk_widget_ref (label804);
  gtk_object_set_data_full (GTK_OBJECT (Amortization_Schedule_Dialog), "label804", label804,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label804);
  gtk_box_pack_start (GTK_BOX (vbox73), label804, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label804), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label804), 0.5, 1);

  label805 = gtk_label_new (_("Compounding:"));
  gtk_widget_ref (label805);
  gtk_object_set_data_full (GTK_OBJECT (Amortization_Schedule_Dialog), "label805", label805,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label805);
  gtk_box_pack_start (GTK_BOX (vbox73), label805, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label805), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label805), 0.5, 1);

  label806 = gtk_label_new (_("Payments:"));
  gtk_widget_ref (label806);
  gtk_object_set_data_full (GTK_OBJECT (Amortization_Schedule_Dialog), "label806", label806,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label806);
  gtk_box_pack_start (GTK_BOX (vbox73), label806, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label806), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label806), 0.5, 1);

  vbox74 = gtk_vbox_new (TRUE, 2);
  gtk_widget_ref (vbox74);
  gtk_object_set_data_full (GTK_OBJECT (Amortization_Schedule_Dialog), "vbox74", vbox74,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox74);
  gtk_box_pack_start (GTK_BOX (hbox59), vbox74, TRUE, TRUE, 0);

  hbox60 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox60);
  gtk_object_set_data_full (GTK_OBJECT (Amortization_Schedule_Dialog), "hbox60", hbox60,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox60);
  gtk_box_pack_start (GTK_BOX (vbox74), hbox60, TRUE, TRUE, 0);

  hbox61 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox61);
  gtk_object_set_data_full (GTK_OBJECT (Amortization_Schedule_Dialog), "hbox61", hbox61,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox61);
  gtk_box_pack_start (GTK_BOX (vbox74), hbox61, TRUE, TRUE, 0);

  optionmenu1 = gtk_option_menu_new ();
  gtk_widget_ref (optionmenu1);
  gtk_object_set_data_full (GTK_OBJECT (Amortization_Schedule_Dialog), "optionmenu1", optionmenu1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (optionmenu1);
  gtk_box_pack_start (GTK_BOX (vbox74), optionmenu1, FALSE, FALSE, 0);
  optionmenu1_menu = gtk_menu_new ();
  glade_menuitem = gtk_menu_item_new_with_label (_("Annual"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu1_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Semi-annual"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu1_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Tri-annual"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu1_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Quarterly"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu1_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Bi-monthly"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu1_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Monthly"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu1_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Semi-monthly"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu1_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Bi-weekly"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu1_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Weekly"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu1_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Daily (360)"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu1_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Daily (365)"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu1_menu), glade_menuitem);
  gtk_option_menu_set_menu (GTK_OPTION_MENU (optionmenu1), optionmenu1_menu);

  optionmenu2 = gtk_option_menu_new ();
  gtk_widget_ref (optionmenu2);
  gtk_object_set_data_full (GTK_OBJECT (Amortization_Schedule_Dialog), "optionmenu2", optionmenu2,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (optionmenu2);
  gtk_box_pack_start (GTK_BOX (vbox74), optionmenu2, FALSE, FALSE, 0);
  optionmenu2_menu = gtk_menu_new ();
  glade_menuitem = gtk_menu_item_new_with_label (_("Annual"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu2_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Semi-annual"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu2_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Tri-annual"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu2_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Quarterly"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu2_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Bi-monthly"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu2_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Monthly"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu2_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Semi-monthly"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu2_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Bi-weekly"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu2_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Weekly"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu2_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Daily (360)"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu2_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Daily (365)"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (optionmenu2_menu), glade_menuitem);
  gtk_option_menu_set_menu (GTK_OPTION_MENU (optionmenu2), optionmenu2_menu);

  dialog_action_area11 = GNOME_DIALOG (Amortization_Schedule_Dialog)->action_area;
  gtk_object_set_data (GTK_OBJECT (Amortization_Schedule_Dialog), "dialog_action_area11", dialog_action_area11);
  gtk_widget_show (dialog_action_area11);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area11), GTK_BUTTONBOX_END);
  gtk_button_box_set_spacing (GTK_BUTTON_BOX (dialog_action_area11), 8);

  gnome_dialog_append_button (GNOME_DIALOG (Amortization_Schedule_Dialog), GNOME_STOCK_BUTTON_OK);
  button60 = g_list_last (GNOME_DIALOG (Amortization_Schedule_Dialog)->buttons)->data;
  gtk_widget_ref (button60);
  gtk_object_set_data_full (GTK_OBJECT (Amortization_Schedule_Dialog), "button60", button60,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button60);
  GTK_WIDGET_SET_FLAGS (button60, GTK_CAN_DEFAULT);

  gnome_dialog_append_button (GNOME_DIALOG (Amortization_Schedule_Dialog), GNOME_STOCK_BUTTON_APPLY);
  button61 = g_list_last (GNOME_DIALOG (Amortization_Schedule_Dialog)->buttons)->data;
  gtk_widget_ref (button61);
  gtk_object_set_data_full (GTK_OBJECT (Amortization_Schedule_Dialog), "button61", button61,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button61);
  GTK_WIDGET_SET_FLAGS (button61, GTK_CAN_DEFAULT);

  gnome_dialog_append_button (GNOME_DIALOG (Amortization_Schedule_Dialog), GNOME_STOCK_BUTTON_CANCEL);
  button62 = g_list_last (GNOME_DIALOG (Amortization_Schedule_Dialog)->buttons)->data;
  gtk_widget_ref (button62);
  gtk_object_set_data_full (GTK_OBJECT (Amortization_Schedule_Dialog), "button62", button62,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button62);
  GTK_WIDGET_SET_FLAGS (button62, GTK_CAN_DEFAULT);

  return Amortization_Schedule_Dialog;
}

GtkWidget*
create_Commodity_Selector_Dialog (void)
{
  GtkWidget *Commodity_Selector_Dialog;
  GtkWidget *dialog_vbox12;
  GtkWidget *hbox62;
  GtkWidget *vbox75;
  GtkWidget *label807;
  GtkWidget *label808;
  GtkWidget *vbox76;
  GtkWidget *namespace_combo;
  GtkWidget *namespace_entry;
  GtkWidget *commodity_combo;
  GtkWidget *commodity_entry;
  GtkWidget *dialog_action_area12;
  GtkWidget *button63;
  GtkWidget *button64;
  GtkWidget *button65;

  Commodity_Selector_Dialog = gnome_dialog_new (_("Select currency/security "), NULL);
  gtk_object_set_data (GTK_OBJECT (Commodity_Selector_Dialog), "Commodity_Selector_Dialog", Commodity_Selector_Dialog);
  gtk_window_set_policy (GTK_WINDOW (Commodity_Selector_Dialog), TRUE, TRUE, FALSE);

  dialog_vbox12 = GNOME_DIALOG (Commodity_Selector_Dialog)->vbox;
  gtk_object_set_data (GTK_OBJECT (Commodity_Selector_Dialog), "dialog_vbox12", dialog_vbox12);
  gtk_widget_show (dialog_vbox12);

  hbox62 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox62);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Selector_Dialog), "hbox62", hbox62,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox62);
  gtk_box_pack_start (GTK_BOX (dialog_vbox12), hbox62, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox62), 5);

  vbox75 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox75);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Selector_Dialog), "vbox75", vbox75,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox75);
  gtk_box_pack_start (GTK_BOX (hbox62), vbox75, TRUE, TRUE, 4);

  label807 = gtk_label_new (_("Type:"));
  gtk_widget_ref (label807);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Selector_Dialog), "label807", label807,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label807);
  gtk_box_pack_start (GTK_BOX (vbox75), label807, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label807), 1, 0.5);

  label808 = gtk_label_new (_("Currency/security:"));
  gtk_widget_ref (label808);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Selector_Dialog), "label808", label808,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label808);
  gtk_box_pack_start (GTK_BOX (vbox75), label808, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label808), 1, 0.5);

  vbox76 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox76);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Selector_Dialog), "vbox76", vbox76,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox76);
  gtk_box_pack_start (GTK_BOX (hbox62), vbox76, TRUE, TRUE, 0);

  namespace_combo = gtk_combo_new ();
  gtk_widget_ref (namespace_combo);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Selector_Dialog), "namespace_combo", namespace_combo,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (namespace_combo);
  gtk_box_pack_start (GTK_BOX (vbox76), namespace_combo, FALSE, FALSE, 0);
  gtk_combo_set_value_in_list (GTK_COMBO (namespace_combo), TRUE, FALSE);

  namespace_entry = GTK_COMBO (namespace_combo)->entry;
  gtk_widget_ref (namespace_entry);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Selector_Dialog), "namespace_entry", namespace_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (namespace_entry);
  gtk_entry_set_editable (GTK_ENTRY (namespace_entry), FALSE);

  commodity_combo = gtk_combo_new ();
  gtk_widget_ref (commodity_combo);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Selector_Dialog), "commodity_combo", commodity_combo,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (commodity_combo);
  gtk_box_pack_start (GTK_BOX (vbox76), commodity_combo, FALSE, FALSE, 0);
  gtk_combo_set_value_in_list (GTK_COMBO (commodity_combo), TRUE, FALSE);

  commodity_entry = GTK_COMBO (commodity_combo)->entry;
  gtk_widget_ref (commodity_entry);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Selector_Dialog), "commodity_entry", commodity_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (commodity_entry);
  gtk_entry_set_editable (GTK_ENTRY (commodity_entry), FALSE);

  dialog_action_area12 = GNOME_DIALOG (Commodity_Selector_Dialog)->action_area;
  gtk_object_set_data (GTK_OBJECT (Commodity_Selector_Dialog), "dialog_action_area12", dialog_action_area12);
  gtk_widget_show (dialog_action_area12);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area12), GTK_BUTTONBOX_SPREAD);
  gtk_button_box_set_spacing (GTK_BUTTON_BOX (dialog_action_area12), 8);

  gnome_dialog_append_button (GNOME_DIALOG (Commodity_Selector_Dialog), GNOME_STOCK_BUTTON_OK);
  button63 = g_list_last (GNOME_DIALOG (Commodity_Selector_Dialog)->buttons)->data;
  gtk_widget_ref (button63);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Selector_Dialog), "button63", button63,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button63);
  GTK_WIDGET_SET_FLAGS (button63, GTK_CAN_DEFAULT);

  gnome_dialog_append_button (GNOME_DIALOG (Commodity_Selector_Dialog), _("New..."));
  button64 = g_list_last (GNOME_DIALOG (Commodity_Selector_Dialog)->buttons)->data;
  gtk_widget_ref (button64);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Selector_Dialog), "button64", button64,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button64);
  GTK_WIDGET_SET_FLAGS (button64, GTK_CAN_DEFAULT);

  gnome_dialog_append_button (GNOME_DIALOG (Commodity_Selector_Dialog), GNOME_STOCK_BUTTON_CANCEL);
  button65 = g_list_last (GNOME_DIALOG (Commodity_Selector_Dialog)->buttons)->data;
  gtk_widget_ref (button65);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Selector_Dialog), "button65", button65,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button65);
  GTK_WIDGET_SET_FLAGS (button65, GTK_CAN_DEFAULT);

  gtk_signal_connect (GTK_OBJECT (namespace_entry), "changed",
                      GTK_SIGNAL_FUNC (gnc_ui_select_commodity_namespace_changed_cb),
                      Commodity_Selector_Dialog);
  gtk_signal_connect (GTK_OBJECT (button63), "clicked",
                      GTK_SIGNAL_FUNC (gnc_ui_select_commodity_ok_cb),
                      Commodity_Selector_Dialog);
  gtk_signal_connect (GTK_OBJECT (button64), "clicked",
                      GTK_SIGNAL_FUNC (gnc_ui_select_commodity_new_cb),
                      Commodity_Selector_Dialog);
  gtk_signal_connect (GTK_OBJECT (button65), "clicked",
                      GTK_SIGNAL_FUNC (gnc_ui_select_commodity_cancel_cb),
                      Commodity_Selector_Dialog);

  return Commodity_Selector_Dialog;
}

GtkWidget*
create_Commodity_Dialog (void)
{
  GtkWidget *Commodity_Dialog;
  GtkWidget *dialog_vbox13;
  GtkWidget *hbox63;
  GtkWidget *vbox77;
  GtkWidget *label809;
  GtkWidget *label810;
  GtkWidget *label812;
  GtkWidget *label811;
  GtkWidget *label813;
  GtkWidget *vbox78;
  GtkWidget *fullname_entry;
  GtkWidget *mnemonic_entry;
  GtkWidget *namespace_combo;
  GtkWidget *namespace_entry;
  GtkWidget *code_entry;
  GtkWidget *hbox64;
  GtkWidget *label814;
  GtkObject *fraction_spinbutton_adj;
  GtkWidget *fraction_spinbutton;
  GtkWidget *dialog_action_area13;
  GtkWidget *button66;
  GtkWidget *button67;
  GtkWidget *button68;
  GtkTooltips *tooltips;

  tooltips = gtk_tooltips_new ();

  Commodity_Dialog = gnome_dialog_new (_("New Currency/Security"), NULL);
  gtk_object_set_data (GTK_OBJECT (Commodity_Dialog), "Commodity_Dialog", Commodity_Dialog);
  gtk_window_set_policy (GTK_WINDOW (Commodity_Dialog), TRUE, TRUE, FALSE);

  dialog_vbox13 = GNOME_DIALOG (Commodity_Dialog)->vbox;
  gtk_object_set_data (GTK_OBJECT (Commodity_Dialog), "dialog_vbox13", dialog_vbox13);
  gtk_widget_show (dialog_vbox13);

  hbox63 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox63);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Dialog), "hbox63", hbox63,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox63);
  gtk_box_pack_start (GTK_BOX (dialog_vbox13), hbox63, TRUE, TRUE, 0);

  vbox77 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox77);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Dialog), "vbox77", vbox77,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox77);
  gtk_box_pack_start (GTK_BOX (hbox63), vbox77, TRUE, TRUE, 2);

  label809 = gtk_label_new (_("Full name:"));
  gtk_widget_ref (label809);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Dialog), "label809", label809,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label809);
  gtk_box_pack_start (GTK_BOX (vbox77), label809, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label809), 1, 0.5);

  label810 = gtk_label_new (_("Symbol/abbreviation:"));
  gtk_widget_ref (label810);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Dialog), "label810", label810,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label810);
  gtk_box_pack_start (GTK_BOX (vbox77), label810, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label810), 1, 0.5);

  label812 = gtk_label_new (_("Type:"));
  gtk_widget_ref (label812);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Dialog), "label812", label812,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label812);
  gtk_box_pack_start (GTK_BOX (vbox77), label812, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label812), 1, 0.5);

  label811 = gtk_label_new (_("CUSIP or other code:"));
  gtk_widget_ref (label811);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Dialog), "label811", label811,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label811);
  gtk_box_pack_start (GTK_BOX (vbox77), label811, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label811), 1, 0.5);

  label813 = gtk_label_new (_("Fraction traded:"));
  gtk_widget_ref (label813);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Dialog), "label813", label813,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label813);
  gtk_box_pack_start (GTK_BOX (vbox77), label813, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label813), 1, 0.5);

  vbox78 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox78);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Dialog), "vbox78", vbox78,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox78);
  gtk_box_pack_start (GTK_BOX (hbox63), vbox78, TRUE, TRUE, 2);

  fullname_entry = gtk_entry_new ();
  gtk_widget_ref (fullname_entry);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Dialog), "fullname_entry", fullname_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (fullname_entry);
  gtk_box_pack_start (GTK_BOX (vbox78), fullname_entry, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, fullname_entry, _("Enter the full name of the commodity. Example: US Dollars"), NULL);

  mnemonic_entry = gtk_entry_new ();
  gtk_widget_ref (mnemonic_entry);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Dialog), "mnemonic_entry", mnemonic_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (mnemonic_entry);
  gtk_box_pack_start (GTK_BOX (vbox78), mnemonic_entry, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, mnemonic_entry, _("Enter the ticker symbol or currency code for the commodity. Example: USD"), NULL);

  namespace_combo = gtk_combo_new ();
  gtk_widget_ref (namespace_combo);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Dialog), "namespace_combo", namespace_combo,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (namespace_combo);
  gtk_box_pack_start (GTK_BOX (vbox78), namespace_combo, FALSE, FALSE, 0);

  namespace_entry = GTK_COMBO (namespace_combo)->entry;
  gtk_widget_ref (namespace_entry);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Dialog), "namespace_entry", namespace_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (namespace_entry);
  gtk_tooltips_set_tip (tooltips, namespace_entry, _("Enter the type of commodity. For stocks, this is often an exchange on which the stock is traded. You can choose an existing type from the list or enter a new type with the keyboard."), NULL);

  code_entry = gtk_entry_new ();
  gtk_widget_ref (code_entry);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Dialog), "code_entry", code_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (code_entry);
  gtk_box_pack_start (GTK_BOX (vbox78), code_entry, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, code_entry, _("Enter a unique code used to identify the commodity. Or, you may safely leave this field blank."), NULL);

  hbox64 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox64);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Dialog), "hbox64", hbox64,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox64);
  gtk_box_pack_start (GTK_BOX (vbox78), hbox64, FALSE, FALSE, 0);

  label814 = gtk_label_new (_("1 /"));
  gtk_widget_ref (label814);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Dialog), "label814", label814,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label814);
  gtk_box_pack_start (GTK_BOX (hbox64), label814, FALSE, FALSE, 4);

  fraction_spinbutton_adj = gtk_adjustment_new (10000, 1, 1e+08, 1, 100, 100);
  fraction_spinbutton = gtk_spin_button_new (GTK_ADJUSTMENT (fraction_spinbutton_adj), 1, 0);
  gtk_widget_ref (fraction_spinbutton);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Dialog), "fraction_spinbutton", fraction_spinbutton,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (fraction_spinbutton);
  gtk_box_pack_start (GTK_BOX (hbox64), fraction_spinbutton, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, fraction_spinbutton, _("Enter the smallest fraction of the commodity which can be traded. For stocks which can only be traded in whole numbers, enter 1."), NULL);

  dialog_action_area13 = GNOME_DIALOG (Commodity_Dialog)->action_area;
  gtk_object_set_data (GTK_OBJECT (Commodity_Dialog), "dialog_action_area13", dialog_action_area13);
  gtk_widget_show (dialog_action_area13);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area13), GTK_BUTTONBOX_SPREAD);
  gtk_button_box_set_spacing (GTK_BUTTON_BOX (dialog_action_area13), 8);

  gnome_dialog_append_button (GNOME_DIALOG (Commodity_Dialog), GNOME_STOCK_BUTTON_OK);
  button66 = g_list_last (GNOME_DIALOG (Commodity_Dialog)->buttons)->data;
  gtk_widget_ref (button66);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Dialog), "button66", button66,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button66);
  GTK_WIDGET_SET_FLAGS (button66, GTK_CAN_DEFAULT);

  gnome_dialog_append_button (GNOME_DIALOG (Commodity_Dialog), GNOME_STOCK_BUTTON_CANCEL);
  button67 = g_list_last (GNOME_DIALOG (Commodity_Dialog)->buttons)->data;
  gtk_widget_ref (button67);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Dialog), "button67", button67,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button67);
  GTK_WIDGET_SET_FLAGS (button67, GTK_CAN_DEFAULT);

  gnome_dialog_append_button (GNOME_DIALOG (Commodity_Dialog), GNOME_STOCK_BUTTON_HELP);
  button68 = g_list_last (GNOME_DIALOG (Commodity_Dialog)->buttons)->data;
  gtk_widget_ref (button68);
  gtk_object_set_data_full (GTK_OBJECT (Commodity_Dialog), "button68", button68,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button68);
  GTK_WIDGET_SET_FLAGS (button68, GTK_CAN_DEFAULT);

  gtk_signal_connect (GTK_OBJECT (button66), "clicked",
                      GTK_SIGNAL_FUNC (gnc_ui_commodity_ok_cb),
                      Commodity_Dialog);
  gtk_signal_connect (GTK_OBJECT (button67), "clicked",
                      GTK_SIGNAL_FUNC (gnc_ui_commodity_cancel_cb),
                      Commodity_Dialog);
  gtk_signal_connect (GTK_OBJECT (button68), "clicked",
                      GTK_SIGNAL_FUNC (gnc_ui_commodity_help_cb),
                      Commodity_Dialog);

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

  return Commodity_Dialog;
}

GtkWidget*
create_Account_Dialog (void)
{
  GtkWidget *Account_Dialog;
  GtkWidget *dialog_vbox12;
  GtkWidget *account_notebook;
  GtkWidget *vbox75;
  GtkWidget *frame28;
  GtkWidget *hbox62;
  GtkWidget *vbox76;
  GtkWidget *label807;
  GtkWidget *label808;
  GtkWidget *label809;
  GtkWidget *label810;
  GtkWidget *label811;
  GtkWidget *vbox77;
  GtkWidget *name_entry;
  GtkWidget *description_entry;
  GtkWidget *currency_hbox;
  GtkWidget *security_hbox;
  GtkWidget *code_entry;
  GtkWidget *hbox65;
  GtkWidget *frame29;
  GtkWidget *scrolledwindow7;
  GtkWidget *type_list;
  GtkWidget *label812;
  GtkWidget *frame30;
  GtkWidget *parent_scroll;
  GtkWidget *price_quote_frame;
  GtkWidget *vbox129;
  GtkWidget *get_quote_check;
  GtkWidget *hbox103;
  GtkWidget *vbox116;
  GtkWidget *label813;
  GtkWidget *label847713;
  GtkWidget *vbox117;
  GtkWidget *source_box;
  GtkWidget *quote_tz_box;
  GtkWidget *frame32;
  GtkWidget *scrolledwindow9;
  GtkWidget *notes_text;
  GtkWidget *tax_related_button;
  GtkWidget *label8477388;
  GtkWidget *vbox118;
  GtkWidget *opening_balance_frame;
  GtkWidget *hbox101;
  GtkWidget *vbox114;
  GtkWidget *label847737;
  GtkWidget *label847738;
  GtkWidget *vbox115;
  GtkWidget *opening_balance_box;
  GtkWidget *opening_balance_date_box;
  GtkWidget *frame49;
  GtkWidget *vbox120;
  GSList *vbox120_group = NULL;
  GtkWidget *opening_equity_radio;
  GtkWidget *radiobutton8;
  GtkWidget *transfer_account_frame;
  GtkWidget *transfer_account_scroll;
  GtkWidget *label847739;
  GtkWidget *dialog_action_area12;
  GtkWidget *button63;
  GtkWidget *cancel_button;
  GtkWidget *button72;
  GtkTooltips *tooltips;

  tooltips = gtk_tooltips_new ();

  Account_Dialog = gnome_dialog_new (_("New Account"), NULL);
  gtk_object_set_data (GTK_OBJECT (Account_Dialog), "Account_Dialog", Account_Dialog);
  gtk_window_set_policy (GTK_WINDOW (Account_Dialog), TRUE, TRUE, FALSE);

  dialog_vbox12 = GNOME_DIALOG (Account_Dialog)->vbox;
  gtk_object_set_data (GTK_OBJECT (Account_Dialog), "dialog_vbox12", dialog_vbox12);
  gtk_widget_show (dialog_vbox12);

  account_notebook = gtk_notebook_new ();
  gtk_widget_ref (account_notebook);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "account_notebook", account_notebook,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (account_notebook);
  gtk_box_pack_start (GTK_BOX (dialog_vbox12), account_notebook, TRUE, TRUE, 0);

  vbox75 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox75);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "vbox75", vbox75,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox75);
  gtk_container_add (GTK_CONTAINER (account_notebook), vbox75);

  frame28 = gtk_frame_new (_("Account Information"));
  gtk_widget_ref (frame28);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "frame28", frame28,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame28);
  gtk_box_pack_start (GTK_BOX (vbox75), frame28, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame28), 3);

  hbox62 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox62);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "hbox62", hbox62,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox62);
  gtk_container_add (GTK_CONTAINER (frame28), hbox62);

  vbox76 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox76);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "vbox76", vbox76,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox76);
  gtk_box_pack_start (GTK_BOX (hbox62), vbox76, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (vbox76), 3);

  label807 = gtk_label_new (_("Account Name:"));
  gtk_widget_ref (label807);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "label807", label807,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label807);
  gtk_box_pack_start (GTK_BOX (vbox76), label807, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label807), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label807), 1, 0.5);

  label808 = gtk_label_new (_("Description:"));
  gtk_widget_ref (label808);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "label808", label808,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label808);
  gtk_box_pack_start (GTK_BOX (vbox76), label808, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label808), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label808), 1, 0.5);

  label809 = gtk_label_new (_("Currency:"));
  gtk_widget_ref (label809);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "label809", label809,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label809);
  gtk_box_pack_start (GTK_BOX (vbox76), label809, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label809), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label809), 1, 0.5);

  label810 = gtk_label_new (_("Security:"));
  gtk_widget_ref (label810);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "label810", label810,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label810);
  gtk_box_pack_start (GTK_BOX (vbox76), label810, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label810), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label810), 1, 0.5);

  label811 = gtk_label_new (_("Account Code:"));
  gtk_widget_ref (label811);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "label811", label811,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label811);
  gtk_box_pack_start (GTK_BOX (vbox76), label811, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label811), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label811), 1, 0.5);

  vbox77 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox77);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "vbox77", vbox77,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox77);
  gtk_box_pack_start (GTK_BOX (hbox62), vbox77, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (vbox77), 3);

  name_entry = gtk_entry_new ();
  gtk_widget_ref (name_entry);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "name_entry", name_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (name_entry);
  gtk_box_pack_start (GTK_BOX (vbox77), name_entry, FALSE, FALSE, 0);

  description_entry = gtk_entry_new ();
  gtk_widget_ref (description_entry);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "description_entry", description_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (description_entry);
  gtk_box_pack_start (GTK_BOX (vbox77), description_entry, FALSE, FALSE, 0);

  currency_hbox = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (currency_hbox);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "currency_hbox", currency_hbox,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (currency_hbox);
  gtk_box_pack_start (GTK_BOX (vbox77), currency_hbox, TRUE, TRUE, 0);

  security_hbox = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (security_hbox);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "security_hbox", security_hbox,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (security_hbox);
  gtk_box_pack_start (GTK_BOX (vbox77), security_hbox, TRUE, TRUE, 0);

  code_entry = gtk_entry_new ();
  gtk_widget_ref (code_entry);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "code_entry", code_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (code_entry);
  gtk_box_pack_start (GTK_BOX (vbox77), code_entry, FALSE, FALSE, 0);

  hbox65 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox65);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "hbox65", hbox65,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox65);
  gtk_box_pack_start (GTK_BOX (vbox75), hbox65, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox65), 3);

  frame29 = gtk_frame_new (_("Account Type"));
  gtk_widget_ref (frame29);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "frame29", frame29,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame29);
  gtk_box_pack_start (GTK_BOX (hbox65), frame29, FALSE, FALSE, 0);

  scrolledwindow7 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (scrolledwindow7);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "scrolledwindow7", scrolledwindow7,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow7);
  gtk_container_add (GTK_CONTAINER (frame29), scrolledwindow7);
  gtk_container_set_border_width (GTK_CONTAINER (scrolledwindow7), 3);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow7), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);

  type_list = gtk_clist_new (1);
  gtk_widget_ref (type_list);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "type_list", type_list,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (type_list);
  gtk_container_add (GTK_CONTAINER (scrolledwindow7), type_list);
  gtk_clist_set_column_width (GTK_CLIST (type_list), 0, 80);
  gtk_clist_column_titles_hide (GTK_CLIST (type_list));

  label812 = gtk_label_new (_("label812"));
  gtk_widget_ref (label812);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "label812", label812,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label812);
  gtk_clist_set_column_widget (GTK_CLIST (type_list), 0, label812);

  frame30 = gtk_frame_new (_("Parent Account"));
  gtk_widget_ref (frame30);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "frame30", frame30,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame30);
  gtk_box_pack_start (GTK_BOX (hbox65), frame30, TRUE, TRUE, 0);

  parent_scroll = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (parent_scroll);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "parent_scroll", parent_scroll,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (parent_scroll);
  gtk_container_add (GTK_CONTAINER (frame30), parent_scroll);
  gtk_container_set_border_width (GTK_CONTAINER (parent_scroll), 3);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (parent_scroll), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);

  price_quote_frame = gtk_frame_new (_("Price Quote Source"));
  gtk_widget_ref (price_quote_frame);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "price_quote_frame", price_quote_frame,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (price_quote_frame);
  gtk_box_pack_start (GTK_BOX (vbox75), price_quote_frame, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (price_quote_frame), 3);

  vbox129 = gtk_vbox_new (FALSE, 3);
  gtk_widget_ref (vbox129);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "vbox129", vbox129,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox129);
  gtk_container_add (GTK_CONTAINER (price_quote_frame), vbox129);
  gtk_container_set_border_width (GTK_CONTAINER (vbox129), 3);

  get_quote_check = gtk_check_button_new_with_label (_("Get Online Quotes"));
  gtk_widget_ref (get_quote_check);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "get_quote_check", get_quote_check,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (get_quote_check);
  gtk_box_pack_start (GTK_BOX (vbox129), get_quote_check, FALSE, FALSE, 0);

  hbox103 = gtk_hbox_new (FALSE, 2);
  gtk_widget_ref (hbox103);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "hbox103", hbox103,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox103);
  gtk_box_pack_start (GTK_BOX (vbox129), hbox103, TRUE, TRUE, 0);

  vbox116 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox116);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "vbox116", vbox116,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox116);
  gtk_box_pack_start (GTK_BOX (hbox103), vbox116, FALSE, FALSE, 0);

  label813 = gtk_label_new (_("The source for price quotes:"));
  gtk_widget_ref (label813);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "label813", label813,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label813);
  gtk_box_pack_start (GTK_BOX (vbox116), label813, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label813), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label813), 1, 0.5);

  label847713 = gtk_label_new (_("Timezone for these quotes:"));
  gtk_widget_ref (label847713);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "label847713", label847713,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847713);
  gtk_box_pack_start (GTK_BOX (vbox116), label847713, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label847713), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label847713), 1, 0.5);

  vbox117 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox117);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "vbox117", vbox117,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox117);
  gtk_box_pack_start (GTK_BOX (hbox103), vbox117, TRUE, TRUE, 0);

  source_box = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (source_box);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "source_box", source_box,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (source_box);
  gtk_box_pack_start (GTK_BOX (vbox117), source_box, TRUE, TRUE, 0);

  quote_tz_box = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (quote_tz_box);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "quote_tz_box", quote_tz_box,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (quote_tz_box);
  gtk_box_pack_start (GTK_BOX (vbox117), quote_tz_box, TRUE, TRUE, 0);

  frame32 = gtk_frame_new (_("Notes"));
  gtk_widget_ref (frame32);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "frame32", frame32,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame32);
  gtk_box_pack_start (GTK_BOX (vbox75), frame32, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame32), 3);

  scrolledwindow9 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (scrolledwindow9);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "scrolledwindow9", scrolledwindow9,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow9);
  gtk_container_add (GTK_CONTAINER (frame32), scrolledwindow9);
  gtk_container_set_border_width (GTK_CONTAINER (scrolledwindow9), 3);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow9), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);

  notes_text = gtk_text_new (NULL, NULL);
  gtk_widget_ref (notes_text);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "notes_text", notes_text,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (notes_text);
  gtk_container_add (GTK_CONTAINER (scrolledwindow9), notes_text);
  gtk_text_set_editable (GTK_TEXT (notes_text), TRUE);

  tax_related_button = gtk_check_button_new_with_label (_("Tax Related"));
  gtk_widget_ref (tax_related_button);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "tax_related_button", tax_related_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (tax_related_button);
  gtk_box_pack_start (GTK_BOX (vbox75), tax_related_button, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (tax_related_button), 3);

  label8477388 = gtk_label_new (_("General Information"));
  gtk_widget_ref (label8477388);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "label8477388", label8477388,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label8477388);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (account_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (account_notebook), 0), label8477388);

  vbox118 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox118);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "vbox118", vbox118,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox118);
  gtk_container_add (GTK_CONTAINER (account_notebook), vbox118);

  opening_balance_frame = gtk_frame_new (_("Balance Information"));
  gtk_widget_ref (opening_balance_frame);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "opening_balance_frame", opening_balance_frame,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (opening_balance_frame);
  gtk_box_pack_start (GTK_BOX (vbox118), opening_balance_frame, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (opening_balance_frame), 3);

  hbox101 = gtk_hbox_new (FALSE, 2);
  gtk_widget_ref (hbox101);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "hbox101", hbox101,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox101);
  gtk_container_add (GTK_CONTAINER (opening_balance_frame), hbox101);
  gtk_container_set_border_width (GTK_CONTAINER (hbox101), 3);

  vbox114 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox114);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "vbox114", vbox114,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox114);
  gtk_box_pack_start (GTK_BOX (hbox101), vbox114, FALSE, FALSE, 0);

  label847737 = gtk_label_new (_("Balance:"));
  gtk_widget_ref (label847737);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "label847737", label847737,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847737);
  gtk_box_pack_start (GTK_BOX (vbox114), label847737, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label847737), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label847737), 1, 0.5);

  label847738 = gtk_label_new (_("Date:"));
  gtk_widget_ref (label847738);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "label847738", label847738,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847738);
  gtk_box_pack_start (GTK_BOX (vbox114), label847738, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label847738), GTK_JUSTIFY_RIGHT);
  gtk_misc_set_alignment (GTK_MISC (label847738), 1, 0.5);

  vbox115 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox115);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "vbox115", vbox115,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox115);
  gtk_box_pack_start (GTK_BOX (hbox101), vbox115, TRUE, TRUE, 0);

  opening_balance_box = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (opening_balance_box);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "opening_balance_box", opening_balance_box,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (opening_balance_box);
  gtk_box_pack_start (GTK_BOX (vbox115), opening_balance_box, TRUE, TRUE, 0);

  opening_balance_date_box = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (opening_balance_date_box);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "opening_balance_date_box", opening_balance_date_box,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (opening_balance_date_box);
  gtk_box_pack_start (GTK_BOX (vbox115), opening_balance_date_box, TRUE, TRUE, 0);

  frame49 = gtk_frame_new (_("Transfer Type"));
  gtk_widget_ref (frame49);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "frame49", frame49,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame49);
  gtk_box_pack_start (GTK_BOX (vbox118), frame49, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame49), 3);

  vbox120 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox120);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "vbox120", vbox120,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox120);
  gtk_container_add (GTK_CONTAINER (frame49), vbox120);
  gtk_container_set_border_width (GTK_CONTAINER (vbox120), 3);

  opening_equity_radio = gtk_radio_button_new_with_label (vbox120_group, _("Use Opening Balances Equity account"));
  vbox120_group = gtk_radio_button_group (GTK_RADIO_BUTTON (opening_equity_radio));
  gtk_widget_ref (opening_equity_radio);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "opening_equity_radio", opening_equity_radio,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (opening_equity_radio);
  gtk_box_pack_start (GTK_BOX (vbox120), opening_equity_radio, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, opening_equity_radio, _("Use an Equity account to transfer the opening balance. The Equity account will be created if it doesn't exist already."), NULL);

  radiobutton8 = gtk_radio_button_new_with_label (vbox120_group, _("Select Transfer Account"));
  vbox120_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton8));
  gtk_widget_ref (radiobutton8);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "radiobutton8", radiobutton8,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (radiobutton8);
  gtk_box_pack_start (GTK_BOX (vbox120), radiobutton8, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, radiobutton8, _("Use the account select below to transfer the opening balance."), NULL);

  transfer_account_frame = gtk_frame_new (_("Transfer Account"));
  gtk_widget_ref (transfer_account_frame);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "transfer_account_frame", transfer_account_frame,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (transfer_account_frame);
  gtk_box_pack_start (GTK_BOX (vbox118), transfer_account_frame, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (transfer_account_frame), 3);
  gtk_widget_set_sensitive (transfer_account_frame, FALSE);

  transfer_account_scroll = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (transfer_account_scroll);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "transfer_account_scroll", transfer_account_scroll,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (transfer_account_scroll);
  gtk_container_add (GTK_CONTAINER (transfer_account_frame), transfer_account_scroll);
  gtk_container_set_border_width (GTK_CONTAINER (transfer_account_scroll), 3);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (transfer_account_scroll), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);

  label847739 = gtk_label_new (_("Opening Balance"));
  gtk_widget_ref (label847739);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "label847739", label847739,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847739);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (account_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (account_notebook), 1), label847739);

  dialog_action_area12 = GNOME_DIALOG (Account_Dialog)->action_area;
  gtk_object_set_data (GTK_OBJECT (Account_Dialog), "dialog_action_area12", dialog_action_area12);
  gtk_widget_show (dialog_action_area12);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area12), GTK_BUTTONBOX_END);
  gtk_button_box_set_spacing (GTK_BUTTON_BOX (dialog_action_area12), 8);

  gnome_dialog_append_button (GNOME_DIALOG (Account_Dialog), GNOME_STOCK_BUTTON_OK);
  button63 = g_list_last (GNOME_DIALOG (Account_Dialog)->buttons)->data;
  gtk_widget_ref (button63);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "button63", button63,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button63);
  GTK_WIDGET_SET_FLAGS (button63, GTK_CAN_DEFAULT);

  gnome_dialog_append_button (GNOME_DIALOG (Account_Dialog), GNOME_STOCK_BUTTON_CANCEL);
  cancel_button = g_list_last (GNOME_DIALOG (Account_Dialog)->buttons)->data;
  gtk_widget_ref (cancel_button);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "cancel_button", cancel_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (cancel_button);
  GTK_WIDGET_SET_FLAGS (cancel_button, GTK_CAN_DEFAULT);

  gnome_dialog_append_button (GNOME_DIALOG (Account_Dialog), GNOME_STOCK_BUTTON_HELP);
  button72 = g_list_last (GNOME_DIALOG (Account_Dialog)->buttons)->data;
  gtk_widget_ref (button72);
  gtk_object_set_data_full (GTK_OBJECT (Account_Dialog), "button72", button72,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button72);
  GTK_WIDGET_SET_FLAGS (button72, GTK_CAN_DEFAULT);

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

  return Account_Dialog;
}

GtkWidget*
create_New_Commodity_Format_Druid (void)
{
  GtkWidget *New_Commodity_Format_Druid;
  GtkWidget *commodity_druid;
  GtkWidget *start_page;
  GdkColor start_page_bg_color = { 0, 39321, 49087, 39321 };
  GdkColor start_page_textbox_color = { 0, 65535, 65535, 65535 };
  GdkColor start_page_logo_bg_color = { 0, 65535, 65535, 65535 };
  GdkColor start_page_title_color = { 0, 65535, 65535, 65535 };
  GtkWidget *finish_page;
  GdkColor finish_page_bg_color = { 0, 39835, 49087, 40092 };
  GdkColor finish_page_textbox_color = { 0, 65535, 65535, 65535 };
  GdkColor finish_page_logo_bg_color = { 0, 65535, 65535, 65535 };
  GdkColor finish_page_title_color = { 0, 65535, 65535, 65535 };

  New_Commodity_Format_Druid = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_object_set_data (GTK_OBJECT (New_Commodity_Format_Druid), "New_Commodity_Format_Druid", New_Commodity_Format_Druid);
  gtk_window_set_title (GTK_WINDOW (New_Commodity_Format_Druid), _("Import currency and stock information"));
  gtk_window_set_policy (GTK_WINDOW (New_Commodity_Format_Druid), FALSE, TRUE, TRUE);

  commodity_druid = gnome_druid_new ();
  gtk_widget_ref (commodity_druid);
  gtk_object_set_data_full (GTK_OBJECT (New_Commodity_Format_Druid), "commodity_druid", commodity_druid,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (commodity_druid);
  gtk_container_add (GTK_CONTAINER (New_Commodity_Format_Druid), commodity_druid);

  start_page = gnome_druid_page_start_new ();
  gtk_widget_ref (start_page);
  gtk_object_set_data_full (GTK_OBJECT (New_Commodity_Format_Druid), "start_page", start_page,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (start_page);
  gnome_druid_append_page (GNOME_DRUID (commodity_druid), GNOME_DRUID_PAGE (start_page));
  gnome_druid_set_page (GNOME_DRUID (commodity_druid), GNOME_DRUID_PAGE (start_page));
  gnome_druid_page_start_set_bg_color (GNOME_DRUID_PAGE_START (start_page), &start_page_bg_color);
  gnome_druid_page_start_set_textbox_color (GNOME_DRUID_PAGE_START (start_page), &start_page_textbox_color);
  gnome_druid_page_start_set_logo_bg_color (GNOME_DRUID_PAGE_START (start_page), &start_page_logo_bg_color);
  gnome_druid_page_start_set_title_color (GNOME_DRUID_PAGE_START (start_page), &start_page_title_color);
  gnome_druid_page_start_set_title (GNOME_DRUID_PAGE_START (start_page), _("Import currency and stock information "));
  gnome_druid_page_start_set_text (GNOME_DRUID_PAGE_START (start_page), _("The file you are loading is from an older version of GnuCash. \nInformation about currencies, stocks, and mutual funds needs to\nbe updated for the new version. \n\nThis dialog will prompt you for some additional information about \neach currency, stock, and mutual fund that appear in your\naccounts.  After you have entered this information, you can\nupdate your accounts for the new version of GnuCash.\n\nHit \"Cancel\" now to stop loading the file. "));

  finish_page = gnome_druid_page_finish_new ();
  gtk_widget_ref (finish_page);
  gtk_object_set_data_full (GTK_OBJECT (New_Commodity_Format_Druid), "finish_page", finish_page,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (finish_page);
  gnome_druid_append_page (GNOME_DRUID (commodity_druid), GNOME_DRUID_PAGE (finish_page));
  gnome_druid_page_finish_set_bg_color (GNOME_DRUID_PAGE_FINISH (finish_page), &finish_page_bg_color);
  gnome_druid_page_finish_set_textbox_color (GNOME_DRUID_PAGE_FINISH (finish_page), &finish_page_textbox_color);
  gnome_druid_page_finish_set_logo_bg_color (GNOME_DRUID_PAGE_FINISH (finish_page), &finish_page_logo_bg_color);
  gnome_druid_page_finish_set_title_color (GNOME_DRUID_PAGE_FINISH (finish_page), &finish_page_title_color);
  gnome_druid_page_finish_set_title (GNOME_DRUID_PAGE_FINISH (finish_page), _("Update your accounts with the new information"));
  gnome_druid_page_finish_set_text (GNOME_DRUID_PAGE_FINISH (finish_page), _("Click \"Finish\" to update your accounts to use the new \ninformation you have entered.\n\nClick \"Cancel\" to cancel the file-loading process.  \n\nClick \"Back\" to review your currency selections."));

  gtk_signal_connect (GTK_OBJECT (start_page), "cancel",
                      GTK_SIGNAL_FUNC (gnc_ui_commodity_druid_cancel_cb),
                      New_Commodity_Format_Druid);
  gtk_signal_connect (GTK_OBJECT (finish_page), "finish",
                      GTK_SIGNAL_FUNC (gnc_ui_commodity_druid_finish_cb),
                      New_Commodity_Format_Druid);
  gtk_signal_connect (GTK_OBJECT (finish_page), "cancel",
                      GTK_SIGNAL_FUNC (gnc_ui_commodity_druid_cancel_cb),
                      New_Commodity_Format_Druid);

  return New_Commodity_Format_Druid;
}

GtkWidget*
create_QIF_Import_Druid (void)
{
  GtkWidget *QIF_Import_Druid;
  GtkWidget *qif_import_druid;
  GtkWidget *start_page;
  GdkColor start_page_bg_color = { 0, 39321, 49087, 39321 };
  GdkColor start_page_textbox_color = { 0, 65535, 65535, 65535 };
  GdkColor start_page_logo_bg_color = { 0, 65535, 65535, 65535 };
  GdkColor start_page_title_color = { 0, 65535, 65535, 65535 };
  GtkWidget *load_file_page;
  GdkColor load_file_page_bg_color = { 0, 39321, 49087, 39578 };
  GdkColor load_file_page_logo_bg_color = { 0, 65535, 65535, 65535 };
  GdkColor load_file_page_title_color = { 0, 65535, 65535, 65535 };
  GtkWidget *druid_vbox8;
  GtkWidget *label822;
  GtkWidget *hbox69;
  GtkWidget *label821;
  GtkWidget *qif_filename_entry;
  GtkWidget *button71;
  GtkWidget *date_format_page;
  GdkColor date_format_page_bg_color = { 0, 39321, 49087, 39578 };
  GdkColor date_format_page_logo_bg_color = { 0, 65535, 65535, 65535 };
  GdkColor date_format_page_title_color = { 0, 65535, 65535, 65535 };
  GtkWidget *druid_vbox22;
  GtkWidget *label841;
  GtkWidget *date_format_combo;
  GtkWidget *date_format_entry;
  GtkWidget *account_name_page;
  GdkColor account_name_page_bg_color = { 0, 39321, 49087, 39578 };
  GdkColor account_name_page_logo_bg_color = { 0, 65535, 65535, 65535 };
  GdkColor account_name_page_title_color = { 0, 65535, 65535, 65535 };
  GtkWidget *druid_vbox9;
  GtkWidget *label823;
  GtkWidget *hbox70;
  GtkWidget *label824;
  GtkWidget *qif_account_entry;
  GtkWidget *loaded_files_page;
  GdkColor loaded_files_page_bg_color = { 0, 39321, 49087, 39321 };
  GdkColor loaded_files_page_logo_bg_color = { 0, 65535, 65535, 65535 };
  GdkColor loaded_files_page_title_color = { 0, 65535, 65535, 65535 };
  GtkWidget *druid_vbox1;
  GtkWidget *frame33;
  GtkWidget *scrolledwindow10;
  GtkWidget *selected_file_list;
  GtkWidget *label827;
  GtkWidget *label816;
  GtkWidget *hbox68;
  GtkWidget *button69;
  GtkWidget *button70;
  GtkWidget *account_doc_page;
  GdkColor account_doc_page_bg_color = { 0, 39321, 49087, 39321 };
  GdkColor account_doc_page_logo_bg_color = { 0, 65535, 65535, 65535 };
  GdkColor account_doc_page_title_color = { 0, 65535, 65535, 65535 };
  GtkWidget *druid_vbox13;
  GtkWidget *label830;
  GtkWidget *account_match_page;
  GdkColor account_match_page_bg_color = { 0, 39321, 49087, 39321 };
  GdkColor account_match_page_logo_bg_color = { 0, 65535, 65535, 65535 };
  GdkColor account_match_page_title_color = { 0, 65535, 65535, 65535 };
  GtkWidget *druid_vbox3;
  GtkWidget *scrolledwindow11;
  GtkWidget *account_page_list;
  GtkWidget *label834;
  GtkWidget *label835;
  GtkWidget *label836;
  GtkWidget *label828;
  GtkWidget *category_doc_page;
  GdkColor category_doc_page_bg_color = { 0, 39321, 49087, 39578 };
  GdkColor category_doc_page_logo_bg_color = { 0, 65535, 65535, 65535 };
  GdkColor category_doc_page_title_color = { 0, 65535, 65535, 65535 };
  GtkWidget *druid_vbox18;
  GtkWidget *label840;
  GtkWidget *category_match_page;
  GdkColor category_match_page_bg_color = { 0, 39578, 49087, 39578 };
  GdkColor category_match_page_logo_bg_color = { 0, 65535, 65535, 65535 };
  GdkColor category_match_page_title_color = { 0, 65535, 65535, 65535 };
  GtkWidget *druid_vbox4;
  GtkWidget *scrolledwindow12;
  GtkWidget *category_page_list;
  GtkWidget *label837;
  GtkWidget *label838;
  GtkWidget *label839;
  GtkWidget *label829;
  GtkWidget *memo_doc_page;
  GdkColor memo_doc_page_bg_color = { 0, 39321, 49087, 39578 };
  GdkColor memo_doc_page_logo_bg_color = { 0, 65535, 65535, 65535 };
  GdkColor memo_doc_page_title_color = { 0, 65535, 65535, 65535 };
  GtkWidget *druid_vbox39;
  GtkWidget *label847707;
  GtkWidget *memo_match_page;
  GdkColor memo_match_page_bg_color = { 0, 39321, 49087, 39578 };
  GdkColor memo_match_page_logo_bg_color = { 0, 65535, 65535, 65535 };
  GdkColor memo_match_page_title_color = { 0, 65535, 65535, 65535 };
  GtkWidget *druid_vbox40;
  GtkWidget *scrolledwindow25;
  GtkWidget *memo_page_list;
  GtkWidget *label847708;
  GtkWidget *label847709;
  GtkWidget *label847710;
  GtkWidget *currency_page;
  GdkColor currency_page_bg_color = { 0, 39321, 49087, 39578 };
  GdkColor currency_page_logo_bg_color = { 0, 65535, 65535, 65535 };
  GdkColor currency_page_title_color = { 0, 65535, 65535, 65535 };
  GtkWidget *druid_vbox16;
  GtkWidget *label831;
  GtkWidget *currency_combo;
  GtkWidget *currency_entry;
  GtkWidget *label832;
  GtkWidget *commodity_doc_page;
  GdkColor commodity_doc_page_bg_color = { 0, 39321, 49087, 39578 };
  GdkColor commodity_doc_page_logo_bg_color = { 0, 65535, 65535, 65535 };
  GdkColor commodity_doc_page_title_color = { 0, 65535, 65535, 65535 };
  GtkWidget *druid_vbox17;
  GtkWidget *label833;
  GtkWidget *match_doc_page;
  GdkColor match_doc_page_bg_color = { 0, 39321, 49087, 39578 };
  GdkColor match_doc_page_logo_bg_color = { 0, 65535, 65535, 65535 };
  GdkColor match_doc_page_title_color = { 0, 65535, 65535, 65535 };
  GtkWidget *druid_vbox34;
  GtkWidget *label847694;
  GtkWidget *match_duplicates_page;
  GdkColor match_duplicates_page_bg_color = { 0, 39321, 49087, 39578 };
  GdkColor match_duplicates_page_logo_bg_color = { 0, 65535, 65535, 65535 };
  GdkColor match_duplicates_page_title_color = { 0, 65535, 65535, 65535 };
  GtkWidget *druid_vbox35;
  GtkWidget *hbox94;
  GtkWidget *frame45;
  GtkWidget *scrolledwindow22;
  GtkWidget *new_transaction_list;
  GtkWidget *label847700;
  GtkWidget *label847701;
  GtkWidget *label847702;
  GtkWidget *frame46;
  GtkWidget *scrolledwindow23;
  GtkWidget *old_transaction_list;
  GtkWidget *label847703;
  GtkWidget *label847704;
  GtkWidget *label847705;
  GtkWidget *label847706;
  GtkWidget *end_page;
  GdkColor end_page_bg_color = { 0, 39578, 49087, 39578 };
  GdkColor end_page_textbox_color = { 0, 65535, 65535, 65535 };
  GdkColor end_page_logo_bg_color = { 0, 65535, 65535, 65535 };
  GdkColor end_page_title_color = { 0, 65535, 65535, 65535 };
  GdkColor end_page_text_color = { 0, 257, 257, 257 };

  QIF_Import_Druid = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_object_set_data (GTK_OBJECT (QIF_Import_Druid), "QIF_Import_Druid", QIF_Import_Druid);
  gtk_window_set_title (GTK_WINDOW (QIF_Import_Druid), _("QIF Import"));
  gtk_window_set_policy (GTK_WINDOW (QIF_Import_Druid), FALSE, TRUE, TRUE);

  qif_import_druid = gnome_druid_new ();
  gtk_widget_ref (qif_import_druid);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "qif_import_druid", qif_import_druid,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (qif_import_druid);
  gtk_container_add (GTK_CONTAINER (QIF_Import_Druid), qif_import_druid);

  start_page = gnome_druid_page_start_new ();
  gtk_widget_ref (start_page);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "start_page", start_page,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (start_page);
  gnome_druid_append_page (GNOME_DRUID (qif_import_druid), GNOME_DRUID_PAGE (start_page));
  gnome_druid_set_page (GNOME_DRUID (qif_import_druid), GNOME_DRUID_PAGE (start_page));
  gnome_druid_page_start_set_bg_color (GNOME_DRUID_PAGE_START (start_page), &start_page_bg_color);
  gnome_druid_page_start_set_textbox_color (GNOME_DRUID_PAGE_START (start_page), &start_page_textbox_color);
  gnome_druid_page_start_set_logo_bg_color (GNOME_DRUID_PAGE_START (start_page), &start_page_logo_bg_color);
  gnome_druid_page_start_set_title_color (GNOME_DRUID_PAGE_START (start_page), &start_page_title_color);
  gnome_druid_page_start_set_title (GNOME_DRUID_PAGE_START (start_page), _("Import QIF files"));
  gnome_druid_page_start_set_text (GNOME_DRUID_PAGE_START (start_page), _("GnuCash can import financial data from QIF (Quicken \nInterchange Format) files written by Quicken/QuickBooks,\nMS Money, Moneydance, and many other programs. \n\nThe import process has several steps. Your GnuCash\naccounts will not be changed until you click \"Finish\"\nat the end of the process. \n\nClick \"Next\" to start loading your QIF data, or \"Cancel\"\nto abort the process. "));

  load_file_page = gnome_druid_page_standard_new_with_vals ("", NULL);
  gtk_widget_ref (load_file_page);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "load_file_page", load_file_page,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show_all (load_file_page);
  gnome_druid_append_page (GNOME_DRUID (qif_import_druid), GNOME_DRUID_PAGE (load_file_page));
  gnome_druid_page_standard_set_bg_color (GNOME_DRUID_PAGE_STANDARD (load_file_page), &load_file_page_bg_color);
  gnome_druid_page_standard_set_logo_bg_color (GNOME_DRUID_PAGE_STANDARD (load_file_page), &load_file_page_logo_bg_color);
  gnome_druid_page_standard_set_title_color (GNOME_DRUID_PAGE_STANDARD (load_file_page), &load_file_page_title_color);
  gnome_druid_page_standard_set_title (GNOME_DRUID_PAGE_STANDARD (load_file_page), _("Select a QIF file to load"));

  druid_vbox8 = GNOME_DRUID_PAGE_STANDARD (load_file_page)->vbox;
  gtk_widget_ref (druid_vbox8);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "druid_vbox8", druid_vbox8,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (druid_vbox8);
  gtk_container_set_border_width (GTK_CONTAINER (druid_vbox8), 25);

  label822 = gtk_label_new (_("Please select a file to load. When you click \"Next\", the file will be loaded\nand analyzed. You may need to answer some questions about the account(s)\nin the file.\n\nYou will have the opportunity to load as many files as you wish, so don't \nworry if your data is in multiple files. \n"));
  gtk_widget_ref (label822);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label822", label822,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label822);
  gtk_box_pack_start (GTK_BOX (druid_vbox8), label822, FALSE, FALSE, 5);
  gtk_label_set_justify (GTK_LABEL (label822), GTK_JUSTIFY_LEFT);

  hbox69 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox69);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "hbox69", hbox69,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox69);
  gtk_box_pack_start (GTK_BOX (druid_vbox8), hbox69, FALSE, FALSE, 0);

  label821 = gtk_label_new (_("QIF Filename:"));
  gtk_widget_ref (label821);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label821", label821,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label821);
  gtk_box_pack_start (GTK_BOX (hbox69), label821, FALSE, FALSE, 4);
  gtk_misc_set_alignment (GTK_MISC (label821), 1, 0.5);

  qif_filename_entry = gtk_entry_new ();
  gtk_widget_ref (qif_filename_entry);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "qif_filename_entry", qif_filename_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (qif_filename_entry);
  gtk_box_pack_start (GTK_BOX (hbox69), qif_filename_entry, TRUE, TRUE, 0);
  GTK_WIDGET_SET_FLAGS (qif_filename_entry, GTK_CAN_DEFAULT);

  button71 = gtk_button_new_with_label (_("Select..."));
  gtk_widget_ref (button71);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "button71", button71,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button71);
  gtk_box_pack_start (GTK_BOX (hbox69), button71, FALSE, FALSE, 3);

  date_format_page = gnome_druid_page_standard_new_with_vals ("", NULL);
  gtk_widget_ref (date_format_page);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "date_format_page", date_format_page,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show_all (date_format_page);
  gnome_druid_append_page (GNOME_DRUID (qif_import_druid), GNOME_DRUID_PAGE (date_format_page));
  gnome_druid_page_standard_set_bg_color (GNOME_DRUID_PAGE_STANDARD (date_format_page), &date_format_page_bg_color);
  gnome_druid_page_standard_set_logo_bg_color (GNOME_DRUID_PAGE_STANDARD (date_format_page), &date_format_page_logo_bg_color);
  gnome_druid_page_standard_set_title_color (GNOME_DRUID_PAGE_STANDARD (date_format_page), &date_format_page_title_color);
  gnome_druid_page_standard_set_title (GNOME_DRUID_PAGE_STANDARD (date_format_page), _("Set a date format for this QIF file"));

  druid_vbox22 = GNOME_DRUID_PAGE_STANDARD (date_format_page)->vbox;
  gtk_widget_ref (druid_vbox22);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "druid_vbox22", druid_vbox22,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (druid_vbox22);
  gtk_container_set_border_width (GTK_CONTAINER (druid_vbox22), 25);

  label841 = gtk_label_new (_("The QIF file format does not specify which order the day, month, and \nyear components of a date are printed.  In most cases, it is possible \nto automatically determine which format is in use in a particular file.\nHowever, in the file you have just imported there exist more than one\npossible format that fits the data.  \n\nPlease select a date format for the file.  QIF files created by European\nsoftware are likely  to be in \"d-m-y\" or day-month-year format, where\nUS QIF files are likely to be \"m-d-y\" or month-year-day.    \n"));
  gtk_widget_ref (label841);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label841", label841,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label841);
  gtk_box_pack_start (GTK_BOX (druid_vbox22), label841, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label841), GTK_JUSTIFY_LEFT);

  date_format_combo = gtk_combo_new ();
  gtk_widget_ref (date_format_combo);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "date_format_combo", date_format_combo,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (date_format_combo);
  gtk_box_pack_start (GTK_BOX (druid_vbox22), date_format_combo, FALSE, FALSE, 0);
  gtk_combo_set_value_in_list (GTK_COMBO (date_format_combo), TRUE, FALSE);

  date_format_entry = GTK_COMBO (date_format_combo)->entry;
  gtk_widget_ref (date_format_entry);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "date_format_entry", date_format_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (date_format_entry);
  gtk_entry_set_editable (GTK_ENTRY (date_format_entry), FALSE);

  account_name_page = gnome_druid_page_standard_new_with_vals ("", NULL);
  gtk_widget_ref (account_name_page);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "account_name_page", account_name_page,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show_all (account_name_page);
  gnome_druid_append_page (GNOME_DRUID (qif_import_druid), GNOME_DRUID_PAGE (account_name_page));
  gnome_druid_page_standard_set_bg_color (GNOME_DRUID_PAGE_STANDARD (account_name_page), &account_name_page_bg_color);
  gnome_druid_page_standard_set_logo_bg_color (GNOME_DRUID_PAGE_STANDARD (account_name_page), &account_name_page_logo_bg_color);
  gnome_druid_page_standard_set_title_color (GNOME_DRUID_PAGE_STANDARD (account_name_page), &account_name_page_title_color);
  gnome_druid_page_standard_set_title (GNOME_DRUID_PAGE_STANDARD (account_name_page), _("Set the default QIF account name"));

  druid_vbox9 = GNOME_DRUID_PAGE_STANDARD (account_name_page)->vbox;
  gtk_widget_ref (druid_vbox9);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "druid_vbox9", druid_vbox9,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (druid_vbox9);
  gtk_container_set_border_width (GTK_CONTAINER (druid_vbox9), 25);

  label823 = gtk_label_new (_("The QIF file that you just loaded appears to contain transactions for just \none account, but the file does not specify a name for that account.  \n\nPlease enter a name for the account. If the file was exported from another\naccounting program, you should use the same account name that was used \nin that program.\n"));
  gtk_widget_ref (label823);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label823", label823,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label823);
  gtk_box_pack_start (GTK_BOX (druid_vbox9), label823, FALSE, FALSE, 4);
  gtk_label_set_justify (GTK_LABEL (label823), GTK_JUSTIFY_LEFT);

  hbox70 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox70);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "hbox70", hbox70,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox70);
  gtk_box_pack_start (GTK_BOX (druid_vbox9), hbox70, FALSE, FALSE, 0);

  label824 = gtk_label_new (_("Account name:"));
  gtk_widget_ref (label824);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label824", label824,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label824);
  gtk_box_pack_start (GTK_BOX (hbox70), label824, FALSE, FALSE, 4);
  gtk_misc_set_alignment (GTK_MISC (label824), 1, 0.5);

  qif_account_entry = gtk_entry_new ();
  gtk_widget_ref (qif_account_entry);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "qif_account_entry", qif_account_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (qif_account_entry);
  gtk_box_pack_start (GTK_BOX (hbox70), qif_account_entry, TRUE, TRUE, 0);

  loaded_files_page = gnome_druid_page_standard_new_with_vals ("", NULL);
  gtk_widget_ref (loaded_files_page);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "loaded_files_page", loaded_files_page,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show_all (loaded_files_page);
  gnome_druid_append_page (GNOME_DRUID (qif_import_druid), GNOME_DRUID_PAGE (loaded_files_page));
  gnome_druid_page_standard_set_bg_color (GNOME_DRUID_PAGE_STANDARD (loaded_files_page), &loaded_files_page_bg_color);
  gnome_druid_page_standard_set_logo_bg_color (GNOME_DRUID_PAGE_STANDARD (loaded_files_page), &loaded_files_page_logo_bg_color);
  gnome_druid_page_standard_set_title_color (GNOME_DRUID_PAGE_STANDARD (loaded_files_page), &loaded_files_page_title_color);
  gnome_druid_page_standard_set_title (GNOME_DRUID_PAGE_STANDARD (loaded_files_page), _("QIF files you have loaded"));

  druid_vbox1 = GNOME_DRUID_PAGE_STANDARD (loaded_files_page)->vbox;
  gtk_widget_ref (druid_vbox1);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "druid_vbox1", druid_vbox1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (druid_vbox1);
  gtk_container_set_border_width (GTK_CONTAINER (druid_vbox1), 25);

  frame33 = gtk_frame_new (_("QIF Files"));
  gtk_widget_ref (frame33);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "frame33", frame33,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame33);
  gtk_box_pack_start (GTK_BOX (druid_vbox1), frame33, TRUE, TRUE, 0);

  scrolledwindow10 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (scrolledwindow10);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "scrolledwindow10", scrolledwindow10,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow10);
  gtk_container_add (GTK_CONTAINER (frame33), scrolledwindow10);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow10), GTK_POLICY_ALWAYS, GTK_POLICY_AUTOMATIC);

  selected_file_list = gtk_clist_new (1);
  gtk_widget_ref (selected_file_list);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "selected_file_list", selected_file_list,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (selected_file_list);
  gtk_container_add (GTK_CONTAINER (scrolledwindow10), selected_file_list);
  gtk_clist_set_column_width (GTK_CLIST (selected_file_list), 0, 80);
  gtk_clist_column_titles_hide (GTK_CLIST (selected_file_list));

  label827 = gtk_label_new (_("label827"));
  gtk_widget_ref (label827);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label827", label827,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label827);
  gtk_clist_set_column_widget (GTK_CLIST (selected_file_list), 0, label827);

  label816 = gtk_label_new (_("Click \"Load another file\" if you have more data to import at this time.\nDo this if you have saved your accounts to separate QIF files.\n\nClick \"Next\" to finish loading files and move to the next step \nof the QIF import process. "));
  gtk_widget_ref (label816);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label816", label816,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label816);
  gtk_box_pack_start (GTK_BOX (druid_vbox1), label816, FALSE, FALSE, 3);
  gtk_label_set_justify (GTK_LABEL (label816), GTK_JUSTIFY_LEFT);

  hbox68 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox68);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "hbox68", hbox68,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox68);
  gtk_box_pack_start (GTK_BOX (druid_vbox1), hbox68, FALSE, FALSE, 0);

  button69 = gtk_button_new_with_label (_("Load another file"));
  gtk_widget_ref (button69);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "button69", button69,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button69);
  gtk_box_pack_start (GTK_BOX (hbox68), button69, TRUE, TRUE, 0);

  button70 = gtk_button_new_with_label (_("Unload selected file"));
  gtk_widget_ref (button70);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "button70", button70,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button70);
  gtk_box_pack_start (GTK_BOX (hbox68), button70, TRUE, TRUE, 0);

  account_doc_page = gnome_druid_page_standard_new_with_vals ("", NULL);
  gtk_widget_ref (account_doc_page);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "account_doc_page", account_doc_page,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show_all (account_doc_page);
  gnome_druid_append_page (GNOME_DRUID (qif_import_druid), GNOME_DRUID_PAGE (account_doc_page));
  gnome_druid_page_standard_set_bg_color (GNOME_DRUID_PAGE_STANDARD (account_doc_page), &account_doc_page_bg_color);
  gnome_druid_page_standard_set_logo_bg_color (GNOME_DRUID_PAGE_STANDARD (account_doc_page), &account_doc_page_logo_bg_color);
  gnome_druid_page_standard_set_title_color (GNOME_DRUID_PAGE_STANDARD (account_doc_page), &account_doc_page_title_color);
  gnome_druid_page_standard_set_title (GNOME_DRUID_PAGE_STANDARD (account_doc_page), _("Accounts and stock holdings"));

  druid_vbox13 = GNOME_DRUID_PAGE_STANDARD (account_doc_page)->vbox;
  gtk_widget_ref (druid_vbox13);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "druid_vbox13", druid_vbox13,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (druid_vbox13);
  gtk_container_set_border_width (GTK_CONTAINER (druid_vbox13), 25);

  label830 = gtk_label_new (_("On the next page, the accounts in your QIF files and any stocks or mutual funds\nyou own will be matched with GnuCash accounts. If a GnuCash account already\nexists with the same name, or a similar name and compatible type, that account\nwill be used as a match; otherwise, GnuCash will create a new account with the\nsame name and type as the QIF account. If you do not like the suggested\nGnuCash account, click to change it.\n\nNote that GnuCash will be creating many accounts that did not exist on your\nother personal finance program, including a separate account for each stock\nyou own, separate accounts for the brokerage commissions, special \"Equity\"\naccounts (subaccounts of Retained Earnings, by default) which are the source\nof your opening balances, etc. All of these accounts will appear on the next \npage so you can change them if you want to, but it is safe to leave them alone.\n"));
  gtk_widget_ref (label830);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label830", label830,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label830);
  gtk_box_pack_start (GTK_BOX (druid_vbox13), label830, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label830), GTK_JUSTIFY_LEFT);

  account_match_page = gnome_druid_page_standard_new_with_vals ("", NULL);
  gtk_widget_ref (account_match_page);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "account_match_page", account_match_page,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show_all (account_match_page);
  gnome_druid_append_page (GNOME_DRUID (qif_import_druid), GNOME_DRUID_PAGE (account_match_page));
  gnome_druid_page_standard_set_bg_color (GNOME_DRUID_PAGE_STANDARD (account_match_page), &account_match_page_bg_color);
  gnome_druid_page_standard_set_logo_bg_color (GNOME_DRUID_PAGE_STANDARD (account_match_page), &account_match_page_logo_bg_color);
  gnome_druid_page_standard_set_title_color (GNOME_DRUID_PAGE_STANDARD (account_match_page), &account_match_page_title_color);
  gnome_druid_page_standard_set_title (GNOME_DRUID_PAGE_STANDARD (account_match_page), _("Match QIF accounts with GnuCash accounts"));

  druid_vbox3 = GNOME_DRUID_PAGE_STANDARD (account_match_page)->vbox;
  gtk_widget_ref (druid_vbox3);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "druid_vbox3", druid_vbox3,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (druid_vbox3);
  gtk_container_set_border_width (GTK_CONTAINER (druid_vbox3), 25);

  scrolledwindow11 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (scrolledwindow11);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "scrolledwindow11", scrolledwindow11,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow11);
  gtk_box_pack_start (GTK_BOX (druid_vbox3), scrolledwindow11, TRUE, TRUE, 0);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow11), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);

  account_page_list = gtk_clist_new (3);
  gtk_widget_ref (account_page_list);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "account_page_list", account_page_list,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (account_page_list);
  gtk_container_add (GTK_CONTAINER (scrolledwindow11), account_page_list);
  gtk_clist_set_column_width (GTK_CLIST (account_page_list), 0, 281);
  gtk_clist_set_column_width (GTK_CLIST (account_page_list), 1, 242);
  gtk_clist_set_column_width (GTK_CLIST (account_page_list), 2, 53);
  gtk_clist_column_titles_show (GTK_CLIST (account_page_list));

  label834 = gtk_label_new (_("QIF account name"));
  gtk_widget_ref (label834);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label834", label834,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label834);
  gtk_clist_set_column_widget (GTK_CLIST (account_page_list), 0, label834);

  label835 = gtk_label_new (_("GnuCash account name"));
  gtk_widget_ref (label835);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label835", label835,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label835);
  gtk_clist_set_column_widget (GTK_CLIST (account_page_list), 1, label835);

  label836 = gtk_label_new (_("New?"));
  gtk_widget_ref (label836);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label836", label836,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label836);
  gtk_clist_set_column_widget (GTK_CLIST (account_page_list), 2, label836);

  label828 = gtk_label_new (_("Click \"Next\" to check matchings for QIF categories. "));
  gtk_widget_ref (label828);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label828", label828,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label828);
  gtk_box_pack_start (GTK_BOX (druid_vbox3), label828, FALSE, FALSE, 3);

  category_doc_page = gnome_druid_page_standard_new_with_vals ("", NULL);
  gtk_widget_ref (category_doc_page);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "category_doc_page", category_doc_page,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show_all (category_doc_page);
  gnome_druid_append_page (GNOME_DRUID (qif_import_druid), GNOME_DRUID_PAGE (category_doc_page));
  gnome_druid_page_standard_set_bg_color (GNOME_DRUID_PAGE_STANDARD (category_doc_page), &category_doc_page_bg_color);
  gnome_druid_page_standard_set_logo_bg_color (GNOME_DRUID_PAGE_STANDARD (category_doc_page), &category_doc_page_logo_bg_color);
  gnome_druid_page_standard_set_title_color (GNOME_DRUID_PAGE_STANDARD (category_doc_page), &category_doc_page_title_color);
  gnome_druid_page_standard_set_title (GNOME_DRUID_PAGE_STANDARD (category_doc_page), _("Income and Expense categories"));

  druid_vbox18 = GNOME_DRUID_PAGE_STANDARD (category_doc_page)->vbox;
  gtk_widget_ref (druid_vbox18);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "druid_vbox18", druid_vbox18,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (druid_vbox18);
  gtk_container_set_border_width (GTK_CONTAINER (druid_vbox18), 25);

  label840 = gtk_label_new (_("GnuCash uses separate Income and Expense accounts rather than categories\nto classify your transactions. Each of the categories in your QIF file will be \nconverted to a GnuCash account. \n\nOn the next page, you will have an opportunity to look at the suggested matches\nbetween QIF categories and GnuCash accounts. You may change matches \nthat you do not like by clicking on the line containing the category name.\n\nIf you change your mind later, you can reorganize the account structure safely\nwithin GnuCash."));
  gtk_widget_ref (label840);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label840", label840,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label840);
  gtk_box_pack_start (GTK_BOX (druid_vbox18), label840, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label840), GTK_JUSTIFY_LEFT);

  category_match_page = gnome_druid_page_standard_new_with_vals ("", NULL);
  gtk_widget_ref (category_match_page);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "category_match_page", category_match_page,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show_all (category_match_page);
  gnome_druid_append_page (GNOME_DRUID (qif_import_druid), GNOME_DRUID_PAGE (category_match_page));
  gnome_druid_page_standard_set_bg_color (GNOME_DRUID_PAGE_STANDARD (category_match_page), &category_match_page_bg_color);
  gnome_druid_page_standard_set_logo_bg_color (GNOME_DRUID_PAGE_STANDARD (category_match_page), &category_match_page_logo_bg_color);
  gnome_druid_page_standard_set_title_color (GNOME_DRUID_PAGE_STANDARD (category_match_page), &category_match_page_title_color);
  gnome_druid_page_standard_set_title (GNOME_DRUID_PAGE_STANDARD (category_match_page), _("Match QIF categories with GnuCash accounts"));

  druid_vbox4 = GNOME_DRUID_PAGE_STANDARD (category_match_page)->vbox;
  gtk_widget_ref (druid_vbox4);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "druid_vbox4", druid_vbox4,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (druid_vbox4);
  gtk_container_set_border_width (GTK_CONTAINER (druid_vbox4), 25);

  scrolledwindow12 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (scrolledwindow12);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "scrolledwindow12", scrolledwindow12,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow12);
  gtk_box_pack_start (GTK_BOX (druid_vbox4), scrolledwindow12, TRUE, TRUE, 0);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow12), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  category_page_list = gtk_clist_new (3);
  gtk_widget_ref (category_page_list);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "category_page_list", category_page_list,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (category_page_list);
  gtk_container_add (GTK_CONTAINER (scrolledwindow12), category_page_list);
  gtk_clist_set_column_width (GTK_CLIST (category_page_list), 0, 243);
  gtk_clist_set_column_width (GTK_CLIST (category_page_list), 1, 250);
  gtk_clist_set_column_width (GTK_CLIST (category_page_list), 2, 72);
  gtk_clist_column_titles_show (GTK_CLIST (category_page_list));

  label837 = gtk_label_new (_("QIF category name"));
  gtk_widget_ref (label837);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label837", label837,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label837);
  gtk_clist_set_column_widget (GTK_CLIST (category_page_list), 0, label837);

  label838 = gtk_label_new (_("GnuCash account name"));
  gtk_widget_ref (label838);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label838", label838,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label838);
  gtk_clist_set_column_widget (GTK_CLIST (category_page_list), 1, label838);

  label839 = gtk_label_new (_("New?"));
  gtk_widget_ref (label839);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label839", label839,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label839);
  gtk_clist_set_column_widget (GTK_CLIST (category_page_list), 2, label839);

  label829 = gtk_label_new (_("Click \"Next\" to enter information about the currency used in your QIF files."));
  gtk_widget_ref (label829);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label829", label829,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label829);
  gtk_box_pack_start (GTK_BOX (druid_vbox4), label829, FALSE, FALSE, 3);

  memo_doc_page = gnome_druid_page_standard_new_with_vals ("", NULL);
  gtk_widget_ref (memo_doc_page);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "memo_doc_page", memo_doc_page,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show_all (memo_doc_page);
  gnome_druid_append_page (GNOME_DRUID (qif_import_druid), GNOME_DRUID_PAGE (memo_doc_page));
  gnome_druid_page_standard_set_bg_color (GNOME_DRUID_PAGE_STANDARD (memo_doc_page), &memo_doc_page_bg_color);
  gnome_druid_page_standard_set_logo_bg_color (GNOME_DRUID_PAGE_STANDARD (memo_doc_page), &memo_doc_page_logo_bg_color);
  gnome_druid_page_standard_set_title_color (GNOME_DRUID_PAGE_STANDARD (memo_doc_page), &memo_doc_page_title_color);
  gnome_druid_page_standard_set_title (GNOME_DRUID_PAGE_STANDARD (memo_doc_page), _("Payees and memos"));

  druid_vbox39 = GNOME_DRUID_PAGE_STANDARD (memo_doc_page)->vbox;
  gtk_widget_ref (druid_vbox39);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "druid_vbox39", druid_vbox39,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (druid_vbox39);
  gtk_container_set_border_width (GTK_CONTAINER (druid_vbox39), 25);

  label847707 = gtk_label_new (_("QIF files downloaded from banks and other financial institutions may not have\ninformation about Accounts and Categories which would allow them to be\ncorrectly assigned to GnuCash accounts.  \n\nIn the following page, you will see the text that appears in the Payee and \nMemo fields of transactions with no QIF Account or Category. By default\nthese transactions are assigned to the 'Unspecified' account in GnuCash.\nIf you select a different account, it will be remembered for future QIF \nfiles. "));
  gtk_widget_ref (label847707);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label847707", label847707,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847707);
  gtk_box_pack_start (GTK_BOX (druid_vbox39), label847707, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label847707), GTK_JUSTIFY_LEFT);

  memo_match_page = gnome_druid_page_standard_new_with_vals ("", NULL);
  gtk_widget_ref (memo_match_page);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "memo_match_page", memo_match_page,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show_all (memo_match_page);
  gnome_druid_append_page (GNOME_DRUID (qif_import_druid), GNOME_DRUID_PAGE (memo_match_page));
  gnome_druid_page_standard_set_bg_color (GNOME_DRUID_PAGE_STANDARD (memo_match_page), &memo_match_page_bg_color);
  gnome_druid_page_standard_set_logo_bg_color (GNOME_DRUID_PAGE_STANDARD (memo_match_page), &memo_match_page_logo_bg_color);
  gnome_druid_page_standard_set_title_color (GNOME_DRUID_PAGE_STANDARD (memo_match_page), &memo_match_page_title_color);
  gnome_druid_page_standard_set_title (GNOME_DRUID_PAGE_STANDARD (memo_match_page), _("Match payees/memos to GnuCash accounts"));

  druid_vbox40 = GNOME_DRUID_PAGE_STANDARD (memo_match_page)->vbox;
  gtk_widget_ref (druid_vbox40);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "druid_vbox40", druid_vbox40,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (druid_vbox40);
  gtk_container_set_border_width (GTK_CONTAINER (druid_vbox40), 25);

  scrolledwindow25 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (scrolledwindow25);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "scrolledwindow25", scrolledwindow25,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow25);
  gtk_box_pack_start (GTK_BOX (druid_vbox40), scrolledwindow25, TRUE, TRUE, 0);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow25), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  memo_page_list = gtk_clist_new (3);
  gtk_widget_ref (memo_page_list);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "memo_page_list", memo_page_list,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (memo_page_list);
  gtk_container_add (GTK_CONTAINER (scrolledwindow25), memo_page_list);
  gtk_clist_set_column_width (GTK_CLIST (memo_page_list), 0, 285);
  gtk_clist_set_column_width (GTK_CLIST (memo_page_list), 1, 228);
  gtk_clist_set_column_width (GTK_CLIST (memo_page_list), 2, 72);
  gtk_clist_column_titles_show (GTK_CLIST (memo_page_list));

  label847708 = gtk_label_new (_("QIF payee/memo"));
  gtk_widget_ref (label847708);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label847708", label847708,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847708);
  gtk_clist_set_column_widget (GTK_CLIST (memo_page_list), 0, label847708);

  label847709 = gtk_label_new (_("GnuCash account name"));
  gtk_widget_ref (label847709);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label847709", label847709,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847709);
  gtk_clist_set_column_widget (GTK_CLIST (memo_page_list), 1, label847709);

  label847710 = gtk_label_new (_("New?"));
  gtk_widget_ref (label847710);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label847710", label847710,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847710);
  gtk_clist_set_column_widget (GTK_CLIST (memo_page_list), 2, label847710);

  currency_page = gnome_druid_page_standard_new_with_vals ("", NULL);
  gtk_widget_ref (currency_page);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "currency_page", currency_page,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show_all (currency_page);
  gnome_druid_append_page (GNOME_DRUID (qif_import_druid), GNOME_DRUID_PAGE (currency_page));
  gnome_druid_page_standard_set_bg_color (GNOME_DRUID_PAGE_STANDARD (currency_page), &currency_page_bg_color);
  gnome_druid_page_standard_set_logo_bg_color (GNOME_DRUID_PAGE_STANDARD (currency_page), &currency_page_logo_bg_color);
  gnome_druid_page_standard_set_title_color (GNOME_DRUID_PAGE_STANDARD (currency_page), &currency_page_title_color);
  gnome_druid_page_standard_set_title (GNOME_DRUID_PAGE_STANDARD (currency_page), _("Enter the currency used for new accounts"));

  druid_vbox16 = GNOME_DRUID_PAGE_STANDARD (currency_page)->vbox;
  gtk_widget_ref (druid_vbox16);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "druid_vbox16", druid_vbox16,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (druid_vbox16);
  gtk_container_set_border_width (GTK_CONTAINER (druid_vbox16), 25);

  label831 = gtk_label_new (_("The QIF importer cannot currently handle multi-currency QIF files. All the \naccounts in the QIF file(s) you are importing must be denominated in the\nsame currency. This limitation should be removed soon.\n\nSelect the currency to use for transactions imported from your QIF files:\n"));
  gtk_widget_ref (label831);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label831", label831,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label831);
  gtk_box_pack_start (GTK_BOX (druid_vbox16), label831, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label831), GTK_JUSTIFY_LEFT);

  currency_combo = gtk_combo_new ();
  gtk_widget_ref (currency_combo);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "currency_combo", currency_combo,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (currency_combo);
  gtk_box_pack_start (GTK_BOX (druid_vbox16), currency_combo, FALSE, FALSE, 0);
  gtk_combo_set_value_in_list (GTK_COMBO (currency_combo), TRUE, FALSE);

  currency_entry = GTK_COMBO (currency_combo)->entry;
  gtk_widget_ref (currency_entry);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "currency_entry", currency_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (currency_entry);

  label832 = gtk_label_new (_("Click \"Next\" to enter information about stocks and\nmutual funds in the imported data."));
  gtk_widget_ref (label832);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label832", label832,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label832);
  gtk_box_pack_end (GTK_BOX (druid_vbox16), label832, FALSE, FALSE, 0);

  commodity_doc_page = gnome_druid_page_standard_new_with_vals ("", NULL);
  gtk_widget_ref (commodity_doc_page);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "commodity_doc_page", commodity_doc_page,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show_all (commodity_doc_page);
  gnome_druid_append_page (GNOME_DRUID (qif_import_druid), GNOME_DRUID_PAGE (commodity_doc_page));
  gnome_druid_page_standard_set_bg_color (GNOME_DRUID_PAGE_STANDARD (commodity_doc_page), &commodity_doc_page_bg_color);
  gnome_druid_page_standard_set_logo_bg_color (GNOME_DRUID_PAGE_STANDARD (commodity_doc_page), &commodity_doc_page_logo_bg_color);
  gnome_druid_page_standard_set_title_color (GNOME_DRUID_PAGE_STANDARD (commodity_doc_page), &commodity_doc_page_title_color);
  gnome_druid_page_standard_set_title (GNOME_DRUID_PAGE_STANDARD (commodity_doc_page), _("Tradable commodities"));

  druid_vbox17 = GNOME_DRUID_PAGE_STANDARD (commodity_doc_page)->vbox;
  gtk_widget_ref (druid_vbox17);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "druid_vbox17", druid_vbox17,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (druid_vbox17);
  gtk_container_set_border_width (GTK_CONTAINER (druid_vbox17), 25);

  label833 = gtk_label_new (_("In the next pages, you will be asked to provide information about stocks, \nmutual funds, and other tradable commodities that appear in the QIF file(s)\nyou are importing. GnuCash requires more information about tradable \ncommodities than the QIF format can represent. \n\nEach stock, mutual fund, or other commodity must have a type, which is the \nexchange or listing that it is found on (NASDAQ, NYSE, US Mutual Funds, \netc), a full name, and an abbreviation.\n\nCheck to see if there is an existing Type that is appropriate; if not, you can\nenter a new Type name by hand in the box. Make sure that the abbreviation\nyou enter matches the ticker symbol used for the commodity on the exchange\nor listing for its type."));
  gtk_widget_ref (label833);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label833", label833,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label833);
  gtk_box_pack_start (GTK_BOX (druid_vbox17), label833, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label833), GTK_JUSTIFY_LEFT);

  match_doc_page = gnome_druid_page_standard_new_with_vals ("", NULL);
  gtk_widget_ref (match_doc_page);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "match_doc_page", match_doc_page,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show_all (match_doc_page);
  gnome_druid_append_page (GNOME_DRUID (qif_import_druid), GNOME_DRUID_PAGE (match_doc_page));
  gnome_druid_page_standard_set_bg_color (GNOME_DRUID_PAGE_STANDARD (match_doc_page), &match_doc_page_bg_color);
  gnome_druid_page_standard_set_logo_bg_color (GNOME_DRUID_PAGE_STANDARD (match_doc_page), &match_doc_page_logo_bg_color);
  gnome_druid_page_standard_set_title_color (GNOME_DRUID_PAGE_STANDARD (match_doc_page), &match_doc_page_title_color);
  gnome_druid_page_standard_set_title (GNOME_DRUID_PAGE_STANDARD (match_doc_page), _("Match duplicate transactions"));

  druid_vbox34 = GNOME_DRUID_PAGE_STANDARD (match_doc_page)->vbox;
  gtk_widget_ref (druid_vbox34);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "druid_vbox34", druid_vbox34,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (druid_vbox34);
  gtk_container_set_border_width (GTK_CONTAINER (druid_vbox34), 5);

  label847694 = gtk_label_new (_("If you are importing a QIF file downloaded from a bank or other financial\ninstitution, some of the information in the QIF file may duplicate information\nalready in your GnuCash accounts.  GnuCash will try to detect duplicates \nof existing transactions.  \n\nOn the next page, you will be asked to confirm that an existing transaction\nmatches an imported transaction.  Imported transactions are shown on the\nleft side of the page, and possible  matches for the selected left-hand\ntransaction are shown  to the right.  There may be several old transactions \nthat could match an imported transaction; you will be able to select the \ncorrect one by clicking in the \"Dup?\" column of the correct transaction.\n\nYou can control the rules used by GnuCash to find duplicate transactions \nin the \"QIF Import\" section of the GnuCash Preferences dialog.\n\nClick \"Next\" to find duplicate transactions. "));
  gtk_widget_ref (label847694);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label847694", label847694,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847694);
  gtk_box_pack_start (GTK_BOX (druid_vbox34), label847694, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label847694), GTK_JUSTIFY_LEFT);

  match_duplicates_page = gnome_druid_page_standard_new_with_vals ("", NULL);
  gtk_widget_ref (match_duplicates_page);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "match_duplicates_page", match_duplicates_page,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show_all (match_duplicates_page);
  gnome_druid_append_page (GNOME_DRUID (qif_import_druid), GNOME_DRUID_PAGE (match_duplicates_page));
  gnome_druid_page_standard_set_bg_color (GNOME_DRUID_PAGE_STANDARD (match_duplicates_page), &match_duplicates_page_bg_color);
  gnome_druid_page_standard_set_logo_bg_color (GNOME_DRUID_PAGE_STANDARD (match_duplicates_page), &match_duplicates_page_logo_bg_color);
  gnome_druid_page_standard_set_title_color (GNOME_DRUID_PAGE_STANDARD (match_duplicates_page), &match_duplicates_page_title_color);
  gnome_druid_page_standard_set_title (GNOME_DRUID_PAGE_STANDARD (match_duplicates_page), _("Select possible duplicates"));

  druid_vbox35 = GNOME_DRUID_PAGE_STANDARD (match_duplicates_page)->vbox;
  gtk_widget_ref (druid_vbox35);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "druid_vbox35", druid_vbox35,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (druid_vbox35);
  gtk_container_set_border_width (GTK_CONTAINER (druid_vbox35), 5);

  hbox94 = gtk_hbox_new (TRUE, 2);
  gtk_widget_ref (hbox94);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "hbox94", hbox94,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox94);
  gtk_box_pack_start (GTK_BOX (druid_vbox35), hbox94, TRUE, TRUE, 0);

  frame45 = gtk_frame_new (_("Imported transactions with duplicates"));
  gtk_widget_ref (frame45);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "frame45", frame45,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame45);
  gtk_box_pack_start (GTK_BOX (hbox94), frame45, TRUE, TRUE, 0);

  scrolledwindow22 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (scrolledwindow22);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "scrolledwindow22", scrolledwindow22,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow22);
  gtk_container_add (GTK_CONTAINER (frame45), scrolledwindow22);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow22), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  new_transaction_list = gtk_clist_new (3);
  gtk_widget_ref (new_transaction_list);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "new_transaction_list", new_transaction_list,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (new_transaction_list);
  gtk_container_add (GTK_CONTAINER (scrolledwindow22), new_transaction_list);
  gtk_clist_set_column_width (GTK_CLIST (new_transaction_list), 0, 53);
  gtk_clist_set_column_width (GTK_CLIST (new_transaction_list), 1, 172);
  gtk_clist_set_column_width (GTK_CLIST (new_transaction_list), 2, 56);
  gtk_clist_column_titles_show (GTK_CLIST (new_transaction_list));

  label847700 = gtk_label_new (_("Date"));
  gtk_widget_ref (label847700);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label847700", label847700,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847700);
  gtk_clist_set_column_widget (GTK_CLIST (new_transaction_list), 0, label847700);

  label847701 = gtk_label_new (_("Description"));
  gtk_widget_ref (label847701);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label847701", label847701,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847701);
  gtk_clist_set_column_widget (GTK_CLIST (new_transaction_list), 1, label847701);

  label847702 = gtk_label_new (_("Amount"));
  gtk_widget_ref (label847702);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label847702", label847702,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847702);
  gtk_clist_set_column_widget (GTK_CLIST (new_transaction_list), 2, label847702);

  frame46 = gtk_frame_new (_("Possible duplicates for selected new transaction"));
  gtk_widget_ref (frame46);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "frame46", frame46,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame46);
  gtk_box_pack_start (GTK_BOX (hbox94), frame46, TRUE, TRUE, 0);

  scrolledwindow23 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (scrolledwindow23);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "scrolledwindow23", scrolledwindow23,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow23);
  gtk_container_add (GTK_CONTAINER (frame46), scrolledwindow23);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow23), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  old_transaction_list = gtk_clist_new (4);
  gtk_widget_ref (old_transaction_list);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "old_transaction_list", old_transaction_list,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (old_transaction_list);
  gtk_container_add (GTK_CONTAINER (scrolledwindow23), old_transaction_list);
  gtk_clist_set_column_width (GTK_CLIST (old_transaction_list), 0, 50);
  gtk_clist_set_column_width (GTK_CLIST (old_transaction_list), 1, 133);
  gtk_clist_set_column_width (GTK_CLIST (old_transaction_list), 2, 55);
  gtk_clist_set_column_width (GTK_CLIST (old_transaction_list), 3, 32);
  gtk_clist_column_titles_show (GTK_CLIST (old_transaction_list));

  label847703 = gtk_label_new (_("Date"));
  gtk_widget_ref (label847703);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label847703", label847703,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847703);
  gtk_clist_set_column_widget (GTK_CLIST (old_transaction_list), 0, label847703);

  label847704 = gtk_label_new (_("Description"));
  gtk_widget_ref (label847704);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label847704", label847704,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847704);
  gtk_clist_set_column_widget (GTK_CLIST (old_transaction_list), 1, label847704);

  label847705 = gtk_label_new (_("Amount"));
  gtk_widget_ref (label847705);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label847705", label847705,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847705);
  gtk_clist_set_column_widget (GTK_CLIST (old_transaction_list), 2, label847705);

  label847706 = gtk_label_new (_("Dup?"));
  gtk_widget_ref (label847706);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "label847706", label847706,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847706);
  gtk_clist_set_column_widget (GTK_CLIST (old_transaction_list), 3, label847706);

  end_page = gnome_druid_page_finish_new ();
  gtk_widget_ref (end_page);
  gtk_object_set_data_full (GTK_OBJECT (QIF_Import_Druid), "end_page", end_page,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (end_page);
  gnome_druid_append_page (GNOME_DRUID (qif_import_druid), GNOME_DRUID_PAGE (end_page));
  gnome_druid_page_finish_set_bg_color (GNOME_DRUID_PAGE_FINISH (end_page), &end_page_bg_color);
  gnome_druid_page_finish_set_textbox_color (GNOME_DRUID_PAGE_FINISH (end_page), &end_page_textbox_color);
  gnome_druid_page_finish_set_logo_bg_color (GNOME_DRUID_PAGE_FINISH (end_page), &end_page_logo_bg_color);
  gnome_druid_page_finish_set_title_color (GNOME_DRUID_PAGE_FINISH (end_page), &end_page_title_color);
  gnome_druid_page_finish_set_text_color (GNOME_DRUID_PAGE_FINISH (end_page), &end_page_text_color);
  gnome_druid_page_finish_set_title (GNOME_DRUID_PAGE_FINISH (end_page), _("Update your GnuCash accounts"));
  gnome_druid_page_finish_set_text (GNOME_DRUID_PAGE_FINISH (end_page), _("Click \"Finish\" to import data from the staging area and update\nyour GnuCash accounts. The account and category matching\ninformation you have entered will be saved and used for\ndefaults the next time you use the QIF import  facility. \n\nClick \"Back\" to review your account and category matchings,\nto change currency and security settings for new accounts, \nor to add more files to the staging area.\n\nClick \"Cancel\" to abort the QIF import process."));

  gtk_signal_connect (GTK_OBJECT (qif_import_druid), "cancel",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_cancel_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (start_page), "next",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_generic_next_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (load_file_page), "next",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_load_file_next_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (load_file_page), "back",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_generic_back_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (button71), "clicked",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_select_file_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (date_format_page), "next",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_date_format_next_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (date_format_page), "back",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_generic_back_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (account_name_page), "next",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_default_acct_next_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (account_name_page), "back",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_default_acct_back_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (loaded_files_page), "prepare",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_loaded_files_prepare_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (loaded_files_page), "next",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_generic_next_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (loaded_files_page), "back",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_generic_back_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (selected_file_list), "select_row",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_select_loaded_file_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (button69), "clicked",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_load_another_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (button70), "clicked",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_unload_file_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (account_doc_page), "next",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_generic_next_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (account_doc_page), "back",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_generic_back_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (account_match_page), "prepare",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_accounts_prepare_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (account_match_page), "next",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_generic_next_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (account_match_page), "back",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_generic_back_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (account_page_list), "select_row",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_account_line_select_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (category_doc_page), "next",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_generic_next_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (category_doc_page), "back",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_generic_back_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (category_match_page), "prepare",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_categories_prepare_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (category_match_page), "next",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_generic_next_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (category_match_page), "back",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_generic_back_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (category_page_list), "select_row",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_category_line_select_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (memo_doc_page), "next",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_generic_next_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (memo_doc_page), "back",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_generic_back_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (memo_match_page), "next",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_memo_next_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (memo_match_page), "back",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_generic_back_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (memo_match_page), "prepare",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_memo_prepare_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (memo_page_list), "select_row",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_memo_line_select_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (currency_page), "next",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_currency_next_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (currency_page), "back",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_generic_back_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (commodity_doc_page), "prepare",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_commodity_prepare_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (commodity_doc_page), "next",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_generic_next_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (commodity_doc_page), "back",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_generic_back_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (match_doc_page), "next",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_generic_next_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (match_doc_page), "back",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_generic_back_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (match_duplicates_page), "next",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_generic_next_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (match_duplicates_page), "back",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_generic_back_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (new_transaction_list), "select_row",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_duplicate_new_select_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (old_transaction_list), "select_row",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_duplicate_old_select_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (end_page), "finish",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_finish_cb),
                      QIF_Import_Druid);
  gtk_signal_connect (GTK_OBJECT (end_page), "back",
                      GTK_SIGNAL_FUNC (gnc_ui_qif_import_generic_back_cb),
                      QIF_Import_Druid);

  gtk_widget_grab_default (qif_filename_entry);
  return QIF_Import_Druid;
}

GtkWidget*
create_Transfer_Dialog (void)
{
  GtkWidget *Transfer_Dialog;
  GtkWidget *dialog_vbox13;
  GtkWidget *vbox78;
  GtkWidget *frame33;
  GtkWidget *hbox70;
  GtkWidget *vbox80;
  GtkWidget *label814;
  GtkWidget *label816;
  GtkWidget *label817;
  GtkWidget *label818;
  GtkWidget *vbox81;
  GtkWidget *amount_big_hbox;
  GtkWidget *amount_hbox;
  GtkWidget *date_hbox;
  GtkWidget *label815;
  GtkWidget *num_entry;
  GtkWidget *description_entry;
  GtkWidget *memo_entry;
  GtkWidget *hbox66;
  GtkWidget *frame34;
  GtkWidget *vbox82;
  GtkWidget *from_window;
  GtkWidget *hbox77;
  GtkWidget *label820;
  GtkWidget *from_currency_label;
  GtkWidget *from_show_button;
  GtkWidget *frame35;
  GtkWidget *vbox83;
  GtkWidget *to_window;
  GtkWidget *hbox78;
  GtkWidget *label822;
  GtkWidget *to_currency_label;
  GtkWidget *to_show_button;
  GtkWidget *curr_transfer_frame;
  GtkWidget *hbox79;
  GtkWidget *vbox85;
  GtkWidget *curr_acct_label;
  GSList *price_amount_group_group = NULL;
  GtkWidget *price_radio;
  GtkWidget *amount_radio;
  GtkWidget *vbox86;
  GtkWidget *curr_acct_combo;
  GtkWidget *curr_acct_combo_entry;
  GtkWidget *price_hbox;
  GtkWidget *to_amount_hbox;
  GtkWidget *dialog_action_area13;
  GtkWidget *button66;
  GtkWidget *button68;

  Transfer_Dialog = gnome_dialog_new (_("Transfer Funds"), NULL);
  gtk_object_set_data (GTK_OBJECT (Transfer_Dialog), "Transfer_Dialog", Transfer_Dialog);
  gtk_window_set_policy (GTK_WINDOW (Transfer_Dialog), TRUE, TRUE, FALSE);

  dialog_vbox13 = GNOME_DIALOG (Transfer_Dialog)->vbox;
  gtk_object_set_data (GTK_OBJECT (Transfer_Dialog), "dialog_vbox13", dialog_vbox13);
  gtk_widget_show (dialog_vbox13);

  vbox78 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox78);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "vbox78", vbox78,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox78);
  gtk_box_pack_start (GTK_BOX (dialog_vbox13), vbox78, TRUE, TRUE, 0);

  frame33 = gtk_frame_new (_("Transfer Information"));
  gtk_widget_ref (frame33);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "frame33", frame33,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame33);
  gtk_box_pack_start (GTK_BOX (vbox78), frame33, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame33), 3);

  hbox70 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox70);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "hbox70", hbox70,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox70);
  gtk_container_add (GTK_CONTAINER (frame33), hbox70);

  vbox80 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox80);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "vbox80", vbox80,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox80);
  gtk_box_pack_start (GTK_BOX (hbox70), vbox80, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (vbox80), 3);

  label814 = gtk_label_new (_("Amount:"));
  gtk_widget_ref (label814);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "label814", label814,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label814);
  gtk_box_pack_start (GTK_BOX (vbox80), label814, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label814), 1, 0.5);

  label816 = gtk_label_new (_("Num:"));
  gtk_widget_ref (label816);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "label816", label816,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label816);
  gtk_box_pack_start (GTK_BOX (vbox80), label816, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label816), 1, 0.5);

  label817 = gtk_label_new (_("Description:"));
  gtk_widget_ref (label817);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "label817", label817,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label817);
  gtk_box_pack_start (GTK_BOX (vbox80), label817, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label817), 1, 0.5);

  label818 = gtk_label_new (_("Memo:"));
  gtk_widget_ref (label818);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "label818", label818,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label818);
  gtk_box_pack_start (GTK_BOX (vbox80), label818, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label818), 1, 0.5);

  vbox81 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox81);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "vbox81", vbox81,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox81);
  gtk_box_pack_start (GTK_BOX (hbox70), vbox81, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (vbox81), 3);

  amount_big_hbox = gtk_hbox_new (FALSE, 5);
  gtk_widget_ref (amount_big_hbox);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "amount_big_hbox", amount_big_hbox,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (amount_big_hbox);
  gtk_box_pack_start (GTK_BOX (vbox81), amount_big_hbox, TRUE, TRUE, 0);

  amount_hbox = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (amount_hbox);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "amount_hbox", amount_hbox,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (amount_hbox);
  gtk_box_pack_start (GTK_BOX (amount_big_hbox), amount_hbox, TRUE, TRUE, 0);

  date_hbox = gtk_hbox_new (FALSE, 3);
  gtk_widget_ref (date_hbox);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "date_hbox", date_hbox,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (date_hbox);
  gtk_box_pack_start (GTK_BOX (amount_big_hbox), date_hbox, FALSE, FALSE, 0);

  label815 = gtk_label_new (_("Date:"));
  gtk_widget_ref (label815);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "label815", label815,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label815);
  gtk_box_pack_start (GTK_BOX (date_hbox), label815, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label815), 1, 0.5);

  num_entry = gtk_entry_new ();
  gtk_widget_ref (num_entry);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "num_entry", num_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (num_entry);
  gtk_box_pack_start (GTK_BOX (vbox81), num_entry, FALSE, FALSE, 0);

  description_entry = gtk_entry_new ();
  gtk_widget_ref (description_entry);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "description_entry", description_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (description_entry);
  gtk_box_pack_start (GTK_BOX (vbox81), description_entry, FALSE, FALSE, 0);

  memo_entry = gtk_entry_new ();
  gtk_widget_ref (memo_entry);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "memo_entry", memo_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (memo_entry);
  gtk_box_pack_start (GTK_BOX (vbox81), memo_entry, FALSE, FALSE, 0);

  hbox66 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox66);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "hbox66", hbox66,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox66);
  gtk_box_pack_start (GTK_BOX (vbox78), hbox66, TRUE, TRUE, 0);

  frame34 = gtk_frame_new (_("Transfer From"));
  gtk_widget_ref (frame34);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "frame34", frame34,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame34);
  gtk_box_pack_start (GTK_BOX (hbox66), frame34, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame34), 3);

  vbox82 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox82);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "vbox82", vbox82,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox82);
  gtk_container_add (GTK_CONTAINER (frame34), vbox82);
  gtk_container_set_border_width (GTK_CONTAINER (vbox82), 3);

  from_window = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (from_window);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "from_window", from_window,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (from_window);
  gtk_box_pack_start (GTK_BOX (vbox82), from_window, TRUE, TRUE, 0);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (from_window), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  hbox77 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox77);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "hbox77", hbox77,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox77);
  gtk_box_pack_start (GTK_BOX (vbox82), hbox77, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox77), 3);

  label820 = gtk_label_new (_("Currency:"));
  gtk_widget_ref (label820);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "label820", label820,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label820);
  gtk_box_pack_start (GTK_BOX (hbox77), label820, TRUE, TRUE, 0);
  gtk_misc_set_alignment (GTK_MISC (label820), 0, 0.5);

  from_currency_label = gtk_label_new (_(" "));
  gtk_widget_ref (from_currency_label);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "from_currency_label", from_currency_label,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (from_currency_label);
  gtk_box_pack_start (GTK_BOX (hbox77), from_currency_label, TRUE, TRUE, 0);
  gtk_misc_set_alignment (GTK_MISC (from_currency_label), 1, 0.5);

  from_show_button = gtk_check_button_new_with_label (_("Show Income/Expense"));
  gtk_widget_ref (from_show_button);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "from_show_button", from_show_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (from_show_button);
  gtk_box_pack_start (GTK_BOX (vbox82), from_show_button, FALSE, FALSE, 0);

  frame35 = gtk_frame_new (_("Transfer To"));
  gtk_widget_ref (frame35);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "frame35", frame35,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame35);
  gtk_box_pack_start (GTK_BOX (hbox66), frame35, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame35), 3);

  vbox83 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox83);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "vbox83", vbox83,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox83);
  gtk_container_add (GTK_CONTAINER (frame35), vbox83);
  gtk_container_set_border_width (GTK_CONTAINER (vbox83), 3);

  to_window = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (to_window);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "to_window", to_window,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (to_window);
  gtk_box_pack_start (GTK_BOX (vbox83), to_window, TRUE, TRUE, 0);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (to_window), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  hbox78 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox78);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "hbox78", hbox78,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox78);
  gtk_box_pack_start (GTK_BOX (vbox83), hbox78, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox78), 3);

  label822 = gtk_label_new (_("Currency:"));
  gtk_widget_ref (label822);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "label822", label822,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label822);
  gtk_box_pack_start (GTK_BOX (hbox78), label822, TRUE, TRUE, 0);
  gtk_misc_set_alignment (GTK_MISC (label822), 0, 0.5);

  to_currency_label = gtk_label_new (_(" "));
  gtk_widget_ref (to_currency_label);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "to_currency_label", to_currency_label,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (to_currency_label);
  gtk_box_pack_start (GTK_BOX (hbox78), to_currency_label, TRUE, TRUE, 0);
  gtk_misc_set_alignment (GTK_MISC (to_currency_label), 1, 0.5);

  to_show_button = gtk_check_button_new_with_label (_("Show Income/Expense"));
  gtk_widget_ref (to_show_button);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "to_show_button", to_show_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (to_show_button);
  gtk_box_pack_start (GTK_BOX (vbox83), to_show_button, FALSE, FALSE, 0);

  curr_transfer_frame = gtk_frame_new (_("Currency Transfer"));
  gtk_widget_ref (curr_transfer_frame);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "curr_transfer_frame", curr_transfer_frame,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (curr_transfer_frame);
  gtk_box_pack_start (GTK_BOX (vbox78), curr_transfer_frame, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (curr_transfer_frame), 3);

  hbox79 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox79);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "hbox79", hbox79,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox79);
  gtk_container_add (GTK_CONTAINER (curr_transfer_frame), hbox79);

  vbox85 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox85);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "vbox85", vbox85,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox85);
  gtk_box_pack_start (GTK_BOX (hbox79), vbox85, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (vbox85), 3);

  curr_acct_label = gtk_label_new (_("Currency Account:"));
  gtk_widget_ref (curr_acct_label);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "curr_acct_label", curr_acct_label,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (curr_acct_label);
  gtk_box_pack_start (GTK_BOX (vbox85), curr_acct_label, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (curr_acct_label), 1, 0.5);

  price_radio = gtk_radio_button_new_with_label (price_amount_group_group, _("Exchange Rate:"));
  price_amount_group_group = gtk_radio_button_group (GTK_RADIO_BUTTON (price_radio));
  gtk_widget_ref (price_radio);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "price_radio", price_radio,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (price_radio);
  gtk_box_pack_start (GTK_BOX (vbox85), price_radio, FALSE, FALSE, 0);
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (price_radio), TRUE);

  amount_radio = gtk_radio_button_new_with_label (price_amount_group_group, _("To Amount:"));
  price_amount_group_group = gtk_radio_button_group (GTK_RADIO_BUTTON (amount_radio));
  gtk_widget_ref (amount_radio);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "amount_radio", amount_radio,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (amount_radio);
  gtk_box_pack_start (GTK_BOX (vbox85), amount_radio, FALSE, FALSE, 0);

  vbox86 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox86);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "vbox86", vbox86,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox86);
  gtk_box_pack_start (GTK_BOX (hbox79), vbox86, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (vbox86), 3);

  curr_acct_combo = gtk_combo_new ();
  gtk_widget_ref (curr_acct_combo);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "curr_acct_combo", curr_acct_combo,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (curr_acct_combo);
  gtk_box_pack_start (GTK_BOX (vbox86), curr_acct_combo, FALSE, FALSE, 0);

  curr_acct_combo_entry = GTK_COMBO (curr_acct_combo)->entry;
  gtk_widget_ref (curr_acct_combo_entry);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "curr_acct_combo_entry", curr_acct_combo_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (curr_acct_combo_entry);
  gtk_entry_set_editable (GTK_ENTRY (curr_acct_combo_entry), FALSE);

  price_hbox = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (price_hbox);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "price_hbox", price_hbox,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (price_hbox);
  gtk_box_pack_start (GTK_BOX (vbox86), price_hbox, TRUE, TRUE, 0);

  to_amount_hbox = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (to_amount_hbox);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "to_amount_hbox", to_amount_hbox,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (to_amount_hbox);
  gtk_box_pack_start (GTK_BOX (vbox86), to_amount_hbox, TRUE, TRUE, 0);

  dialog_action_area13 = GNOME_DIALOG (Transfer_Dialog)->action_area;
  gtk_object_set_data (GTK_OBJECT (Transfer_Dialog), "dialog_action_area13", dialog_action_area13);
  gtk_widget_show (dialog_action_area13);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area13), GTK_BUTTONBOX_END);
  gtk_button_box_set_spacing (GTK_BUTTON_BOX (dialog_action_area13), 8);

  gnome_dialog_append_button (GNOME_DIALOG (Transfer_Dialog), GNOME_STOCK_BUTTON_OK);
  button66 = g_list_last (GNOME_DIALOG (Transfer_Dialog)->buttons)->data;
  gtk_widget_ref (button66);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "button66", button66,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button66);
  GTK_WIDGET_SET_FLAGS (button66, GTK_CAN_DEFAULT);

  gnome_dialog_append_button (GNOME_DIALOG (Transfer_Dialog), GNOME_STOCK_BUTTON_CANCEL);
  button68 = g_list_last (GNOME_DIALOG (Transfer_Dialog)->buttons)->data;
  gtk_widget_ref (button68);
  gtk_object_set_data_full (GTK_OBJECT (Transfer_Dialog), "button68", button68,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button68);
  GTK_WIDGET_SET_FLAGS (button68, GTK_CAN_DEFAULT);

  return Transfer_Dialog;
}

GtkWidget*
create_Progress_Dialog (void)
{
  GtkWidget *Progress_Dialog;
  GtkWidget *vbox85;
  GtkWidget *heading_label;
  GtkWidget *progress_bar;
  GtkWidget *hbuttonbox3;
  GtkWidget *ok_button;
  GtkWidget *cancel_button;

  Progress_Dialog = gtk_window_new (GTK_WINDOW_DIALOG);
  gtk_object_set_data (GTK_OBJECT (Progress_Dialog), "Progress_Dialog", Progress_Dialog);
  gtk_window_set_title (GTK_WINDOW (Progress_Dialog), _("Working..."));
  gtk_window_set_modal (GTK_WINDOW (Progress_Dialog), TRUE);
  gtk_window_set_policy (GTK_WINDOW (Progress_Dialog), FALSE, FALSE, FALSE);

  vbox85 = gtk_vbox_new (FALSE, 5);
  gtk_widget_ref (vbox85);
  gtk_object_set_data_full (GTK_OBJECT (Progress_Dialog), "vbox85", vbox85,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox85);
  gtk_container_add (GTK_CONTAINER (Progress_Dialog), vbox85);
  gtk_container_set_border_width (GTK_CONTAINER (vbox85), 5);

  heading_label = gtk_label_new (_("Heading"));
  gtk_widget_ref (heading_label);
  gtk_object_set_data_full (GTK_OBJECT (Progress_Dialog), "heading_label", heading_label,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (heading_label);
  gtk_box_pack_start (GTK_BOX (vbox85), heading_label, FALSE, FALSE, 0);

  progress_bar = gtk_progress_bar_new ();
  gtk_widget_ref (progress_bar);
  gtk_object_set_data_full (GTK_OBJECT (Progress_Dialog), "progress_bar", progress_bar,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (progress_bar);
  gtk_box_pack_start (GTK_BOX (vbox85), progress_bar, FALSE, FALSE, 0);
  gtk_progress_set_show_text (GTK_PROGRESS (progress_bar), TRUE);

  hbuttonbox3 = gtk_hbutton_box_new ();
  gtk_widget_ref (hbuttonbox3);
  gtk_object_set_data_full (GTK_OBJECT (Progress_Dialog), "hbuttonbox3", hbuttonbox3,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbuttonbox3);
  gtk_box_pack_start (GTK_BOX (vbox85), hbuttonbox3, TRUE, TRUE, 0);

  ok_button = gnome_stock_button (GNOME_STOCK_BUTTON_OK);
  gtk_widget_ref (ok_button);
  gtk_object_set_data_full (GTK_OBJECT (Progress_Dialog), "ok_button", ok_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (ok_button);
  gtk_container_add (GTK_CONTAINER (hbuttonbox3), ok_button);
  gtk_widget_set_sensitive (ok_button, FALSE);
  GTK_WIDGET_SET_FLAGS (ok_button, GTK_CAN_DEFAULT);

  cancel_button = gnome_stock_button (GNOME_STOCK_BUTTON_CANCEL);
  gtk_widget_ref (cancel_button);
  gtk_object_set_data_full (GTK_OBJECT (Progress_Dialog), "cancel_button", cancel_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_container_add (GTK_CONTAINER (hbuttonbox3), cancel_button);
  GTK_WIDGET_SET_FLAGS (cancel_button, GTK_CAN_DEFAULT);

  return Progress_Dialog;
}

GtkWidget*
create_Help_Window (void)
{
  GtkWidget *Help_Window;
  GtkWidget *vbox90;
  GtkWidget *handlebox1;
  GtkWidget *help_toolbar;
  GtkWidget *help_paned;
  GtkWidget *notebook3;
  GtkWidget *scrolledwindow15;
  GtkWidget *viewport3;
  GtkWidget *help_topics_tree;
  GtkWidget *label847;
  GtkWidget *label847666;
  GtkWidget *frame37;
  GtkWidget *vbox91;
  GtkWidget *label849;
  GtkWidget *help_search_entry;
  GtkWidget *hbox80;
  GtkWidget *help_search_button;
  GtkWidget *help_search_help_button;
  GtkWidget *frame38;
  GtkWidget *scrolledwindow16;
  GtkWidget *viewport4;
  GtkWidget *search_results_list;
  GtkWidget *label848;
  GtkWidget *help_html_vbox;
  GtkWidget *statusbar_hbox;
  GtkWidget *help_statusbar;
  GtkTooltips *tooltips;

  tooltips = gtk_tooltips_new ();

  Help_Window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_object_set_data (GTK_OBJECT (Help_Window), "Help_Window", Help_Window);
  gtk_window_set_title (GTK_WINDOW (Help_Window), _("GnuCash Help"));

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

  handlebox1 = gtk_handle_box_new ();
  gtk_widget_ref (handlebox1);
  gtk_object_set_data_full (GTK_OBJECT (Help_Window), "handlebox1", handlebox1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (handlebox1);
  gtk_box_pack_start (GTK_BOX (vbox90), handlebox1, FALSE, FALSE, 0);

  help_toolbar = gtk_toolbar_new (GTK_ORIENTATION_HORIZONTAL, GTK_TOOLBAR_BOTH);
  gtk_widget_ref (help_toolbar);
  gtk_object_set_data_full (GTK_OBJECT (Help_Window), "help_toolbar", help_toolbar,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (help_toolbar);
  gtk_container_add (GTK_CONTAINER (handlebox1), help_toolbar);
  gtk_container_set_border_width (GTK_CONTAINER (help_toolbar), 2);
  gtk_toolbar_set_space_style (GTK_TOOLBAR (help_toolbar), GTK_TOOLBAR_SPACE_LINE);
  gtk_toolbar_set_button_relief (GTK_TOOLBAR (help_toolbar), GTK_RELIEF_NONE);

  help_paned = gtk_hpaned_new ();
  gtk_widget_ref (help_paned);
  gtk_object_set_data_full (GTK_OBJECT (Help_Window), "help_paned", help_paned,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (help_paned);
  gtk_box_pack_start (GTK_BOX (vbox90), help_paned, TRUE, TRUE, 0);
  gtk_paned_set_gutter_size (GTK_PANED (help_paned), 15);
  gtk_paned_set_position (GTK_PANED (help_paned), 200);

  notebook3 = gtk_notebook_new ();
  gtk_widget_ref (notebook3);
  gtk_object_set_data_full (GTK_OBJECT (Help_Window), "notebook3", notebook3,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (notebook3);
  gtk_paned_pack1 (GTK_PANED (help_paned), notebook3, FALSE, TRUE);
  gtk_notebook_set_tab_pos (GTK_NOTEBOOK (notebook3), GTK_POS_BOTTOM);

  scrolledwindow15 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (scrolledwindow15);
  gtk_object_set_data_full (GTK_OBJECT (Help_Window), "scrolledwindow15", scrolledwindow15,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow15);
  gtk_container_add (GTK_CONTAINER (notebook3), scrolledwindow15);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow15), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  viewport3 = gtk_viewport_new (NULL, NULL);
  gtk_widget_ref (viewport3);
  gtk_object_set_data_full (GTK_OBJECT (Help_Window), "viewport3", viewport3,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport3);
  gtk_container_add (GTK_CONTAINER (scrolledwindow15), viewport3);

  help_topics_tree = gtk_ctree_new (1, 0);
  gtk_widget_ref (help_topics_tree);
  gtk_object_set_data_full (GTK_OBJECT (Help_Window), "help_topics_tree", help_topics_tree,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (help_topics_tree);
  gtk_container_add (GTK_CONTAINER (viewport3), help_topics_tree);
  gtk_clist_set_column_width (GTK_CLIST (help_topics_tree), 0, 80);
  gtk_clist_column_titles_hide (GTK_CLIST (help_topics_tree));

  label847 = gtk_label_new (_("Help Topics"));
  gtk_widget_ref (label847);
  gtk_object_set_data_full (GTK_OBJECT (Help_Window), "label847", label847,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847);
  gtk_clist_set_column_widget (GTK_CLIST (help_topics_tree), 0, label847);

  label847666 = gtk_label_new (_("Topics"));
  gtk_widget_ref (label847666);
  gtk_object_set_data_full (GTK_OBJECT (Help_Window), "label847666", label847666,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847666);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook3), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook3), 0), label847666);

  frame37 = gtk_frame_new (_("Search GnuCash Help"));
  gtk_widget_ref (frame37);
  gtk_object_set_data_full (GTK_OBJECT (Help_Window), "frame37", frame37,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame37);
  gtk_container_add (GTK_CONTAINER (notebook3), frame37);

  vbox91 = gtk_vbox_new (FALSE, 5);
  gtk_widget_ref (vbox91);
  gtk_object_set_data_full (GTK_OBJECT (Help_Window), "vbox91", vbox91,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox91);
  gtk_container_add (GTK_CONTAINER (frame37), vbox91);
  gtk_container_set_border_width (GTK_CONTAINER (vbox91), 3);

  label849 = gtk_label_new (_("Search Term:"));
  gtk_widget_ref (label849);
  gtk_object_set_data_full (GTK_OBJECT (Help_Window), "label849", label849,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label849);
  gtk_box_pack_start (GTK_BOX (vbox91), label849, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label849), GTK_JUSTIFY_LEFT);
  gtk_misc_set_alignment (GTK_MISC (label849), 7.45058e-09, 0.5);

  help_search_entry = gtk_entry_new ();
  gtk_widget_ref (help_search_entry);
  gtk_object_set_data_full (GTK_OBJECT (Help_Window), "help_search_entry", help_search_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (help_search_entry);
  gtk_box_pack_start (GTK_BOX (vbox91), help_search_entry, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, help_search_entry, _("Type a single term into the box and hit 'search'. At the moment, this search engine does not support complex searches, just single words."), NULL);

  hbox80 = gtk_hbox_new (TRUE, 0);
  gtk_widget_ref (hbox80);
  gtk_object_set_data_full (GTK_OBJECT (Help_Window), "hbox80", hbox80,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox80);
  gtk_box_pack_start (GTK_BOX (vbox91), hbox80, FALSE, FALSE, 0);

  help_search_button = gtk_button_new_with_label (_("Search"));
  gtk_widget_ref (help_search_button);
  gtk_object_set_data_full (GTK_OBJECT (Help_Window), "help_search_button", help_search_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (help_search_button);
  gtk_box_pack_start (GTK_BOX (hbox80), help_search_button, TRUE, TRUE, 0);

  help_search_help_button = gtk_button_new_with_label (_("Help"));
  gtk_widget_ref (help_search_help_button);
  gtk_object_set_data_full (GTK_OBJECT (Help_Window), "help_search_help_button", help_search_help_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (help_search_help_button);
  gtk_box_pack_start (GTK_BOX (hbox80), help_search_help_button, TRUE, TRUE, 0);

  frame38 = gtk_frame_new (_("Search results"));
  gtk_widget_ref (frame38);
  gtk_object_set_data_full (GTK_OBJECT (Help_Window), "frame38", frame38,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame38);
  gtk_box_pack_start (GTK_BOX (vbox91), frame38, TRUE, TRUE, 0);

  scrolledwindow16 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (scrolledwindow16);
  gtk_object_set_data_full (GTK_OBJECT (Help_Window), "scrolledwindow16", scrolledwindow16,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow16);
  gtk_container_add (GTK_CONTAINER (frame38), scrolledwindow16);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow16), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  viewport4 = gtk_viewport_new (NULL, NULL);
  gtk_widget_ref (viewport4);
  gtk_object_set_data_full (GTK_OBJECT (Help_Window), "viewport4", viewport4,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (viewport4);
  gtk_container_add (GTK_CONTAINER (scrolledwindow16), viewport4);

  search_results_list = gtk_list_new ();
  gtk_widget_ref (search_results_list);
  gtk_object_set_data_full (GTK_OBJECT (Help_Window), "search_results_list", search_results_list,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (search_results_list);
  gtk_container_add (GTK_CONTAINER (viewport4), search_results_list);

  label848 = gtk_label_new (_("Search"));
  gtk_widget_ref (label848);
  gtk_object_set_data_full (GTK_OBJECT (Help_Window), "label848", label848,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label848);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook3), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook3), 1), label848);

  help_html_vbox = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (help_html_vbox);
  gtk_object_set_data_full (GTK_OBJECT (Help_Window), "help_html_vbox", help_html_vbox,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (help_html_vbox);
  gtk_paned_pack2 (GTK_PANED (help_paned), help_html_vbox, TRUE, FALSE);

  statusbar_hbox = gtk_hbox_new (FALSE, 5);
  gtk_widget_ref (statusbar_hbox);
  gtk_object_set_data_full (GTK_OBJECT (Help_Window), "statusbar_hbox", statusbar_hbox,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (statusbar_hbox);
  gtk_box_pack_end (GTK_BOX (help_html_vbox), statusbar_hbox, FALSE, FALSE, 0);

  help_statusbar = gtk_statusbar_new ();
  gtk_widget_ref (help_statusbar);
  gtk_object_set_data_full (GTK_OBJECT (Help_Window), "help_statusbar", help_statusbar,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (help_statusbar);
  gtk_box_pack_end (GTK_BOX (statusbar_hbox), help_statusbar, TRUE, TRUE, 0);

  gtk_signal_connect (GTK_OBJECT (help_search_button), "clicked",
                      GTK_SIGNAL_FUNC (gnc_help_window_search_button_cb),
                      Help_Window);
  gtk_signal_connect (GTK_OBJECT (help_search_help_button), "clicked",
                      GTK_SIGNAL_FUNC (gnc_help_window_search_help_button_cb),
                      Help_Window);

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

  return Help_Window;
}

GtkWidget*
create_Report_Window (void)
{
  GtkWidget *Report_Window;
  GtkWidget *report_vbox;
  GtkWidget *handlebox2;
  GtkWidget *report_toolbar;
  GtkWidget *report_frame;

  Report_Window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_object_set_data (GTK_OBJECT (Report_Window), "Report_Window", Report_Window);

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

  handlebox2 = gtk_handle_box_new ();
  gtk_widget_ref (handlebox2);
  gtk_object_set_data_full (GTK_OBJECT (Report_Window), "handlebox2", handlebox2,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (handlebox2);
  gtk_box_pack_start (GTK_BOX (report_vbox), handlebox2, FALSE, FALSE, 0);

  report_toolbar = gtk_toolbar_new (GTK_ORIENTATION_HORIZONTAL, GTK_TOOLBAR_BOTH);
  gtk_widget_ref (report_toolbar);
  gtk_object_set_data_full (GTK_OBJECT (Report_Window), "report_toolbar", report_toolbar,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (report_toolbar);
  gtk_container_add (GTK_CONTAINER (handlebox2), report_toolbar);
  gtk_container_set_border_width (GTK_CONTAINER (report_toolbar), 2);
  gtk_toolbar_set_space_style (GTK_TOOLBAR (report_toolbar), GTK_TOOLBAR_SPACE_LINE);
  gtk_toolbar_set_button_relief (GTK_TOOLBAR (report_toolbar), GTK_RELIEF_NONE);

  report_frame = gtk_frame_new (NULL);
  gtk_widget_ref (report_frame);
  gtk_object_set_data_full (GTK_OBJECT (Report_Window), "report_frame", report_frame,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (report_frame);
  gtk_box_pack_start (GTK_BOX (report_vbox), report_frame, TRUE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (report_frame), GTK_SHADOW_NONE);

  return Report_Window;
}

GtkWidget*
create_New_Style_Sheet_Dialog (void)
{
  GtkWidget *New_Style_Sheet_Dialog;
  GtkWidget *dialog_vbox15;
  GtkWidget *frame40;
  GtkWidget *hbox82;
  GtkWidget *vbox93;
  GtkWidget *label847669;
  GtkWidget *label847670;
  GtkWidget *vbox94;
  GtkWidget *name_entry;
  GtkWidget *template_combo;
  GtkWidget *template_entry;
  GtkWidget *dialog_action_area15;
  GtkWidget *button73;
  GtkWidget *button75;

  New_Style_Sheet_Dialog = gnome_dialog_new (_("New Style Sheet"), NULL);
  gtk_object_set_data (GTK_OBJECT (New_Style_Sheet_Dialog), "New_Style_Sheet_Dialog", New_Style_Sheet_Dialog);
  gtk_window_set_policy (GTK_WINDOW (New_Style_Sheet_Dialog), TRUE, TRUE, FALSE);

  dialog_vbox15 = GNOME_DIALOG (New_Style_Sheet_Dialog)->vbox;
  gtk_object_set_data (GTK_OBJECT (New_Style_Sheet_Dialog), "dialog_vbox15", dialog_vbox15);
  gtk_widget_show (dialog_vbox15);

  frame40 = gtk_frame_new (_("New style sheet info"));
  gtk_widget_ref (frame40);
  gtk_object_set_data_full (GTK_OBJECT (New_Style_Sheet_Dialog), "frame40", frame40,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame40);
  gtk_box_pack_start (GTK_BOX (dialog_vbox15), frame40, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame40), 2);

  hbox82 = gtk_hbox_new (FALSE, 4);
  gtk_widget_ref (hbox82);
  gtk_object_set_data_full (GTK_OBJECT (New_Style_Sheet_Dialog), "hbox82", hbox82,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox82);
  gtk_container_add (GTK_CONTAINER (frame40), hbox82);
  gtk_container_set_border_width (GTK_CONTAINER (hbox82), 4);

  vbox93 = gtk_vbox_new (TRUE, 2);
  gtk_widget_ref (vbox93);
  gtk_object_set_data_full (GTK_OBJECT (New_Style_Sheet_Dialog), "vbox93", vbox93,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox93);
  gtk_box_pack_start (GTK_BOX (hbox82), vbox93, FALSE, FALSE, 0);

  label847669 = gtk_label_new (_("Name:"));
  gtk_widget_ref (label847669);
  gtk_object_set_data_full (GTK_OBJECT (New_Style_Sheet_Dialog), "label847669", label847669,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847669);
  gtk_box_pack_start (GTK_BOX (vbox93), label847669, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label847669), 1, 0.5);

  label847670 = gtk_label_new (_("Style sheet template:"));
  gtk_widget_ref (label847670);
  gtk_object_set_data_full (GTK_OBJECT (New_Style_Sheet_Dialog), "label847670", label847670,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847670);
  gtk_box_pack_start (GTK_BOX (vbox93), label847670, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label847670), 1, 0.5);

  vbox94 = gtk_vbox_new (TRUE, 2);
  gtk_widget_ref (vbox94);
  gtk_object_set_data_full (GTK_OBJECT (New_Style_Sheet_Dialog), "vbox94", vbox94,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox94);
  gtk_box_pack_start (GTK_BOX (hbox82), vbox94, FALSE, TRUE, 0);

  name_entry = gtk_entry_new ();
  gtk_widget_ref (name_entry);
  gtk_object_set_data_full (GTK_OBJECT (New_Style_Sheet_Dialog), "name_entry", name_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (name_entry);
  gtk_box_pack_start (GTK_BOX (vbox94), name_entry, FALSE, FALSE, 0);

  template_combo = gtk_combo_new ();
  gtk_widget_ref (template_combo);
  gtk_object_set_data_full (GTK_OBJECT (New_Style_Sheet_Dialog), "template_combo", template_combo,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (template_combo);
  gtk_box_pack_start (GTK_BOX (vbox94), template_combo, FALSE, FALSE, 0);

  template_entry = GTK_COMBO (template_combo)->entry;
  gtk_widget_ref (template_entry);
  gtk_object_set_data_full (GTK_OBJECT (New_Style_Sheet_Dialog), "template_entry", template_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (template_entry);

  dialog_action_area15 = GNOME_DIALOG (New_Style_Sheet_Dialog)->action_area;
  gtk_object_set_data (GTK_OBJECT (New_Style_Sheet_Dialog), "dialog_action_area15", dialog_action_area15);
  gtk_widget_show (dialog_action_area15);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area15), GTK_BUTTONBOX_SPREAD);
  gtk_button_box_set_spacing (GTK_BUTTON_BOX (dialog_action_area15), 8);

  gnome_dialog_append_button (GNOME_DIALOG (New_Style_Sheet_Dialog), GNOME_STOCK_BUTTON_OK);
  button73 = g_list_last (GNOME_DIALOG (New_Style_Sheet_Dialog)->buttons)->data;
  gtk_widget_ref (button73);
  gtk_object_set_data_full (GTK_OBJECT (New_Style_Sheet_Dialog), "button73", button73,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button73);
  GTK_WIDGET_SET_FLAGS (button73, GTK_CAN_DEFAULT);

  gnome_dialog_append_button (GNOME_DIALOG (New_Style_Sheet_Dialog), GNOME_STOCK_BUTTON_CANCEL);
  button75 = g_list_last (GNOME_DIALOG (New_Style_Sheet_Dialog)->buttons)->data;
  gtk_widget_ref (button75);
  gtk_object_set_data_full (GTK_OBJECT (New_Style_Sheet_Dialog), "button75", button75,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button75);
  GTK_WIDGET_SET_FLAGS (button75, GTK_CAN_DEFAULT);

  return New_Style_Sheet_Dialog;
}

GtkWidget*
create_Tax_Information_Dialog (void)
{
  GtkWidget *Tax_Information_Dialog;
  GtkWidget *dialog_vbox14;
  GtkWidget *hbox81;
  GtkWidget *account_frame;
  GtkWidget *vbox96;
  GtkWidget *hbox97;
  GSList *tax_info_account_type_group = NULL;
  GtkWidget *income_radio;
  GtkWidget *expense_radio;
  GtkWidget *account_scroll;
  GtkWidget *hbox98;
  GtkWidget *label847733;
  GtkWidget *num_accounts_label;
  GtkWidget *select_subaccounts_button;
  GtkWidget *tax_info_frame;
  GtkWidget *vbox92;
  GtkWidget *tax_related_button;
  GtkWidget *hseparator1;
  GtkWidget *txf_categories_frame;
  GtkWidget *vbox113;
  GtkWidget *scrolledwindow28;
  GtkWidget *txf_category_clist;
  GtkWidget *label847734;
  GtkWidget *label847735;
  GtkWidget *help_scroll;
  GtkWidget *txf_help_text;
  GtkWidget *payer_name_source_frame;
  GtkWidget *vbox97;
  GSList *payer_name_source_group = NULL;
  GtkWidget *current_account_button;
  GtkWidget *parent_account_button;
  GtkWidget *dialog_action_area14;
  GtkWidget *button73;
  GtkWidget *apply_button;
  GtkWidget *button75;

  Tax_Information_Dialog = gnome_dialog_new (_("Tax Information"), NULL);
  gtk_object_set_data (GTK_OBJECT (Tax_Information_Dialog), "Tax_Information_Dialog", Tax_Information_Dialog);
  gtk_window_set_policy (GTK_WINDOW (Tax_Information_Dialog), TRUE, TRUE, FALSE);

  dialog_vbox14 = GNOME_DIALOG (Tax_Information_Dialog)->vbox;
  gtk_object_set_data (GTK_OBJECT (Tax_Information_Dialog), "dialog_vbox14", dialog_vbox14);
  gtk_widget_show (dialog_vbox14);

  hbox81 = gtk_hbox_new (FALSE, 2);
  gtk_widget_ref (hbox81);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "hbox81", hbox81,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox81);
  gtk_box_pack_start (GTK_BOX (dialog_vbox14), hbox81, TRUE, TRUE, 0);

  account_frame = gtk_frame_new (_("Accounts"));
  gtk_widget_ref (account_frame);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "account_frame", account_frame,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (account_frame);
  gtk_box_pack_start (GTK_BOX (hbox81), account_frame, TRUE, TRUE, 0);

  vbox96 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox96);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "vbox96", vbox96,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox96);
  gtk_container_add (GTK_CONTAINER (account_frame), vbox96);

  hbox97 = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (hbox97);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "hbox97", hbox97,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox97);
  gtk_box_pack_start (GTK_BOX (vbox96), hbox97, FALSE, FALSE, 2);
  gtk_container_set_border_width (GTK_CONTAINER (hbox97), 3);

  income_radio = gtk_radio_button_new_with_label (tax_info_account_type_group, _("Income"));
  tax_info_account_type_group = gtk_radio_button_group (GTK_RADIO_BUTTON (income_radio));
  gtk_widget_ref (income_radio);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "income_radio", income_radio,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (income_radio);
  gtk_box_pack_start (GTK_BOX (hbox97), income_radio, FALSE, FALSE, 0);

  expense_radio = gtk_radio_button_new_with_label (tax_info_account_type_group, _("Expense"));
  tax_info_account_type_group = gtk_radio_button_group (GTK_RADIO_BUTTON (expense_radio));
  gtk_widget_ref (expense_radio);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "expense_radio", expense_radio,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (expense_radio);
  gtk_box_pack_start (GTK_BOX (hbox97), expense_radio, FALSE, FALSE, 0);
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (expense_radio), TRUE);

  account_scroll = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (account_scroll);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "account_scroll", account_scroll,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (account_scroll);
  gtk_box_pack_start (GTK_BOX (vbox96), account_scroll, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (account_scroll), 3);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (account_scroll), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);

  hbox98 = gtk_hbox_new (FALSE, 2);
  gtk_widget_ref (hbox98);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "hbox98", hbox98,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox98);
  gtk_box_pack_start (GTK_BOX (vbox96), hbox98, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox98), 3);

  label847733 = gtk_label_new (_("Accounts Selected:"));
  gtk_widget_ref (label847733);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "label847733", label847733,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847733);
  gtk_box_pack_start (GTK_BOX (hbox98), label847733, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label847733), 1, 0.5);

  num_accounts_label = gtk_label_new (_("0"));
  gtk_widget_ref (num_accounts_label);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "num_accounts_label", num_accounts_label,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (num_accounts_label);
  gtk_box_pack_start (GTK_BOX (hbox98), num_accounts_label, FALSE, FALSE, 0);

  select_subaccounts_button = gtk_button_new_with_label (_("Select Subaccounts"));
  gtk_widget_ref (select_subaccounts_button);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "select_subaccounts_button", select_subaccounts_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (select_subaccounts_button);
  gtk_box_pack_start (GTK_BOX (vbox96), select_subaccounts_button, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (select_subaccounts_button), 3);

  tax_info_frame = gtk_frame_new (_("Tax Information"));
  gtk_widget_ref (tax_info_frame);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "tax_info_frame", tax_info_frame,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (tax_info_frame);
  gtk_box_pack_start (GTK_BOX (hbox81), tax_info_frame, TRUE, TRUE, 0);
  gtk_widget_set_sensitive (tax_info_frame, FALSE);

  vbox92 = gtk_vbox_new (FALSE, 3);
  gtk_widget_ref (vbox92);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "vbox92", vbox92,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox92);
  gtk_container_add (GTK_CONTAINER (tax_info_frame), vbox92);
  gtk_container_set_border_width (GTK_CONTAINER (vbox92), 3);

  tax_related_button = gtk_check_button_new_with_label (_("Tax Related"));
  gtk_widget_ref (tax_related_button);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "tax_related_button", tax_related_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (tax_related_button);
  gtk_box_pack_start (GTK_BOX (vbox92), tax_related_button, FALSE, FALSE, 0);

  hseparator1 = gtk_hseparator_new ();
  gtk_widget_ref (hseparator1);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "hseparator1", hseparator1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hseparator1);
  gtk_box_pack_start (GTK_BOX (vbox92), hseparator1, FALSE, FALSE, 6);

  txf_categories_frame = gtk_frame_new (_("TXF Categories"));
  gtk_widget_ref (txf_categories_frame);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "txf_categories_frame", txf_categories_frame,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (txf_categories_frame);
  gtk_box_pack_start (GTK_BOX (vbox92), txf_categories_frame, TRUE, TRUE, 0);
  gtk_widget_set_sensitive (txf_categories_frame, FALSE);

  vbox113 = gtk_vbox_new (FALSE, 2);
  gtk_widget_ref (vbox113);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "vbox113", vbox113,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox113);
  gtk_container_add (GTK_CONTAINER (txf_categories_frame), vbox113);
  gtk_container_set_border_width (GTK_CONTAINER (vbox113), 3);

  scrolledwindow28 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (scrolledwindow28);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "scrolledwindow28", scrolledwindow28,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow28);
  gtk_box_pack_start (GTK_BOX (vbox113), scrolledwindow28, TRUE, TRUE, 0);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow28), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);

  txf_category_clist = gtk_clist_new (2);
  gtk_widget_ref (txf_category_clist);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "txf_category_clist", txf_category_clist,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (txf_category_clist);
  gtk_container_add (GTK_CONTAINER (scrolledwindow28), txf_category_clist);
  gtk_clist_set_column_width (GTK_CLIST (txf_category_clist), 0, 80);
  gtk_clist_set_column_width (GTK_CLIST (txf_category_clist), 1, 80);
  gtk_clist_set_selection_mode (GTK_CLIST (txf_category_clist), GTK_SELECTION_BROWSE);
  gtk_clist_column_titles_show (GTK_CLIST (txf_category_clist));

  label847734 = gtk_label_new (_("Form"));
  gtk_widget_ref (label847734);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "label847734", label847734,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847734);
  gtk_clist_set_column_widget (GTK_CLIST (txf_category_clist), 0, label847734);

  label847735 = gtk_label_new (_("Description"));
  gtk_widget_ref (label847735);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "label847735", label847735,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847735);
  gtk_clist_set_column_widget (GTK_CLIST (txf_category_clist), 1, label847735);

  help_scroll = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (help_scroll);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "help_scroll", help_scroll,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (help_scroll);
  gtk_box_pack_start (GTK_BOX (vbox113), help_scroll, FALSE, FALSE, 0);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (help_scroll), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);

  txf_help_text = gtk_text_new (NULL, NULL);
  gtk_widget_ref (txf_help_text);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "txf_help_text", txf_help_text,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (txf_help_text);
  gtk_container_add (GTK_CONTAINER (help_scroll), txf_help_text);

  payer_name_source_frame = gtk_frame_new (_("Payer Name Source"));
  gtk_widget_ref (payer_name_source_frame);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "payer_name_source_frame", payer_name_source_frame,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (payer_name_source_frame);
  gtk_box_pack_start (GTK_BOX (vbox92), payer_name_source_frame, FALSE, FALSE, 0);

  vbox97 = gtk_vbox_new (FALSE, 2);
  gtk_widget_ref (vbox97);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "vbox97", vbox97,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox97);
  gtk_container_add (GTK_CONTAINER (payer_name_source_frame), vbox97);
  gtk_container_set_border_width (GTK_CONTAINER (vbox97), 3);

  current_account_button = gtk_radio_button_new_with_label (payer_name_source_group, _("Current Account"));
  payer_name_source_group = gtk_radio_button_group (GTK_RADIO_BUTTON (current_account_button));
  gtk_widget_ref (current_account_button);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "current_account_button", current_account_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (current_account_button);
  gtk_box_pack_start (GTK_BOX (vbox97), current_account_button, FALSE, FALSE, 0);

  parent_account_button = gtk_radio_button_new_with_label (payer_name_source_group, _("Parent Account"));
  payer_name_source_group = gtk_radio_button_group (GTK_RADIO_BUTTON (parent_account_button));
  gtk_widget_ref (parent_account_button);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "parent_account_button", parent_account_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (parent_account_button);
  gtk_box_pack_start (GTK_BOX (vbox97), parent_account_button, FALSE, FALSE, 0);

  dialog_action_area14 = GNOME_DIALOG (Tax_Information_Dialog)->action_area;
  gtk_object_set_data (GTK_OBJECT (Tax_Information_Dialog), "dialog_action_area14", dialog_action_area14);
  gtk_widget_show (dialog_action_area14);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area14), GTK_BUTTONBOX_END);
  gtk_button_box_set_spacing (GTK_BUTTON_BOX (dialog_action_area14), 8);

  gnome_dialog_append_button (GNOME_DIALOG (Tax_Information_Dialog), GNOME_STOCK_BUTTON_OK);
  button73 = g_list_last (GNOME_DIALOG (Tax_Information_Dialog)->buttons)->data;
  gtk_widget_ref (button73);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "button73", button73,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button73);
  GTK_WIDGET_SET_FLAGS (button73, GTK_CAN_DEFAULT);

  gnome_dialog_append_button (GNOME_DIALOG (Tax_Information_Dialog), GNOME_STOCK_BUTTON_APPLY);
  apply_button = g_list_last (GNOME_DIALOG (Tax_Information_Dialog)->buttons)->data;
  gtk_widget_ref (apply_button);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "apply_button", apply_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (apply_button);
  GTK_WIDGET_SET_FLAGS (apply_button, GTK_CAN_DEFAULT);

  gnome_dialog_append_button (GNOME_DIALOG (Tax_Information_Dialog), GNOME_STOCK_BUTTON_CLOSE);
  button75 = g_list_last (GNOME_DIALOG (Tax_Information_Dialog)->buttons)->data;
  gtk_widget_ref (button75);
  gtk_object_set_data_full (GTK_OBJECT (Tax_Information_Dialog), "button75", button75,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button75);
  GTK_WIDGET_SET_FLAGS (button75, GTK_CAN_DEFAULT);

  return Tax_Information_Dialog;
}

GtkWidget*
create_Duplicate_Transaction_Dialog (void)
{
  GtkWidget *Duplicate_Transaction_Dialog;
  GtkWidget *dialog_vbox15;
  GtkWidget *frame41;
  GtkWidget *hbox84;
  GtkWidget *vbox94;
  GtkWidget *label847669;
  GtkWidget *label847670;
  GtkWidget *vbox95;
  GtkWidget *date_hbox;
  GtkObject *num_spin_adj;
  GtkWidget *num_spin;
  GtkWidget *dialog_action_area15;
  GtkWidget *button76;
  GtkWidget *button77;

  Duplicate_Transaction_Dialog = gnome_dialog_new (_("Duplicate Transaction"), NULL);
  gtk_object_set_data (GTK_OBJECT (Duplicate_Transaction_Dialog), "Duplicate_Transaction_Dialog", Duplicate_Transaction_Dialog);
  gtk_window_set_modal (GTK_WINDOW (Duplicate_Transaction_Dialog), TRUE);
  gtk_window_set_policy (GTK_WINDOW (Duplicate_Transaction_Dialog), FALSE, FALSE, FALSE);
  gnome_dialog_close_hides (GNOME_DIALOG (Duplicate_Transaction_Dialog), TRUE);

  dialog_vbox15 = GNOME_DIALOG (Duplicate_Transaction_Dialog)->vbox;
  gtk_object_set_data (GTK_OBJECT (Duplicate_Transaction_Dialog), "dialog_vbox15", dialog_vbox15);
  gtk_widget_show (dialog_vbox15);

  frame41 = gtk_frame_new (_("Transaction Information"));
  gtk_widget_ref (frame41);
  gtk_object_set_data_full (GTK_OBJECT (Duplicate_Transaction_Dialog), "frame41", frame41,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame41);
  gtk_box_pack_start (GTK_BOX (dialog_vbox15), frame41, TRUE, TRUE, 0);

  hbox84 = gtk_hbox_new (FALSE, 2);
  gtk_widget_ref (hbox84);
  gtk_object_set_data_full (GTK_OBJECT (Duplicate_Transaction_Dialog), "hbox84", hbox84,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox84);
  gtk_container_add (GTK_CONTAINER (frame41), hbox84);
  gtk_container_set_border_width (GTK_CONTAINER (hbox84), 3);

  vbox94 = gtk_vbox_new (TRUE, 5);
  gtk_widget_ref (vbox94);
  gtk_object_set_data_full (GTK_OBJECT (Duplicate_Transaction_Dialog), "vbox94", vbox94,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox94);
  gtk_box_pack_start (GTK_BOX (hbox84), vbox94, FALSE, FALSE, 0);

  label847669 = gtk_label_new (_("Date:"));
  gtk_widget_ref (label847669);
  gtk_object_set_data_full (GTK_OBJECT (Duplicate_Transaction_Dialog), "label847669", label847669,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847669);
  gtk_box_pack_start (GTK_BOX (vbox94), label847669, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label847669), 1, 0.5);

  label847670 = gtk_label_new (_("Num:"));
  gtk_widget_ref (label847670);
  gtk_object_set_data_full (GTK_OBJECT (Duplicate_Transaction_Dialog), "label847670", label847670,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847670);
  gtk_box_pack_start (GTK_BOX (vbox94), label847670, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label847670), 1, 0.5);

  vbox95 = gtk_vbox_new (TRUE, 5);
  gtk_widget_ref (vbox95);
  gtk_object_set_data_full (GTK_OBJECT (Duplicate_Transaction_Dialog), "vbox95", vbox95,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox95);
  gtk_box_pack_start (GTK_BOX (hbox84), vbox95, TRUE, TRUE, 0);

  date_hbox = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (date_hbox);
  gtk_object_set_data_full (GTK_OBJECT (Duplicate_Transaction_Dialog), "date_hbox", date_hbox,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (date_hbox);
  gtk_box_pack_start (GTK_BOX (vbox95), date_hbox, TRUE, TRUE, 0);

  num_spin_adj = gtk_adjustment_new (0, 0, 100000, 1, 10, 10);
  num_spin = gtk_spin_button_new (GTK_ADJUSTMENT (num_spin_adj), 1, 0);
  gtk_widget_ref (num_spin);
  gtk_object_set_data_full (GTK_OBJECT (Duplicate_Transaction_Dialog), "num_spin", num_spin,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (num_spin);
  gtk_box_pack_start (GTK_BOX (vbox95), num_spin, FALSE, FALSE, 0);

  dialog_action_area15 = GNOME_DIALOG (Duplicate_Transaction_Dialog)->action_area;
  gtk_object_set_data (GTK_OBJECT (Duplicate_Transaction_Dialog), "dialog_action_area15", dialog_action_area15);
  gtk_widget_show (dialog_action_area15);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area15), GTK_BUTTONBOX_END);
  gtk_button_box_set_spacing (GTK_BUTTON_BOX (dialog_action_area15), 8);

  gnome_dialog_append_button (GNOME_DIALOG (Duplicate_Transaction_Dialog), GNOME_STOCK_BUTTON_OK);
  button76 = g_list_last (GNOME_DIALOG (Duplicate_Transaction_Dialog)->buttons)->data;
  gtk_widget_ref (button76);
  gtk_object_set_data_full (GTK_OBJECT (Duplicate_Transaction_Dialog), "button76", button76,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button76);
  GTK_WIDGET_SET_FLAGS (button76, GTK_CAN_DEFAULT);

  gnome_dialog_append_button (GNOME_DIALOG (Duplicate_Transaction_Dialog), GNOME_STOCK_BUTTON_CANCEL);
  button77 = g_list_last (GNOME_DIALOG (Duplicate_Transaction_Dialog)->buttons)->data;
  gtk_widget_ref (button77);
  gtk_object_set_data_full (GTK_OBJECT (Duplicate_Transaction_Dialog), "button77", button77,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button77);
  GTK_WIDGET_SET_FLAGS (button77, GTK_CAN_DEFAULT);

  return Duplicate_Transaction_Dialog;
}

GtkWidget*
create_HTML_Style_Sheet_Dialog (void)
{
  GtkWidget *HTML_Style_Sheet_Dialog;
  GtkWidget *hbox96;
  GtkWidget *frame39;
  GtkWidget *vbox92;
  GtkWidget *scrolledwindow17;
  GtkWidget *style_sheet_list;
  GtkWidget *label847668;
  GtkWidget *hbox81;
  GtkWidget *new_button;
  GtkWidget *delete_button;
  GtkWidget *style_sheet_options;

  HTML_Style_Sheet_Dialog = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_object_set_data (GTK_OBJECT (HTML_Style_Sheet_Dialog), "HTML_Style_Sheet_Dialog", HTML_Style_Sheet_Dialog);
  gtk_window_set_title (GTK_WINDOW (HTML_Style_Sheet_Dialog), _("HTML Style Sheets"));

  hbox96 = gtk_hbox_new (FALSE, 2);
  gtk_widget_ref (hbox96);
  gtk_object_set_data_full (GTK_OBJECT (HTML_Style_Sheet_Dialog), "hbox96", hbox96,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox96);
  gtk_container_add (GTK_CONTAINER (HTML_Style_Sheet_Dialog), hbox96);
  gtk_container_set_border_width (GTK_CONTAINER (hbox96), 5);

  frame39 = gtk_frame_new (_("Style sheets"));
  gtk_widget_ref (frame39);
  gtk_object_set_data_full (GTK_OBJECT (HTML_Style_Sheet_Dialog), "frame39", frame39,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame39);
  gtk_box_pack_start (GTK_BOX (hbox96), frame39, FALSE, FALSE, 0);

  vbox92 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox92);
  gtk_object_set_data_full (GTK_OBJECT (HTML_Style_Sheet_Dialog), "vbox92", vbox92,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox92);
  gtk_container_add (GTK_CONTAINER (frame39), vbox92);

  scrolledwindow17 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (scrolledwindow17);
  gtk_object_set_data_full (GTK_OBJECT (HTML_Style_Sheet_Dialog), "scrolledwindow17", scrolledwindow17,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow17);
  gtk_box_pack_start (GTK_BOX (vbox92), scrolledwindow17, TRUE, TRUE, 0);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow17), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  style_sheet_list = gtk_clist_new (1);
  gtk_widget_ref (style_sheet_list);
  gtk_object_set_data_full (GTK_OBJECT (HTML_Style_Sheet_Dialog), "style_sheet_list", style_sheet_list,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (style_sheet_list);
  gtk_container_add (GTK_CONTAINER (scrolledwindow17), style_sheet_list);
  gtk_clist_set_column_width (GTK_CLIST (style_sheet_list), 0, 80);
  gtk_clist_column_titles_hide (GTK_CLIST (style_sheet_list));

  label847668 = gtk_label_new (_("label847668"));
  gtk_widget_ref (label847668);
  gtk_object_set_data_full (GTK_OBJECT (HTML_Style_Sheet_Dialog), "label847668", label847668,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847668);
  gtk_clist_set_column_widget (GTK_CLIST (style_sheet_list), 0, label847668);

  hbox81 = gtk_hbox_new (TRUE, 0);
  gtk_widget_ref (hbox81);
  gtk_object_set_data_full (GTK_OBJECT (HTML_Style_Sheet_Dialog), "hbox81", hbox81,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox81);
  gtk_box_pack_start (GTK_BOX (vbox92), hbox81, FALSE, TRUE, 0);

  new_button = gtk_button_new_with_label (_("New..."));
  gtk_widget_ref (new_button);
  gtk_object_set_data_full (GTK_OBJECT (HTML_Style_Sheet_Dialog), "new_button", new_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (new_button);
  gtk_box_pack_start (GTK_BOX (hbox81), new_button, TRUE, TRUE, 0);

  delete_button = gtk_button_new_with_label (_("Delete"));
  gtk_widget_ref (delete_button);
  gtk_object_set_data_full (GTK_OBJECT (HTML_Style_Sheet_Dialog), "delete_button", delete_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (delete_button);
  gtk_box_pack_start (GTK_BOX (hbox81), delete_button, TRUE, TRUE, 0);

  style_sheet_options = gtk_frame_new (_("Style sheet options"));
  gtk_widget_ref (style_sheet_options);
  gtk_object_set_data_full (GTK_OBJECT (HTML_Style_Sheet_Dialog), "style_sheet_options", style_sheet_options,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (style_sheet_options);
  gtk_box_pack_start (GTK_BOX (hbox96), style_sheet_options, TRUE, TRUE, 0);

  return HTML_Style_Sheet_Dialog;
}

GtkWidget*
create_Stock_Split_Druid (void)
{
  GtkWidget *Stock_Split_Druid;
  GtkWidget *stock_split_druid;
  GtkWidget *start_page;
  GdkColor start_page_bg_color = { 0, 26214, 26214, 39321 };
  GdkColor start_page_textbox_color = { 0, 65535, 65535, 65535 };
  GdkColor start_page_logo_bg_color = { 0, 26214, 26214, 39321 };
  GdkColor start_page_title_color = { 0, 65535, 65535, 65535 };
  GtkWidget *account_page;
  GdkColor account_page_bg_color = { 0, 26214, 26214, 39321 };
  GdkColor account_page_logo_bg_color = { 0, 26214, 26214, 39321 };
  GdkColor account_page_title_color = { 0, 65535, 65535, 65535 };
  GtkWidget *vbox98;
  GtkWidget *label847677;
  GtkWidget *alignment1;
  GtkWidget *scrolledwindow21;
  GtkWidget *account_clist;
  GtkWidget *label847678;
  GtkWidget *label847679;
  GtkWidget *label847680;
  GtkWidget *details_page;
  GdkColor details_page_bg_color = { 0, 26214, 26214, 39321 };
  GdkColor details_page_logo_bg_color = { 0, 26214, 26214, 39321 };
  GdkColor details_page_title_color = { 0, 65535, 65535, 65535 };
  GtkWidget *druid_vbox32;
  GtkWidget *label847681;
  GtkWidget *hbox86;
  GtkWidget *vbox100;
  GtkWidget *label847683;
  GtkWidget *label847684;
  GtkWidget *label847693;
  GtkWidget *vbox101;
  GtkWidget *date_box;
  GtkWidget *distribution_box;
  GtkWidget *description_entry;
  GtkWidget *hseparator2;
  GtkWidget *label847691;
  GtkWidget *hbox93;
  GtkWidget *vbox107;
  GtkWidget *label847692;
  GtkWidget *label847715;
  GtkWidget *vbox108;
  GtkWidget *price_box;
  GtkWidget *price_currency_box;
  GtkWidget *cash_page;
  GdkColor cash_page_bg_color = { 0, 26214, 26214, 39321 };
  GdkColor cash_page_logo_bg_color = { 0, 26214, 26214, 39321 };
  GdkColor cash_page_title_color = { 0, 65535, 65535, 65535 };
  GtkWidget *druid_vbox33;
  GtkWidget *label847687;
  GtkWidget *vbox102;
  GtkWidget *hbox87;
  GtkWidget *vbox103;
  GtkWidget *label847688;
  GtkWidget *label847689;
  GtkWidget *vbox104;
  GtkWidget *cash_box;
  GtkWidget *memo_entry;
  GtkWidget *hbox88;
  GtkWidget *frame43;
  GtkWidget *income_scroll;
  GtkWidget *frame44;
  GtkWidget *asset_scroll;
  GtkWidget *finish_page;
  GdkColor finish_page_bg_color = { 0, 26214, 26214, 39321 };
  GdkColor finish_page_textbox_color = { 0, 65535, 65535, 65535 };
  GdkColor finish_page_logo_bg_color = { 0, 26214, 26214, 39321 };
  GdkColor finish_page_title_color = { 0, 65535, 65535, 65535 };

  Stock_Split_Druid = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_object_set_data (GTK_OBJECT (Stock_Split_Druid), "Stock_Split_Druid", Stock_Split_Druid);
  gtk_window_set_title (GTK_WINDOW (Stock_Split_Druid), _("Stock Split"));

  stock_split_druid = gnome_druid_new ();
  gtk_widget_ref (stock_split_druid);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "stock_split_druid", stock_split_druid,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (stock_split_druid);
  gtk_container_add (GTK_CONTAINER (Stock_Split_Druid), stock_split_druid);

  start_page = gnome_druid_page_start_new ();
  gtk_widget_ref (start_page);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "start_page", start_page,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (start_page);
  gnome_druid_append_page (GNOME_DRUID (stock_split_druid), GNOME_DRUID_PAGE (start_page));
  gnome_druid_set_page (GNOME_DRUID (stock_split_druid), GNOME_DRUID_PAGE (start_page));
  gnome_druid_page_start_set_bg_color (GNOME_DRUID_PAGE_START (start_page), &start_page_bg_color);
  gnome_druid_page_start_set_textbox_color (GNOME_DRUID_PAGE_START (start_page), &start_page_textbox_color);
  gnome_druid_page_start_set_logo_bg_color (GNOME_DRUID_PAGE_START (start_page), &start_page_logo_bg_color);
  gnome_druid_page_start_set_title_color (GNOME_DRUID_PAGE_START (start_page), &start_page_title_color);
  gnome_druid_page_start_set_text (GNOME_DRUID_PAGE_START (start_page), _("This druid will help you record a stock split or stock merger."));

  account_page = gnome_druid_page_standard_new_with_vals ("", NULL);
  gtk_widget_ref (account_page);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "account_page", account_page,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show_all (account_page);
  gnome_druid_append_page (GNOME_DRUID (stock_split_druid), GNOME_DRUID_PAGE (account_page));
  gnome_druid_page_standard_set_bg_color (GNOME_DRUID_PAGE_STANDARD (account_page), &account_page_bg_color);
  gnome_druid_page_standard_set_logo_bg_color (GNOME_DRUID_PAGE_STANDARD (account_page), &account_page_logo_bg_color);
  gnome_druid_page_standard_set_title_color (GNOME_DRUID_PAGE_STANDARD (account_page), &account_page_title_color);
  gnome_druid_page_standard_set_title (GNOME_DRUID_PAGE_STANDARD (account_page), _("Stock Account"));

  vbox98 = GNOME_DRUID_PAGE_STANDARD (account_page)->vbox;
  gtk_widget_ref (vbox98);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "vbox98", vbox98,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox98);
  gtk_container_set_border_width (GTK_CONTAINER (vbox98), 5);

  label847677 = gtk_label_new (_("Select the account for which you want to record a stock split or merger."));
  gtk_widget_ref (label847677);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "label847677", label847677,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847677);
  gtk_box_pack_start (GTK_BOX (vbox98), label847677, FALSE, FALSE, 0);

  alignment1 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_ref (alignment1);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "alignment1", alignment1,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (alignment1);
  gtk_box_pack_start (GTK_BOX (vbox98), alignment1, TRUE, TRUE, 0);

  scrolledwindow21 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (scrolledwindow21);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "scrolledwindow21", scrolledwindow21,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow21);
  gtk_container_add (GTK_CONTAINER (alignment1), scrolledwindow21);
  gtk_container_set_border_width (GTK_CONTAINER (scrolledwindow21), 10);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow21), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  account_clist = gtk_clist_new (3);
  gtk_widget_ref (account_clist);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "account_clist", account_clist,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (account_clist);
  gtk_container_add (GTK_CONTAINER (scrolledwindow21), account_clist);
  gtk_clist_set_column_width (GTK_CLIST (account_clist), 0, 80);
  gtk_clist_set_column_width (GTK_CLIST (account_clist), 1, 80);
  gtk_clist_set_column_width (GTK_CLIST (account_clist), 2, 80);
  gtk_clist_column_titles_show (GTK_CLIST (account_clist));

  label847678 = gtk_label_new (_("Account"));
  gtk_widget_ref (label847678);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "label847678", label847678,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847678);
  gtk_clist_set_column_widget (GTK_CLIST (account_clist), 0, label847678);

  label847679 = gtk_label_new (_("Symbol"));
  gtk_widget_ref (label847679);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "label847679", label847679,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847679);
  gtk_clist_set_column_widget (GTK_CLIST (account_clist), 1, label847679);

  label847680 = gtk_label_new (_("Shares"));
  gtk_widget_ref (label847680);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "label847680", label847680,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847680);
  gtk_clist_set_column_widget (GTK_CLIST (account_clist), 2, label847680);

  details_page = gnome_druid_page_standard_new_with_vals ("", NULL);
  gtk_widget_ref (details_page);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "details_page", details_page,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show_all (details_page);
  gnome_druid_append_page (GNOME_DRUID (stock_split_druid), GNOME_DRUID_PAGE (details_page));
  gnome_druid_page_standard_set_bg_color (GNOME_DRUID_PAGE_STANDARD (details_page), &details_page_bg_color);
  gnome_druid_page_standard_set_logo_bg_color (GNOME_DRUID_PAGE_STANDARD (details_page), &details_page_logo_bg_color);
  gnome_druid_page_standard_set_title_color (GNOME_DRUID_PAGE_STANDARD (details_page), &details_page_title_color);
  gnome_druid_page_standard_set_title (GNOME_DRUID_PAGE_STANDARD (details_page), _("Stock Split Details"));

  druid_vbox32 = GNOME_DRUID_PAGE_STANDARD (details_page)->vbox;
  gtk_widget_ref (druid_vbox32);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "druid_vbox32", druid_vbox32,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (druid_vbox32);
  gtk_container_set_border_width (GTK_CONTAINER (druid_vbox32), 5);

  label847681 = gtk_label_new (_("Enter the date and the number of shares you gained or lost from the stock split or merger.\nFor stock mergers (negative splits) use a negative value for the share distribution.\nYou can also enter a description of the transaction, or accept the default one."));
  gtk_widget_ref (label847681);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "label847681", label847681,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847681);
  gtk_box_pack_start (GTK_BOX (druid_vbox32), label847681, FALSE, FALSE, 0);

  hbox86 = gtk_hbox_new (FALSE, 4);
  gtk_widget_ref (hbox86);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "hbox86", hbox86,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox86);
  gtk_box_pack_start (GTK_BOX (druid_vbox32), hbox86, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox86), 10);

  vbox100 = gtk_vbox_new (TRUE, 4);
  gtk_widget_ref (vbox100);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "vbox100", vbox100,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox100);
  gtk_box_pack_start (GTK_BOX (hbox86), vbox100, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (vbox100), 2);

  label847683 = gtk_label_new (_("Date:"));
  gtk_widget_ref (label847683);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "label847683", label847683,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847683);
  gtk_box_pack_start (GTK_BOX (vbox100), label847683, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label847683), 1, 0.5);

  label847684 = gtk_label_new (_("Share Distribution:"));
  gtk_widget_ref (label847684);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "label847684", label847684,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847684);
  gtk_box_pack_start (GTK_BOX (vbox100), label847684, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label847684), 1, 0.5);

  label847693 = gtk_label_new (_("Description:"));
  gtk_widget_ref (label847693);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "label847693", label847693,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847693);
  gtk_box_pack_start (GTK_BOX (vbox100), label847693, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label847693), 1, 0.5);

  vbox101 = gtk_vbox_new (TRUE, 4);
  gtk_widget_ref (vbox101);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "vbox101", vbox101,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox101);
  gtk_box_pack_start (GTK_BOX (hbox86), vbox101, FALSE, FALSE, 0);

  date_box = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (date_box);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "date_box", date_box,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (date_box);
  gtk_box_pack_start (GTK_BOX (vbox101), date_box, FALSE, FALSE, 0);

  distribution_box = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (distribution_box);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "distribution_box", distribution_box,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (distribution_box);
  gtk_box_pack_start (GTK_BOX (vbox101), distribution_box, FALSE, FALSE, 0);

  description_entry = gtk_entry_new ();
  gtk_widget_ref (description_entry);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "description_entry", description_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (description_entry);
  gtk_box_pack_start (GTK_BOX (vbox101), description_entry, FALSE, FALSE, 0);
  gtk_entry_set_text (GTK_ENTRY (description_entry), _("Stock Split"));

  hseparator2 = gtk_hseparator_new ();
  gtk_widget_ref (hseparator2);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "hseparator2", hseparator2,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hseparator2);
  gtk_box_pack_start (GTK_BOX (druid_vbox32), hseparator2, FALSE, FALSE, 5);

  label847691 = gtk_label_new (_("If you want to record a stock price for the split, enter it below.\nYou may safely leave it blank."));
  gtk_widget_ref (label847691);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "label847691", label847691,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847691);
  gtk_box_pack_start (GTK_BOX (druid_vbox32), label847691, FALSE, FALSE, 0);

  hbox93 = gtk_hbox_new (FALSE, 4);
  gtk_widget_ref (hbox93);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "hbox93", hbox93,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox93);
  gtk_box_pack_start (GTK_BOX (druid_vbox32), hbox93, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox93), 10);

  vbox107 = gtk_vbox_new (TRUE, 4);
  gtk_widget_ref (vbox107);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "vbox107", vbox107,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox107);
  gtk_box_pack_start (GTK_BOX (hbox93), vbox107, FALSE, FALSE, 0);

  label847692 = gtk_label_new (_("New Price:"));
  gtk_widget_ref (label847692);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "label847692", label847692,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847692);
  gtk_box_pack_start (GTK_BOX (vbox107), label847692, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label847692), 1, 0.5);

  label847715 = gtk_label_new (_("Currency:"));
  gtk_widget_ref (label847715);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "label847715", label847715,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847715);
  gtk_box_pack_start (GTK_BOX (vbox107), label847715, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label847715), 1, 0.5);

  vbox108 = gtk_vbox_new (TRUE, 4);
  gtk_widget_ref (vbox108);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "vbox108", vbox108,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox108);
  gtk_box_pack_start (GTK_BOX (hbox93), vbox108, FALSE, FALSE, 0);

  price_box = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (price_box);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "price_box", price_box,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (price_box);
  gtk_box_pack_start (GTK_BOX (vbox108), price_box, TRUE, TRUE, 0);

  price_currency_box = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (price_currency_box);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "price_currency_box", price_currency_box,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (price_currency_box);
  gtk_box_pack_start (GTK_BOX (vbox108), price_currency_box, TRUE, TRUE, 0);

  cash_page = gnome_druid_page_standard_new_with_vals ("", NULL);
  gtk_widget_ref (cash_page);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "cash_page", cash_page,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show_all (cash_page);
  gnome_druid_append_page (GNOME_DRUID (stock_split_druid), GNOME_DRUID_PAGE (cash_page));
  gnome_druid_page_standard_set_bg_color (GNOME_DRUID_PAGE_STANDARD (cash_page), &cash_page_bg_color);
  gnome_druid_page_standard_set_logo_bg_color (GNOME_DRUID_PAGE_STANDARD (cash_page), &cash_page_logo_bg_color);
  gnome_druid_page_standard_set_title_color (GNOME_DRUID_PAGE_STANDARD (cash_page), &cash_page_title_color);
  gnome_druid_page_standard_set_title (GNOME_DRUID_PAGE_STANDARD (cash_page), _("Cash In Lieu"));

  druid_vbox33 = GNOME_DRUID_PAGE_STANDARD (cash_page)->vbox;
  gtk_widget_ref (druid_vbox33);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "druid_vbox33", druid_vbox33,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (druid_vbox33);
  gtk_container_set_border_width (GTK_CONTAINER (druid_vbox33), 5);

  label847687 = gtk_label_new (_("If you received a cash disbursement as a result of the stock split,\nenter the details of that payment here. Otherwise, just click `Next'."));
  gtk_widget_ref (label847687);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "label847687", label847687,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847687);
  gtk_box_pack_start (GTK_BOX (druid_vbox33), label847687, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (label847687), GTK_JUSTIFY_LEFT);

  vbox102 = gtk_vbox_new (FALSE, 10);
  gtk_widget_ref (vbox102);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "vbox102", vbox102,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox102);
  gtk_box_pack_start (GTK_BOX (druid_vbox33), vbox102, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (vbox102), 5);

  hbox87 = gtk_hbox_new (FALSE, 2);
  gtk_widget_ref (hbox87);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "hbox87", hbox87,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox87);
  gtk_box_pack_start (GTK_BOX (vbox102), hbox87, FALSE, FALSE, 0);

  vbox103 = gtk_vbox_new (TRUE, 2);
  gtk_widget_ref (vbox103);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "vbox103", vbox103,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox103);
  gtk_box_pack_start (GTK_BOX (hbox87), vbox103, FALSE, FALSE, 0);

  label847688 = gtk_label_new (_("Cash Amount:"));
  gtk_widget_ref (label847688);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "label847688", label847688,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847688);
  gtk_box_pack_start (GTK_BOX (vbox103), label847688, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label847688), 1, 0.5);

  label847689 = gtk_label_new (_("Memo:"));
  gtk_widget_ref (label847689);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "label847689", label847689,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847689);
  gtk_box_pack_start (GTK_BOX (vbox103), label847689, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label847689), 1, 0.5);

  vbox104 = gtk_vbox_new (TRUE, 2);
  gtk_widget_ref (vbox104);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "vbox104", vbox104,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox104);
  gtk_box_pack_start (GTK_BOX (hbox87), vbox104, TRUE, TRUE, 0);

  cash_box = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (cash_box);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "cash_box", cash_box,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (cash_box);
  gtk_box_pack_start (GTK_BOX (vbox104), cash_box, FALSE, FALSE, 0);

  memo_entry = gtk_entry_new ();
  gtk_widget_ref (memo_entry);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "memo_entry", memo_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (memo_entry);
  gtk_box_pack_start (GTK_BOX (vbox104), memo_entry, FALSE, FALSE, 0);
  gtk_entry_set_text (GTK_ENTRY (memo_entry), _("Cash In Lieu"));

  hbox88 = gtk_hbox_new (TRUE, 2);
  gtk_widget_ref (hbox88);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "hbox88", hbox88,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox88);
  gtk_box_pack_start (GTK_BOX (vbox102), hbox88, TRUE, TRUE, 0);

  frame43 = gtk_frame_new (_("Income Account"));
  gtk_widget_ref (frame43);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "frame43", frame43,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame43);
  gtk_box_pack_start (GTK_BOX (hbox88), frame43, TRUE, TRUE, 0);

  income_scroll = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (income_scroll);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "income_scroll", income_scroll,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (income_scroll);
  gtk_container_add (GTK_CONTAINER (frame43), income_scroll);
  gtk_container_set_border_width (GTK_CONTAINER (income_scroll), 3);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (income_scroll), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  frame44 = gtk_frame_new (_("Asset Account"));
  gtk_widget_ref (frame44);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "frame44", frame44,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame44);
  gtk_box_pack_start (GTK_BOX (hbox88), frame44, TRUE, TRUE, 0);

  asset_scroll = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (asset_scroll);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "asset_scroll", asset_scroll,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (asset_scroll);
  gtk_container_add (GTK_CONTAINER (frame44), asset_scroll);
  gtk_container_set_border_width (GTK_CONTAINER (asset_scroll), 3);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (asset_scroll), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  finish_page = gnome_druid_page_finish_new ();
  gtk_widget_ref (finish_page);
  gtk_object_set_data_full (GTK_OBJECT (Stock_Split_Druid), "finish_page", finish_page,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (finish_page);
  gnome_druid_append_page (GNOME_DRUID (stock_split_druid), GNOME_DRUID_PAGE (finish_page));
  gnome_druid_page_finish_set_bg_color (GNOME_DRUID_PAGE_FINISH (finish_page), &finish_page_bg_color);
  gnome_druid_page_finish_set_textbox_color (GNOME_DRUID_PAGE_FINISH (finish_page), &finish_page_textbox_color);
  gnome_druid_page_finish_set_logo_bg_color (GNOME_DRUID_PAGE_FINISH (finish_page), &finish_page_logo_bg_color);
  gnome_druid_page_finish_set_title_color (GNOME_DRUID_PAGE_FINISH (finish_page), &finish_page_title_color);
  gnome_druid_page_finish_set_text (GNOME_DRUID_PAGE_FINISH (finish_page), _("If you are finished creating the stock split or merger, press `Finish'.\nYou may also press `Back' to review your choices, or `Cancel' to\nquit without making any changes."));

  return Stock_Split_Druid;
}

GtkWidget*
create_Username_Password_Dialog (void)
{
  GtkWidget *Username_Password_Dialog;
  GtkWidget *dialog_vbox16;
  GtkWidget *heading_label;
  GtkWidget *frame47;
  GtkWidget *hbox95;
  GtkWidget *vbox105;
  GtkWidget *label847713;
  GtkWidget *label847714;
  GtkWidget *vbox106;
  GtkWidget *username_entry;
  GtkWidget *password_entry;
  GtkWidget *dialog_action_area16;
  GtkWidget *button79;
  GtkWidget *button81;

  Username_Password_Dialog = gnome_dialog_new (_("Username and Password"), NULL);
  gtk_object_set_data (GTK_OBJECT (Username_Password_Dialog), "Username_Password_Dialog", Username_Password_Dialog);
  gtk_window_set_policy (GTK_WINDOW (Username_Password_Dialog), FALSE, FALSE, FALSE);
  gnome_dialog_close_hides (GNOME_DIALOG (Username_Password_Dialog), TRUE);

  dialog_vbox16 = GNOME_DIALOG (Username_Password_Dialog)->vbox;
  gtk_object_set_data (GTK_OBJECT (Username_Password_Dialog), "dialog_vbox16", dialog_vbox16);
  gtk_widget_show (dialog_vbox16);

  heading_label = gtk_label_new (_("Enter your username and password"));
  gtk_widget_ref (heading_label);
  gtk_object_set_data_full (GTK_OBJECT (Username_Password_Dialog), "heading_label", heading_label,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (heading_label);
  gtk_box_pack_start (GTK_BOX (dialog_vbox16), heading_label, FALSE, FALSE, 0);

  frame47 = gtk_frame_new (NULL);
  gtk_widget_ref (frame47);
  gtk_object_set_data_full (GTK_OBJECT (Username_Password_Dialog), "frame47", frame47,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame47);
  gtk_box_pack_start (GTK_BOX (dialog_vbox16), frame47, TRUE, TRUE, 0);

  hbox95 = gtk_hbox_new (FALSE, 2);
  gtk_widget_ref (hbox95);
  gtk_object_set_data_full (GTK_OBJECT (Username_Password_Dialog), "hbox95", hbox95,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox95);
  gtk_container_add (GTK_CONTAINER (frame47), hbox95);
  gtk_container_set_border_width (GTK_CONTAINER (hbox95), 10);

  vbox105 = gtk_vbox_new (TRUE, 5);
  gtk_widget_ref (vbox105);
  gtk_object_set_data_full (GTK_OBJECT (Username_Password_Dialog), "vbox105", vbox105,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox105);
  gtk_box_pack_start (GTK_BOX (hbox95), vbox105, TRUE, TRUE, 0);

  label847713 = gtk_label_new (_("Username:"));
  gtk_widget_ref (label847713);
  gtk_object_set_data_full (GTK_OBJECT (Username_Password_Dialog), "label847713", label847713,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847713);
  gtk_box_pack_start (GTK_BOX (vbox105), label847713, FALSE, FALSE, 0);

  label847714 = gtk_label_new (_("Password:"));
  gtk_widget_ref (label847714);
  gtk_object_set_data_full (GTK_OBJECT (Username_Password_Dialog), "label847714", label847714,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847714);
  gtk_box_pack_start (GTK_BOX (vbox105), label847714, FALSE, FALSE, 0);

  vbox106 = gtk_vbox_new (TRUE, 5);
  gtk_widget_ref (vbox106);
  gtk_object_set_data_full (GTK_OBJECT (Username_Password_Dialog), "vbox106", vbox106,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox106);
  gtk_box_pack_start (GTK_BOX (hbox95), vbox106, TRUE, TRUE, 0);

  username_entry = gtk_entry_new ();
  gtk_widget_ref (username_entry);
  gtk_object_set_data_full (GTK_OBJECT (Username_Password_Dialog), "username_entry", username_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (username_entry);
  gtk_box_pack_start (GTK_BOX (vbox106), username_entry, FALSE, FALSE, 0);

  password_entry = gtk_entry_new ();
  gtk_widget_ref (password_entry);
  gtk_object_set_data_full (GTK_OBJECT (Username_Password_Dialog), "password_entry", password_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (password_entry);
  gtk_box_pack_start (GTK_BOX (vbox106), password_entry, FALSE, FALSE, 0);
  gtk_entry_set_visibility (GTK_ENTRY (password_entry), FALSE);

  dialog_action_area16 = GNOME_DIALOG (Username_Password_Dialog)->action_area;
  gtk_object_set_data (GTK_OBJECT (Username_Password_Dialog), "dialog_action_area16", dialog_action_area16);
  gtk_widget_show (dialog_action_area16);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area16), GTK_BUTTONBOX_END);
  gtk_button_box_set_spacing (GTK_BUTTON_BOX (dialog_action_area16), 8);

  gnome_dialog_append_button (GNOME_DIALOG (Username_Password_Dialog), GNOME_STOCK_BUTTON_OK);
  button79 = g_list_last (GNOME_DIALOG (Username_Password_Dialog)->buttons)->data;
  gtk_widget_ref (button79);
  gtk_object_set_data_full (GTK_OBJECT (Username_Password_Dialog), "button79", button79,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button79);
  GTK_WIDGET_SET_FLAGS (button79, GTK_CAN_DEFAULT);

  gnome_dialog_append_button (GNOME_DIALOG (Username_Password_Dialog), GNOME_STOCK_BUTTON_CANCEL);
  button81 = g_list_last (GNOME_DIALOG (Username_Password_Dialog)->buttons)->data;
  gtk_widget_ref (button81);
  gtk_object_set_data_full (GTK_OBJECT (Username_Password_Dialog), "button81", button81,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button81);
  GTK_WIDGET_SET_FLAGS (button81, GTK_CAN_DEFAULT);

  return Username_Password_Dialog;
}

GtkWidget*
create_Edit_Column_View_Page (void)
{
  GtkWidget *Edit_Column_View_Page;
  GtkWidget *view_contents_hbox;
  GtkWidget *scrolledwindow26;
  GtkWidget *available_list;
  GtkWidget *label847720;
  GtkWidget *vbox109;
  GtkWidget *label847721;
  GtkWidget *button85;
  GtkWidget *button86;
  GtkWidget *label847722;
  GtkWidget *button87;
  GtkWidget *button88;
  GtkWidget *label847723;
  GtkWidget *button89;
  GtkWidget *label847728;
  GtkWidget *scrolledwindow27;
  GtkWidget *contents_list;
  GtkWidget *label847725;
  GtkWidget *label847726;
  GtkWidget *label847727;

  Edit_Column_View_Page = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_object_set_data (GTK_OBJECT (Edit_Column_View_Page), "Edit_Column_View_Page", Edit_Column_View_Page);
  gtk_window_set_title (GTK_WINDOW (Edit_Column_View_Page), _("window1"));
  gtk_window_set_policy (GTK_WINDOW (Edit_Column_View_Page), TRUE, TRUE, FALSE);

  view_contents_hbox = gtk_hbox_new (FALSE, 5);
  gtk_widget_ref (view_contents_hbox);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Column_View_Page), "view_contents_hbox", view_contents_hbox,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (view_contents_hbox);
  gtk_container_add (GTK_CONTAINER (Edit_Column_View_Page), view_contents_hbox);
  gtk_container_set_border_width (GTK_CONTAINER (view_contents_hbox), 3);

  scrolledwindow26 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (scrolledwindow26);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Column_View_Page), "scrolledwindow26", scrolledwindow26,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow26);
  gtk_box_pack_start (GTK_BOX (view_contents_hbox), scrolledwindow26, TRUE, TRUE, 0);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow26), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);

  available_list = gtk_clist_new (1);
  gtk_widget_ref (available_list);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Column_View_Page), "available_list", available_list,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (available_list);
  gtk_container_add (GTK_CONTAINER (scrolledwindow26), available_list);
  gtk_clist_set_column_width (GTK_CLIST (available_list), 0, 80);
  gtk_clist_set_selection_mode (GTK_CLIST (available_list), GTK_SELECTION_BROWSE);
  gtk_clist_column_titles_show (GTK_CLIST (available_list));

  label847720 = gtk_label_new (_("Available reports"));
  gtk_widget_ref (label847720);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Column_View_Page), "label847720", label847720,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847720);
  gtk_clist_set_column_widget (GTK_CLIST (available_list), 0, label847720);

  vbox109 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox109);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Column_View_Page), "vbox109", vbox109,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox109);
  gtk_box_pack_start (GTK_BOX (view_contents_hbox), vbox109, FALSE, FALSE, 0);

  label847721 = gtk_label_new (_("                       "));
  gtk_widget_ref (label847721);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Column_View_Page), "label847721", label847721,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847721);
  gtk_box_pack_start (GTK_BOX (vbox109), label847721, TRUE, TRUE, 0);

  button85 = gtk_button_new_with_label (_("Add  >>"));
  gtk_widget_ref (button85);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Column_View_Page), "button85", button85,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button85);
  gtk_box_pack_start (GTK_BOX (vbox109), button85, FALSE, FALSE, 0);

  button86 = gtk_button_new_with_label (_("<< Remove"));
  gtk_widget_ref (button86);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Column_View_Page), "button86", button86,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button86);
  gtk_box_pack_start (GTK_BOX (vbox109), button86, FALSE, FALSE, 0);

  label847722 = gtk_label_new ("");
  gtk_widget_ref (label847722);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Column_View_Page), "label847722", label847722,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847722);
  gtk_box_pack_start (GTK_BOX (vbox109), label847722, FALSE, TRUE, 0);

  button87 = gtk_button_new_with_label (_("Move up"));
  gtk_widget_ref (button87);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Column_View_Page), "button87", button87,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button87);
  gtk_box_pack_start (GTK_BOX (vbox109), button87, FALSE, FALSE, 0);

  button88 = gtk_button_new_with_label (_("Move down"));
  gtk_widget_ref (button88);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Column_View_Page), "button88", button88,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button88);
  gtk_box_pack_start (GTK_BOX (vbox109), button88, FALSE, FALSE, 0);

  label847723 = gtk_label_new ("");
  gtk_widget_ref (label847723);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Column_View_Page), "label847723", label847723,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847723);
  gtk_box_pack_start (GTK_BOX (vbox109), label847723, FALSE, FALSE, 0);

  button89 = gtk_button_new_with_label (_("Size..."));
  gtk_widget_ref (button89);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Column_View_Page), "button89", button89,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button89);
  gtk_box_pack_start (GTK_BOX (vbox109), button89, FALSE, FALSE, 0);

  label847728 = gtk_label_new ("");
  gtk_widget_ref (label847728);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Column_View_Page), "label847728", label847728,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847728);
  gtk_box_pack_start (GTK_BOX (vbox109), label847728, TRUE, TRUE, 0);

  scrolledwindow27 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (scrolledwindow27);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Column_View_Page), "scrolledwindow27", scrolledwindow27,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow27);
  gtk_box_pack_start (GTK_BOX (view_contents_hbox), scrolledwindow27, TRUE, TRUE, 0);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow27), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);

  contents_list = gtk_clist_new (3);
  gtk_widget_ref (contents_list);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Column_View_Page), "contents_list", contents_list,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (contents_list);
  gtk_container_add (GTK_CONTAINER (scrolledwindow27), contents_list);
  gtk_clist_set_column_width (GTK_CLIST (contents_list), 0, 150);
  gtk_clist_set_column_width (GTK_CLIST (contents_list), 1, 34);
  gtk_clist_set_column_width (GTK_CLIST (contents_list), 2, 25);
  gtk_clist_set_selection_mode (GTK_CLIST (contents_list), GTK_SELECTION_BROWSE);
  gtk_clist_column_titles_show (GTK_CLIST (contents_list));

  label847725 = gtk_label_new (_("Report"));
  gtk_widget_ref (label847725);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Column_View_Page), "label847725", label847725,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847725);
  gtk_clist_set_column_widget (GTK_CLIST (contents_list), 0, label847725);

  label847726 = gtk_label_new (_("Cols"));
  gtk_widget_ref (label847726);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Column_View_Page), "label847726", label847726,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847726);
  gtk_clist_set_column_widget (GTK_CLIST (contents_list), 1, label847726);

  label847727 = gtk_label_new (_("Rows"));
  gtk_widget_ref (label847727);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Column_View_Page), "label847727", label847727,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847727);
  gtk_clist_set_column_widget (GTK_CLIST (contents_list), 2, label847727);

  gtk_signal_connect (GTK_OBJECT (button85), "clicked",
                      GTK_SIGNAL_FUNC (gnc_column_view_edit_add_cb),
                      Edit_Column_View_Page);
  gtk_signal_connect (GTK_OBJECT (button86), "clicked",
                      GTK_SIGNAL_FUNC (gnc_column_view_edit_remove_cb),
                      Edit_Column_View_Page);
  gtk_signal_connect (GTK_OBJECT (button87), "clicked",
                      GTK_SIGNAL_FUNC (gnc_edit_column_view_move_up_cb),
                      Edit_Column_View_Page);
  gtk_signal_connect (GTK_OBJECT (button88), "clicked",
                      GTK_SIGNAL_FUNC (gnc_edit_column_view_move_down_cb),
                      Edit_Column_View_Page);
  gtk_signal_connect (GTK_OBJECT (button89), "clicked",
                      GTK_SIGNAL_FUNC (gnc_column_view_edit_size_cb),
                      Edit_Column_View_Page);

  return Edit_Column_View_Page;
}

GtkWidget*
create_Edit_Report_Size (void)
{
  GtkWidget *Edit_Report_Size;
  GtkWidget *dialog_vbox17;
  GtkWidget *frame48;
  GtkWidget *hbox97;
  GtkWidget *vbox111;
  GtkWidget *label847729;
  GtkWidget *label847730;
  GtkWidget *label847731;
  GtkWidget *vbox112;
  GtkObject *row_spin_adj;
  GtkWidget *row_spin;
  GtkObject *col_spin_adj;
  GtkWidget *col_spin;
  GtkWidget *label847732;
  GtkWidget *dialog_action_area17;
  GtkWidget *button90;
  GtkWidget *button92;

  Edit_Report_Size = gnome_dialog_new (NULL, NULL);
  gtk_object_set_data (GTK_OBJECT (Edit_Report_Size), "Edit_Report_Size", Edit_Report_Size);
  gtk_window_set_modal (GTK_WINDOW (Edit_Report_Size), TRUE);
  gtk_window_set_policy (GTK_WINDOW (Edit_Report_Size), FALSE, FALSE, FALSE);
  gnome_dialog_close_hides (GNOME_DIALOG (Edit_Report_Size), TRUE);

  dialog_vbox17 = GNOME_DIALOG (Edit_Report_Size)->vbox;
  gtk_object_set_data (GTK_OBJECT (Edit_Report_Size), "dialog_vbox17", dialog_vbox17);
  gtk_widget_show (dialog_vbox17);

  frame48 = gtk_frame_new (_("Enter report row/column span"));
  gtk_widget_ref (frame48);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Report_Size), "frame48", frame48,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame48);
  gtk_box_pack_start (GTK_BOX (dialog_vbox17), frame48, TRUE, TRUE, 0);

  hbox97 = gtk_hbox_new (FALSE, 4);
  gtk_widget_ref (hbox97);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Report_Size), "hbox97", hbox97,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox97);
  gtk_container_add (GTK_CONTAINER (frame48), hbox97);

  vbox111 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox111);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Report_Size), "vbox111", vbox111,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox111);
  gtk_box_pack_start (GTK_BOX (hbox97), vbox111, TRUE, TRUE, 0);

  label847729 = gtk_label_new (_("Row span:"));
  gtk_widget_ref (label847729);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Report_Size), "label847729", label847729,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847729);
  gtk_box_pack_start (GTK_BOX (vbox111), label847729, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label847729), 1, 0.5);

  label847730 = gtk_label_new (_("Column span:"));
  gtk_widget_ref (label847730);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Report_Size), "label847730", label847730,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847730);
  gtk_box_pack_start (GTK_BOX (vbox111), label847730, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label847730), 1, 0.5);

  label847731 = gtk_label_new ("");
  gtk_widget_ref (label847731);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Report_Size), "label847731", label847731,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847731);
  gtk_box_pack_start (GTK_BOX (vbox111), label847731, FALSE, FALSE, 0);

  vbox112 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox112);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Report_Size), "vbox112", vbox112,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox112);
  gtk_box_pack_start (GTK_BOX (hbox97), vbox112, TRUE, TRUE, 0);

  row_spin_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  row_spin = gtk_spin_button_new (GTK_ADJUSTMENT (row_spin_adj), 1, 0);
  gtk_widget_ref (row_spin);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Report_Size), "row_spin", row_spin,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (row_spin);
  gtk_box_pack_start (GTK_BOX (vbox112), row_spin, FALSE, FALSE, 0);

  col_spin_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  col_spin = gtk_spin_button_new (GTK_ADJUSTMENT (col_spin_adj), 1, 0);
  gtk_widget_ref (col_spin);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Report_Size), "col_spin", col_spin,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (col_spin);
  gtk_box_pack_start (GTK_BOX (vbox112), col_spin, FALSE, FALSE, 0);

  label847732 = gtk_label_new ("");
  gtk_widget_ref (label847732);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Report_Size), "label847732", label847732,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label847732);
  gtk_box_pack_start (GTK_BOX (vbox112), label847732, FALSE, FALSE, 0);

  dialog_action_area17 = GNOME_DIALOG (Edit_Report_Size)->action_area;
  gtk_object_set_data (GTK_OBJECT (Edit_Report_Size), "dialog_action_area17", dialog_action_area17);
  gtk_widget_show (dialog_action_area17);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area17), GTK_BUTTONBOX_SPREAD);
  gtk_button_box_set_spacing (GTK_BUTTON_BOX (dialog_action_area17), 8);

  gnome_dialog_append_button (GNOME_DIALOG (Edit_Report_Size), GNOME_STOCK_BUTTON_OK);
  button90 = g_list_last (GNOME_DIALOG (Edit_Report_Size)->buttons)->data;
  gtk_widget_ref (button90);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Report_Size), "button90", button90,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button90);
  GTK_WIDGET_SET_FLAGS (button90, GTK_CAN_DEFAULT);

  gnome_dialog_append_button (GNOME_DIALOG (Edit_Report_Size), GNOME_STOCK_BUTTON_CANCEL);
  button92 = g_list_last (GNOME_DIALOG (Edit_Report_Size)->buttons)->data;
  gtk_widget_ref (button92);
  gtk_object_set_data_full (GTK_OBJECT (Edit_Report_Size), "button92", button92,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (button92);
  GTK_WIDGET_SET_FLAGS (button92, GTK_CAN_DEFAULT);

  return Edit_Report_Size;
}

GtkWidget*
create_Prices_Dialog (void)
{
  GtkWidget *Prices_Dialog;
  GtkWidget *vbox121;
  GtkWidget *frame50;
  GtkWidget *vbox122;
  GtkWidget *scrolledwindow32;
  GtkWidget *price_list;
  GtkWidget *label8477415;
  GtkWidget *label8477416;
  GtkWidget *label8477417;
  GtkWidget *label8477418;
  GtkWidget *label8477419;
  GtkWidget *label8477420;
  GtkWidget *hbox108;
  GSList *price_sort_radio_group = NULL;
  GtkWidget *sort_by_commodity_radio;
  GtkWidget *radiobutton10;
  GtkWidget *hbuttonbox5;
  GtkWidget *add_button;
  GtkWidget *remove_button;
  GtkWidget *remove_old_button;
  GtkWidget *edit_button;
  GtkWidget *get_quotes_button;
  GtkWidget *hbuttonbox4;
  GtkWidget *close_button;
  GtkTooltips *tooltips;

  tooltips = gtk_tooltips_new ();

  Prices_Dialog = gnome_dialog_new (_("Price Editor"), NULL);
  gtk_object_set_data (GTK_OBJECT (Prices_Dialog), "Prices_Dialog", Prices_Dialog);
  gtk_window_set_policy (GTK_WINDOW (Prices_Dialog), TRUE, TRUE, FALSE);

  vbox121 = GNOME_DIALOG (Prices_Dialog)->vbox;
  gtk_object_set_data (GTK_OBJECT (Prices_Dialog), "vbox121", vbox121);
  gtk_widget_show (vbox121);

  frame50 = gtk_frame_new (_("Prices"));
  gtk_widget_ref (frame50);
  gtk_object_set_data_full (GTK_OBJECT (Prices_Dialog), "frame50", frame50,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame50);
  gtk_box_pack_start (GTK_BOX (vbox121), frame50, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame50), 3);

  vbox122 = gtk_vbox_new (FALSE, 5);
  gtk_widget_ref (vbox122);
  gtk_object_set_data_full (GTK_OBJECT (Prices_Dialog), "vbox122", vbox122,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox122);
  gtk_container_add (GTK_CONTAINER (frame50), vbox122);

  scrolledwindow32 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (scrolledwindow32);
  gtk_object_set_data_full (GTK_OBJECT (Prices_Dialog), "scrolledwindow32", scrolledwindow32,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow32);
  gtk_box_pack_start (GTK_BOX (vbox122), scrolledwindow32, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (scrolledwindow32), 3);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow32), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);

  price_list = gtk_clist_new (6);
  gtk_widget_ref (price_list);
  gtk_object_set_data_full (GTK_OBJECT (Prices_Dialog), "price_list", price_list,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (price_list);
  gtk_container_add (GTK_CONTAINER (scrolledwindow32), price_list);
  gtk_clist_set_column_width (GTK_CLIST (price_list), 0, 80);
  gtk_clist_set_column_width (GTK_CLIST (price_list), 1, 80);
  gtk_clist_set_column_width (GTK_CLIST (price_list), 2, 80);
  gtk_clist_set_column_width (GTK_CLIST (price_list), 3, 80);
  gtk_clist_set_column_width (GTK_CLIST (price_list), 4, 80);
  gtk_clist_set_column_width (GTK_CLIST (price_list), 5, 80);
  gtk_clist_set_selection_mode (GTK_CLIST (price_list), GTK_SELECTION_BROWSE);
  gtk_clist_column_titles_show (GTK_CLIST (price_list));

  label8477415 = gtk_label_new (_("Commodity"));
  gtk_widget_ref (label8477415);
  gtk_object_set_data_full (GTK_OBJECT (Prices_Dialog), "label8477415", label8477415,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label8477415);
  gtk_clist_set_column_widget (GTK_CLIST (price_list), 0, label8477415);

  label8477416 = gtk_label_new (_("Currency"));
  gtk_widget_ref (label8477416);
  gtk_object_set_data_full (GTK_OBJECT (Prices_Dialog), "label8477416", label8477416,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label8477416);
  gtk_clist_set_column_widget (GTK_CLIST (price_list), 1, label8477416);

  label8477417 = gtk_label_new (_("Date"));
  gtk_widget_ref (label8477417);
  gtk_object_set_data_full (GTK_OBJECT (Prices_Dialog), "label8477417", label8477417,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label8477417);
  gtk_clist_set_column_widget (GTK_CLIST (price_list), 2, label8477417);

  label8477418 = gtk_label_new (_("Source"));
  gtk_widget_ref (label8477418);
  gtk_object_set_data_full (GTK_OBJECT (Prices_Dialog), "label8477418", label8477418,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label8477418);
  gtk_clist_set_column_widget (GTK_CLIST (price_list), 3, label8477418);

  label8477419 = gtk_label_new (_("Type"));
  gtk_widget_ref (label8477419);
  gtk_object_set_data_full (GTK_OBJECT (Prices_Dialog), "label8477419", label8477419,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label8477419);
  gtk_clist_set_column_widget (GTK_CLIST (price_list), 4, label8477419);

  label8477420 = gtk_label_new (_("Price"));
  gtk_widget_ref (label8477420);
  gtk_object_set_data_full (GTK_OBJECT (Prices_Dialog), "label8477420", label8477420,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label8477420);
  gtk_clist_set_column_widget (GTK_CLIST (price_list), 5, label8477420);

  hbox108 = gtk_hbox_new (TRUE, 10);
  gtk_widget_ref (hbox108);
  gtk_object_set_data_full (GTK_OBJECT (Prices_Dialog), "hbox108", hbox108,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox108);
  gtk_box_pack_start (GTK_BOX (vbox122), hbox108, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbox108), 3);

  sort_by_commodity_radio = gtk_radio_button_new_with_label (price_sort_radio_group, _("Sort by Commodity"));
  price_sort_radio_group = gtk_radio_button_group (GTK_RADIO_BUTTON (sort_by_commodity_radio));
  gtk_widget_ref (sort_by_commodity_radio);
  gtk_object_set_data_full (GTK_OBJECT (Prices_Dialog), "sort_by_commodity_radio", sort_by_commodity_radio,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (sort_by_commodity_radio);
  gtk_box_pack_start (GTK_BOX (hbox108), sort_by_commodity_radio, FALSE, FALSE, 0);

  radiobutton10 = gtk_radio_button_new_with_label (price_sort_radio_group, _("Sort by Date"));
  price_sort_radio_group = gtk_radio_button_group (GTK_RADIO_BUTTON (radiobutton10));
  gtk_widget_ref (radiobutton10);
  gtk_object_set_data_full (GTK_OBJECT (Prices_Dialog), "radiobutton10", radiobutton10,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (radiobutton10);
  gtk_box_pack_start (GTK_BOX (hbox108), radiobutton10, FALSE, FALSE, 0);

  hbuttonbox5 = gtk_hbutton_box_new ();
  gtk_widget_ref (hbuttonbox5);
  gtk_object_set_data_full (GTK_OBJECT (Prices_Dialog), "hbuttonbox5", hbuttonbox5,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbuttonbox5);
  gtk_box_pack_start (GTK_BOX (vbox122), hbuttonbox5, FALSE, FALSE, 0);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox5), GTK_BUTTONBOX_SPREAD);
  gtk_button_box_set_spacing (GTK_BUTTON_BOX (hbuttonbox5), 20);
  gtk_button_box_set_child_size (GTK_BUTTON_BOX (hbuttonbox5), 50, 27);

  add_button = gtk_button_new_with_label (_("Add"));
  gtk_widget_ref (add_button);
  gtk_object_set_data_full (GTK_OBJECT (Prices_Dialog), "add_button", add_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (add_button);
  gtk_container_add (GTK_CONTAINER (hbuttonbox5), add_button);
  GTK_WIDGET_SET_FLAGS (add_button, GTK_CAN_DEFAULT);
  gtk_tooltips_set_tip (tooltips, add_button, _("Add a new price."), NULL);

  remove_button = gtk_button_new_with_label (_("Remove"));
  gtk_widget_ref (remove_button);
  gtk_object_set_data_full (GTK_OBJECT (Prices_Dialog), "remove_button", remove_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (remove_button);
  gtk_container_add (GTK_CONTAINER (hbuttonbox5), remove_button);
  GTK_WIDGET_SET_FLAGS (remove_button, GTK_CAN_DEFAULT);
  gtk_tooltips_set_tip (tooltips, remove_button, _("Remove the current price"), NULL);

  remove_old_button = gtk_button_new_with_label (_("Remove Old..."));
  gtk_widget_ref (remove_old_button);
  gtk_object_set_data_full (GTK_OBJECT (Prices_Dialog), "remove_old_button", remove_old_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (remove_old_button);
  gtk_container_add (GTK_CONTAINER (hbuttonbox5), remove_old_button);
  GTK_WIDGET_SET_FLAGS (remove_old_button, GTK_CAN_DEFAULT);
  gtk_tooltips_set_tip (tooltips, remove_old_button, _("Remove prices older than a user-entered date"), NULL);

  edit_button = gtk_button_new_with_label (_("Edit"));
  gtk_widget_ref (edit_button);
  gtk_object_set_data_full (GTK_OBJECT (Prices_Dialog), "edit_button", edit_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (edit_button);
  gtk_container_add (GTK_CONTAINER (hbuttonbox5), edit_button);
  GTK_WIDGET_SET_FLAGS (edit_button, GTK_CAN_DEFAULT);
  gtk_tooltips_set_tip (tooltips, edit_button, _("Edit the current price."), NULL);

  get_quotes_button = gtk_button_new_with_label (_("Get Quotes"));
  gtk_widget_ref (get_quotes_button);
  gtk_object_set_data_full (GTK_OBJECT (Prices_Dialog), "get_quotes_button", get_quotes_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (get_quotes_button);
  gtk_container_add (GTK_CONTAINER (hbuttonbox5), get_quotes_button);
  GTK_WIDGET_SET_FLAGS (get_quotes_button, GTK_CAN_DEFAULT);
  gtk_tooltips_set_tip (tooltips, get_quotes_button, _("Get new online quotes for stock accounts."), NULL);

  hbuttonbox4 = GNOME_DIALOG (Prices_Dialog)->action_area;
  gtk_object_set_data (GTK_OBJECT (Prices_Dialog), "hbuttonbox4", hbuttonbox4);
  gtk_widget_show (hbuttonbox4);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox4), GTK_BUTTONBOX_END);
  gtk_button_box_set_spacing (GTK_BUTTON_BOX (hbuttonbox4), 8);

  gnome_dialog_append_button (GNOME_DIALOG (Prices_Dialog), GNOME_STOCK_BUTTON_CLOSE);
  close_button = g_list_last (GNOME_DIALOG (Prices_Dialog)->buttons)->data;
  gtk_widget_ref (close_button);
  gtk_object_set_data_full (GTK_OBJECT (Prices_Dialog), "close_button", close_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (close_button);
  GTK_WIDGET_SET_FLAGS (close_button, GTK_CAN_DEFAULT);

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

  return Prices_Dialog;
}

GtkWidget*
create_Price_Dialog (void)
{
  GtkWidget *Price_Dialog;
  GtkWidget *dialog_vbox18;
  GtkWidget *price_info_frame;
  GtkWidget *vbox126;
  GtkWidget *hbox106;
  GtkWidget *vbox125;
  GtkWidget *label8477399;
  GtkWidget *label8477400;
  GtkWidget *label8477401;
  GtkWidget *label8477402;
  GtkWidget *label8477403;
  GtkWidget *label8477404;
  GtkWidget *vbox126zz;
  GtkWidget *commodity_box;
  GtkWidget *currency_box;
  GtkWidget *date_box;
  GtkWidget *source_entry;
  GtkWidget *type_option;
  GtkWidget *type_option_menu;
  GtkWidget *glade_menuitem;
  GtkWidget *price_box;
  GtkWidget *dialog_action_area18;
  GtkWidget *ok_button;
  GtkWidget *cancel_button;

  Price_Dialog = gnome_dialog_new (_("Price Editor"), NULL);
  gtk_object_set_data (GTK_OBJECT (Price_Dialog), "Price_Dialog", Price_Dialog);
  gtk_window_set_modal (GTK_WINDOW (Price_Dialog), TRUE);
  gtk_window_set_policy (GTK_WINDOW (Price_Dialog), FALSE, FALSE, FALSE);

  dialog_vbox18 = GNOME_DIALOG (Price_Dialog)->vbox;
  gtk_object_set_data (GTK_OBJECT (Price_Dialog), "dialog_vbox18", dialog_vbox18);
  gtk_widget_show (dialog_vbox18);

  price_info_frame = gtk_frame_new (_("Price Information"));
  gtk_widget_ref (price_info_frame);
  gtk_object_set_data_full (GTK_OBJECT (Price_Dialog), "price_info_frame", price_info_frame,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (price_info_frame);
  gtk_box_pack_start (GTK_BOX (dialog_vbox18), price_info_frame, TRUE, TRUE, 0);

  vbox126 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox126);
  gtk_object_set_data_full (GTK_OBJECT (Price_Dialog), "vbox126", vbox126,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox126);
  gtk_container_add (GTK_CONTAINER (price_info_frame), vbox126);
  gtk_container_set_border_width (GTK_CONTAINER (vbox126), 3);

  hbox106 = gtk_hbox_new (FALSE, 2);
  gtk_widget_ref (hbox106);
  gtk_object_set_data_full (GTK_OBJECT (Price_Dialog), "hbox106", hbox106,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox106);
  gtk_box_pack_start (GTK_BOX (vbox126), hbox106, FALSE, FALSE, 0);

  vbox125 = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox125);
  gtk_object_set_data_full (GTK_OBJECT (Price_Dialog), "vbox125", vbox125,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox125);
  gtk_box_pack_start (GTK_BOX (hbox106), vbox125, FALSE, FALSE, 0);

  label8477399 = gtk_label_new (_("Commodity:"));
  gtk_widget_ref (label8477399);
  gtk_object_set_data_full (GTK_OBJECT (Price_Dialog), "label8477399", label8477399,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label8477399);
  gtk_box_pack_start (GTK_BOX (vbox125), label8477399, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label8477399), 1, 0.5);

  label8477400 = gtk_label_new (_("Currency:"));
  gtk_widget_ref (label8477400);
  gtk_object_set_data_full (GTK_OBJECT (Price_Dialog), "label8477400", label8477400,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label8477400);
  gtk_box_pack_start (GTK_BOX (vbox125), label8477400, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label8477400), 1, 0.5);

  label8477401 = gtk_label_new (_("Date:"));
  gtk_widget_ref (label8477401);
  gtk_object_set_data_full (GTK_OBJECT (Price_Dialog), "label8477401", label8477401,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label8477401);
  gtk_box_pack_start (GTK_BOX (vbox125), label8477401, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label8477401), 1, 0.5);

  label8477402 = gtk_label_new (_("Source:"));
  gtk_widget_ref (label8477402);
  gtk_object_set_data_full (GTK_OBJECT (Price_Dialog), "label8477402", label8477402,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_box_pack_start (GTK_BOX (vbox125), label8477402, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label8477402), 1, 0.5);

  label8477403 = gtk_label_new (_("Type:"));
  gtk_widget_ref (label8477403);
  gtk_object_set_data_full (GTK_OBJECT (Price_Dialog), "label8477403", label8477403,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label8477403);
  gtk_box_pack_start (GTK_BOX (vbox125), label8477403, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label8477403), 1, 0.5);

  label8477404 = gtk_label_new (_("Price:"));
  gtk_widget_ref (label8477404);
  gtk_object_set_data_full (GTK_OBJECT (Price_Dialog), "label8477404", label8477404,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label8477404);
  gtk_box_pack_start (GTK_BOX (vbox125), label8477404, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label8477404), 1, 0.5);

  vbox126zz = gtk_vbox_new (TRUE, 0);
  gtk_widget_ref (vbox126zz);
  gtk_object_set_data_full (GTK_OBJECT (Price_Dialog), "vbox126zz", vbox126zz,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox126zz);
  gtk_box_pack_start (GTK_BOX (hbox106), vbox126zz, TRUE, TRUE, 0);

  commodity_box = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (commodity_box);
  gtk_object_set_data_full (GTK_OBJECT (Price_Dialog), "commodity_box", commodity_box,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (commodity_box);
  gtk_box_pack_start (GTK_BOX (vbox126zz), commodity_box, TRUE, TRUE, 0);

  currency_box = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (currency_box);
  gtk_object_set_data_full (GTK_OBJECT (Price_Dialog), "currency_box", currency_box,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (currency_box);
  gtk_box_pack_start (GTK_BOX (vbox126zz), currency_box, TRUE, TRUE, 0);

  date_box = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (date_box);
  gtk_object_set_data_full (GTK_OBJECT (Price_Dialog), "date_box", date_box,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (date_box);
  gtk_box_pack_start (GTK_BOX (vbox126zz), date_box, TRUE, TRUE, 0);

  source_entry = gtk_entry_new ();
  gtk_widget_ref (source_entry);
  gtk_object_set_data_full (GTK_OBJECT (Price_Dialog), "source_entry", source_entry,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_box_pack_start (GTK_BOX (vbox126zz), source_entry, FALSE, FALSE, 0);
  gtk_entry_set_editable (GTK_ENTRY (source_entry), FALSE);

  type_option = gtk_option_menu_new ();
  gtk_widget_ref (type_option);
  gtk_object_set_data_full (GTK_OBJECT (Price_Dialog), "type_option", type_option,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (type_option);
  gtk_box_pack_start (GTK_BOX (vbox126zz), type_option, FALSE, FALSE, 0);
  type_option_menu = gtk_menu_new ();
  glade_menuitem = gtk_menu_item_new_with_label (_("Bid"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (type_option_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Ask"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (type_option_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Last"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (type_option_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Net Asset Value"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (type_option_menu), glade_menuitem);
  glade_menuitem = gtk_menu_item_new_with_label (_("Unknown"));
  gtk_widget_show (glade_menuitem);
  gtk_menu_append (GTK_MENU (type_option_menu), glade_menuitem);
  gtk_option_menu_set_menu (GTK_OPTION_MENU (type_option), type_option_menu);

  price_box = gtk_hbox_new (FALSE, 0);
  gtk_widget_ref (price_box);
  gtk_object_set_data_full (GTK_OBJECT (Price_Dialog), "price_box", price_box,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (price_box);
  gtk_box_pack_start (GTK_BOX (vbox126zz), price_box, TRUE, TRUE, 0);

  dialog_action_area18 = GNOME_DIALOG (Price_Dialog)->action_area;
  gtk_object_set_data (GTK_OBJECT (Price_Dialog), "dialog_action_area18", dialog_action_area18);
  gtk_widget_show (dialog_action_area18);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area18), GTK_BUTTONBOX_END);
  gtk_button_box_set_spacing (GTK_BUTTON_BOX (dialog_action_area18), 8);

  gnome_dialog_append_button (GNOME_DIALOG (Price_Dialog), GNOME_STOCK_BUTTON_OK);
  ok_button = g_list_last (GNOME_DIALOG (Price_Dialog)->buttons)->data;
  gtk_widget_ref (ok_button);
  gtk_object_set_data_full (GTK_OBJECT (Price_Dialog), "ok_button", ok_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (ok_button);
  GTK_WIDGET_SET_FLAGS (ok_button, GTK_CAN_DEFAULT);

  gnome_dialog_append_button (GNOME_DIALOG (Price_Dialog), GNOME_STOCK_BUTTON_CANCEL);
  cancel_button = g_list_last (GNOME_DIALOG (Price_Dialog)->buttons)->data;
  gtk_widget_ref (cancel_button);
  gtk_object_set_data_full (GTK_OBJECT (Price_Dialog), "cancel_button", cancel_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (cancel_button);
  GTK_WIDGET_SET_FLAGS (cancel_button, GTK_CAN_DEFAULT);

  return Price_Dialog;
}

GtkWidget*
create_Commodities_Dialog (void)
{
  GtkWidget *Commodities_Dialog;
  GtkWidget *vbox127;
  GtkWidget *hbox107;
  GtkWidget *frame51;
  GtkWidget *vbox128;
  GtkWidget *show_currencies_button;
  GtkWidget *scrolledwindow33;
  GtkWidget *commodity_list;
  GtkWidget *label8477426;
  GtkWidget *label8477427;
  GtkWidget *label8477428;
  GtkWidget *label8477429;
  GtkWidget *label8477430;
  GtkWidget *hbuttonbox7;
  GtkWidget *add_button;
  GtkWidget *remove_button;
  GtkWidget *edit_button;
  GtkWidget *hbuttonbox6;
  GtkWidget *close_button;
  GtkTooltips *tooltips;

  tooltips = gtk_tooltips_new ();

  Commodities_Dialog = gnome_dialog_new (_("Commodities"), NULL);
  gtk_object_set_data (GTK_OBJECT (Commodities_Dialog), "Commodities_Dialog", Commodities_Dialog);
  gtk_window_set_policy (GTK_WINDOW (Commodities_Dialog), TRUE, TRUE, FALSE);

  vbox127 = GNOME_DIALOG (Commodities_Dialog)->vbox;
  gtk_object_set_data (GTK_OBJECT (Commodities_Dialog), "vbox127", vbox127);
  gtk_widget_show (vbox127);

  hbox107 = gtk_hbox_new (FALSE, 2);
  gtk_widget_ref (hbox107);
  gtk_object_set_data_full (GTK_OBJECT (Commodities_Dialog), "hbox107", hbox107,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbox107);
  gtk_box_pack_start (GTK_BOX (vbox127), hbox107, TRUE, TRUE, 0);

  frame51 = gtk_frame_new (_("Commodities"));
  gtk_widget_ref (frame51);
  gtk_object_set_data_full (GTK_OBJECT (Commodities_Dialog), "frame51", frame51,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (frame51);
  gtk_box_pack_start (GTK_BOX (hbox107), frame51, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame51), 3);

  vbox128 = gtk_vbox_new (FALSE, 0);
  gtk_widget_ref (vbox128);
  gtk_object_set_data_full (GTK_OBJECT (Commodities_Dialog), "vbox128", vbox128,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (vbox128);
  gtk_container_add (GTK_CONTAINER (frame51), vbox128);

  show_currencies_button = gtk_check_button_new_with_label (_("Show National Currencies"));
  gtk_widget_ref (show_currencies_button);
  gtk_object_set_data_full (GTK_OBJECT (Commodities_Dialog), "show_currencies_button", show_currencies_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (show_currencies_button);
  gtk_box_pack_start (GTK_BOX (vbox128), show_currencies_button, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (show_currencies_button), 3);

  scrolledwindow33 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_ref (scrolledwindow33);
  gtk_object_set_data_full (GTK_OBJECT (Commodities_Dialog), "scrolledwindow33", scrolledwindow33,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (scrolledwindow33);
  gtk_box_pack_start (GTK_BOX (vbox128), scrolledwindow33, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (scrolledwindow33), 3);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow33), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);

  commodity_list = gtk_clist_new (5);
  gtk_widget_ref (commodity_list);
  gtk_object_set_data_full (GTK_OBJECT (Commodities_Dialog), "commodity_list", commodity_list,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (commodity_list);
  gtk_container_add (GTK_CONTAINER (scrolledwindow33), commodity_list);
  gtk_clist_set_column_width (GTK_CLIST (commodity_list), 0, 80);
  gtk_clist_set_column_width (GTK_CLIST (commodity_list), 1, 80);
  gtk_clist_set_column_width (GTK_CLIST (commodity_list), 2, 80);
  gtk_clist_set_column_width (GTK_CLIST (commodity_list), 3, 80);
  gtk_clist_set_column_width (GTK_CLIST (commodity_list), 4, 80);
  gtk_clist_column_titles_show (GTK_CLIST (commodity_list));

  label8477426 = gtk_label_new (_("Type"));
  gtk_widget_ref (label8477426);
  gtk_object_set_data_full (GTK_OBJECT (Commodities_Dialog), "label8477426", label8477426,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label8477426);
  gtk_clist_set_column_widget (GTK_CLIST (commodity_list), 0, label8477426);

  label8477427 = gtk_label_new (_("Symbol"));
  gtk_widget_ref (label8477427);
  gtk_object_set_data_full (GTK_OBJECT (Commodities_Dialog), "label8477427", label8477427,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label8477427);
  gtk_clist_set_column_widget (GTK_CLIST (commodity_list), 1, label8477427);

  label8477428 = gtk_label_new (_("Name"));
  gtk_widget_ref (label8477428);
  gtk_object_set_data_full (GTK_OBJECT (Commodities_Dialog), "label8477428", label8477428,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label8477428);
  gtk_clist_set_column_widget (GTK_CLIST (commodity_list), 2, label8477428);

  label8477429 = gtk_label_new (_("Code"));
  gtk_widget_ref (label8477429);
  gtk_object_set_data_full (GTK_OBJECT (Commodities_Dialog), "label8477429", label8477429,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label8477429);
  gtk_clist_set_column_widget (GTK_CLIST (commodity_list), 3, label8477429);

  label8477430 = gtk_label_new (_("Fraction"));
  gtk_widget_ref (label8477430);
  gtk_object_set_data_full (GTK_OBJECT (Commodities_Dialog), "label8477430", label8477430,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (label8477430);
  gtk_clist_set_column_widget (GTK_CLIST (commodity_list), 4, label8477430);

  hbuttonbox7 = gtk_hbutton_box_new ();
  gtk_widget_ref (hbuttonbox7);
  gtk_object_set_data_full (GTK_OBJECT (Commodities_Dialog), "hbuttonbox7", hbuttonbox7,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (hbuttonbox7);
  gtk_box_pack_start (GTK_BOX (vbox128), hbuttonbox7, FALSE, FALSE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (hbuttonbox7), 3);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox7), GTK_BUTTONBOX_SPREAD);

  add_button = gtk_button_new_with_label (_("Add"));
  gtk_widget_ref (add_button);
  gtk_object_set_data_full (GTK_OBJECT (Commodities_Dialog), "add_button", add_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (add_button);
  gtk_container_add (GTK_CONTAINER (hbuttonbox7), add_button);
  GTK_WIDGET_SET_FLAGS (add_button, GTK_CAN_DEFAULT);
  gtk_tooltips_set_tip (tooltips, add_button, _("Add a new price."), NULL);

  remove_button = gtk_button_new_with_label (_("Remove"));
  gtk_widget_ref (remove_button);
  gtk_object_set_data_full (GTK_OBJECT (Commodities_Dialog), "remove_button", remove_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (remove_button);
  gtk_container_add (GTK_CONTAINER (hbuttonbox7), remove_button);
  GTK_WIDGET_SET_FLAGS (remove_button, GTK_CAN_DEFAULT);
  gtk_tooltips_set_tip (tooltips, remove_button, _("Remove the current price"), NULL);

  edit_button = gtk_button_new_with_label (_("Edit"));
  gtk_widget_ref (edit_button);
  gtk_object_set_data_full (GTK_OBJECT (Commodities_Dialog), "edit_button", edit_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (edit_button);
  gtk_container_add (GTK_CONTAINER (hbuttonbox7), edit_button);
  GTK_WIDGET_SET_FLAGS (edit_button, GTK_CAN_DEFAULT);

  hbuttonbox6 = GNOME_DIALOG (Commodities_Dialog)->action_area;
  gtk_object_set_data (GTK_OBJECT (Commodities_Dialog), "hbuttonbox6", hbuttonbox6);
  gtk_widget_show (hbuttonbox6);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox6), GTK_BUTTONBOX_END);
  gtk_button_box_set_spacing (GTK_BUTTON_BOX (hbuttonbox6), 8);

  gnome_dialog_append_button (GNOME_DIALOG (Commodities_Dialog), GNOME_STOCK_BUTTON_CLOSE);
  close_button = g_list_last (GNOME_DIALOG (Commodities_Dialog)->buttons)->data;
  gtk_widget_ref (close_button);
  gtk_object_set_data_full (GTK_OBJECT (Commodities_Dialog), "close_button", close_button,
                            (GtkDestroyNotify) gtk_widget_unref);
  gtk_widget_show (close_button);
  GTK_WIDGET_SET_FLAGS (close_button, GTK_CAN_DEFAULT);

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

  return Commodities_Dialog;
}

