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

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

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

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

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

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

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

GtkWidget*
create_window1 (void)
{
  GtkWidget *window1;
  GtkWidget *vbox1;
  GtkWidget *handlebox1;
  GtkWidget *menubar1;
  GtkWidget *game1;
  GtkWidget *game1_menu;
  GtkWidget *new1;
  GtkWidget *speed1;
  GtkWidget *speed1_menu;
  GSList *fastest1_group = NULL;
  GtkWidget *fastest1;
  GtkWidget *fast1;
  GtkWidget *normal1;
  GtkWidget *slow1;
  GtkWidget *paused1;
  GtkWidget *quit1;
  GtkWidget *view1;
  GtkWidget *view1_menu;
  GtkWidget *show_grid1;
  GtkWidget *zone_view1;
  GSList *menu_normal_view_group = NULL;
  GtkWidget *menu_normal_view;
  GtkWidget *menu_owner_view;
  GtkWidget *menu_mine_view;
  GtkWidget *police_coverage1;
  GtkWidget *hospital_coverage1;
  GtkWidget *fire_station_coverage1;
  GtkWidget *menu_report_goal;
  GtkWidget *reports1;
  GtkWidget *reports1_menu;
  GtkWidget *stats;
  GtkWidget *tax_rates;
  GtkWidget *finances;
  GtkWidget *population_report;
  GtkWidget *happiness;
  GtkWidget *help1;
  GtkWidget *help1_menu;
  GtkWidget *quick_help;
  GtkWidget *abou1;
  GtkWidget *handlebox3;
  GtkWidget *menubar2;
  GtkWidget *view2;
  GtkWidget *view2_menu;
  GtkWidget *zoom_in1;
  GtkWidget *zoom_out1;
  GtkWidget *rotate1;
  GtkWidget *land1;
  GtkWidget *land1_menu;
  GtkWidget *buy_land1;
  GtkWidget *buy_all1;
  GtkWidget *sell1;
  GtkWidget *demolish1;
  GtkWidget *flatten;
  GtkWidget *raise;
  GtkWidget *lower;
  GtkWidget *zone1;
  GtkWidget *zone1_menu;
  GtkWidget *zone_housing1;
  GtkWidget *zone_office1;
  GtkWidget *zone_industrial1;
  GtkWidget *zone_commercial1;
  GtkWidget *zone_farm1;
  GtkWidget *landfill;
  GtkWidget *road1;
  GtkWidget *road1_menu;
  GtkWidget *road2;
  GtkWidget *nature1;
  GtkWidget *nature1_menu;
  GtkWidget *trees1;
  GtkWidget *park1;
  GtkWidget *pool1;
  GtkWidget *golf_course1;
  GtkWidget *government1;
  GtkWidget *government1_menu;
  GtkWidget *schools;
  GtkWidget *schools_menu;
  GtkWidget *small_school;
  GtkWidget *school1;
  GtkWidget *university_menu;
  GtkWidget *police1;
  GtkWidget *police1_menu;
  GtkWidget *sheriff;
  GtkWidget *police_station;
  GtkWidget *hospital1;
  GtkWidget *hospital1_menu;
  GtkWidget *clinic;
  GtkWidget *hospital;
  GtkWidget *fire_station1;
  GtkWidget *power1;
  GtkWidget *power1_menu;
  GtkWidget *gas_power;
  GtkWidget *coal_power_plant;
  GtkWidget *nuclear_power_plant;
  GtkWidget *watermenu;
  GtkWidget *watermenu_menu;
  GtkWidget *well;
  GtkWidget *tower;
  GtkWidget *maindrawingarea;
  GtkWidget *hbox1;
  GtkWidget *currentposx;
  GtkWidget *currentposy;
  GtkWidget *CurrentToolLabel;
  GtkWidget *MessageLabel;
  GtkWidget *ErrorMsgLabel;
  GtkWidget *CurrentTimeLabel;
  GtkWidget *temp_label;
  GtkWidget *weather_pic;
  GtkWidget *fundslabel;
  GtkAccelGroup *accel_group;

  accel_group = gtk_accel_group_new ();

  window1 = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_window_set_title (GTK_WINDOW (window1), _("Senken"));

  vbox1 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox1);
  gtk_container_add (GTK_CONTAINER (window1), vbox1);

  handlebox1 = gtk_handle_box_new ();
  gtk_widget_show (handlebox1);
  gtk_box_pack_start (GTK_BOX (vbox1), handlebox1, FALSE, FALSE, 0);

  menubar1 = gtk_menu_bar_new ();
  gtk_widget_show (menubar1);
  gtk_container_add (GTK_CONTAINER (handlebox1), menubar1);

  game1 = gtk_menu_item_new_with_mnemonic (_("Game"));
  gtk_widget_show (game1);
  gtk_container_add (GTK_CONTAINER (menubar1), game1);

  game1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (game1), game1_menu);

  new1 = gtk_menu_item_new_with_mnemonic (_("New"));
  gtk_widget_show (new1);
  gtk_container_add (GTK_CONTAINER (game1_menu), new1);

  speed1 = gtk_menu_item_new_with_mnemonic (_("Speed"));
  gtk_widget_show (speed1);
  gtk_container_add (GTK_CONTAINER (game1_menu), speed1);

  speed1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (speed1), speed1_menu);

  fastest1 = gtk_radio_menu_item_new_with_mnemonic (fastest1_group, _("Fastest"));
  fastest1_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (fastest1));
  gtk_widget_show (fastest1);
  gtk_container_add (GTK_CONTAINER (speed1_menu), fastest1);

  fast1 = gtk_radio_menu_item_new_with_mnemonic (fastest1_group, _("Fast"));
  fastest1_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (fast1));
  gtk_widget_show (fast1);
  gtk_container_add (GTK_CONTAINER (speed1_menu), fast1);

  normal1 = gtk_radio_menu_item_new_with_mnemonic (fastest1_group, _("Normal"));
  fastest1_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (normal1));
  gtk_widget_show (normal1);
  gtk_container_add (GTK_CONTAINER (speed1_menu), normal1);

  slow1 = gtk_radio_menu_item_new_with_mnemonic (fastest1_group, _("Slow"));
  fastest1_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (slow1));
  gtk_widget_show (slow1);
  gtk_container_add (GTK_CONTAINER (speed1_menu), slow1);

  paused1 = gtk_radio_menu_item_new_with_mnemonic (fastest1_group, _("Paused"));
  fastest1_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (paused1));
  gtk_widget_show (paused1);
  gtk_container_add (GTK_CONTAINER (speed1_menu), paused1);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (paused1), TRUE);

  quit1 = gtk_menu_item_new_with_mnemonic (_("Quit"));
  gtk_widget_show (quit1);
  gtk_container_add (GTK_CONTAINER (game1_menu), quit1);

  view1 = gtk_menu_item_new_with_mnemonic (_("View"));
  gtk_widget_show (view1);
  gtk_container_add (GTK_CONTAINER (menubar1), view1);

  view1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (view1), view1_menu);

  show_grid1 = gtk_check_menu_item_new_with_mnemonic (_("Show Grid"));
  gtk_widget_show (show_grid1);
  gtk_container_add (GTK_CONTAINER (view1_menu), show_grid1);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (show_grid1), TRUE);

  zone_view1 = gtk_check_menu_item_new_with_mnemonic (_("Show buildings"));
  gtk_widget_show (zone_view1);
  gtk_container_add (GTK_CONTAINER (view1_menu), zone_view1);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (zone_view1), TRUE);

  menu_normal_view = gtk_radio_menu_item_new_with_mnemonic (menu_normal_view_group, _("Normal View"));
  menu_normal_view_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_normal_view));
  gtk_widget_show (menu_normal_view);
  gtk_container_add (GTK_CONTAINER (view1_menu), menu_normal_view);

  menu_owner_view = gtk_radio_menu_item_new_with_mnemonic (menu_normal_view_group, _("Owner View"));
  menu_normal_view_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_owner_view));
  gtk_widget_show (menu_owner_view);
  gtk_container_add (GTK_CONTAINER (view1_menu), menu_owner_view);

  menu_mine_view = gtk_radio_menu_item_new_with_mnemonic (menu_normal_view_group, _("Mine View"));
  menu_normal_view_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_mine_view));
  gtk_widget_show (menu_mine_view);
  gtk_container_add (GTK_CONTAINER (view1_menu), menu_mine_view);

  police_coverage1 = gtk_radio_menu_item_new_with_mnemonic (menu_normal_view_group, _("Police coverage"));
  menu_normal_view_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (police_coverage1));
  gtk_widget_show (police_coverage1);
  gtk_container_add (GTK_CONTAINER (view1_menu), police_coverage1);

  hospital_coverage1 = gtk_radio_menu_item_new_with_mnemonic (menu_normal_view_group, _("Hospital coverage"));
  menu_normal_view_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (hospital_coverage1));
  gtk_widget_show (hospital_coverage1);
  gtk_container_add (GTK_CONTAINER (view1_menu), hospital_coverage1);

  fire_station_coverage1 = gtk_radio_menu_item_new_with_mnemonic (menu_normal_view_group, _("Fire Station coverage"));
  menu_normal_view_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (fire_station_coverage1));
  gtk_widget_show (fire_station_coverage1);
  gtk_container_add (GTK_CONTAINER (view1_menu), fire_station_coverage1);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (fire_station_coverage1), TRUE);

  menu_report_goal = gtk_menu_item_new_with_mnemonic (_("Goal"));
  gtk_widget_show (menu_report_goal);
  gtk_container_add (GTK_CONTAINER (view1_menu), menu_report_goal);

  reports1 = gtk_menu_item_new_with_mnemonic (_("Reports"));
  gtk_widget_show (reports1);
  gtk_container_add (GTK_CONTAINER (menubar1), reports1);

  reports1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (reports1), reports1_menu);

  stats = gtk_menu_item_new_with_mnemonic (_("Stats"));
  gtk_widget_show (stats);
  gtk_container_add (GTK_CONTAINER (reports1_menu), stats);

  tax_rates = gtk_menu_item_new_with_mnemonic (_("Tax Rates"));
  gtk_widget_show (tax_rates);
  gtk_container_add (GTK_CONTAINER (reports1_menu), tax_rates);

  finances = gtk_menu_item_new_with_mnemonic (_("Finances"));
  gtk_widget_show (finances);
  gtk_container_add (GTK_CONTAINER (reports1_menu), finances);

  population_report = gtk_menu_item_new_with_mnemonic (_("Population"));
  gtk_widget_show (population_report);
  gtk_container_add (GTK_CONTAINER (reports1_menu), population_report);

  happiness = gtk_menu_item_new_with_mnemonic (_("Happiness"));
  gtk_widget_show (happiness);
  gtk_container_add (GTK_CONTAINER (reports1_menu), happiness);

  help1 = gtk_menu_item_new_with_mnemonic (_("Help"));
  gtk_widget_show (help1);
  gtk_container_add (GTK_CONTAINER (menubar1), help1);

  help1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (help1), help1_menu);

  quick_help = gtk_menu_item_new_with_mnemonic (_("Quick help"));
  gtk_widget_show (quick_help);
  gtk_container_add (GTK_CONTAINER (help1_menu), quick_help);

  abou1 = gtk_menu_item_new_with_mnemonic (_("About"));
  gtk_widget_show (abou1);
  gtk_container_add (GTK_CONTAINER (help1_menu), abou1);

  handlebox3 = gtk_handle_box_new ();
  gtk_widget_show (handlebox3);
  gtk_box_pack_start (GTK_BOX (vbox1), handlebox3, FALSE, FALSE, 0);

  menubar2 = gtk_menu_bar_new ();
  gtk_widget_show (menubar2);
  gtk_container_add (GTK_CONTAINER (handlebox3), menubar2);

  view2 = gtk_menu_item_new_with_mnemonic (_("View"));
  gtk_widget_show (view2);
  gtk_container_add (GTK_CONTAINER (menubar2), view2);

  view2_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (view2), view2_menu);

  zoom_in1 = gtk_menu_item_new_with_mnemonic (_("Zoom in"));
  gtk_widget_show (zoom_in1);
  gtk_container_add (GTK_CONTAINER (view2_menu), zoom_in1);
  gtk_widget_add_accelerator (zoom_in1, "activate", accel_group,
                              GDK_equal, 0,
                              GTK_ACCEL_VISIBLE);

  zoom_out1 = gtk_menu_item_new_with_mnemonic (_("Zoom out"));
  gtk_widget_show (zoom_out1);
  gtk_container_add (GTK_CONTAINER (view2_menu), zoom_out1);
  gtk_widget_add_accelerator (zoom_out1, "activate", accel_group,
                              GDK_minus, 0,
                              GTK_ACCEL_VISIBLE);

  rotate1 = gtk_menu_item_new_with_mnemonic (_("Rotate"));
  gtk_widget_show (rotate1);
  gtk_container_add (GTK_CONTAINER (view2_menu), rotate1);
  gtk_widget_add_accelerator (rotate1, "activate", accel_group,
                              GDK_r, 0,
                              GTK_ACCEL_VISIBLE);

  land1 = gtk_menu_item_new_with_mnemonic (_("Land"));
  gtk_widget_show (land1);
  gtk_container_add (GTK_CONTAINER (menubar2), land1);

  land1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (land1), land1_menu);

  buy_land1 = gtk_menu_item_new_with_mnemonic (_("Buy Land"));
  gtk_widget_show (buy_land1);
  gtk_container_add (GTK_CONTAINER (land1_menu), buy_land1);

  buy_all1 = gtk_menu_item_new_with_mnemonic (_("Buy all"));
  gtk_widget_show (buy_all1);
  gtk_container_add (GTK_CONTAINER (land1_menu), buy_all1);

  sell1 = gtk_menu_item_new_with_mnemonic (_("Sell Land"));
  gtk_widget_show (sell1);
  gtk_container_add (GTK_CONTAINER (land1_menu), sell1);

  demolish1 = gtk_menu_item_new_with_mnemonic (_("Demolish"));
  gtk_widget_show (demolish1);
  gtk_container_add (GTK_CONTAINER (land1_menu), demolish1);

  flatten = gtk_menu_item_new_with_mnemonic (_("Flatten"));
  gtk_widget_show (flatten);
  gtk_container_add (GTK_CONTAINER (land1_menu), flatten);

  raise = gtk_menu_item_new_with_mnemonic (_("Raise"));
  gtk_widget_show (raise);
  gtk_container_add (GTK_CONTAINER (land1_menu), raise);

  lower = gtk_menu_item_new_with_mnemonic (_("Lower"));
  gtk_widget_show (lower);
  gtk_container_add (GTK_CONTAINER (land1_menu), lower);

  zone1 = gtk_menu_item_new_with_mnemonic (_("Zone"));
  gtk_widget_show (zone1);
  gtk_container_add (GTK_CONTAINER (menubar2), zone1);

  zone1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (zone1), zone1_menu);

  zone_housing1 = gtk_menu_item_new_with_mnemonic (_("Zone housing"));
  gtk_widget_show (zone_housing1);
  gtk_container_add (GTK_CONTAINER (zone1_menu), zone_housing1);

  zone_office1 = gtk_menu_item_new_with_mnemonic (_("Zone Office"));
  gtk_widget_show (zone_office1);
  gtk_container_add (GTK_CONTAINER (zone1_menu), zone_office1);

  zone_industrial1 = gtk_menu_item_new_with_mnemonic (_("Zone Industrial"));
  gtk_widget_show (zone_industrial1);
  gtk_container_add (GTK_CONTAINER (zone1_menu), zone_industrial1);

  zone_commercial1 = gtk_menu_item_new_with_mnemonic (_("Zone Commercial"));
  gtk_widget_show (zone_commercial1);
  gtk_container_add (GTK_CONTAINER (zone1_menu), zone_commercial1);

  zone_farm1 = gtk_menu_item_new_with_mnemonic (_("Zone Farm"));
  gtk_widget_show (zone_farm1);
  gtk_container_add (GTK_CONTAINER (zone1_menu), zone_farm1);

  landfill = gtk_menu_item_new_with_mnemonic (_("Landfill"));
  gtk_widget_show (landfill);
  gtk_container_add (GTK_CONTAINER (zone1_menu), landfill);

  road1 = gtk_menu_item_new_with_mnemonic (_("Road"));
  gtk_widget_show (road1);
  gtk_container_add (GTK_CONTAINER (menubar2), road1);

  road1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (road1), road1_menu);

  road2 = gtk_menu_item_new_with_mnemonic (_("Road"));
  gtk_widget_show (road2);
  gtk_container_add (GTK_CONTAINER (road1_menu), road2);

  nature1 = gtk_menu_item_new_with_mnemonic (_("Nature"));
  gtk_widget_show (nature1);
  gtk_container_add (GTK_CONTAINER (menubar2), nature1);

  nature1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (nature1), nature1_menu);

  trees1 = gtk_menu_item_new_with_mnemonic (_("Trees"));
  gtk_widget_show (trees1);
  gtk_container_add (GTK_CONTAINER (nature1_menu), trees1);

  park1 = gtk_menu_item_new_with_mnemonic (_("Park"));
  gtk_widget_show (park1);
  gtk_container_add (GTK_CONTAINER (nature1_menu), park1);

  pool1 = gtk_menu_item_new_with_mnemonic (_("Pool"));
  gtk_widget_show (pool1);
  gtk_container_add (GTK_CONTAINER (nature1_menu), pool1);

  golf_course1 = gtk_menu_item_new_with_mnemonic (_("Golf course"));
  gtk_widget_show (golf_course1);
  gtk_container_add (GTK_CONTAINER (nature1_menu), golf_course1);

  government1 = gtk_menu_item_new_with_mnemonic (_("Government"));
  gtk_widget_show (government1);
  gtk_container_add (GTK_CONTAINER (menubar2), government1);

  government1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (government1), government1_menu);

  schools = gtk_menu_item_new_with_mnemonic (_("Schools"));
  gtk_widget_show (schools);
  gtk_container_add (GTK_CONTAINER (government1_menu), schools);

  schools_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (schools), schools_menu);

  small_school = gtk_menu_item_new_with_mnemonic (_("Small school"));
  gtk_widget_show (small_school);
  gtk_container_add (GTK_CONTAINER (schools_menu), small_school);

  school1 = gtk_menu_item_new_with_mnemonic (_("School"));
  gtk_widget_show (school1);
  gtk_container_add (GTK_CONTAINER (schools_menu), school1);

  university_menu = gtk_menu_item_new_with_mnemonic (_("University"));
  gtk_widget_show (university_menu);
  gtk_container_add (GTK_CONTAINER (schools_menu), university_menu);

  police1 = gtk_menu_item_new_with_mnemonic (_("Police"));
  gtk_widget_show (police1);
  gtk_container_add (GTK_CONTAINER (government1_menu), police1);

  police1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (police1), police1_menu);

  sheriff = gtk_menu_item_new_with_mnemonic (_("Sheriff"));
  gtk_widget_show (sheriff);
  gtk_container_add (GTK_CONTAINER (police1_menu), sheriff);

  police_station = gtk_menu_item_new_with_mnemonic (_("Police Station"));
  gtk_widget_show (police_station);
  gtk_container_add (GTK_CONTAINER (police1_menu), police_station);

  hospital1 = gtk_menu_item_new_with_mnemonic (_("Hospital"));
  gtk_widget_show (hospital1);
  gtk_container_add (GTK_CONTAINER (government1_menu), hospital1);

  hospital1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (hospital1), hospital1_menu);

  clinic = gtk_menu_item_new_with_mnemonic (_("Clinic"));
  gtk_widget_show (clinic);
  gtk_container_add (GTK_CONTAINER (hospital1_menu), clinic);

  hospital = gtk_menu_item_new_with_mnemonic (_("Hospital"));
  gtk_widget_show (hospital);
  gtk_container_add (GTK_CONTAINER (hospital1_menu), hospital);

  fire_station1 = gtk_menu_item_new_with_mnemonic (_("Fire Station"));
  gtk_widget_show (fire_station1);
  gtk_container_add (GTK_CONTAINER (government1_menu), fire_station1);

  power1 = gtk_menu_item_new_with_mnemonic (_("Power"));
  gtk_widget_show (power1);
  gtk_container_add (GTK_CONTAINER (government1_menu), power1);

  power1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (power1), power1_menu);

  gas_power = gtk_menu_item_new_with_mnemonic (_("Gas power"));
  gtk_widget_show (gas_power);
  gtk_container_add (GTK_CONTAINER (power1_menu), gas_power);

  coal_power_plant = gtk_menu_item_new_with_mnemonic (_("Coal power plant"));
  gtk_widget_show (coal_power_plant);
  gtk_container_add (GTK_CONTAINER (power1_menu), coal_power_plant);

  nuclear_power_plant = gtk_menu_item_new_with_mnemonic (_("Nuclear power plant"));
  gtk_widget_show (nuclear_power_plant);
  gtk_container_add (GTK_CONTAINER (power1_menu), nuclear_power_plant);

  watermenu = gtk_menu_item_new_with_mnemonic (_("Water"));
  gtk_widget_show (watermenu);
  gtk_container_add (GTK_CONTAINER (government1_menu), watermenu);

  watermenu_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (watermenu), watermenu_menu);

  well = gtk_menu_item_new_with_mnemonic (_("Well"));
  gtk_widget_show (well);
  gtk_container_add (GTK_CONTAINER (watermenu_menu), well);

  tower = gtk_menu_item_new_with_mnemonic (_("Tower"));
  gtk_widget_show (tower);
  gtk_container_add (GTK_CONTAINER (watermenu_menu), tower);

  maindrawingarea = gtk_drawing_area_new ();
  gtk_widget_show (maindrawingarea);
  gtk_box_pack_start (GTK_BOX (vbox1), maindrawingarea, TRUE, TRUE, 0);
  gtk_widget_set_size_request (maindrawingarea, 600, 400);
  GTK_WIDGET_SET_FLAGS (maindrawingarea, GTK_CAN_FOCUS);
  gtk_widget_set_events (maindrawingarea, GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_MOTION_MASK | GDK_BUTTON1_MOTION_MASK | GDK_BUTTON2_MOTION_MASK | GDK_BUTTON3_MOTION_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_ENTER_NOTIFY_MASK | GDK_LEAVE_NOTIFY_MASK);

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

  currentposx = gtk_entry_new ();
  gtk_widget_show (currentposx);
  gtk_box_pack_start (GTK_BOX (hbox1), currentposx, FALSE, TRUE, 0);
  gtk_widget_set_size_request (currentposx, 30, 24);
  gtk_entry_set_text (GTK_ENTRY (currentposx), _("0"));

  currentposy = gtk_entry_new ();
  gtk_widget_show (currentposy);
  gtk_box_pack_start (GTK_BOX (hbox1), currentposy, FALSE, TRUE, 0);
  gtk_widget_set_size_request (currentposy, 30, 24);
  gtk_entry_set_text (GTK_ENTRY (currentposy), _("0"));

  CurrentToolLabel = gtk_label_new (_("Current Tool"));
  gtk_widget_show (CurrentToolLabel);
  gtk_box_pack_start (GTK_BOX (hbox1), CurrentToolLabel, FALSE, FALSE, 0);
  gtk_label_set_justify (GTK_LABEL (CurrentToolLabel), GTK_JUSTIFY_RIGHT);

  MessageLabel = gtk_label_new ("");
  gtk_widget_show (MessageLabel);
  gtk_box_pack_start (GTK_BOX (hbox1), MessageLabel, TRUE, FALSE, 0);

  ErrorMsgLabel = gtk_label_new ("");
  gtk_widget_show (ErrorMsgLabel);
  gtk_box_pack_start (GTK_BOX (hbox1), ErrorMsgLabel, FALSE, FALSE, 0);

  CurrentTimeLabel = gtk_label_new (_(" Jan 1, 1995 "));
  gtk_widget_show (CurrentTimeLabel);
  gtk_box_pack_start (GTK_BOX (hbox1), CurrentTimeLabel, FALSE, FALSE, 3);

  temp_label = gtk_label_new (_("75F"));
  gtk_widget_show (temp_label);
  gtk_box_pack_start (GTK_BOX (hbox1), temp_label, FALSE, FALSE, 0);

  weather_pic = create_pixmap (window1, NULL);
  gtk_widget_show (weather_pic);
  gtk_box_pack_start (GTK_BOX (hbox1), weather_pic, FALSE, FALSE, 0);

  fundslabel = gtk_label_new (_("$000,000"));
  gtk_widget_show (fundslabel);
  gtk_box_pack_start (GTK_BOX (hbox1), fundslabel, FALSE, FALSE, 3);
  gtk_label_set_justify (GTK_LABEL (fundslabel), GTK_JUSTIFY_RIGHT);

  g_signal_connect ((gpointer) new1, "activate",
                    G_CALLBACK (on_new1_activate),
                    NULL);
  g_signal_connect ((gpointer) fastest1, "activate",
                    G_CALLBACK (on_fastest1_activate),
                    NULL);
  g_signal_connect ((gpointer) fast1, "activate",
                    G_CALLBACK (on_fast1_activate),
                    NULL);
  g_signal_connect ((gpointer) normal1, "activate",
                    G_CALLBACK (on_normal1_activate),
                    NULL);
  g_signal_connect ((gpointer) slow1, "activate",
                    G_CALLBACK (on_slow1_activate),
                    NULL);
  g_signal_connect ((gpointer) paused1, "activate",
                    G_CALLBACK (on_paused1_activate),
                    NULL);
  g_signal_connect ((gpointer) quit1, "activate",
                    G_CALLBACK (on_quit1_activate),
                    NULL);
  g_signal_connect ((gpointer) show_grid1, "activate",
                    G_CALLBACK (on_show_grid1_activate),
                    NULL);
  g_signal_connect ((gpointer) zone_view1, "activate",
                    G_CALLBACK (on_show_buildings_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_normal_view, "activate",
                    G_CALLBACK (on_menu_normal_view_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_owner_view, "activate",
                    G_CALLBACK (on_menu_owner_view_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_mine_view, "activate",
                    G_CALLBACK (on_menu_mine_view_activate),
                    NULL);
  g_signal_connect ((gpointer) police_coverage1, "activate",
                    G_CALLBACK (on_police_coverage1_activate),
                    NULL);
  g_signal_connect ((gpointer) hospital_coverage1, "activate",
                    G_CALLBACK (on_hospital_coverage1_activate),
                    NULL);
  g_signal_connect ((gpointer) fire_station_coverage1, "activate",
                    G_CALLBACK (on_fire_station_coverage1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_report_goal, "activate",
                    G_CALLBACK (on_menu_report_goal_activate),
                    NULL);
  g_signal_connect ((gpointer) stats, "activate",
                    G_CALLBACK (on_stats_activate),
                    NULL);
  g_signal_connect ((gpointer) tax_rates, "activate",
                    G_CALLBACK (on_tax_rates_activate),
                    NULL);
  g_signal_connect ((gpointer) finances, "activate",
                    G_CALLBACK (on_finances_activate),
                    NULL);
  g_signal_connect ((gpointer) population_report, "activate",
                    G_CALLBACK (on_population_report_activate),
                    NULL);
  g_signal_connect ((gpointer) happiness, "activate",
                    G_CALLBACK (on_happiness_activate),
                    NULL);
  g_signal_connect ((gpointer) quick_help, "activate",
                    G_CALLBACK (on_quick_help_activate),
                    NULL);
  g_signal_connect ((gpointer) abou1, "activate",
                    G_CALLBACK (on_about1_activate),
                    NULL);
  g_signal_connect ((gpointer) zoom_in1, "activate",
                    G_CALLBACK (on_zoom_in1_activate),
                    NULL);
  g_signal_connect ((gpointer) zoom_out1, "activate",
                    G_CALLBACK (on_zoom_out1_activate),
                    NULL);
  g_signal_connect ((gpointer) rotate1, "activate",
                    G_CALLBACK (on_rotate1_activate),
                    NULL);
  g_signal_connect ((gpointer) buy_land1, "activate",
                    G_CALLBACK (on_buy_land1_activate),
                    NULL);
  g_signal_connect ((gpointer) buy_all1, "activate",
                    G_CALLBACK (on_buy_all1_activate),
                    NULL);
  g_signal_connect ((gpointer) sell1, "activate",
                    G_CALLBACK (on_sell1_activate),
                    NULL);
  g_signal_connect ((gpointer) demolish1, "activate",
                    G_CALLBACK (on_demolish1_activate),
                    NULL);
  g_signal_connect ((gpointer) flatten, "activate",
                    G_CALLBACK (on_flatten_activate),
                    NULL);
  g_signal_connect ((gpointer) raise, "activate",
                    G_CALLBACK (on_raise_activate),
                    NULL);
  g_signal_connect ((gpointer) lower, "activate",
                    G_CALLBACK (on_lower_activate),
                    NULL);
  g_signal_connect ((gpointer) zone_housing1, "activate",
                    G_CALLBACK (on_zone_housing1_activate),
                    NULL);
  g_signal_connect ((gpointer) zone_office1, "activate",
                    G_CALLBACK (on_zone_office1_activate),
                    NULL);
  g_signal_connect ((gpointer) zone_industrial1, "activate",
                    G_CALLBACK (on_zone_industrial1_activate),
                    NULL);
  g_signal_connect ((gpointer) zone_commercial1, "activate",
                    G_CALLBACK (on_zone_commercial1_activate),
                    NULL);
  g_signal_connect ((gpointer) zone_farm1, "activate",
                    G_CALLBACK (on_zone_farm1_activate),
                    NULL);
  g_signal_connect ((gpointer) landfill, "activate",
                    G_CALLBACK (on_landfill_activate),
                    NULL);
  g_signal_connect ((gpointer) road2, "activate",
                    G_CALLBACK (on_road2_activate),
                    NULL);
  g_signal_connect ((gpointer) trees1, "activate",
                    G_CALLBACK (on_trees1_activate),
                    NULL);
  g_signal_connect ((gpointer) park1, "activate",
                    G_CALLBACK (on_park1_activate),
                    NULL);
  g_signal_connect ((gpointer) pool1, "activate",
                    G_CALLBACK (on_pool1_activate),
                    NULL);
  g_signal_connect ((gpointer) golf_course1, "activate",
                    G_CALLBACK (on_golf_course1_activate),
                    NULL);
  g_signal_connect ((gpointer) small_school, "activate",
                    G_CALLBACK (on_small_school_activate),
                    NULL);
  g_signal_connect ((gpointer) school1, "activate",
                    G_CALLBACK (on_school1_activate),
                    NULL);
  g_signal_connect ((gpointer) university_menu, "activate",
                    G_CALLBACK (on_university_activate),
                    NULL);
  g_signal_connect ((gpointer) sheriff, "activate",
                    G_CALLBACK (on_sheriff_activate),
                    NULL);
  g_signal_connect ((gpointer) police_station, "activate",
                    G_CALLBACK (on_police_station_activate),
                    NULL);
  g_signal_connect ((gpointer) clinic, "activate",
                    G_CALLBACK (on_clinic_activate),
                    NULL);
  g_signal_connect ((gpointer) hospital, "activate",
                    G_CALLBACK (on_hospital_activate),
                    NULL);
  g_signal_connect ((gpointer) fire_station1, "activate",
                    G_CALLBACK (on_fire_station1_activate),
                    NULL);
  g_signal_connect ((gpointer) gas_power, "activate",
                    G_CALLBACK (on_gas_power_activate),
                    NULL);
  g_signal_connect ((gpointer) coal_power_plant, "activate",
                    G_CALLBACK (on_coal_power_plant_activate),
                    NULL);
  g_signal_connect ((gpointer) nuclear_power_plant, "activate",
                    G_CALLBACK (on_nuclear_power_plant_activate),
                    NULL);
  g_signal_connect ((gpointer) well, "activate",
                    G_CALLBACK (on_well_activate),
                    NULL);
  g_signal_connect ((gpointer) tower, "activate",
                    G_CALLBACK (on_tower_activate),
                    NULL);
  g_signal_connect ((gpointer) maindrawingarea, "key_press_event",
                    G_CALLBACK (on_maindrawingarea_key_press_event),
                    NULL);
  g_signal_connect ((gpointer) maindrawingarea, "configure_event",
                    G_CALLBACK (on_maindrawingarea_configure_event),
                    NULL);
  g_signal_connect ((gpointer) maindrawingarea, "expose_event",
                    G_CALLBACK (on_maindrawingarea_expose_event),
                    NULL);
  g_signal_connect ((gpointer) maindrawingarea, "button_release_event",
                    G_CALLBACK (on_maindrawingarea_button_release_event),
                    NULL);
  g_signal_connect ((gpointer) maindrawingarea, "motion_notify_event",
                    G_CALLBACK (on_maindrawingarea_motion_notify_event),
                    NULL);
  g_signal_connect ((gpointer) maindrawingarea, "button_press_event",
                    G_CALLBACK (on_maindrawingarea_button_press_event),
                    NULL);
  g_signal_connect ((gpointer) maindrawingarea, "leave_notify_event",
                    G_CALLBACK (on_maindrawingarea_leave_notify_event),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (window1, window1, "window1");
  GLADE_HOOKUP_OBJECT (window1, vbox1, "vbox1");
  GLADE_HOOKUP_OBJECT (window1, handlebox1, "handlebox1");
  GLADE_HOOKUP_OBJECT (window1, menubar1, "menubar1");
  GLADE_HOOKUP_OBJECT (window1, game1, "game1");
  GLADE_HOOKUP_OBJECT (window1, game1_menu, "game1_menu");
  GLADE_HOOKUP_OBJECT (window1, new1, "new1");
  GLADE_HOOKUP_OBJECT (window1, speed1, "speed1");
  GLADE_HOOKUP_OBJECT (window1, speed1_menu, "speed1_menu");
  GLADE_HOOKUP_OBJECT (window1, fastest1, "fastest1");
  GLADE_HOOKUP_OBJECT (window1, fast1, "fast1");
  GLADE_HOOKUP_OBJECT (window1, normal1, "normal1");
  GLADE_HOOKUP_OBJECT (window1, slow1, "slow1");
  GLADE_HOOKUP_OBJECT (window1, paused1, "paused1");
  GLADE_HOOKUP_OBJECT (window1, quit1, "quit1");
  GLADE_HOOKUP_OBJECT (window1, view1, "view1");
  GLADE_HOOKUP_OBJECT (window1, view1_menu, "view1_menu");
  GLADE_HOOKUP_OBJECT (window1, show_grid1, "show_grid1");
  GLADE_HOOKUP_OBJECT (window1, zone_view1, "zone_view1");
  GLADE_HOOKUP_OBJECT (window1, menu_normal_view, "menu_normal_view");
  GLADE_HOOKUP_OBJECT (window1, menu_owner_view, "menu_owner_view");
  GLADE_HOOKUP_OBJECT (window1, menu_mine_view, "menu_mine_view");
  GLADE_HOOKUP_OBJECT (window1, police_coverage1, "police_coverage1");
  GLADE_HOOKUP_OBJECT (window1, hospital_coverage1, "hospital_coverage1");
  GLADE_HOOKUP_OBJECT (window1, fire_station_coverage1, "fire_station_coverage1");
  GLADE_HOOKUP_OBJECT (window1, menu_report_goal, "menu_report_goal");
  GLADE_HOOKUP_OBJECT (window1, reports1, "reports1");
  GLADE_HOOKUP_OBJECT (window1, reports1_menu, "reports1_menu");
  GLADE_HOOKUP_OBJECT (window1, stats, "stats");
  GLADE_HOOKUP_OBJECT (window1, tax_rates, "tax_rates");
  GLADE_HOOKUP_OBJECT (window1, finances, "finances");
  GLADE_HOOKUP_OBJECT (window1, population_report, "population_report");
  GLADE_HOOKUP_OBJECT (window1, happiness, "happiness");
  GLADE_HOOKUP_OBJECT (window1, help1, "help1");
  GLADE_HOOKUP_OBJECT (window1, help1_menu, "help1_menu");
  GLADE_HOOKUP_OBJECT (window1, quick_help, "quick_help");
  GLADE_HOOKUP_OBJECT (window1, abou1, "abou1");
  GLADE_HOOKUP_OBJECT (window1, handlebox3, "handlebox3");
  GLADE_HOOKUP_OBJECT (window1, menubar2, "menubar2");
  GLADE_HOOKUP_OBJECT (window1, view2, "view2");
  GLADE_HOOKUP_OBJECT (window1, view2_menu, "view2_menu");
  GLADE_HOOKUP_OBJECT (window1, zoom_in1, "zoom_in1");
  GLADE_HOOKUP_OBJECT (window1, zoom_out1, "zoom_out1");
  GLADE_HOOKUP_OBJECT (window1, rotate1, "rotate1");
  GLADE_HOOKUP_OBJECT (window1, land1, "land1");
  GLADE_HOOKUP_OBJECT (window1, land1_menu, "land1_menu");
  GLADE_HOOKUP_OBJECT (window1, buy_land1, "buy_land1");
  GLADE_HOOKUP_OBJECT (window1, buy_all1, "buy_all1");
  GLADE_HOOKUP_OBJECT (window1, sell1, "sell1");
  GLADE_HOOKUP_OBJECT (window1, demolish1, "demolish1");
  GLADE_HOOKUP_OBJECT (window1, flatten, "flatten");
  GLADE_HOOKUP_OBJECT (window1, raise, "raise");
  GLADE_HOOKUP_OBJECT (window1, lower, "lower");
  GLADE_HOOKUP_OBJECT (window1, zone1, "zone1");
  GLADE_HOOKUP_OBJECT (window1, zone1_menu, "zone1_menu");
  GLADE_HOOKUP_OBJECT (window1, zone_housing1, "zone_housing1");
  GLADE_HOOKUP_OBJECT (window1, zone_office1, "zone_office1");
  GLADE_HOOKUP_OBJECT (window1, zone_industrial1, "zone_industrial1");
  GLADE_HOOKUP_OBJECT (window1, zone_commercial1, "zone_commercial1");
  GLADE_HOOKUP_OBJECT (window1, zone_farm1, "zone_farm1");
  GLADE_HOOKUP_OBJECT (window1, landfill, "landfill");
  GLADE_HOOKUP_OBJECT (window1, road1, "road1");
  GLADE_HOOKUP_OBJECT (window1, road1_menu, "road1_menu");
  GLADE_HOOKUP_OBJECT (window1, road2, "road2");
  GLADE_HOOKUP_OBJECT (window1, nature1, "nature1");
  GLADE_HOOKUP_OBJECT (window1, nature1_menu, "nature1_menu");
  GLADE_HOOKUP_OBJECT (window1, trees1, "trees1");
  GLADE_HOOKUP_OBJECT (window1, park1, "park1");
  GLADE_HOOKUP_OBJECT (window1, pool1, "pool1");
  GLADE_HOOKUP_OBJECT (window1, golf_course1, "golf_course1");
  GLADE_HOOKUP_OBJECT (window1, government1, "government1");
  GLADE_HOOKUP_OBJECT (window1, government1_menu, "government1_menu");
  GLADE_HOOKUP_OBJECT (window1, schools, "schools");
  GLADE_HOOKUP_OBJECT (window1, schools_menu, "schools_menu");
  GLADE_HOOKUP_OBJECT (window1, small_school, "small_school");
  GLADE_HOOKUP_OBJECT (window1, school1, "school1");
  GLADE_HOOKUP_OBJECT (window1, university_menu, "university_menu");
  GLADE_HOOKUP_OBJECT (window1, police1, "police1");
  GLADE_HOOKUP_OBJECT (window1, police1_menu, "police1_menu");
  GLADE_HOOKUP_OBJECT (window1, sheriff, "sheriff");
  GLADE_HOOKUP_OBJECT (window1, police_station, "police_station");
  GLADE_HOOKUP_OBJECT (window1, hospital1, "hospital1");
  GLADE_HOOKUP_OBJECT (window1, hospital1_menu, "hospital1_menu");
  GLADE_HOOKUP_OBJECT (window1, clinic, "clinic");
  GLADE_HOOKUP_OBJECT (window1, hospital, "hospital");
  GLADE_HOOKUP_OBJECT (window1, fire_station1, "fire_station1");
  GLADE_HOOKUP_OBJECT (window1, power1, "power1");
  GLADE_HOOKUP_OBJECT (window1, power1_menu, "power1_menu");
  GLADE_HOOKUP_OBJECT (window1, gas_power, "gas_power");
  GLADE_HOOKUP_OBJECT (window1, coal_power_plant, "coal_power_plant");
  GLADE_HOOKUP_OBJECT (window1, nuclear_power_plant, "nuclear_power_plant");
  GLADE_HOOKUP_OBJECT (window1, watermenu, "watermenu");
  GLADE_HOOKUP_OBJECT (window1, watermenu_menu, "watermenu_menu");
  GLADE_HOOKUP_OBJECT (window1, well, "well");
  GLADE_HOOKUP_OBJECT (window1, tower, "tower");
  GLADE_HOOKUP_OBJECT (window1, maindrawingarea, "maindrawingarea");
  GLADE_HOOKUP_OBJECT (window1, hbox1, "hbox1");
  GLADE_HOOKUP_OBJECT (window1, currentposx, "currentposx");
  GLADE_HOOKUP_OBJECT (window1, currentposy, "currentposy");
  GLADE_HOOKUP_OBJECT (window1, CurrentToolLabel, "CurrentToolLabel");
  GLADE_HOOKUP_OBJECT (window1, MessageLabel, "MessageLabel");
  GLADE_HOOKUP_OBJECT (window1, ErrorMsgLabel, "ErrorMsgLabel");
  GLADE_HOOKUP_OBJECT (window1, CurrentTimeLabel, "CurrentTimeLabel");
  GLADE_HOOKUP_OBJECT (window1, temp_label, "temp_label");
  GLADE_HOOKUP_OBJECT (window1, weather_pic, "weather_pic");
  GLADE_HOOKUP_OBJECT (window1, fundslabel, "fundslabel");

  gtk_widget_grab_focus (maindrawingarea);
  gtk_window_add_accel_group (GTK_WINDOW (window1), accel_group);

  return window1;
}

GtkWidget*
create_AboutWindow (void)
{
  GtkWidget *AboutWindow;
  GtkWidget *vbox2;
  GtkWidget *fixed8;
  GtkWidget *about_ok;
  GtkWidget *label51;
  GtkWidget *image1;

  AboutWindow = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_window_set_title (GTK_WINDOW (AboutWindow), _("window2"));

  vbox2 = gtk_vbox_new (TRUE, 0);
  gtk_widget_show (vbox2);
  gtk_container_add (GTK_CONTAINER (AboutWindow), vbox2);

  fixed8 = gtk_fixed_new ();
  gtk_widget_show (fixed8);
  gtk_box_pack_start (GTK_BOX (vbox2), fixed8, TRUE, TRUE, 0);

  about_ok = gtk_button_new_with_mnemonic (_("Okay"));
  gtk_widget_show (about_ok);
  gtk_fixed_put (GTK_FIXED (fixed8), about_ok, 232, 392);
  gtk_widget_set_size_request (about_ok, 104, 40);

  label51 = gtk_label_new (_("Senken\nBy Tim Martin"));
  gtk_widget_show (label51);
  gtk_fixed_put (GTK_FIXED (fixed8), label51, 112, 304);
  gtk_widget_set_size_request (label51, 352, 80);

  image1 = create_pixmap (AboutWindow, "aboutimg.xpm");
  gtk_widget_show (image1);
  gtk_fixed_put (GTK_FIXED (fixed8), image1, 112, 64);
  gtk_widget_set_size_request (image1, 352, 251);

  g_signal_connect ((gpointer) about_ok, "clicked",
                    G_CALLBACK (on_about_ok_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (AboutWindow, AboutWindow, "AboutWindow");
  GLADE_HOOKUP_OBJECT (AboutWindow, vbox2, "vbox2");
  GLADE_HOOKUP_OBJECT (AboutWindow, fixed8, "fixed8");
  GLADE_HOOKUP_OBJECT (AboutWindow, about_ok, "about_ok");
  GLADE_HOOKUP_OBJECT (AboutWindow, label51, "label51");
  GLADE_HOOKUP_OBJECT (AboutWindow, image1, "image1");

  return AboutWindow;
}

GtkWidget*
create_popreport_window (void)
{
  GtkWidget *popreport_window;
  GtkWidget *vbox3;
  GtkWidget *scrolledwindow1;
  GtkWidget *pop_treeview;
  GtkWidget *popreport_okbutton;

  popreport_window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_window_set_title (GTK_WINDOW (popreport_window), _("Population Report"));
  gtk_window_set_default_size (GTK_WINDOW (popreport_window), 550, 400);

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

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

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

  popreport_okbutton = gtk_button_new_with_mnemonic (_("Ok"));
  gtk_widget_show (popreport_okbutton);
  gtk_box_pack_start (GTK_BOX (vbox3), popreport_okbutton, FALSE, FALSE, 0);

  g_signal_connect ((gpointer) popreport_window, "remove",
                    G_CALLBACK (on_popreport_window_remove),
                    NULL);
  g_signal_connect ((gpointer) popreport_okbutton, "clicked",
                    G_CALLBACK (on_popreport_okbutton_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (popreport_window, popreport_window, "popreport_window");
  GLADE_HOOKUP_OBJECT (popreport_window, vbox3, "vbox3");
  GLADE_HOOKUP_OBJECT (popreport_window, scrolledwindow1, "scrolledwindow1");
  GLADE_HOOKUP_OBJECT (popreport_window, pop_treeview, "pop_treeview");
  GLADE_HOOKUP_OBJECT (popreport_window, popreport_okbutton, "popreport_okbutton");

  return popreport_window;
}

GtkWidget*
create_Finances (void)
{
  GtkWidget *Finances;
  GtkWidget *vbox4;
  GtkWidget *notebook1;
  GtkWidget *scrolledwindow9;
  GtkWidget *incomeview;
  GtkWidget *label54;
  GtkWidget *empty_notebook_page;
  GtkWidget *label55;
  GtkWidget *vbox10;
  GtkWidget *scrolledwindow10;
  GtkWidget *loansview;
  GtkWidget *fixed9;
  GtkWidget *borrow_amount;
  GtkWidget *entry2;
  GtkWidget *label58;
  GtkWidget *borrow_button;
  GtkWidget *payoff_button;
  GtkWidget *label56;
  GtkWidget *finances_okay_button;

  Finances = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_window_set_title (GTK_WINDOW (Finances), _("Finances"));
  gtk_window_set_default_size (GTK_WINDOW (Finances), 700, 500);

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

  notebook1 = gtk_notebook_new ();
  gtk_widget_show (notebook1);
  gtk_box_pack_start (GTK_BOX (vbox4), notebook1, TRUE, TRUE, 0);

  scrolledwindow9 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow9);
  gtk_container_add (GTK_CONTAINER (notebook1), scrolledwindow9);

  incomeview = gtk_tree_view_new ();
  gtk_widget_show (incomeview);
  gtk_container_add (GTK_CONTAINER (scrolledwindow9), incomeview);

  label54 = gtk_label_new (_("Income Statement"));
  gtk_widget_show (label54);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook1), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook1), 0), label54);
  gtk_label_set_justify (GTK_LABEL (label54), GTK_JUSTIFY_LEFT);

  empty_notebook_page = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (empty_notebook_page);
  gtk_container_add (GTK_CONTAINER (notebook1), empty_notebook_page);

  label55 = gtk_label_new (_("Balance Sheet"));
  gtk_widget_show (label55);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook1), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook1), 1), label55);
  gtk_label_set_justify (GTK_LABEL (label55), GTK_JUSTIFY_LEFT);

  vbox10 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox10);
  gtk_container_add (GTK_CONTAINER (notebook1), vbox10);

  scrolledwindow10 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow10);
  gtk_box_pack_start (GTK_BOX (vbox10), scrolledwindow10, TRUE, TRUE, 0);

  loansview = gtk_tree_view_new ();
  gtk_widget_show (loansview);
  gtk_container_add (GTK_CONTAINER (scrolledwindow10), loansview);

  fixed9 = gtk_fixed_new ();
  gtk_widget_show (fixed9);
  gtk_box_pack_start (GTK_BOX (vbox10), fixed9, TRUE, TRUE, 0);

  borrow_amount = gtk_entry_new ();
  gtk_widget_show (borrow_amount);
  gtk_fixed_put (GTK_FIXED (fixed9), borrow_amount, 120, 80);
  gtk_widget_set_size_request (borrow_amount, 72, 24);

  entry2 = gtk_entry_new ();
  gtk_widget_show (entry2);
  gtk_fixed_put (GTK_FIXED (fixed9), entry2, 272, 80);
  gtk_widget_set_size_request (entry2, 32, 24);

  label58 = gtk_label_new (_("loan at "));
  gtk_widget_show (label58);
  gtk_fixed_put (GTK_FIXED (fixed9), label58, 192, 80);
  gtk_widget_set_size_request (label58, 80, 32);
  gtk_label_set_justify (GTK_LABEL (label58), GTK_JUSTIFY_LEFT);

  borrow_button = gtk_button_new_with_mnemonic (_("Borrow"));
  gtk_widget_show (borrow_button);
  gtk_fixed_put (GTK_FIXED (fixed9), borrow_button, 16, 80);
  gtk_widget_set_size_request (borrow_button, 88, 32);

  payoff_button = gtk_button_new_with_mnemonic (_("Payback selected"));
  gtk_widget_show (payoff_button);
  gtk_fixed_put (GTK_FIXED (fixed9), payoff_button, 264, 16);
  gtk_widget_set_size_request (payoff_button, 160, 32);

  label56 = gtk_label_new (_("Loans"));
  gtk_widget_show (label56);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook1), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook1), 2), label56);
  gtk_label_set_justify (GTK_LABEL (label56), GTK_JUSTIFY_LEFT);

  finances_okay_button = gtk_button_new_with_mnemonic (_("Okay"));
  gtk_widget_show (finances_okay_button);
  gtk_box_pack_start (GTK_BOX (vbox4), finances_okay_button, FALSE, FALSE, 0);

  g_signal_connect ((gpointer) Finances, "remove",
                    G_CALLBACK (on_Finances_remove),
                    NULL);
  g_signal_connect ((gpointer) borrow_button, "clicked",
                    G_CALLBACK (on_borrow_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) payoff_button, "clicked",
                    G_CALLBACK (on_payoff_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) finances_okay_button, "clicked",
                    G_CALLBACK (on_finances_okay_button_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (Finances, Finances, "Finances");
  GLADE_HOOKUP_OBJECT (Finances, vbox4, "vbox4");
  GLADE_HOOKUP_OBJECT (Finances, notebook1, "notebook1");
  GLADE_HOOKUP_OBJECT (Finances, scrolledwindow9, "scrolledwindow9");
  GLADE_HOOKUP_OBJECT (Finances, incomeview, "incomeview");
  GLADE_HOOKUP_OBJECT (Finances, label54, "label54");
  GLADE_HOOKUP_OBJECT (Finances, label55, "label55");
  GLADE_HOOKUP_OBJECT (Finances, vbox10, "vbox10");
  GLADE_HOOKUP_OBJECT (Finances, scrolledwindow10, "scrolledwindow10");
  GLADE_HOOKUP_OBJECT (Finances, loansview, "loansview");
  GLADE_HOOKUP_OBJECT (Finances, fixed9, "fixed9");
  GLADE_HOOKUP_OBJECT (Finances, borrow_amount, "borrow_amount");
  GLADE_HOOKUP_OBJECT (Finances, entry2, "entry2");
  GLADE_HOOKUP_OBJECT (Finances, label58, "label58");
  GLADE_HOOKUP_OBJECT (Finances, borrow_button, "borrow_button");
  GLADE_HOOKUP_OBJECT (Finances, payoff_button, "payoff_button");
  GLADE_HOOKUP_OBJECT (Finances, label56, "label56");
  GLADE_HOOKUP_OBJECT (Finances, finances_okay_button, "finances_okay_button");

  return Finances;
}

GtkWidget*
create_info_window (void)
{
  GtkWidget *info_window;
  GtkWidget *vbox5;
  GtkWidget *info_title;
  GtkWidget *scrolledwindow4;
  GtkWidget *info_treeview;
  GtkWidget *info_okay_buttom;

  info_window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_window_set_title (GTK_WINDOW (info_window), _("Info"));
  gtk_window_set_default_size (GTK_WINDOW (info_window), 150, 150);

  vbox5 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox5);
  gtk_container_add (GTK_CONTAINER (info_window), vbox5);

  info_title = gtk_label_new (_("???"));
  gtk_widget_show (info_title);
  gtk_box_pack_start (GTK_BOX (vbox5), info_title, FALSE, FALSE, 0);

  scrolledwindow4 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow4);
  gtk_box_pack_start (GTK_BOX (vbox5), scrolledwindow4, TRUE, TRUE, 0);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow4, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow4), GTK_SHADOW_IN);

  info_treeview = gtk_tree_view_new ();
  gtk_widget_show (info_treeview);
  gtk_container_add (GTK_CONTAINER (scrolledwindow4), info_treeview);

  info_okay_buttom = gtk_button_new_with_mnemonic (_("OK"));
  gtk_widget_show (info_okay_buttom);
  gtk_box_pack_start (GTK_BOX (vbox5), info_okay_buttom, FALSE, FALSE, 0);

  g_signal_connect ((gpointer) info_window, "remove",
                    G_CALLBACK (on_info_window_remove),
                    NULL);
  g_signal_connect ((gpointer) info_okay_buttom, "clicked",
                    G_CALLBACK (on_info_okay_buttom_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (info_window, info_window, "info_window");
  GLADE_HOOKUP_OBJECT (info_window, vbox5, "vbox5");
  GLADE_HOOKUP_OBJECT (info_window, info_title, "info_title");
  GLADE_HOOKUP_OBJECT (info_window, scrolledwindow4, "scrolledwindow4");
  GLADE_HOOKUP_OBJECT (info_window, info_treeview, "info_treeview");
  GLADE_HOOKUP_OBJECT (info_window, info_okay_buttom, "info_okay_buttom");

  return info_window;
}

GtkWidget*
create_menu1 (void)
{
  GtkWidget *menu1;

  menu1 = gtk_menu_new ();

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (menu1, menu1, "menu1");

  return menu1;
}

GtkWidget*
create_menu2 (void)
{
  GtkWidget *menu2;

  menu2 = gtk_menu_new ();

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (menu2, menu2, "menu2");

  return menu2;
}

GtkWidget*
create_menu3 (void)
{
  GtkWidget *menu3;

  menu3 = gtk_menu_new ();

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (menu3, menu3, "menu3");

  return menu3;
}

GtkWidget*
create_gamelistwindow (void)
{
  GtkWidget *gamelistwindow;
  GtkWidget *fixed7;
  GtkWidget *StartGameButton;
  GtkWidget *GameListMenu;
  GtkWidget *combo_title;

  gamelistwindow = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_window_set_title (GTK_WINDOW (gamelistwindow), _("Games List"));
  gtk_window_set_default_size (GTK_WINDOW (gamelistwindow), 250, 150);

  fixed7 = gtk_fixed_new ();
  gtk_widget_show (fixed7);
  gtk_container_add (GTK_CONTAINER (gamelistwindow), fixed7);

  StartGameButton = gtk_button_new_with_mnemonic (_("Start Game"));
  gtk_widget_show (StartGameButton);
  gtk_fixed_put (GTK_FIXED (fixed7), StartGameButton, 112, 120);
  gtk_widget_set_size_request (StartGameButton, 112, 32);

  GameListMenu = gtk_combo_new ();
  g_object_set_data (G_OBJECT (GTK_COMBO (GameListMenu)->popwin),
                     "GladeParentKey", GameListMenu);
  gtk_widget_show (GameListMenu);
  gtk_fixed_put (GTK_FIXED (fixed7), GameListMenu, 96, 72);
  gtk_widget_set_size_request (GameListMenu, 179, 24);
  gtk_combo_set_value_in_list (GTK_COMBO (GameListMenu), TRUE, FALSE);

  combo_title = GTK_COMBO (GameListMenu)->entry;
  gtk_widget_show (combo_title);
  gtk_editable_set_editable (GTK_EDITABLE (combo_title), FALSE);

  g_signal_connect ((gpointer) gamelistwindow, "remove",
                    G_CALLBACK (on_gamelistwindow_remove),
                    NULL);
  g_signal_connect ((gpointer) StartGameButton, "clicked",
                    G_CALLBACK (on_StartGameButton_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (gamelistwindow, gamelistwindow, "gamelistwindow");
  GLADE_HOOKUP_OBJECT (gamelistwindow, fixed7, "fixed7");
  GLADE_HOOKUP_OBJECT (gamelistwindow, StartGameButton, "StartGameButton");
  GLADE_HOOKUP_OBJECT (gamelistwindow, GameListMenu, "GameListMenu");
  GLADE_HOOKUP_OBJECT (gamelistwindow, combo_title, "combo_title");

  return gamelistwindow;
}

GtkWidget*
create_textdisp_window (void)
{
  GtkWidget *textdisp_window;
  GtkWidget *scrolledwindow6;
  GtkWidget *viewport1;
  GtkWidget *vbox7;
  GtkWidget *scrolledwindow7;
  GtkWidget *textdisp_textbox;
  GtkWidget *fixed4;
  GtkWidget *textdisp_okay_button;

  textdisp_window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_window_set_title (GTK_WINDOW (textdisp_window), _("Goal"));

  scrolledwindow6 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow6);
  gtk_container_add (GTK_CONTAINER (textdisp_window), scrolledwindow6);
  gtk_widget_set_size_request (scrolledwindow6, 400, 250);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow6, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow6), GTK_POLICY_NEVER, GTK_POLICY_NEVER);

  viewport1 = gtk_viewport_new (NULL, NULL);
  gtk_widget_show (viewport1);
  gtk_container_add (GTK_CONTAINER (scrolledwindow6), viewport1);

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

  scrolledwindow7 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow7);
  gtk_box_pack_start (GTK_BOX (vbox7), scrolledwindow7, TRUE, TRUE, 0);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow7, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow7), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow7), GTK_SHADOW_IN);

  textdisp_textbox = gtk_text_view_new ();
  gtk_widget_show (textdisp_textbox);
  gtk_container_add (GTK_CONTAINER (scrolledwindow7), textdisp_textbox);
  gtk_text_view_set_editable (GTK_TEXT_VIEW (textdisp_textbox), FALSE);
  gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (textdisp_textbox), GTK_WRAP_WORD);

  fixed4 = gtk_fixed_new ();
  gtk_widget_show (fixed4);
  gtk_box_pack_start (GTK_BOX (vbox7), fixed4, FALSE, TRUE, 0);

  textdisp_okay_button = gtk_button_new_with_mnemonic (_("Okay"));
  gtk_widget_show (textdisp_okay_button);
  gtk_fixed_put (GTK_FIXED (fixed4), textdisp_okay_button, 144, 0);
  gtk_widget_set_size_request (textdisp_okay_button, 104, 32);

  g_signal_connect ((gpointer) textdisp_window, "remove",
                    G_CALLBACK (on_textdisp_window_remove),
                    NULL);
  g_signal_connect ((gpointer) textdisp_okay_button, "clicked",
                    G_CALLBACK (on_textdisp_okay_button_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (textdisp_window, textdisp_window, "textdisp_window");
  GLADE_HOOKUP_OBJECT (textdisp_window, scrolledwindow6, "scrolledwindow6");
  GLADE_HOOKUP_OBJECT (textdisp_window, viewport1, "viewport1");
  GLADE_HOOKUP_OBJECT (textdisp_window, vbox7, "vbox7");
  GLADE_HOOKUP_OBJECT (textdisp_window, scrolledwindow7, "scrolledwindow7");
  GLADE_HOOKUP_OBJECT (textdisp_window, textdisp_textbox, "textdisp_textbox");
  GLADE_HOOKUP_OBJECT (textdisp_window, fixed4, "fixed4");
  GLADE_HOOKUP_OBJECT (textdisp_window, textdisp_okay_button, "textdisp_okay_button");

  return textdisp_window;
}

GtkWidget*
create_stats_window (void)
{
  GtkWidget *stats_window;
  GtkWidget *vbox8;
  GtkWidget *label42;
  GtkWidget *scrolledwindow8;
  GtkWidget *stats_treeview;
  GtkWidget *stats_ok_button;

  stats_window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_window_set_title (GTK_WINDOW (stats_window), _("Stats"));
  gtk_window_set_default_size (GTK_WINDOW (stats_window), 350, 400);

  vbox8 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox8);
  gtk_container_add (GTK_CONTAINER (stats_window), vbox8);

  label42 = gtk_label_new (_("Statistics"));
  gtk_widget_show (label42);
  gtk_box_pack_start (GTK_BOX (vbox8), label42, FALSE, FALSE, 0);

  scrolledwindow8 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow8);
  gtk_box_pack_start (GTK_BOX (vbox8), scrolledwindow8, TRUE, TRUE, 0);
  GTK_WIDGET_UNSET_FLAGS (scrolledwindow8, GTK_CAN_FOCUS);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow8), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow8), GTK_SHADOW_IN);

  stats_treeview = gtk_tree_view_new ();
  gtk_widget_show (stats_treeview);
  gtk_container_add (GTK_CONTAINER (scrolledwindow8), stats_treeview);

  stats_ok_button = gtk_button_new_with_mnemonic (_("OK"));
  gtk_widget_show (stats_ok_button);
  gtk_box_pack_start (GTK_BOX (vbox8), stats_ok_button, FALSE, FALSE, 0);

  g_signal_connect ((gpointer) stats_window, "remove",
                    G_CALLBACK (on_stats_window_remove),
                    NULL);
  g_signal_connect ((gpointer) stats_ok_button, "clicked",
                    G_CALLBACK (on_stats_okay_buttom_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (stats_window, stats_window, "stats_window");
  GLADE_HOOKUP_OBJECT (stats_window, vbox8, "vbox8");
  GLADE_HOOKUP_OBJECT (stats_window, label42, "label42");
  GLADE_HOOKUP_OBJECT (stats_window, scrolledwindow8, "scrolledwindow8");
  GLADE_HOOKUP_OBJECT (stats_window, stats_treeview, "stats_treeview");
  GLADE_HOOKUP_OBJECT (stats_window, stats_ok_button, "stats_ok_button");

  return stats_window;
}

GtkWidget*
create_taxes_window (void)
{
  GtkWidget *taxes_window;
  GtkWidget *fixed5;
  GtkWidget *label43;
  GtkWidget *label46;
  GtkWidget *label44;
  GtkWidget *label45;
  GtkWidget *taxes_okbutton;
  GtkObject *Incometax_control_adj;
  GtkWidget *Incometax_control;
  GtkObject *Salestax_control_adj;
  GtkWidget *Salestax_control;
  GtkObject *Propertytax_control_adj;
  GtkWidget *Propertytax_control;
  GtkObject *Business_Incometax_control_adj;
  GtkWidget *Business_Incometax_control;

  taxes_window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_window_set_title (GTK_WINDOW (taxes_window), _("Taxes"));

  fixed5 = gtk_fixed_new ();
  gtk_widget_show (fixed5);
  gtk_container_add (GTK_CONTAINER (taxes_window), fixed5);

  label43 = gtk_label_new (_("Income tax:"));
  gtk_widget_show (label43);
  gtk_fixed_put (GTK_FIXED (fixed5), label43, 120, 32);
  gtk_widget_set_size_request (label43, 96, 24);

  label46 = gtk_label_new (_("Sales tax:"));
  gtk_widget_show (label46);
  gtk_fixed_put (GTK_FIXED (fixed5), label46, 104, 88);
  gtk_widget_set_size_request (label46, 104, 32);

  label44 = gtk_label_new (_("Property tax:"));
  gtk_widget_show (label44);
  gtk_fixed_put (GTK_FIXED (fixed5), label44, 96, 128);
  gtk_widget_set_size_request (label44, 136, 24);

  label45 = gtk_label_new (_("Business income tax:"));
  gtk_widget_show (label45);
  gtk_fixed_put (GTK_FIXED (fixed5), label45, 80, 64);
  gtk_widget_set_size_request (label45, 152, 24);

  taxes_okbutton = gtk_button_new_with_mnemonic (_("Okay"));
  gtk_widget_show (taxes_okbutton);
  gtk_fixed_put (GTK_FIXED (fixed5), taxes_okbutton, 120, 200);
  gtk_widget_set_size_request (taxes_okbutton, 112, 40);

  Incometax_control_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  Incometax_control = gtk_spin_button_new (GTK_ADJUSTMENT (Incometax_control_adj), 1, 0);
  gtk_widget_show (Incometax_control);
  gtk_fixed_put (GTK_FIXED (fixed5), Incometax_control, 240, 32);
  gtk_widget_set_size_request (Incometax_control, 46, 24);

  Salestax_control_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  Salestax_control = gtk_spin_button_new (GTK_ADJUSTMENT (Salestax_control_adj), 1, 0);
  gtk_widget_show (Salestax_control);
  gtk_fixed_put (GTK_FIXED (fixed5), Salestax_control, 240, 96);
  gtk_widget_set_size_request (Salestax_control, 46, 24);

  Propertytax_control_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  Propertytax_control = gtk_spin_button_new (GTK_ADJUSTMENT (Propertytax_control_adj), 1, 0);
  gtk_widget_show (Propertytax_control);
  gtk_fixed_put (GTK_FIXED (fixed5), Propertytax_control, 240, 128);
  gtk_widget_set_size_request (Propertytax_control, 46, 24);

  Business_Incometax_control_adj = gtk_adjustment_new (1, 0, 100, 1, 10, 10);
  Business_Incometax_control = gtk_spin_button_new (GTK_ADJUSTMENT (Business_Incometax_control_adj), 1, 0);
  gtk_widget_show (Business_Incometax_control);
  gtk_fixed_put (GTK_FIXED (fixed5), Business_Incometax_control, 240, 64);
  gtk_widget_set_size_request (Business_Incometax_control, 46, 24);

  g_signal_connect ((gpointer) taxes_okbutton, "clicked",
                    G_CALLBACK (on_taxes_okbutton_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (taxes_window, taxes_window, "taxes_window");
  GLADE_HOOKUP_OBJECT (taxes_window, fixed5, "fixed5");
  GLADE_HOOKUP_OBJECT (taxes_window, label43, "label43");
  GLADE_HOOKUP_OBJECT (taxes_window, label46, "label46");
  GLADE_HOOKUP_OBJECT (taxes_window, label44, "label44");
  GLADE_HOOKUP_OBJECT (taxes_window, label45, "label45");
  GLADE_HOOKUP_OBJECT (taxes_window, taxes_okbutton, "taxes_okbutton");
  GLADE_HOOKUP_OBJECT (taxes_window, Incometax_control, "Incometax_control");
  GLADE_HOOKUP_OBJECT (taxes_window, Salestax_control, "Salestax_control");
  GLADE_HOOKUP_OBJECT (taxes_window, Propertytax_control, "Propertytax_control");
  GLADE_HOOKUP_OBJECT (taxes_window, Business_Incometax_control, "Business_Incometax_control");

  return taxes_window;
}

GtkWidget*
create_load_dialog (void)
{
  GtkWidget *load_dialog;
  GtkWidget *dialog_vbox1;
  GtkWidget *dialog_action_area1;
  GtkWidget *vbox9;
  GtkWidget *label48;
  GtkWidget *load_status_label;

  load_dialog = gtk_dialog_new ();
  gtk_window_set_title (GTK_WINDOW (load_dialog), _("Loading"));
  gtk_window_set_default_size (GTK_WINDOW (load_dialog), 300, -1);

  dialog_vbox1 = GTK_DIALOG (load_dialog)->vbox;
  gtk_widget_show (dialog_vbox1);

  dialog_action_area1 = GTK_DIALOG (load_dialog)->action_area;
  gtk_widget_show (dialog_action_area1);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area1), GTK_BUTTONBOX_END);

  vbox9 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox9);
  gtk_container_add (GTK_CONTAINER (dialog_action_area1), vbox9);

  label48 = gtk_label_new (_("Loading..."));
  gtk_widget_show (label48);
  gtk_box_pack_start (GTK_BOX (vbox9), label48, FALSE, FALSE, 0);

  load_status_label = gtk_label_new ("");
  gtk_widget_show (load_status_label);
  gtk_box_pack_start (GTK_BOX (vbox9), load_status_label, FALSE, FALSE, 0);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (load_dialog, load_dialog, "load_dialog");
  GLADE_HOOKUP_OBJECT_NO_REF (load_dialog, dialog_vbox1, "dialog_vbox1");
  GLADE_HOOKUP_OBJECT_NO_REF (load_dialog, dialog_action_area1, "dialog_action_area1");
  GLADE_HOOKUP_OBJECT (load_dialog, vbox9, "vbox9");
  GLADE_HOOKUP_OBJECT (load_dialog, label48, "label48");
  GLADE_HOOKUP_OBJECT (load_dialog, load_status_label, "load_status_label");

  return load_dialog;
}

GtkWidget*
create_newgameWindow (void)
{
  GtkWidget *newgameWindow;
  GtkWidget *fixed6;
  GtkWidget *server_entry;
  GtkWidget *label49;
  GtkWidget *label50;
  GtkWidget *login_button;
  GtkWidget *localserverbutton;
  GtkWidget *username_entry;

  newgameWindow = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_window_set_title (GTK_WINDOW (newgameWindow), _("window2"));

  fixed6 = gtk_fixed_new ();
  gtk_widget_show (fixed6);
  gtk_container_add (GTK_CONTAINER (newgameWindow), fixed6);
  gtk_widget_set_size_request (fixed6, 350, 200);

  server_entry = gtk_entry_new ();
  gtk_widget_show (server_entry);
  gtk_fixed_put (GTK_FIXED (fixed6), server_entry, 144, 104);
  gtk_widget_set_size_request (server_entry, 160, 24);

  label49 = gtk_label_new (_("Username:"));
  gtk_widget_show (label49);
  gtk_fixed_put (GTK_FIXED (fixed6), label49, 56, 64);
  gtk_widget_set_size_request (label49, 80, 24);
  gtk_label_set_justify (GTK_LABEL (label49), GTK_JUSTIFY_LEFT);

  label50 = gtk_label_new (_("Server:"));
  gtk_widget_show (label50);
  gtk_fixed_put (GTK_FIXED (fixed6), label50, 72, 104);
  gtk_widget_set_size_request (label50, 64, 24);
  gtk_label_set_justify (GTK_LABEL (label50), GTK_JUSTIFY_LEFT);

  login_button = gtk_button_new_with_mnemonic (_("Login"));
  gtk_widget_show (login_button);
  gtk_fixed_put (GTK_FIXED (fixed6), login_button, 104, 168);
  gtk_widget_set_size_request (login_button, 64, 32);

  localserverbutton = gtk_button_new_with_mnemonic (_("Start local server"));
  gtk_widget_show (localserverbutton);
  gtk_fixed_put (GTK_FIXED (fixed6), localserverbutton, 200, 168);
  gtk_widget_set_size_request (localserverbutton, 128, 32);

  username_entry = gtk_entry_new ();
  gtk_widget_show (username_entry);
  gtk_fixed_put (GTK_FIXED (fixed6), username_entry, 144, 64);
  gtk_widget_set_size_request (username_entry, 158, 24);

  g_signal_connect ((gpointer) login_button, "clicked",
                    G_CALLBACK (on_login_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) localserverbutton, "clicked",
                    G_CALLBACK (on_localserverbutton_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (newgameWindow, newgameWindow, "newgameWindow");
  GLADE_HOOKUP_OBJECT (newgameWindow, fixed6, "fixed6");
  GLADE_HOOKUP_OBJECT (newgameWindow, server_entry, "server_entry");
  GLADE_HOOKUP_OBJECT (newgameWindow, label49, "label49");
  GLADE_HOOKUP_OBJECT (newgameWindow, label50, "label50");
  GLADE_HOOKUP_OBJECT (newgameWindow, login_button, "login_button");
  GLADE_HOOKUP_OBJECT (newgameWindow, localserverbutton, "localserverbutton");
  GLADE_HOOKUP_OBJECT (newgameWindow, username_entry, "username_entry");

  gtk_widget_grab_focus (fixed6);
  return newgameWindow;
}

