/*
 * 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_window_main (void)
{
  GtkWidget *window_main;
  GdkPixbuf *window_main_icon_pixbuf;
  GtkWidget *fixed1;
  GtkWidget *label_wellcome;
  GtkWidget *next;
  GtkWidget *prev;
  GtkWidget *exit;
  GtkWidget *image1;
  GtkWidget *notebook1;
  GtkWidget *fixed2;
  GtkWidget *hseparator2;
  GtkWidget *hseparator7;
  GtkWidget *vseparator1;
  GtkWidget *hseparator8;
  GtkWidget *vseparator2;
  GtkWidget *label_wellcome_install;
  GtkWidget *image2;
  GtkWidget *hseparator3;
  GtkWidget *hseparator20;
  GtkWidget *label_wellcome_2;
  GtkWidget *label_wellcome_red;
  GtkWidget *label1;
  GtkWidget *fixed3;
  GtkWidget *rootpartcombo;
  GtkWidget *format_combo;
  GtkWidget *rootpartlabel;
  GtkWidget *label35;
  GtkWidget *label_changed;
  GtkWidget *frame4;
  GtkWidget *alignment9;
  GtkWidget *fixed12;
  GtkWidget *combobox_hd;
  GtkWidget *button_xparted;
  GtkWidget *radiobutton_part3;
  GSList *radiobutton_part3_group = NULL;
  GtkWidget *radiobutton_part2;
  GtkWidget *radiobutton_part1;
  GtkWidget *label40;
  GtkWidget *scrolledwindow1;
  GtkWidget *treeview1;
  GtkWidget *checkbutton_mountpoints;
  GtkWidget *hseparator1;
  GtkWidget *checkbutton_format_with;
  GtkWidget *label7;
  GtkWidget *checkbutton_automount;
  GtkWidget *label8;
  GtkWidget *label2;
  GtkWidget *fixed4;
  GtkWidget *vseparator4;
  GtkWidget *vseparator3;
  GtkWidget *hseparator9;
  GtkWidget *hseparator10;
  GtkWidget *hseparator19;
  GtkWidget *combobox_bootmanager;
  GtkWidget *combobox_installplace;
  GtkWidget *label15;
  GtkWidget *frame5;
  GtkWidget *alignment10;
  GtkWidget *fixed14;
  GtkWidget *combobox_lang;
  GtkWidget *label43;
  GtkWidget *label13;
  GtkWidget *frame3;
  GtkWidget *alignment8;
  GtkWidget *fixed11;
  GtkWidget *button_tz;
  GtkWidget *label_tz;
  GtkWidget *label39;
  GtkWidget *label14;
  GtkWidget *label3;
  GtkWidget *fixed5;
  GtkWidget *hseparator5;
  GtkWidget *label16;
  GtkWidget *frame1;
  GtkWidget *alignment5;
  GtkWidget *fixed8;
  GtkWidget *entry_rootpw;
  GtkWidget *entry_rootpw_again;
  GtkWidget *entry_realname;
  GtkWidget *entry_username;
  GtkWidget *entry_pw;
  GtkWidget *entry_pw_again;
  GtkWidget *image_root_pw;
  GtkWidget *image_rootpw_again;
  GtkWidget *hseparator6;
  GtkWidget *image_realname;
  GtkWidget *image_username;
  GtkWidget *image_pw;
  GtkWidget *image_pw_again;
  GtkWidget *label18;
  GtkWidget *label26;
  GtkWidget *label27;
  GtkWidget *label28;
  GtkWidget *label29;
  GtkWidget *label21;
  GtkWidget *label25;
  GtkWidget *label61;
  GtkWidget *label4;
  GtkWidget *fixed_network;
  GtkWidget *hostname;
  GtkWidget *label32;
  GtkWidget *vseparator5;
  GtkWidget *vseparator6;
  GtkWidget *hseparator12;
  GtkWidget *hseparator13;
  GtkWidget *frame2;
  GtkWidget *alignment7;
  GtkWidget *fixed10;
  GtkWidget *checkbutton_ssh;
  GtkWidget *checkbutton_printsystem;
  GtkWidget *label38;
  GtkWidget *image_hostname;
  GtkWidget *label_hostname_error;
  GtkWidget *label31;
  GtkWidget *hseparator11;
  GtkWidget *label5;
  GtkWidget *fixed19;
  GtkWidget *scrolledwindow4;
  GtkWidget *viewport4;
  GtkWidget *fixed20;
  GtkWidget *label_firmware;
  GtkWidget *hseparator24;
  GtkWidget *button_installfw;
  GtkWidget *label_fw;
  GtkWidget *label60;
  GtkWidget *fixed7;
  GtkWidget *hseparator14;
  GtkWidget *button_install;
  GtkWidget *alignment13;
  GtkWidget *hbox8;
  GtkWidget *image22;
  GtkWidget *label52;
  GtkWidget *radiobutton1;
  GSList *radiobutton1_group = NULL;
  GtkWidget *radiobutton3;
  GtkWidget *hseparator26;
  GtkWidget *hseparator16;
  GtkWidget *vseparator10;
  GtkWidget *vseparator11;
  GtkWidget *radiobutton2;
  GtkWidget *checkbutton_metapackages;
  GtkWidget *hseparator17;
  GtkWidget *checkbutton_force;
  GtkWidget *hseparator15;
  GtkWidget *vseparator8;
  GtkWidget *vseparator7;
  GtkWidget *image16;
  GtkWidget *label37;
  GtkWidget *label_rootpart_warning;
  GtkWidget *label33;
  GtkWidget *label6;
  GtkTooltips *tooltips;

  tooltips = gtk_tooltips_new ();

  window_main = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_window_set_title (GTK_WINDOW (window_main), _("aptosid HD-Installation"));
  gtk_window_set_position (GTK_WINDOW (window_main), GTK_WIN_POS_CENTER);
  gtk_window_set_resizable (GTK_WINDOW (window_main), FALSE);
  window_main_icon_pixbuf = create_pixbuf ("install-gui-16.xpm");
  if (window_main_icon_pixbuf)
    {
      gtk_window_set_icon (GTK_WINDOW (window_main), window_main_icon_pixbuf);
      gdk_pixbuf_unref (window_main_icon_pixbuf);
    }
  gtk_window_set_gravity (GTK_WINDOW (window_main), GDK_GRAVITY_CENTER);

  fixed1 = gtk_fixed_new ();
  gtk_widget_show (fixed1);
  gtk_container_add (GTK_CONTAINER (window_main), fixed1);
  gtk_container_set_border_width (GTK_CONTAINER (fixed1), 10);

  label_wellcome = gtk_label_new (_("Welcome to the aptosid HD-Installation"));
  gtk_fixed_put (GTK_FIXED (fixed1), label_wellcome, 32, 8);
  gtk_widget_set_size_request (label_wellcome, 369, 41);
  gtk_misc_set_alignment (GTK_MISC (label_wellcome), 0, 0.3);

  next = gtk_button_new_from_stock ("gtk-go-forward");
  gtk_widget_show (next);
  gtk_fixed_put (GTK_FIXED (fixed1), next, 544, 488);
  gtk_widget_set_size_request (next, 140, 28);
  GTK_WIDGET_UNSET_FLAGS (next, GTK_CAN_FOCUS);

  prev = gtk_button_new_from_stock ("gtk-go-back");
  gtk_widget_show (prev);
  gtk_fixed_put (GTK_FIXED (fixed1), prev, 381, 488);
  gtk_widget_set_size_request (prev, 140, 28);
  GTK_WIDGET_UNSET_FLAGS (prev, GTK_CAN_FOCUS);
  gtk_button_set_focus_on_click (GTK_BUTTON (prev), FALSE);

  exit = gtk_button_new_from_stock ("gtk-quit");
  gtk_widget_show (exit);
  gtk_fixed_put (GTK_FIXED (fixed1), exit, 10, 488);
  gtk_widget_set_size_request (exit, 140, 28);
  GTK_WIDGET_UNSET_FLAGS (exit, GTK_CAN_FOCUS);
  gtk_button_set_focus_on_click (GTK_BUTTON (exit), FALSE);

  image1 = create_pixmap (window_main, "install-gui-title.png");
  gtk_widget_show (image1);
  gtk_fixed_put (GTK_FIXED (fixed1), image1, 448, 0);
  gtk_widget_set_size_request (image1, 192, 51);

  notebook1 = gtk_notebook_new ();
  gtk_widget_show (notebook1);
  gtk_fixed_put (GTK_FIXED (fixed1), notebook1, 0, 64);
  gtk_widget_set_size_request (notebook1, 690, 417);
  gtk_notebook_set_scrollable (GTK_NOTEBOOK (notebook1), TRUE);

  fixed2 = gtk_fixed_new ();
  gtk_widget_show (fixed2);
  gtk_container_add (GTK_CONTAINER (notebook1), fixed2);

  hseparator2 = gtk_hseparator_new ();
  gtk_widget_show (hseparator2);
  gtk_fixed_put (GTK_FIXED (fixed2), hseparator2, 24, 80);
  gtk_widget_set_size_request (hseparator2, 624, 16);

  hseparator7 = gtk_hseparator_new ();
  gtk_widget_show (hseparator7);
  gtk_fixed_put (GTK_FIXED (fixed2), hseparator7, 24, 16);
  gtk_widget_set_size_request (hseparator7, 624, 16);

  vseparator1 = gtk_vseparator_new ();
  gtk_widget_show (vseparator1);
  gtk_fixed_put (GTK_FIXED (fixed2), vseparator1, 16, 24);
  gtk_widget_set_size_request (vseparator1, 16, 328);

  hseparator8 = gtk_hseparator_new ();
  gtk_widget_show (hseparator8);
  gtk_fixed_put (GTK_FIXED (fixed2), hseparator8, 24, 344);
  gtk_widget_set_size_request (hseparator8, 624, 16);

  vseparator2 = gtk_vseparator_new ();
  gtk_widget_show (vseparator2);
  gtk_fixed_put (GTK_FIXED (fixed2), vseparator2, 640, 24);
  gtk_widget_set_size_request (vseparator2, 16, 328);

  label_wellcome_install = gtk_label_new (_("This application will install aptosid to your harddisk."));
  gtk_widget_show (label_wellcome_install);
  gtk_fixed_put (GTK_FIXED (fixed2), label_wellcome_install, 32, 32);
  gtk_widget_set_size_request (label_wellcome_install, 608, 48);
  gtk_label_set_justify (GTK_LABEL (label_wellcome_install), GTK_JUSTIFY_CENTER);
  gtk_label_set_line_wrap (GTK_LABEL (label_wellcome_install), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label_wellcome_install), 0, 0.4);

  image2 = gtk_image_new_from_stock ("gtk-dialog-warning", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image2);
  gtk_fixed_put (GTK_FIXED (fixed2), image2, 32, 112);
  gtk_widget_set_size_request (image2, 32, 48);

  hseparator3 = gtk_hseparator_new ();
  gtk_widget_show (hseparator3);
  gtk_fixed_put (GTK_FIXED (fixed2), hseparator3, 24, 176);
  gtk_widget_set_size_request (hseparator3, 624, 16);

  hseparator20 = gtk_hseparator_new ();
  gtk_widget_show (hseparator20);
  gtk_fixed_put (GTK_FIXED (fixed2), hseparator20, 24, 272);
  gtk_widget_set_size_request (hseparator20, 624, 16);

  label_wellcome_2 = gtk_label_new (_("If you need any help with the installation, visit the aptosid-website, -Wiki, -Forum or -Chat!\n\naptosid-website: http://aptosid.com"));
  gtk_widget_show (label_wellcome_2);
  gtk_fixed_put (GTK_FIXED (fixed2), label_wellcome_2, 32, 200);
  gtk_widget_set_size_request (label_wellcome_2, 608, 80);
  gtk_label_set_justify (GTK_LABEL (label_wellcome_2), GTK_JUSTIFY_CENTER);
  gtk_label_set_line_wrap (GTK_LABEL (label_wellcome_2), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label_wellcome_2), 0, 0);

  label_wellcome_red = gtk_label_new (_("aptosid takes no responsibility for data loss or hardware damage."));
  gtk_widget_show (label_wellcome_red);
  gtk_fixed_put (GTK_FIXED (fixed2), label_wellcome_red, 72, 96);
  gtk_widget_set_size_request (label_wellcome_red, 568, 80);
  gtk_label_set_justify (GTK_LABEL (label_wellcome_red), GTK_JUSTIFY_CENTER);
  gtk_label_set_line_wrap (GTK_LABEL (label_wellcome_red), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label_wellcome_red), 0, 0.35);

  label1 = gtk_label_new (_("Welcome"));
  gtk_widget_show (label1);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook1), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook1), 0), label1);

  fixed3 = gtk_fixed_new ();
  gtk_widget_show (fixed3);
  gtk_container_add (GTK_CONTAINER (notebook1), fixed3);

  rootpartcombo = gtk_combo_box_new_text ();
  gtk_widget_show (rootpartcombo);
  gtk_fixed_put (GTK_FIXED (fixed3), rootpartcombo, 344, 24);
  gtk_widget_set_size_request (rootpartcombo, 240, 28);

  format_combo = gtk_combo_box_new_text ();
  gtk_widget_show (format_combo);
  gtk_fixed_put (GTK_FIXED (fixed3), format_combo, 344, 64);
  gtk_widget_set_size_request (format_combo, 240, 28);

  rootpartlabel = gtk_label_new ("");
  gtk_widget_show (rootpartlabel);
  gtk_fixed_put (GTK_FIXED (fixed3), rootpartlabel, 592, 24);
  gtk_widget_set_size_request (rootpartlabel, 94, 28);
  gtk_label_set_use_markup (GTK_LABEL (rootpartlabel), TRUE);
  gtk_misc_set_alignment (GTK_MISC (rootpartlabel), 0, 0.5);

  label35 = gtk_label_new (_("Example:\n------------\nA separate\nhome-partition:\n/home"));
  gtk_widget_show (label35);
  gtk_fixed_put (GTK_FIXED (fixed3), label35, 16, 272);
  gtk_widget_set_size_request (label35, 144, 112);
  gtk_label_set_line_wrap (GTK_LABEL (label35), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label35), 0, 0);

  label_changed = gtk_label_new ("");
  gtk_widget_show (label_changed);
  gtk_fixed_put (GTK_FIXED (fixed3), label_changed, 296, 0);
  gtk_widget_set_size_request (label_changed, 360, 24);
  gtk_misc_set_alignment (GTK_MISC (label_changed), 0, 0.5);

  frame4 = gtk_frame_new (NULL);
  gtk_widget_show (frame4);
  gtk_fixed_put (GTK_FIXED (fixed3), frame4, 8, 8);
  gtk_widget_set_size_request (frame4, 152, 208);
  gtk_frame_set_shadow_type (GTK_FRAME (frame4), GTK_SHADOW_OUT);

  alignment9 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment9);
  gtk_container_add (GTK_CONTAINER (frame4), alignment9);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment9), 0, 0, 12, 0);

  fixed12 = gtk_fixed_new ();
  gtk_widget_show (fixed12);
  gtk_container_add (GTK_CONTAINER (alignment9), fixed12);

  combobox_hd = gtk_combo_box_new_text ();
  gtk_widget_show (combobox_hd);
  gtk_fixed_put (GTK_FIXED (fixed12), combobox_hd, 0, 8);
  gtk_widget_set_size_request (combobox_hd, 130, 28);

  button_xparted = gtk_button_new_from_stock ("gtk-execute");
  gtk_widget_show (button_xparted);
  gtk_fixed_put (GTK_FIXED (fixed12), button_xparted, 0, 128);
  gtk_widget_set_size_request (button_xparted, 130, 30);
  gtk_tooltips_set_tip (tooltips, button_xparted, _("!!!!!! be careful !!!!!!!\nDo it, if you don't have a linux partition.\nRead the Manual before. (see the Manual Button on the Desktop)"), NULL);

  radiobutton_part3 = gtk_radio_button_new_with_mnemonic (NULL, _("fdisk"));
  gtk_widget_show (radiobutton_part3);
  gtk_fixed_put (GTK_FIXED (fixed12), radiobutton_part3, 0, 96);
  gtk_widget_set_size_request (radiobutton_part3, 136, 24);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton_part3), radiobutton_part3_group);
  radiobutton_part3_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton_part3));

  radiobutton_part2 = gtk_radio_button_new_with_mnemonic (NULL, _("cfdisk"));
  gtk_widget_show (radiobutton_part2);
  gtk_fixed_put (GTK_FIXED (fixed12), radiobutton_part2, 0, 72);
  gtk_widget_set_size_request (radiobutton_part2, 136, 24);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton_part2), radiobutton_part3_group);
  radiobutton_part3_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton_part2));

  radiobutton_part1 = gtk_radio_button_new_with_mnemonic (NULL, _("xparted"));
  gtk_widget_show (radiobutton_part1);
  gtk_fixed_put (GTK_FIXED (fixed12), radiobutton_part1, 0, 48);
  gtk_widget_set_size_request (radiobutton_part1, 136, 24);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton_part1), radiobutton_part3_group);
  radiobutton_part3_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton_part1));
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radiobutton_part1), TRUE);

  label40 = gtk_label_new (_("Start Part.-\nmanager"));
  gtk_widget_show (label40);
  gtk_frame_set_label_widget (GTK_FRAME (frame4), label40);
  gtk_label_set_use_markup (GTK_LABEL (label40), TRUE);

  scrolledwindow1 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow1);
  gtk_fixed_put (GTK_FIXED (fixed3), scrolledwindow1, 169, 192);
  gtk_widget_set_size_request (scrolledwindow1, 505, 184);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow1), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  treeview1 = gtk_tree_view_new ();
  gtk_widget_show (treeview1);
  gtk_container_add (GTK_CONTAINER (scrolledwindow1), treeview1);
  gtk_widget_set_size_request (treeview1, 248, 136);
  gtk_tree_view_set_enable_search (GTK_TREE_VIEW (treeview1), FALSE);
  gtk_tree_view_set_hover_selection (GTK_TREE_VIEW (treeview1), TRUE);
  gtk_tree_view_set_hover_expand (GTK_TREE_VIEW (treeview1), TRUE);

  checkbutton_mountpoints = gtk_check_button_new_with_mnemonic (_("Set mountpoints of other Partitions\n(will not be formatted automatically)"));
  gtk_widget_show (checkbutton_mountpoints);
  gtk_fixed_put (GTK_FIXED (fixed3), checkbutton_mountpoints, 169, 136);
  gtk_widget_set_size_request (checkbutton_mountpoints, 505, 48);
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (checkbutton_mountpoints), TRUE);

  hseparator1 = gtk_hseparator_new ();
  gtk_widget_show (hseparator1);
  gtk_fixed_put (GTK_FIXED (fixed3), hseparator1, 169, 126);
  gtk_widget_set_size_request (hseparator1, 505, 16);

  checkbutton_format_with = gtk_check_button_new_with_mnemonic (_("format with"));
  gtk_widget_show (checkbutton_format_with);
  gtk_fixed_put (GTK_FIXED (fixed3), checkbutton_format_with, 169, 64);
  gtk_widget_set_size_request (checkbutton_format_with, 174, 28);
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (checkbutton_format_with), TRUE);

  label7 = gtk_label_new (_("Root-Partition"));
  gtk_widget_show (label7);
  gtk_fixed_put (GTK_FIXED (fixed3), label7, 169, 24);
  gtk_widget_set_size_request (label7, 175, 28);
  gtk_misc_set_alignment (GTK_MISC (label7), 0, 0.5);

  checkbutton_automount = gtk_check_button_new_with_mnemonic (_("mount partitions on boot"));
  gtk_widget_show (checkbutton_automount);
  gtk_fixed_put (GTK_FIXED (fixed3), checkbutton_automount, 169, 96);
  gtk_widget_set_size_request (checkbutton_automount, 520, 32);
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (checkbutton_automount), TRUE);

  label8 = gtk_label_new (_("Mountpoints of other Partitions"));
  gtk_widget_show (label8);
  gtk_fixed_put (GTK_FIXED (fixed3), label8, 16, 215);
  gtk_widget_set_size_request (label8, 144, 60);
  gtk_label_set_line_wrap (GTK_LABEL (label8), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label8), 0, 0);

  label2 = gtk_label_new (_("Partitioning"));
  gtk_widget_show (label2);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook1), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook1), 1), label2);

  fixed4 = gtk_fixed_new ();
  gtk_widget_show (fixed4);
  gtk_container_add (GTK_CONTAINER (notebook1), fixed4);

  vseparator4 = gtk_vseparator_new ();
  gtk_widget_show (vseparator4);
  gtk_fixed_put (GTK_FIXED (fixed4), vseparator4, 664, 16);
  gtk_widget_set_size_request (vseparator4, 16, 224);

  vseparator3 = gtk_vseparator_new ();
  gtk_widget_show (vseparator3);
  gtk_fixed_put (GTK_FIXED (fixed4), vseparator3, 8, 16);
  gtk_widget_set_size_request (vseparator3, 16, 224);

  hseparator9 = gtk_hseparator_new ();
  gtk_widget_show (hseparator9);
  gtk_fixed_put (GTK_FIXED (fixed4), hseparator9, 16, 8);
  gtk_widget_set_size_request (hseparator9, 656, 16);

  hseparator10 = gtk_hseparator_new ();
  gtk_widget_show (hseparator10);
  gtk_fixed_put (GTK_FIXED (fixed4), hseparator10, 16, 232);
  gtk_widget_set_size_request (hseparator10, 656, 16);

  hseparator19 = gtk_hseparator_new ();
  gtk_widget_show (hseparator19);
  gtk_fixed_put (GTK_FIXED (fixed4), hseparator19, 56, 105);
  gtk_widget_set_size_request (hseparator19, 576, 16);

  combobox_bootmanager = gtk_combo_box_new_text ();
  gtk_widget_show (combobox_bootmanager);
  gtk_fixed_put (GTK_FIXED (fixed4), combobox_bootmanager, 352, 128);
  gtk_widget_set_size_request (combobox_bootmanager, 187, 28);

  combobox_installplace = gtk_combo_box_new_text ();
  gtk_widget_show (combobox_installplace);
  gtk_fixed_put (GTK_FIXED (fixed4), combobox_installplace, 352, 168);
  gtk_widget_set_size_request (combobox_installplace, 187, 28);

  label15 = gtk_label_new (_("Installation-target"));
  gtk_widget_show (label15);
  gtk_fixed_put (GTK_FIXED (fixed4), label15, 96, 168);
  gtk_widget_set_size_request (label15, 256, 28);
  gtk_misc_set_alignment (GTK_MISC (label15), 0, 0.5);

  frame5 = gtk_frame_new (NULL);
  gtk_fixed_put (GTK_FIXED (fixed4), frame5, 352, 264);
  gtk_widget_set_size_request (frame5, 320, 104);

  alignment10 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment10);
  gtk_container_add (GTK_CONTAINER (frame5), alignment10);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment10), 0, 0, 12, 0);

  fixed14 = gtk_fixed_new ();
  gtk_widget_show (fixed14);
  gtk_container_add (GTK_CONTAINER (alignment10), fixed14);

  combobox_lang = gtk_combo_box_new_text ();
  gtk_widget_show (combobox_lang);
  gtk_fixed_put (GTK_FIXED (fixed14), combobox_lang, 8, 24);
  gtk_widget_set_size_request (combobox_lang, 280, 28);

  label43 = gtk_label_new (_("<big> Language </big>"));
  gtk_widget_show (label43);
  gtk_frame_set_label_widget (GTK_FRAME (frame5), label43);
  gtk_label_set_use_markup (GTK_LABEL (label43), TRUE);

  label13 = gtk_label_new (_("Bootmanager: A bootmanager allows you to choose the OS you want to boot at startup.\nInstallation-target: MBR (Master Boot Record) or root-partition"));
  gtk_widget_show (label13);
  gtk_fixed_put (GTK_FIXED (fixed4), label13, 24, 24);
  gtk_widget_set_size_request (label13, 640, 88);
  gtk_label_set_justify (GTK_LABEL (label13), GTK_JUSTIFY_CENTER);
  gtk_label_set_line_wrap (GTK_LABEL (label13), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label13), 0, 0.3);

  frame3 = gtk_frame_new (NULL);
  gtk_widget_show (frame3);
  gtk_fixed_put (GTK_FIXED (fixed4), frame3, 16, 264);
  gtk_widget_set_size_request (frame3, 320, 104);
  gtk_frame_set_shadow_type (GTK_FRAME (frame3), GTK_SHADOW_OUT);

  alignment8 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment8);
  gtk_container_add (GTK_CONTAINER (frame3), alignment8);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment8), 0, 0, 12, 0);

  fixed11 = gtk_fixed_new ();
  gtk_widget_show (fixed11);
  gtk_container_add (GTK_CONTAINER (alignment8), fixed11);

  button_tz = gtk_button_new_from_stock ("gtk-preferences");
  gtk_widget_show (button_tz);
  gtk_fixed_put (GTK_FIXED (fixed11), button_tz, 72, 40);
  gtk_widget_set_size_request (button_tz, 152, 30);

  label_tz = gtk_label_new (_("Timezone"));
  gtk_widget_show (label_tz);
  gtk_fixed_put (GTK_FIXED (fixed11), label_tz, 0, 8);
  gtk_widget_set_size_request (label_tz, 304, 32);
  gtk_label_set_use_markup (GTK_LABEL (label_tz), TRUE);
  gtk_label_set_justify (GTK_LABEL (label_tz), GTK_JUSTIFY_CENTER);
  gtk_label_set_line_wrap (GTK_LABEL (label_tz), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label_tz), 0.5, 0);
  gtk_label_set_ellipsize (GTK_LABEL (label_tz), PANGO_ELLIPSIZE_MIDDLE);

  label39 = gtk_label_new (_("<big> Timezone </big>"));
  gtk_widget_show (label39);
  gtk_frame_set_label_widget (GTK_FRAME (frame3), label39);
  gtk_label_set_use_markup (GTK_LABEL (label39), TRUE);

  label14 = gtk_label_new (_("Bootmanager"));
  gtk_widget_show (label14);
  gtk_fixed_put (GTK_FIXED (fixed4), label14, 96, 130);
  gtk_widget_set_size_request (label14, 256, 42);
  gtk_label_set_line_wrap (GTK_LABEL (label14), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label14), 0, 0);

  label3 = gtk_label_new (_("Grub/Timezone"));
  gtk_widget_show (label3);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook1), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook1), 2), label3);

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

  hseparator5 = gtk_hseparator_new ();
  gtk_widget_show (hseparator5);
  gtk_fixed_put (GTK_FIXED (fixed5), hseparator5, 16, 96);
  gtk_widget_set_size_request (hseparator5, 640, 16);

  label16 = gtk_label_new (_("Root-password: This password will be used for the administrator. Do not forget it!\nUsername: The username should consist of lower case letters (and numbers) only.\nImportant: All passwords have to be between 6 and 20 characters long!"));
  gtk_widget_show (label16);
  gtk_fixed_put (GTK_FIXED (fixed5), label16, 16, 8);
  gtk_widget_set_size_request (label16, 640, 88);
  gtk_label_set_justify (GTK_LABEL (label16), GTK_JUSTIFY_CENTER);
  gtk_label_set_line_wrap (GTK_LABEL (label16), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label16), 0, 0.5);

  frame1 = gtk_frame_new (NULL);
  gtk_widget_show (frame1);
  gtk_fixed_put (GTK_FIXED (fixed5), frame1, 88, 120);
  gtk_widget_set_size_request (frame1, 500, 240);
  gtk_frame_set_shadow_type (GTK_FRAME (frame1), GTK_SHADOW_IN);

  alignment5 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment5);
  gtk_container_add (GTK_CONTAINER (frame1), alignment5);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment5), 0, 0, 12, 0);

  fixed8 = gtk_fixed_new ();
  gtk_widget_show (fixed8);
  gtk_container_add (GTK_CONTAINER (alignment5), fixed8);

  entry_rootpw = gtk_entry_new ();
  gtk_widget_show (entry_rootpw);
  gtk_fixed_put (GTK_FIXED (fixed8), entry_rootpw, 250, 0);
  gtk_widget_set_size_request (entry_rootpw, 216, 24);
  gtk_entry_set_max_length (GTK_ENTRY (entry_rootpw), 20);
  gtk_entry_set_visibility (GTK_ENTRY (entry_rootpw), FALSE);
  gtk_entry_set_invisible_char (GTK_ENTRY (entry_rootpw), 9679);

  entry_rootpw_again = gtk_entry_new ();
  gtk_widget_show (entry_rootpw_again);
  gtk_fixed_put (GTK_FIXED (fixed8), entry_rootpw_again, 250, 32);
  gtk_widget_set_size_request (entry_rootpw_again, 216, 24);
  gtk_entry_set_max_length (GTK_ENTRY (entry_rootpw_again), 20);
  gtk_entry_set_visibility (GTK_ENTRY (entry_rootpw_again), FALSE);
  gtk_entry_set_invisible_char (GTK_ENTRY (entry_rootpw_again), 9679);

  entry_realname = gtk_entry_new ();
  gtk_widget_show (entry_realname);
  gtk_fixed_put (GTK_FIXED (fixed8), entry_realname, 250, 88);
  gtk_widget_set_size_request (entry_realname, 216, 24);

  entry_username = gtk_entry_new ();
  gtk_widget_show (entry_username);
  gtk_fixed_put (GTK_FIXED (fixed8), entry_username, 250, 120);
  gtk_widget_set_size_request (entry_username, 216, 24);
  gtk_tooltips_set_tip (tooltips, entry_username, _("only a-z0-9,-"), NULL);

  entry_pw = gtk_entry_new ();
  gtk_widget_show (entry_pw);
  gtk_fixed_put (GTK_FIXED (fixed8), entry_pw, 250, 160);
  gtk_widget_set_size_request (entry_pw, 216, 24);
  gtk_entry_set_max_length (GTK_ENTRY (entry_pw), 20);
  gtk_entry_set_visibility (GTK_ENTRY (entry_pw), FALSE);
  gtk_entry_set_invisible_char (GTK_ENTRY (entry_pw), 9679);

  entry_pw_again = gtk_entry_new ();
  gtk_widget_show (entry_pw_again);
  gtk_fixed_put (GTK_FIXED (fixed8), entry_pw_again, 250, 192);
  gtk_widget_set_size_request (entry_pw_again, 216, 24);
  gtk_entry_set_max_length (GTK_ENTRY (entry_pw_again), 20);
  gtk_entry_set_visibility (GTK_ENTRY (entry_pw_again), FALSE);
  gtk_entry_set_invisible_char (GTK_ENTRY (entry_pw_again), 9679);

  image_root_pw = gtk_image_new_from_stock ("gtk-cancel", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image_root_pw);
  gtk_fixed_put (GTK_FIXED (fixed8), image_root_pw, 470, 0);
  gtk_widget_set_size_request (image_root_pw, 21, 21);

  image_rootpw_again = gtk_image_new_from_stock ("gtk-cancel", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image_rootpw_again);
  gtk_fixed_put (GTK_FIXED (fixed8), image_rootpw_again, 470, 34);
  gtk_widget_set_size_request (image_rootpw_again, 21, 21);

  hseparator6 = gtk_hseparator_new ();
  gtk_widget_show (hseparator6);
  gtk_fixed_put (GTK_FIXED (fixed8), hseparator6, 0, 64);
  gtk_widget_set_size_request (hseparator6, 490, 16);

  image_realname = gtk_image_new_from_stock ("gtk-cancel", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image_realname);
  gtk_fixed_put (GTK_FIXED (fixed8), image_realname, 470, 90);
  gtk_widget_set_size_request (image_realname, 21, 21);

  image_username = gtk_image_new_from_stock ("gtk-cancel", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image_username);
  gtk_fixed_put (GTK_FIXED (fixed8), image_username, 470, 122);
  gtk_widget_set_size_request (image_username, 21, 21);

  image_pw = gtk_image_new_from_stock ("gtk-cancel", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image_pw);
  gtk_fixed_put (GTK_FIXED (fixed8), image_pw, 470, 162);
  gtk_widget_set_size_request (image_pw, 21, 21);

  image_pw_again = gtk_image_new_from_stock ("gtk-cancel", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image_pw_again);
  gtk_fixed_put (GTK_FIXED (fixed8), image_pw_again, 470, 194);
  gtk_widget_set_size_request (image_pw_again, 21, 21);

  label18 = gtk_label_new (_("Root-password:"));
  gtk_widget_show (label18);
  gtk_fixed_put (GTK_FIXED (fixed8), label18, 0, 0);
  gtk_widget_set_size_request (label18, 250, 24);
  gtk_misc_set_alignment (GTK_MISC (label18), 0, 0.5);

  label26 = gtk_label_new (_("Realname:"));
  gtk_widget_show (label26);
  gtk_fixed_put (GTK_FIXED (fixed8), label26, 0, 88);
  gtk_widget_set_size_request (label26, 250, 24);
  gtk_misc_set_alignment (GTK_MISC (label26), 0, 0.5);

  label27 = gtk_label_new (_("Username:"));
  gtk_widget_show (label27);
  gtk_fixed_put (GTK_FIXED (fixed8), label27, 0, 120);
  gtk_widget_set_size_request (label27, 250, 24);
  gtk_misc_set_alignment (GTK_MISC (label27), 0, 0.5);

  label28 = gtk_label_new (_("Password:"));
  gtk_widget_show (label28);
  gtk_fixed_put (GTK_FIXED (fixed8), label28, 0, 160);
  gtk_widget_set_size_request (label28, 250, 24);
  gtk_misc_set_alignment (GTK_MISC (label28), 0, 0.5);

  label29 = gtk_label_new (_("Password again:"));
  gtk_widget_show (label29);
  gtk_fixed_put (GTK_FIXED (fixed8), label29, 0, 192);
  gtk_widget_set_size_request (label29, 250, 24);
  gtk_misc_set_alignment (GTK_MISC (label29), 0, 0.5);

  label21 = gtk_label_new (_("Root-password again:"));
  gtk_widget_show (label21);
  gtk_fixed_put (GTK_FIXED (fixed8), label21, 0, 32);
  gtk_widget_set_size_request (label21, 250, 24);
  gtk_misc_set_alignment (GTK_MISC (label21), 0, 0.5);

  label25 = gtk_label_new ("");
  gtk_widget_show (label25);
  gtk_frame_set_label_widget (GTK_FRAME (frame1), label25);
  gtk_label_set_use_markup (GTK_LABEL (label25), TRUE);

  label61 = gtk_label_new (_("<i>only a-z0-9,-</i>"));
  gtk_widget_show (label61);
  gtk_fixed_put (GTK_FIXED (fixed5), label61, 102, 272);
  gtk_widget_set_size_request (label61, 250, 24);
  gtk_label_set_use_markup (GTK_LABEL (label61), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label61), 0, 0.5);

  label4 = gtk_label_new (_("User"));
  gtk_widget_show (label4);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook1), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook1), 3), label4);

  fixed_network = gtk_fixed_new ();
  gtk_widget_show (fixed_network);
  gtk_container_add (GTK_CONTAINER (notebook1), fixed_network);

  hostname = gtk_entry_new ();
  gtk_widget_show (hostname);
  gtk_fixed_put (GTK_FIXED (fixed_network), hostname, 264, 152);
  gtk_widget_set_size_request (hostname, 232, 24);
  gtk_entry_set_text (GTK_ENTRY (hostname), _("aptosidbox"));

  label32 = gtk_label_new (_("Hostname:"));
  gtk_widget_show (label32);
  gtk_fixed_put (GTK_FIXED (fixed_network), label32, 128, 152);
  gtk_widget_set_size_request (label32, 128, 24);
  gtk_misc_set_alignment (GTK_MISC (label32), 0.04, 0.5);

  vseparator5 = gtk_vseparator_new ();
  gtk_widget_show (vseparator5);
  gtk_fixed_put (GTK_FIXED (fixed_network), vseparator5, 88, 120);
  gtk_widget_set_size_request (vseparator5, 16, 96);

  vseparator6 = gtk_vseparator_new ();
  gtk_widget_show (vseparator6);
  gtk_fixed_put (GTK_FIXED (fixed_network), vseparator6, 544, 120);
  gtk_widget_set_size_request (vseparator6, 16, 96);

  hseparator12 = gtk_hseparator_new ();
  gtk_widget_show (hseparator12);
  gtk_fixed_put (GTK_FIXED (fixed_network), hseparator12, 96, 112);
  gtk_widget_set_size_request (hseparator12, 456, 16);

  hseparator13 = gtk_hseparator_new ();
  gtk_widget_show (hseparator13);
  gtk_fixed_put (GTK_FIXED (fixed_network), hseparator13, 96, 208);
  gtk_widget_set_size_request (hseparator13, 456, 16);

  frame2 = gtk_frame_new (NULL);
  gtk_widget_show (frame2);
  gtk_fixed_put (GTK_FIXED (fixed_network), frame2, 96, 240);
  gtk_widget_set_size_request (frame2, 456, 104);

  alignment7 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment7);
  gtk_container_add (GTK_CONTAINER (frame2), alignment7);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment7), 0, 0, 12, 0);

  fixed10 = gtk_fixed_new ();
  gtk_widget_show (fixed10);
  gtk_container_add (GTK_CONTAINER (alignment7), fixed10);

  checkbutton_ssh = gtk_check_button_new_with_mnemonic (_("ssh (Secure shell client and server)"));
  gtk_widget_show (checkbutton_ssh);
  gtk_fixed_put (GTK_FIXED (fixed10), checkbutton_ssh, 0, 8);
  gtk_widget_set_size_request (checkbutton_ssh, 424, 32);

  checkbutton_printsystem = gtk_check_button_new_with_mnemonic (_("cups (Printing System)"));
  gtk_fixed_put (GTK_FIXED (fixed10), checkbutton_printsystem, 0, 48);
  gtk_widget_set_size_request (checkbutton_printsystem, 424, 32);

  label38 = gtk_label_new (_("start services"));
  gtk_widget_show (label38);
  gtk_frame_set_label_widget (GTK_FRAME (frame2), label38);

  image_hostname = gtk_image_new_from_stock ("gtk-apply", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image_hostname);
  gtk_fixed_put (GTK_FIXED (fixed_network), image_hostname, 504, 154);
  gtk_widget_set_size_request (image_hostname, 21, 21);

  label_hostname_error = gtk_label_new ("");
  gtk_widget_show (label_hostname_error);
  gtk_fixed_put (GTK_FIXED (fixed_network), label_hostname_error, 96, 176);
  gtk_widget_set_size_request (label_hostname_error, 456, 40);
  gtk_label_set_use_markup (GTK_LABEL (label_hostname_error), TRUE);

  label31 = gtk_label_new (_("Hostname: The hostname should consist of letters (and numbers) only and it must not begin with a number."));
  gtk_widget_show (label31);
  gtk_fixed_put (GTK_FIXED (fixed_network), label31, 16, 8);
  gtk_widget_set_size_request (label31, 640, 88);
  gtk_label_set_justify (GTK_LABEL (label31), GTK_JUSTIFY_CENTER);
  gtk_label_set_line_wrap (GTK_LABEL (label31), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label31), 0, 0.5);

  hseparator11 = gtk_hseparator_new ();
  gtk_widget_show (hseparator11);
  gtk_fixed_put (GTK_FIXED (fixed_network), hseparator11, 16, 96);
  gtk_widget_set_size_request (hseparator11, 640, 16);

  label5 = gtk_label_new (_("Network"));
  gtk_widget_show (label5);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook1), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook1), 4), label5);

  fixed19 = gtk_fixed_new ();
  gtk_widget_show (fixed19);
  gtk_container_add (GTK_CONTAINER (notebook1), fixed19);
  gtk_container_set_border_width (GTK_CONTAINER (fixed19), 15);

  scrolledwindow4 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow4);
  gtk_fixed_put (GTK_FIXED (fixed19), scrolledwindow4, 16, 0);
  gtk_widget_set_size_request (scrolledwindow4, 633, 305);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow4), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow4), GTK_SHADOW_IN);

  viewport4 = gtk_viewport_new (NULL, NULL);
  gtk_widget_show (viewport4);
  gtk_container_add (GTK_CONTAINER (scrolledwindow4), viewport4);
  gtk_viewport_set_shadow_type (GTK_VIEWPORT (viewport4), GTK_SHADOW_ETCHED_IN);

  fixed20 = gtk_fixed_new ();
  gtk_widget_show (fixed20);
  gtk_container_add (GTK_CONTAINER (viewport4), fixed20);

  label_firmware = gtk_label_new_with_mnemonic ("");
  gtk_widget_show (label_firmware);
  gtk_fixed_put (GTK_FIXED (fixed20), label_firmware, 8, 8);
  gtk_widget_set_size_request (label_firmware, 592, 4000);
  GTK_WIDGET_SET_FLAGS (label_firmware, GTK_CAN_FOCUS);
  gtk_label_set_line_wrap (GTK_LABEL (label_firmware), TRUE);
  gtk_label_set_selectable (GTK_LABEL (label_firmware), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label_firmware), 0, 0);

  hseparator24 = gtk_hseparator_new ();
  gtk_widget_show (hseparator24);
  gtk_fixed_put (GTK_FIXED (fixed19), hseparator24, 16, 312);
  gtk_widget_set_size_request (hseparator24, 633, 16);

  button_installfw = gtk_button_new_from_stock ("gtk-execute");
  gtk_widget_show (button_installfw);
  gtk_fixed_put (GTK_FIXED (fixed19), button_installfw, 456, 331);
  gtk_widget_set_size_request (button_installfw, 176, 30);

  label_fw = gtk_label_new (_("<span foreground=\"#0022ff\">Installable driver found. Installation add non-free sources</span>"));
  gtk_widget_show (label_fw);
  gtk_fixed_put (GTK_FIXED (fixed19), label_fw, 18, 331);
  gtk_widget_set_size_request (label_fw, 434, 30);
  gtk_label_set_use_markup (GTK_LABEL (label_fw), TRUE);
  gtk_label_set_ellipsize (GTK_LABEL (label_fw), PANGO_ELLIPSIZE_MIDDLE);

  label60 = gtk_label_new (_("Firmware"));
  gtk_widget_show (label60);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook1), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook1), 5), label60);

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

  hseparator14 = gtk_hseparator_new ();
  gtk_widget_show (hseparator14);
  gtk_fixed_put (GTK_FIXED (fixed7), hseparator14, 16, 96);
  gtk_widget_set_size_request (hseparator14, 640, 16);

  button_install = gtk_button_new ();
  gtk_widget_show (button_install);
  gtk_fixed_put (GTK_FIXED (fixed7), button_install, 185, 320);
  gtk_widget_set_size_request (button_install, 274, 36);

  alignment13 = gtk_alignment_new (0.5, 0.5, 0, 0);
  gtk_widget_show (alignment13);
  gtk_container_add (GTK_CONTAINER (button_install), alignment13);

  hbox8 = gtk_hbox_new (FALSE, 2);
  gtk_widget_show (hbox8);
  gtk_container_add (GTK_CONTAINER (alignment13), hbox8);

  image22 = gtk_image_new_from_stock ("gtk-save", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image22);
  gtk_box_pack_start (GTK_BOX (hbox8), image22, FALSE, FALSE, 0);

  label52 = gtk_label_new_with_mnemonic (_("Save config & Next"));
  gtk_widget_show (label52);
  gtk_box_pack_start (GTK_BOX (hbox8), label52, FALSE, FALSE, 0);

  radiobutton1 = gtk_radio_button_new_with_mnemonic (NULL, _("Start installation"));
  gtk_fixed_put (GTK_FIXED (fixed7), radiobutton1, 360, 128);
  gtk_widget_set_size_request (radiobutton1, 208, 56);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton1), radiobutton1_group);
  radiobutton1_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton1));
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radiobutton1), TRUE);

  radiobutton3 = gtk_radio_button_new_with_mnemonic (NULL, _("Edit configuration\n!!! be careful !!!"));
  gtk_fixed_put (GTK_FIXED (fixed7), radiobutton3, 360, 200);
  gtk_widget_set_size_request (radiobutton3, 208, 48);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton3), radiobutton1_group);
  radiobutton1_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton3));

  hseparator26 = gtk_hseparator_new ();
  gtk_widget_show (hseparator26);
  gtk_fixed_put (GTK_FIXED (fixed7), hseparator26, 96, 240);
  gtk_widget_set_size_request (hseparator26, 472, 16);

  hseparator16 = gtk_hseparator_new ();
  gtk_widget_show (hseparator16);
  gtk_fixed_put (GTK_FIXED (fixed7), hseparator16, 96, 288);
  gtk_widget_set_size_request (hseparator16, 472, 16);

  vseparator10 = gtk_vseparator_new ();
  gtk_widget_show (vseparator10);
  gtk_fixed_put (GTK_FIXED (fixed7), vseparator10, 88, 248);
  gtk_widget_set_size_request (vseparator10, 16, 48);

  vseparator11 = gtk_vseparator_new ();
  gtk_widget_show (vseparator11);
  gtk_fixed_put (GTK_FIXED (fixed7), vseparator11, 560, 248);
  gtk_widget_set_size_request (vseparator11, 16, 48);

  radiobutton2 = gtk_radio_button_new_with_mnemonic (NULL, _("Save configuration\nonly (~/.sidconf)"));
  gtk_fixed_put (GTK_FIXED (fixed7), radiobutton2, 360, 160);
  gtk_widget_set_size_request (radiobutton2, 208, 56);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (radiobutton2), radiobutton1_group);
  radiobutton1_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radiobutton2));

  checkbutton_metapackages = gtk_check_button_new_with_mnemonic (_("Install additional\nMetapackages"));
  gtk_fixed_put (GTK_FIXED (fixed7), checkbutton_metapackages, 112, 184);
  gtk_widget_set_size_request (checkbutton_metapackages, 400, 56);

  hseparator17 = gtk_hseparator_new ();
  gtk_widget_show (hseparator17);
  gtk_fixed_put (GTK_FIXED (fixed7), hseparator17, 96, 200);
  gtk_widget_set_size_request (hseparator17, 472, 16);

  checkbutton_force = gtk_check_button_new_with_mnemonic (_("Force Installation\n(Ignore RAM-/Partition-Check, etc.)"));
  gtk_widget_show (checkbutton_force);
  gtk_fixed_put (GTK_FIXED (fixed7), checkbutton_force, 112, 144);
  gtk_widget_set_size_request (checkbutton_force, 400, 56);

  hseparator15 = gtk_hseparator_new ();
  gtk_widget_show (hseparator15);
  gtk_fixed_put (GTK_FIXED (fixed7), hseparator15, 96, 128);
  gtk_widget_set_size_request (hseparator15, 472, 16);

  vseparator8 = gtk_vseparator_new ();
  gtk_widget_show (vseparator8);
  gtk_fixed_put (GTK_FIXED (fixed7), vseparator8, 88, 136);
  gtk_widget_set_size_request (vseparator8, 16, 72);

  vseparator7 = gtk_vseparator_new ();
  gtk_widget_show (vseparator7);
  gtk_fixed_put (GTK_FIXED (fixed7), vseparator7, 560, 136);
  gtk_widget_set_size_request (vseparator7, 16, 72);

  image16 = gtk_image_new_from_stock ("gtk-dialog-warning", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image16);
  gtk_fixed_put (GTK_FIXED (fixed7), image16, 115, 256);
  gtk_widget_set_size_request (image16, 24, 32);
  gtk_misc_set_alignment (GTK_MISC (image16), 0, 0.42);

  label37 = gtk_label_new (_("Root-Partition"));
  gtk_widget_show (label37);
  gtk_fixed_put (GTK_FIXED (fixed7), label37, 135, 256);
  gtk_widget_set_size_request (label37, 158, 32);
  gtk_misc_set_alignment (GTK_MISC (label37), 0, 0.52);

  label_rootpart_warning = gtk_label_new (_("error"));
  gtk_widget_show (label_rootpart_warning);
  gtk_fixed_put (GTK_FIXED (fixed7), label_rootpart_warning, 299, 256);
  gtk_widget_set_size_request (label_rootpart_warning, 271, 32);
  gtk_misc_set_alignment (GTK_MISC (label_rootpart_warning), 0, 0.4);

  label33 = gtk_label_new (_("You have provided all the required information for a aptosid-install.\nTo check again or change anything press \"<-Back\".\nIf everything is correct for you, press \"Save config & Next\"."));
  gtk_widget_show (label33);
  gtk_fixed_put (GTK_FIXED (fixed7), label33, 16, 8);
  gtk_widget_set_size_request (label33, 640, 88);
  gtk_label_set_justify (GTK_LABEL (label33), GTK_JUSTIFY_CENTER);
  gtk_label_set_line_wrap (GTK_LABEL (label33), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label33), 0, 0.5);

  label6 = gtk_label_new (_("Installation"));
  gtk_widget_show (label6);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook1), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook1), 6), label6);

  g_signal_connect ((gpointer) window_main, "delete_event",
                    G_CALLBACK (on_window_main_delete_event),
                    NULL);
  g_signal_connect ((gpointer) window_main, "realize",
                    G_CALLBACK (on_window_main_realize),
                    NULL);
  g_signal_connect ((gpointer) next, "clicked",
                    G_CALLBACK (on_next_clicked),
                    NULL);
  g_signal_connect ((gpointer) prev, "clicked",
                    G_CALLBACK (on_prev_clicked),
                    NULL);
  g_signal_connect ((gpointer) exit, "clicked",
                    G_CALLBACK (on_exit_clicked),
                    NULL);
  g_signal_connect_after ((gpointer) notebook1, "switch_page",
                          G_CALLBACK (on_notebook1_switch_page),
                          NULL);
  g_signal_connect ((gpointer) rootpartcombo, "changed",
                    G_CALLBACK (on_rootpartcombo_changed),
                    NULL);
  g_signal_connect ((gpointer) button_xparted, "clicked",
                    G_CALLBACK (on_button_xparted_clicked),
                    NULL);
  g_signal_connect ((gpointer) checkbutton_mountpoints, "toggled",
                    G_CALLBACK (on_checkbutton_mountpoints_toggled),
                    NULL);
  g_signal_connect ((gpointer) combobox_lang, "changed",
                    G_CALLBACK (on_combobox_lang_changed),
                    NULL);
  g_signal_connect ((gpointer) button_tz, "clicked",
                    G_CALLBACK (on_button_tz_clicked),
                    NULL);
  g_signal_connect ((gpointer) entry_rootpw, "changed",
                    G_CALLBACK (on_entry_rootpw_changed),
                    NULL);
  g_signal_connect ((gpointer) entry_rootpw_again, "changed",
                    G_CALLBACK (on_entry_rootpw_again_changed),
                    NULL);
  g_signal_connect ((gpointer) entry_realname, "changed",
                    G_CALLBACK (on_entry_realname_changed),
                    NULL);
  g_signal_connect ((gpointer) entry_username, "changed",
                    G_CALLBACK (on_entry_username_changed),
                    NULL);
  g_signal_connect ((gpointer) entry_pw, "changed",
                    G_CALLBACK (on_entry_pw_changed),
                    NULL);
  g_signal_connect ((gpointer) entry_pw_again, "changed",
                    G_CALLBACK (on_entry_pw_again_changed),
                    NULL);
  g_signal_connect ((gpointer) hostname, "changed",
                    G_CALLBACK (on_hostname_changed),
                    NULL);
  g_signal_connect ((gpointer) button_installfw, "clicked",
                    G_CALLBACK (on_button_installfw_clicked),
                    NULL);
  g_signal_connect ((gpointer) button_install, "clicked",
                    G_CALLBACK (on_button_install_clicked),
                    NULL);
  g_signal_connect ((gpointer) radiobutton1, "toggled",
                    G_CALLBACK (on_radiobutton1_toggled),
                    NULL);
  g_signal_connect ((gpointer) radiobutton3, "toggled",
                    G_CALLBACK (on_radiobutton3_toggled),
                    NULL);
  g_signal_connect ((gpointer) radiobutton2, "toggled",
                    G_CALLBACK (on_radiobutton2_toggled),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (window_main, window_main, "window_main");
  GLADE_HOOKUP_OBJECT (window_main, fixed1, "fixed1");
  GLADE_HOOKUP_OBJECT (window_main, label_wellcome, "label_wellcome");
  GLADE_HOOKUP_OBJECT (window_main, next, "next");
  GLADE_HOOKUP_OBJECT (window_main, prev, "prev");
  GLADE_HOOKUP_OBJECT (window_main, exit, "exit");
  GLADE_HOOKUP_OBJECT (window_main, image1, "image1");
  GLADE_HOOKUP_OBJECT (window_main, notebook1, "notebook1");
  GLADE_HOOKUP_OBJECT (window_main, fixed2, "fixed2");
  GLADE_HOOKUP_OBJECT (window_main, hseparator2, "hseparator2");
  GLADE_HOOKUP_OBJECT (window_main, hseparator7, "hseparator7");
  GLADE_HOOKUP_OBJECT (window_main, vseparator1, "vseparator1");
  GLADE_HOOKUP_OBJECT (window_main, hseparator8, "hseparator8");
  GLADE_HOOKUP_OBJECT (window_main, vseparator2, "vseparator2");
  GLADE_HOOKUP_OBJECT (window_main, label_wellcome_install, "label_wellcome_install");
  GLADE_HOOKUP_OBJECT (window_main, image2, "image2");
  GLADE_HOOKUP_OBJECT (window_main, hseparator3, "hseparator3");
  GLADE_HOOKUP_OBJECT (window_main, hseparator20, "hseparator20");
  GLADE_HOOKUP_OBJECT (window_main, label_wellcome_2, "label_wellcome_2");
  GLADE_HOOKUP_OBJECT (window_main, label_wellcome_red, "label_wellcome_red");
  GLADE_HOOKUP_OBJECT (window_main, label1, "label1");
  GLADE_HOOKUP_OBJECT (window_main, fixed3, "fixed3");
  GLADE_HOOKUP_OBJECT (window_main, rootpartcombo, "rootpartcombo");
  GLADE_HOOKUP_OBJECT (window_main, format_combo, "format_combo");
  GLADE_HOOKUP_OBJECT (window_main, rootpartlabel, "rootpartlabel");
  GLADE_HOOKUP_OBJECT (window_main, label35, "label35");
  GLADE_HOOKUP_OBJECT (window_main, label_changed, "label_changed");
  GLADE_HOOKUP_OBJECT (window_main, frame4, "frame4");
  GLADE_HOOKUP_OBJECT (window_main, alignment9, "alignment9");
  GLADE_HOOKUP_OBJECT (window_main, fixed12, "fixed12");
  GLADE_HOOKUP_OBJECT (window_main, combobox_hd, "combobox_hd");
  GLADE_HOOKUP_OBJECT (window_main, button_xparted, "button_xparted");
  GLADE_HOOKUP_OBJECT (window_main, radiobutton_part3, "radiobutton_part3");
  GLADE_HOOKUP_OBJECT (window_main, radiobutton_part2, "radiobutton_part2");
  GLADE_HOOKUP_OBJECT (window_main, radiobutton_part1, "radiobutton_part1");
  GLADE_HOOKUP_OBJECT (window_main, label40, "label40");
  GLADE_HOOKUP_OBJECT (window_main, scrolledwindow1, "scrolledwindow1");
  GLADE_HOOKUP_OBJECT (window_main, treeview1, "treeview1");
  GLADE_HOOKUP_OBJECT (window_main, checkbutton_mountpoints, "checkbutton_mountpoints");
  GLADE_HOOKUP_OBJECT (window_main, hseparator1, "hseparator1");
  GLADE_HOOKUP_OBJECT (window_main, checkbutton_format_with, "checkbutton_format_with");
  GLADE_HOOKUP_OBJECT (window_main, label7, "label7");
  GLADE_HOOKUP_OBJECT (window_main, checkbutton_automount, "checkbutton_automount");
  GLADE_HOOKUP_OBJECT (window_main, label8, "label8");
  GLADE_HOOKUP_OBJECT (window_main, label2, "label2");
  GLADE_HOOKUP_OBJECT (window_main, fixed4, "fixed4");
  GLADE_HOOKUP_OBJECT (window_main, vseparator4, "vseparator4");
  GLADE_HOOKUP_OBJECT (window_main, vseparator3, "vseparator3");
  GLADE_HOOKUP_OBJECT (window_main, hseparator9, "hseparator9");
  GLADE_HOOKUP_OBJECT (window_main, hseparator10, "hseparator10");
  GLADE_HOOKUP_OBJECT (window_main, hseparator19, "hseparator19");
  GLADE_HOOKUP_OBJECT (window_main, combobox_bootmanager, "combobox_bootmanager");
  GLADE_HOOKUP_OBJECT (window_main, combobox_installplace, "combobox_installplace");
  GLADE_HOOKUP_OBJECT (window_main, label15, "label15");
  GLADE_HOOKUP_OBJECT (window_main, frame5, "frame5");
  GLADE_HOOKUP_OBJECT (window_main, alignment10, "alignment10");
  GLADE_HOOKUP_OBJECT (window_main, fixed14, "fixed14");
  GLADE_HOOKUP_OBJECT (window_main, combobox_lang, "combobox_lang");
  GLADE_HOOKUP_OBJECT (window_main, label43, "label43");
  GLADE_HOOKUP_OBJECT (window_main, label13, "label13");
  GLADE_HOOKUP_OBJECT (window_main, frame3, "frame3");
  GLADE_HOOKUP_OBJECT (window_main, alignment8, "alignment8");
  GLADE_HOOKUP_OBJECT (window_main, fixed11, "fixed11");
  GLADE_HOOKUP_OBJECT (window_main, button_tz, "button_tz");
  GLADE_HOOKUP_OBJECT (window_main, label_tz, "label_tz");
  GLADE_HOOKUP_OBJECT (window_main, label39, "label39");
  GLADE_HOOKUP_OBJECT (window_main, label14, "label14");
  GLADE_HOOKUP_OBJECT (window_main, label3, "label3");
  GLADE_HOOKUP_OBJECT (window_main, fixed5, "fixed5");
  GLADE_HOOKUP_OBJECT (window_main, hseparator5, "hseparator5");
  GLADE_HOOKUP_OBJECT (window_main, label16, "label16");
  GLADE_HOOKUP_OBJECT (window_main, frame1, "frame1");
  GLADE_HOOKUP_OBJECT (window_main, alignment5, "alignment5");
  GLADE_HOOKUP_OBJECT (window_main, fixed8, "fixed8");
  GLADE_HOOKUP_OBJECT (window_main, entry_rootpw, "entry_rootpw");
  GLADE_HOOKUP_OBJECT (window_main, entry_rootpw_again, "entry_rootpw_again");
  GLADE_HOOKUP_OBJECT (window_main, entry_realname, "entry_realname");
  GLADE_HOOKUP_OBJECT (window_main, entry_username, "entry_username");
  GLADE_HOOKUP_OBJECT (window_main, entry_pw, "entry_pw");
  GLADE_HOOKUP_OBJECT (window_main, entry_pw_again, "entry_pw_again");
  GLADE_HOOKUP_OBJECT (window_main, image_root_pw, "image_root_pw");
  GLADE_HOOKUP_OBJECT (window_main, image_rootpw_again, "image_rootpw_again");
  GLADE_HOOKUP_OBJECT (window_main, hseparator6, "hseparator6");
  GLADE_HOOKUP_OBJECT (window_main, image_realname, "image_realname");
  GLADE_HOOKUP_OBJECT (window_main, image_username, "image_username");
  GLADE_HOOKUP_OBJECT (window_main, image_pw, "image_pw");
  GLADE_HOOKUP_OBJECT (window_main, image_pw_again, "image_pw_again");
  GLADE_HOOKUP_OBJECT (window_main, label18, "label18");
  GLADE_HOOKUP_OBJECT (window_main, label26, "label26");
  GLADE_HOOKUP_OBJECT (window_main, label27, "label27");
  GLADE_HOOKUP_OBJECT (window_main, label28, "label28");
  GLADE_HOOKUP_OBJECT (window_main, label29, "label29");
  GLADE_HOOKUP_OBJECT (window_main, label21, "label21");
  GLADE_HOOKUP_OBJECT (window_main, label25, "label25");
  GLADE_HOOKUP_OBJECT (window_main, label61, "label61");
  GLADE_HOOKUP_OBJECT (window_main, label4, "label4");
  GLADE_HOOKUP_OBJECT (window_main, fixed_network, "fixed_network");
  GLADE_HOOKUP_OBJECT (window_main, hostname, "hostname");
  GLADE_HOOKUP_OBJECT (window_main, label32, "label32");
  GLADE_HOOKUP_OBJECT (window_main, vseparator5, "vseparator5");
  GLADE_HOOKUP_OBJECT (window_main, vseparator6, "vseparator6");
  GLADE_HOOKUP_OBJECT (window_main, hseparator12, "hseparator12");
  GLADE_HOOKUP_OBJECT (window_main, hseparator13, "hseparator13");
  GLADE_HOOKUP_OBJECT (window_main, frame2, "frame2");
  GLADE_HOOKUP_OBJECT (window_main, alignment7, "alignment7");
  GLADE_HOOKUP_OBJECT (window_main, fixed10, "fixed10");
  GLADE_HOOKUP_OBJECT (window_main, checkbutton_ssh, "checkbutton_ssh");
  GLADE_HOOKUP_OBJECT (window_main, checkbutton_printsystem, "checkbutton_printsystem");
  GLADE_HOOKUP_OBJECT (window_main, label38, "label38");
  GLADE_HOOKUP_OBJECT (window_main, image_hostname, "image_hostname");
  GLADE_HOOKUP_OBJECT (window_main, label_hostname_error, "label_hostname_error");
  GLADE_HOOKUP_OBJECT (window_main, label31, "label31");
  GLADE_HOOKUP_OBJECT (window_main, hseparator11, "hseparator11");
  GLADE_HOOKUP_OBJECT (window_main, label5, "label5");
  GLADE_HOOKUP_OBJECT (window_main, fixed19, "fixed19");
  GLADE_HOOKUP_OBJECT (window_main, scrolledwindow4, "scrolledwindow4");
  GLADE_HOOKUP_OBJECT (window_main, viewport4, "viewport4");
  GLADE_HOOKUP_OBJECT (window_main, fixed20, "fixed20");
  GLADE_HOOKUP_OBJECT (window_main, label_firmware, "label_firmware");
  GLADE_HOOKUP_OBJECT (window_main, hseparator24, "hseparator24");
  GLADE_HOOKUP_OBJECT (window_main, button_installfw, "button_installfw");
  GLADE_HOOKUP_OBJECT (window_main, label_fw, "label_fw");
  GLADE_HOOKUP_OBJECT (window_main, label60, "label60");
  GLADE_HOOKUP_OBJECT (window_main, fixed7, "fixed7");
  GLADE_HOOKUP_OBJECT (window_main, hseparator14, "hseparator14");
  GLADE_HOOKUP_OBJECT (window_main, button_install, "button_install");
  GLADE_HOOKUP_OBJECT (window_main, alignment13, "alignment13");
  GLADE_HOOKUP_OBJECT (window_main, hbox8, "hbox8");
  GLADE_HOOKUP_OBJECT (window_main, image22, "image22");
  GLADE_HOOKUP_OBJECT (window_main, label52, "label52");
  GLADE_HOOKUP_OBJECT (window_main, radiobutton1, "radiobutton1");
  GLADE_HOOKUP_OBJECT (window_main, radiobutton3, "radiobutton3");
  GLADE_HOOKUP_OBJECT (window_main, hseparator26, "hseparator26");
  GLADE_HOOKUP_OBJECT (window_main, hseparator16, "hseparator16");
  GLADE_HOOKUP_OBJECT (window_main, vseparator10, "vseparator10");
  GLADE_HOOKUP_OBJECT (window_main, vseparator11, "vseparator11");
  GLADE_HOOKUP_OBJECT (window_main, radiobutton2, "radiobutton2");
  GLADE_HOOKUP_OBJECT (window_main, checkbutton_metapackages, "checkbutton_metapackages");
  GLADE_HOOKUP_OBJECT (window_main, hseparator17, "hseparator17");
  GLADE_HOOKUP_OBJECT (window_main, checkbutton_force, "checkbutton_force");
  GLADE_HOOKUP_OBJECT (window_main, hseparator15, "hseparator15");
  GLADE_HOOKUP_OBJECT (window_main, vseparator8, "vseparator8");
  GLADE_HOOKUP_OBJECT (window_main, vseparator7, "vseparator7");
  GLADE_HOOKUP_OBJECT (window_main, image16, "image16");
  GLADE_HOOKUP_OBJECT (window_main, label37, "label37");
  GLADE_HOOKUP_OBJECT (window_main, label_rootpart_warning, "label_rootpart_warning");
  GLADE_HOOKUP_OBJECT (window_main, label33, "label33");
  GLADE_HOOKUP_OBJECT (window_main, label6, "label6");
  GLADE_HOOKUP_OBJECT_NO_REF (window_main, tooltips, "tooltips");

  return window_main;
}

GtkWidget*
create_dialog_no_root (void)
{
  GtkWidget *dialog_no_root;
  GdkPixbuf *dialog_no_root_icon_pixbuf;
  GtkWidget *dialog_vbox1;
  GtkWidget *fixed9;
  GtkWidget *label36;
  GtkWidget *image9;
  GtkWidget *dialog_action_area1;
  GtkWidget *closebutton1;

  dialog_no_root = gtk_dialog_new ();
  gtk_window_set_title (GTK_WINDOW (dialog_no_root), _("only root"));
  gtk_window_set_position (GTK_WINDOW (dialog_no_root), GTK_WIN_POS_CENTER);
  gtk_window_set_resizable (GTK_WINDOW (dialog_no_root), FALSE);
  dialog_no_root_icon_pixbuf = create_pixbuf ("install-gui-16.xpm");
  if (dialog_no_root_icon_pixbuf)
    {
      gtk_window_set_icon (GTK_WINDOW (dialog_no_root), dialog_no_root_icon_pixbuf);
      gdk_pixbuf_unref (dialog_no_root_icon_pixbuf);
    }
  gtk_window_set_type_hint (GTK_WINDOW (dialog_no_root), GDK_WINDOW_TYPE_HINT_DIALOG);
  gtk_window_set_gravity (GTK_WINDOW (dialog_no_root), GDK_GRAVITY_CENTER);

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

  fixed9 = gtk_fixed_new ();
  gtk_widget_show (fixed9);
  gtk_box_pack_start (GTK_BOX (dialog_vbox1), fixed9, TRUE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (fixed9), 5);

  label36 = gtk_label_new (_("Only root can start the installer:\nThe Installer is started from the Kmenu>aptosid>aptosid-installer"));
  gtk_widget_show (label36);
  gtk_fixed_put (GTK_FIXED (fixed9), label36, 8, 8);
  gtk_widget_set_size_request (label36, 432, 48);
  gtk_label_set_justify (GTK_LABEL (label36), GTK_JUSTIFY_CENTER);
  gtk_misc_set_alignment (GTK_MISC (label36), 0, 0);

  image9 = create_pixmap (dialog_no_root, "install-no-root.png");
  gtk_widget_show (image9);
  gtk_fixed_put (GTK_FIXED (fixed9), image9, 40, 48);
  gtk_widget_set_size_request (image9, 280, 136);

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

  closebutton1 = gtk_button_new_from_stock ("gtk-close");
  gtk_widget_show (closebutton1);
  gtk_dialog_add_action_widget (GTK_DIALOG (dialog_no_root), closebutton1, GTK_RESPONSE_CLOSE);
  GTK_WIDGET_SET_FLAGS (closebutton1, GTK_CAN_DEFAULT);

  g_signal_connect ((gpointer) closebutton1, "clicked",
                    G_CALLBACK (gtk_main_quit),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (dialog_no_root, dialog_no_root, "dialog_no_root");
  GLADE_HOOKUP_OBJECT_NO_REF (dialog_no_root, dialog_vbox1, "dialog_vbox1");
  GLADE_HOOKUP_OBJECT (dialog_no_root, fixed9, "fixed9");
  GLADE_HOOKUP_OBJECT (dialog_no_root, label36, "label36");
  GLADE_HOOKUP_OBJECT (dialog_no_root, image9, "image9");
  GLADE_HOOKUP_OBJECT_NO_REF (dialog_no_root, dialog_action_area1, "dialog_action_area1");
  GLADE_HOOKUP_OBJECT (dialog_no_root, closebutton1, "closebutton1");

  return dialog_no_root;
}

GtkWidget*
create_install_progressbar (void)
{
  GtkWidget *install_progressbar;
  GdkPixbuf *install_progressbar_icon_pixbuf;
  GtkWidget *fixed5;
  GtkWidget *progressbar1;
  GtkWidget *progressbar2;
  GtkWidget *label1;
  GtkWidget *label_clock;
  GtkWidget *label2;
  GtkWidget *label_fifo;
  GtkWidget *hseparator5;
  GtkWidget *hseparator6;
  GtkWidget *image6;
  GtkWidget *scrolledwindow5;
  GtkWidget *viewport5;
  GtkWidget *label_generally2;

  install_progressbar = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_window_set_title (GTK_WINDOW (install_progressbar), _("aptosid Installer"));
  gtk_window_set_position (GTK_WINDOW (install_progressbar), GTK_WIN_POS_CENTER);
  gtk_window_set_resizable (GTK_WINDOW (install_progressbar), FALSE);
  install_progressbar_icon_pixbuf = create_pixbuf ("install-gui-16.xpm");
  if (install_progressbar_icon_pixbuf)
    {
      gtk_window_set_icon (GTK_WINDOW (install_progressbar), install_progressbar_icon_pixbuf);
      gdk_pixbuf_unref (install_progressbar_icon_pixbuf);
    }
  gtk_window_set_gravity (GTK_WINDOW (install_progressbar), GDK_GRAVITY_CENTER);

  fixed5 = gtk_fixed_new ();
  gtk_widget_show (fixed5);
  gtk_container_add (GTK_CONTAINER (install_progressbar), fixed5);
  gtk_container_set_border_width (GTK_CONTAINER (fixed5), 15);

  progressbar1 = gtk_progress_bar_new ();
  gtk_widget_show (progressbar1);
  gtk_fixed_put (GTK_FIXED (fixed5), progressbar1, 0, 416);
  gtk_widget_set_size_request (progressbar1, 600, 24);
  gtk_progress_bar_set_pulse_step (GTK_PROGRESS_BAR (progressbar1), 0.01);

  progressbar2 = gtk_progress_bar_new ();
  gtk_widget_show (progressbar2);
  gtk_fixed_put (GTK_FIXED (fixed5), progressbar2, 0, 352);
  gtk_widget_set_size_request (progressbar2, 600, 25);
  gtk_progress_bar_set_pulse_step (GTK_PROGRESS_BAR (progressbar2), 0.01);

  label1 = gtk_label_new (_("Completed Operations:"));
  gtk_widget_show (label1);
  gtk_fixed_put (GTK_FIXED (fixed5), label1, 0, 392);
  gtk_widget_set_size_request (label1, 257, 24);
  gtk_misc_set_alignment (GTK_MISC (label1), 0, 0);

  label_clock = gtk_label_new (_("00:00:00"));
  gtk_widget_show (label_clock);
  gtk_fixed_put (GTK_FIXED (fixed5), label_clock, 256, 392);
  gtk_widget_set_size_request (label_clock, 217, 25);
  gtk_label_set_use_markup (GTK_LABEL (label_clock), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label_clock), 0, 0);

  label2 = gtk_label_new (_("Current\nOperation:"));
  gtk_widget_show (label2);
  gtk_fixed_put (GTK_FIXED (fixed5), label2, 0, 312);
  gtk_widget_set_size_request (label2, 105, 41);
  gtk_label_set_line_wrap (GTK_LABEL (label2), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label2), 0, 0);

  label_fifo = gtk_label_new (_("<b>aptosid-installer started</b>"));
  gtk_widget_show (label_fifo);
  gtk_fixed_put (GTK_FIXED (fixed5), label_fifo, 104, 312);
  gtk_widget_set_size_request (label_fifo, 494, 41);
  gtk_label_set_use_markup (GTK_LABEL (label_fifo), TRUE);
  gtk_label_set_line_wrap (GTK_LABEL (label_fifo), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label_fifo), 0, 0);

  hseparator5 = gtk_hseparator_new ();
  gtk_widget_show (hseparator5);
  gtk_fixed_put (GTK_FIXED (fixed5), hseparator5, 0, 296);
  gtk_widget_set_size_request (hseparator5, 598, 17);

  hseparator6 = gtk_hseparator_new ();
  gtk_widget_show (hseparator6);
  gtk_fixed_put (GTK_FIXED (fixed5), hseparator6, 0, 56);
  gtk_widget_set_size_request (hseparator6, 598, 16);

  image6 = create_pixmap (install_progressbar, "install-gui-title.png");
  gtk_widget_show (image6);
  gtk_fixed_put (GTK_FIXED (fixed5), image6, 360, 0);
  gtk_widget_set_size_request (image6, 241, 56);

  scrolledwindow5 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow5);
  gtk_fixed_put (GTK_FIXED (fixed5), scrolledwindow5, 0, 72);
  gtk_widget_set_size_request (scrolledwindow5, 601, 225);
  gtk_container_set_border_width (GTK_CONTAINER (scrolledwindow5), 5);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow5), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow5), GTK_SHADOW_OUT);

  viewport5 = gtk_viewport_new (NULL, NULL);
  gtk_widget_show (viewport5);
  gtk_container_add (GTK_CONTAINER (scrolledwindow5), viewport5);

  label_generally2 = gtk_label_new (_("<span font_desc=\"11\"><b>aptosid</b> is a full featured Debian Sid based live CD with a special focus on hard disk installations, a clean upgrade path within Sid and additional hardware and software support.\nThe ISO is completely based on Debian Sid, enriched and stabilised with aptosid's own packages and scripts.\n\nThanks to webtropia.com for sponsoring aptosid.\n\nOn behalf of the aptosid team:\n     Stefan Lippers-Hollmann (slh) \n</span>"));
  gtk_widget_show (label_generally2);
  gtk_container_add (GTK_CONTAINER (viewport5), label_generally2);
  gtk_label_set_use_markup (GTK_LABEL (label_generally2), TRUE);
  gtk_label_set_justify (GTK_LABEL (label_generally2), GTK_JUSTIFY_FILL);
  gtk_label_set_line_wrap (GTK_LABEL (label_generally2), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label_generally2), 0, 0);
  gtk_misc_set_padding (GTK_MISC (label_generally2), 20, 10);
  gtk_label_set_width_chars (GTK_LABEL (label_generally2), 0);

  g_signal_connect ((gpointer) install_progressbar, "delete_event",
                    G_CALLBACK (on_install_progressbar_delete_event),
                    NULL);
  g_signal_connect ((gpointer) install_progressbar, "realize",
                    G_CALLBACK (on_install_progressbar_realize),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (install_progressbar, install_progressbar, "install_progressbar");
  GLADE_HOOKUP_OBJECT (install_progressbar, fixed5, "fixed5");
  GLADE_HOOKUP_OBJECT (install_progressbar, progressbar1, "progressbar1");
  GLADE_HOOKUP_OBJECT (install_progressbar, progressbar2, "progressbar2");
  GLADE_HOOKUP_OBJECT (install_progressbar, label1, "label1");
  GLADE_HOOKUP_OBJECT (install_progressbar, label_clock, "label_clock");
  GLADE_HOOKUP_OBJECT (install_progressbar, label2, "label2");
  GLADE_HOOKUP_OBJECT (install_progressbar, label_fifo, "label_fifo");
  GLADE_HOOKUP_OBJECT (install_progressbar, hseparator5, "hseparator5");
  GLADE_HOOKUP_OBJECT (install_progressbar, hseparator6, "hseparator6");
  GLADE_HOOKUP_OBJECT (install_progressbar, image6, "image6");
  GLADE_HOOKUP_OBJECT (install_progressbar, scrolledwindow5, "scrolledwindow5");
  GLADE_HOOKUP_OBJECT (install_progressbar, viewport5, "viewport5");
  GLADE_HOOKUP_OBJECT (install_progressbar, label_generally2, "label_generally2");

  return install_progressbar;
}

GtkWidget*
create_dialog_end (void)
{
  GtkWidget *dialog_end;
  GdkPixbuf *dialog_end_icon_pixbuf;
  GtkWidget *dialog_vbox2;
  GtkWidget *fixed13;
  GtkWidget *label45;
  GtkWidget *label47;
  GtkWidget *label46;
  GtkWidget *image17;
  GtkWidget *label41;
  GtkWidget *dialog_action_area2;
  GtkWidget *success_exit_button;

  dialog_end = gtk_dialog_new ();
  gtk_window_set_title (GTK_WINDOW (dialog_end), _("Installation successful"));
  gtk_window_set_position (GTK_WINDOW (dialog_end), GTK_WIN_POS_CENTER);
  gtk_window_set_resizable (GTK_WINDOW (dialog_end), FALSE);
  dialog_end_icon_pixbuf = create_pixbuf ("install-gui-16.xpm");
  if (dialog_end_icon_pixbuf)
    {
      gtk_window_set_icon (GTK_WINDOW (dialog_end), dialog_end_icon_pixbuf);
      gdk_pixbuf_unref (dialog_end_icon_pixbuf);
    }
  gtk_window_set_type_hint (GTK_WINDOW (dialog_end), GDK_WINDOW_TYPE_HINT_DIALOG);
  gtk_window_set_gravity (GTK_WINDOW (dialog_end), GDK_GRAVITY_CENTER);

  dialog_vbox2 = GTK_DIALOG (dialog_end)->vbox;
  gtk_widget_show (dialog_vbox2);

  fixed13 = gtk_fixed_new ();
  gtk_widget_show (fixed13);
  gtk_box_pack_start (GTK_BOX (dialog_vbox2), fixed13, TRUE, TRUE, 0);

  label45 = gtk_label_new (_("<big><b>http://aptosid.com</b></big>"));
  gtk_widget_show (label45);
  gtk_fixed_put (GTK_FIXED (fixed13), label45, 8, 176);
  gtk_widget_set_size_request (label45, 496, 24);
  gtk_label_set_use_markup (GTK_LABEL (label45), TRUE);
  gtk_label_set_justify (GTK_LABEL (label45), GTK_JUSTIFY_CENTER);
  gtk_misc_set_alignment (GTK_MISC (label45), 0.5, 0.03);

  label47 = gtk_label_new (_("The installation took"));
  gtk_widget_show (label47);
  gtk_fixed_put (GTK_FIXED (fixed13), label47, 8, 248);
  gtk_widget_set_size_request (label47, 496, 22);
  gtk_label_set_use_markup (GTK_LABEL (label47), TRUE);
  gtk_label_set_justify (GTK_LABEL (label47), GTK_JUSTIFY_CENTER);
  gtk_misc_set_alignment (GTK_MISC (label47), 0.5, 0);

  label46 = gtk_label_new ("");
  gtk_widget_show (label46);
  gtk_fixed_put (GTK_FIXED (fixed13), label46, 8, 270);
  gtk_widget_set_size_request (label46, 496, 22);
  gtk_label_set_use_markup (GTK_LABEL (label46), TRUE);
  gtk_label_set_justify (GTK_LABEL (label46), GTK_JUSTIFY_CENTER);
  gtk_misc_set_alignment (GTK_MISC (label46), 0.5, 0);

  image17 = create_pixmap (dialog_end, "aptosid-logo.png");
  gtk_widget_show (image17);
  gtk_fixed_put (GTK_FIXED (fixed13), image17, 8, 8);
  gtk_widget_set_size_request (image17, 488, 168);

  label41 = gtk_label_new (_("<big><b>Installation successful</b></big>"));
  gtk_widget_show (label41);
  gtk_fixed_put (GTK_FIXED (fixed13), label41, 8, 208);
  gtk_widget_set_size_request (label41, 496, 24);
  gtk_label_set_use_markup (GTK_LABEL (label41), TRUE);
  gtk_label_set_justify (GTK_LABEL (label41), GTK_JUSTIFY_CENTER);
  gtk_misc_set_alignment (GTK_MISC (label41), 0.5, 0);

  dialog_action_area2 = GTK_DIALOG (dialog_end)->action_area;
  gtk_widget_show (dialog_action_area2);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area2), GTK_BUTTONBOX_END);

  success_exit_button = gtk_button_new_with_mnemonic (_("OK"));
  gtk_widget_show (success_exit_button);
  gtk_dialog_add_action_widget (GTK_DIALOG (dialog_end), success_exit_button, GTK_RESPONSE_OK);
  GTK_WIDGET_SET_FLAGS (success_exit_button, GTK_CAN_DEFAULT);

  g_signal_connect ((gpointer) dialog_end, "delete_event",
                    G_CALLBACK (on_dialog_end_delete_event),
                    NULL);
  g_signal_connect ((gpointer) success_exit_button, "clicked",
                    G_CALLBACK (on_success_exit_button_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (dialog_end, dialog_end, "dialog_end");
  GLADE_HOOKUP_OBJECT_NO_REF (dialog_end, dialog_vbox2, "dialog_vbox2");
  GLADE_HOOKUP_OBJECT (dialog_end, fixed13, "fixed13");
  GLADE_HOOKUP_OBJECT (dialog_end, label45, "label45");
  GLADE_HOOKUP_OBJECT (dialog_end, label47, "label47");
  GLADE_HOOKUP_OBJECT (dialog_end, label46, "label46");
  GLADE_HOOKUP_OBJECT (dialog_end, image17, "image17");
  GLADE_HOOKUP_OBJECT (dialog_end, label41, "label41");
  GLADE_HOOKUP_OBJECT_NO_REF (dialog_end, dialog_action_area2, "dialog_action_area2");
  GLADE_HOOKUP_OBJECT (dialog_end, success_exit_button, "success_exit_button");

  return dialog_end;
}

GtkWidget*
create_dialog_keyb_change (void)
{
  GtkWidget *dialog_keyb_change;
  GdkPixbuf *dialog_keyb_change_icon_pixbuf;
  GtkWidget *dialog_vbox3;
  GtkWidget *fixed15;
  GtkWidget *image18;
  GtkWidget *label44;
  GtkWidget *dialog_action_area3;
  GtkWidget *okbutton2;

  dialog_keyb_change = gtk_dialog_new ();
  gtk_window_set_title (GTK_WINDOW (dialog_keyb_change), _("Keyboard Info"));
  dialog_keyb_change_icon_pixbuf = create_pixbuf ("install-gui-16.xpm");
  if (dialog_keyb_change_icon_pixbuf)
    {
      gtk_window_set_icon (GTK_WINDOW (dialog_keyb_change), dialog_keyb_change_icon_pixbuf);
      gdk_pixbuf_unref (dialog_keyb_change_icon_pixbuf);
    }
  gtk_window_set_type_hint (GTK_WINDOW (dialog_keyb_change), GDK_WINDOW_TYPE_HINT_DIALOG);

  dialog_vbox3 = GTK_DIALOG (dialog_keyb_change)->vbox;
  gtk_widget_show (dialog_vbox3);

  fixed15 = gtk_fixed_new ();
  gtk_widget_show (fixed15);
  gtk_box_pack_start (GTK_BOX (dialog_vbox3), fixed15, TRUE, TRUE, 0);

  image18 = gtk_image_new_from_stock ("gtk-dialog-warning", GTK_ICON_SIZE_DIALOG);
  gtk_widget_show (image18);
  gtk_fixed_put (GTK_FIXED (fixed15), image18, 8, 16);
  gtk_widget_set_size_request (image18, 72, 72);

  label44 = gtk_label_new (_("<span foreground=\"red\" font_desc=\"Sans Bold 10\">The keyboardlayout of the installed system does not match the current layout.\n\nYou might have problems typing your password!</span>"));
  gtk_widget_show (label44);
  gtk_fixed_put (GTK_FIXED (fixed15), label44, 88, 8);
  gtk_widget_set_size_request (label44, 296, 136);
  gtk_label_set_use_markup (GTK_LABEL (label44), TRUE);
  gtk_label_set_line_wrap (GTK_LABEL (label44), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label44), 0.5, 0.25);

  dialog_action_area3 = GTK_DIALOG (dialog_keyb_change)->action_area;
  gtk_widget_show (dialog_action_area3);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area3), GTK_BUTTONBOX_END);

  okbutton2 = gtk_button_new_from_stock ("gtk-ok");
  gtk_widget_show (okbutton2);
  gtk_dialog_add_action_widget (GTK_DIALOG (dialog_keyb_change), okbutton2, GTK_RESPONSE_OK);
  GTK_WIDGET_SET_FLAGS (okbutton2, GTK_CAN_DEFAULT);

  g_signal_connect ((gpointer) okbutton2, "clicked",
                    G_CALLBACK (on_okbutton2_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (dialog_keyb_change, dialog_keyb_change, "dialog_keyb_change");
  GLADE_HOOKUP_OBJECT_NO_REF (dialog_keyb_change, dialog_vbox3, "dialog_vbox3");
  GLADE_HOOKUP_OBJECT (dialog_keyb_change, fixed15, "fixed15");
  GLADE_HOOKUP_OBJECT (dialog_keyb_change, image18, "image18");
  GLADE_HOOKUP_OBJECT (dialog_keyb_change, label44, "label44");
  GLADE_HOOKUP_OBJECT_NO_REF (dialog_keyb_change, dialog_action_area3, "dialog_action_area3");
  GLADE_HOOKUP_OBJECT (dialog_keyb_change, okbutton2, "okbutton2");

  return dialog_keyb_change;
}

GtkWidget*
create_install_window (void)
{
  GtkWidget *install_window;
  GdkPixbuf *install_window_icon_pixbuf;
  GtkWidget *fixed17;
  GtkWidget *hseparator22;
  GtkWidget *hseparator25;
  GtkWidget *image24;
  GtkWidget *button_install_now_back;
  GtkWidget *button1;
  GtkWidget *button_edit_configuration;
  GtkWidget *image25;
  GtkWidget *button_install_now;
  GtkWidget *alignment11;
  GtkWidget *hbox6;
  GtkWidget *image20;
  GtkWidget *label49;
  GtkTooltips *tooltips;

  tooltips = gtk_tooltips_new ();

  install_window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  gtk_window_set_title (GTK_WINDOW (install_window), _("aptosid HD-Installation"));
  gtk_window_set_position (GTK_WINDOW (install_window), GTK_WIN_POS_CENTER);
  gtk_window_set_resizable (GTK_WINDOW (install_window), FALSE);
  install_window_icon_pixbuf = create_pixbuf ("install-gui-16.xpm");
  if (install_window_icon_pixbuf)
    {
      gtk_window_set_icon (GTK_WINDOW (install_window), install_window_icon_pixbuf);
      gdk_pixbuf_unref (install_window_icon_pixbuf);
    }
  gtk_window_set_gravity (GTK_WINDOW (install_window), GDK_GRAVITY_CENTER);

  fixed17 = gtk_fixed_new ();
  gtk_widget_show (fixed17);
  gtk_container_add (GTK_CONTAINER (install_window), fixed17);
  gtk_container_set_border_width (GTK_CONTAINER (fixed17), 10);

  hseparator22 = gtk_hseparator_new ();
  gtk_widget_show (hseparator22);
  gtk_fixed_put (GTK_FIXED (fixed17), hseparator22, 8, 168);
  gtk_widget_set_size_request (hseparator22, 398, 16);

  hseparator25 = gtk_hseparator_new ();
  gtk_widget_show (hseparator25);
  gtk_fixed_put (GTK_FIXED (fixed17), hseparator25, 8, 56);
  gtk_widget_set_size_request (hseparator25, 398, 16);

  image24 = create_pixmap (install_window, "install-gui-title.png");
  gtk_widget_show (image24);
  gtk_fixed_put (GTK_FIXED (fixed17), image24, 232, 0);
  gtk_widget_set_size_request (image24, 172, 54);

  button_install_now_back = gtk_button_new_from_stock ("gtk-go-back");
  gtk_widget_show (button_install_now_back);
  gtk_fixed_put (GTK_FIXED (fixed17), button_install_now_back, 224, 192);
  gtk_widget_set_size_request (button_install_now_back, 140, 28);
  GTK_WIDGET_UNSET_FLAGS (button_install_now_back, GTK_CAN_FOCUS);
  gtk_tooltips_set_tip (tooltips, button_install_now_back, _("back to installer"), NULL);
  gtk_button_set_focus_on_click (GTK_BUTTON (button_install_now_back), FALSE);

  button1 = gtk_button_new_from_stock ("gtk-quit");
  gtk_widget_show (button1);
  gtk_fixed_put (GTK_FIXED (fixed17), button1, 8, 192);
  gtk_widget_set_size_request (button1, 140, 28);
  GTK_WIDGET_UNSET_FLAGS (button1, GTK_CAN_FOCUS);
  gtk_button_set_focus_on_click (GTK_BUTTON (button1), FALSE);

  button_edit_configuration = gtk_button_new ();
  gtk_widget_show (button_edit_configuration);
  gtk_fixed_put (GTK_FIXED (fixed17), button_edit_configuration, 376, 192);
  gtk_widget_set_size_request (button_edit_configuration, 28, 28);
  gtk_tooltips_set_tip (tooltips, button_edit_configuration, _("EDIT CONFIGURATION FILE\n---------------------------------\nNot necessary, be careful !!!"), NULL);

  image25 = gtk_image_new_from_stock ("gtk-edit", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image25);
  gtk_container_add (GTK_CONTAINER (button_edit_configuration), image25);

  button_install_now = gtk_button_new ();
  gtk_widget_show (button_install_now);
  gtk_fixed_put (GTK_FIXED (fixed17), button_install_now, 80, 96);
  gtk_widget_set_size_request (button_install_now, 232, 46);

  alignment11 = gtk_alignment_new (0.5, 0.5, 0, 0);
  gtk_widget_show (alignment11);
  gtk_container_add (GTK_CONTAINER (button_install_now), alignment11);

  hbox6 = gtk_hbox_new (FALSE, 2);
  gtk_widget_show (hbox6);
  gtk_container_add (GTK_CONTAINER (alignment11), hbox6);

  image20 = create_pixmap (install_window, "install-gui.xpm");
  gtk_widget_show (image20);
  gtk_box_pack_start (GTK_BOX (hbox6), image20, FALSE, FALSE, 0);

  label49 = gtk_label_new_with_mnemonic (_("<big><b>  Begin Installation</b></big>"));
  gtk_widget_show (label49);
  gtk_box_pack_start (GTK_BOX (hbox6), label49, FALSE, FALSE, 0);
  gtk_label_set_use_markup (GTK_LABEL (label49), TRUE);

  g_signal_connect ((gpointer) button_install_now_back, "clicked",
                    G_CALLBACK (on_button_install_now_back_clicked),
                    NULL);
  g_signal_connect ((gpointer) button1, "clicked",
                    G_CALLBACK (gtk_main_quit),
                    NULL);
  g_signal_connect ((gpointer) button_edit_configuration, "clicked",
                    G_CALLBACK (on_button_edit_configuration_clicked),
                    NULL);
  g_signal_connect ((gpointer) button_install_now, "clicked",
                    G_CALLBACK (on_button_install_now_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (install_window, install_window, "install_window");
  GLADE_HOOKUP_OBJECT (install_window, fixed17, "fixed17");
  GLADE_HOOKUP_OBJECT (install_window, hseparator22, "hseparator22");
  GLADE_HOOKUP_OBJECT (install_window, hseparator25, "hseparator25");
  GLADE_HOOKUP_OBJECT (install_window, image24, "image24");
  GLADE_HOOKUP_OBJECT (install_window, button_install_now_back, "button_install_now_back");
  GLADE_HOOKUP_OBJECT (install_window, button1, "button1");
  GLADE_HOOKUP_OBJECT (install_window, button_edit_configuration, "button_edit_configuration");
  GLADE_HOOKUP_OBJECT (install_window, image25, "image25");
  GLADE_HOOKUP_OBJECT (install_window, button_install_now, "button_install_now");
  GLADE_HOOKUP_OBJECT (install_window, alignment11, "alignment11");
  GLADE_HOOKUP_OBJECT (install_window, hbox6, "hbox6");
  GLADE_HOOKUP_OBJECT (install_window, image20, "image20");
  GLADE_HOOKUP_OBJECT (install_window, label49, "label49");
  GLADE_HOOKUP_OBJECT_NO_REF (install_window, tooltips, "tooltips");

  return install_window;
}

GtkWidget*
create_dialog_no_bash (void)
{
  GtkWidget *dialog_no_bash;
  GdkPixbuf *dialog_no_bash_icon_pixbuf;
  GtkWidget *vbox1;
  GtkWidget *fixed18;
  GtkWidget *label55;
  GtkWidget *image23;
  GtkWidget *label53;
  GtkWidget *label56;
  GtkWidget *hbuttonbox1;
  GtkWidget *button2;

  dialog_no_bash = gtk_dialog_new ();
  gtk_window_set_title (GTK_WINDOW (dialog_no_bash), _("FLL_FIRMWARE variable not found"));
  gtk_window_set_position (GTK_WINDOW (dialog_no_bash), GTK_WIN_POS_CENTER);
  gtk_window_set_resizable (GTK_WINDOW (dialog_no_bash), FALSE);
  dialog_no_bash_icon_pixbuf = create_pixbuf ("install-gui-16.xpm");
  if (dialog_no_bash_icon_pixbuf)
    {
      gtk_window_set_icon (GTK_WINDOW (dialog_no_bash), dialog_no_bash_icon_pixbuf);
      gdk_pixbuf_unref (dialog_no_bash_icon_pixbuf);
    }
  gtk_window_set_type_hint (GTK_WINDOW (dialog_no_bash), GDK_WINDOW_TYPE_HINT_DIALOG);
  gtk_window_set_gravity (GTK_WINDOW (dialog_no_bash), GDK_GRAVITY_CENTER);

  vbox1 = GTK_DIALOG (dialog_no_bash)->vbox;
  gtk_widget_show (vbox1);

  fixed18 = gtk_fixed_new ();
  gtk_widget_show (fixed18);
  gtk_box_pack_start (GTK_BOX (vbox1), fixed18, TRUE, TRUE, 0);

  label55 = gtk_label_new ("");
  gtk_widget_show (label55);
  gtk_fixed_put (GTK_FIXED (fixed18), label55, 8, 270);
  gtk_widget_set_size_request (label55, 496, 22);
  gtk_label_set_use_markup (GTK_LABEL (label55), TRUE);
  gtk_label_set_justify (GTK_LABEL (label55), GTK_JUSTIFY_CENTER);
  gtk_misc_set_alignment (GTK_MISC (label55), 0.5, 0);

  image23 = create_pixmap (dialog_no_bash, "aptosid-logo.png");
  gtk_widget_show (image23);
  gtk_fixed_put (GTK_FIXED (fixed18), image23, 8, 8);
  gtk_widget_set_size_request (image23, 488, 168);

  label53 = gtk_label_new (_("<big><b>http://aptosid.com</b></big>"));
  gtk_widget_show (label53);
  gtk_fixed_put (GTK_FIXED (fixed18), label53, 8, 176);
  gtk_widget_set_size_request (label53, 496, 24);
  gtk_label_set_use_markup (GTK_LABEL (label53), TRUE);
  gtk_label_set_justify (GTK_LABEL (label53), GTK_JUSTIFY_CENTER);
  gtk_misc_set_alignment (GTK_MISC (label53), 0.5, 0.03);

  label56 = gtk_label_new (_("<span foreground=\"red\" font_desc=\"14\">getenv FLL_FIRMWARE isn't defined.\nPlease start with \"install-gui.bash\"\n</span>"));
  gtk_widget_show (label56);
  gtk_fixed_put (GTK_FIXED (fixed18), label56, 0, 216);
  gtk_widget_set_size_request (label56, 504, 56);
  gtk_label_set_use_markup (GTK_LABEL (label56), TRUE);
  gtk_label_set_justify (GTK_LABEL (label56), GTK_JUSTIFY_CENTER);
  gtk_misc_set_alignment (GTK_MISC (label56), 0.5, 0);

  hbuttonbox1 = GTK_DIALOG (dialog_no_bash)->action_area;
  gtk_widget_show (hbuttonbox1);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (hbuttonbox1), GTK_BUTTONBOX_END);

  button2 = gtk_button_new_with_mnemonic (_("OK"));
  gtk_widget_show (button2);
  gtk_dialog_add_action_widget (GTK_DIALOG (dialog_no_bash), button2, GTK_RESPONSE_OK);
  GTK_WIDGET_SET_FLAGS (button2, GTK_CAN_DEFAULT);

  g_signal_connect ((gpointer) dialog_no_bash, "delete_event",
                    G_CALLBACK (on_dialog_end_delete_event),
                    NULL);
  g_signal_connect ((gpointer) button2, "clicked",
                    G_CALLBACK (on_success_exit_button_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (dialog_no_bash, dialog_no_bash, "dialog_no_bash");
  GLADE_HOOKUP_OBJECT_NO_REF (dialog_no_bash, vbox1, "vbox1");
  GLADE_HOOKUP_OBJECT (dialog_no_bash, fixed18, "fixed18");
  GLADE_HOOKUP_OBJECT (dialog_no_bash, label55, "label55");
  GLADE_HOOKUP_OBJECT (dialog_no_bash, image23, "image23");
  GLADE_HOOKUP_OBJECT (dialog_no_bash, label53, "label53");
  GLADE_HOOKUP_OBJECT (dialog_no_bash, label56, "label56");
  GLADE_HOOKUP_OBJECT_NO_REF (dialog_no_bash, hbuttonbox1, "hbuttonbox1");
  GLADE_HOOKUP_OBJECT (dialog_no_bash, button2, "button2");

  return dialog_no_bash;
}

