/*
 * 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;
  AtkObject *atko;
  GtkWidget *vbox1;
  GtkWidget *hbox_menubar;
  GtkWidget *menubar1;
  GtkWidget *file1;
  GtkWidget *file1_menu;
  GtkWidget *menu_new1;
  GtkWidget *menu_new_with_template1;
  GtkWidget *image2854;
  GtkWidget *menu_new_with_template1_menu;
  GtkWidget *invisible2;
  GtkWidget *separator12;
  GtkWidget *menu_open1;
  GtkWidget *menu_open_selected_file1;
  GtkWidget *recent_files1;
  GtkWidget *separator13;
  GtkWidget *menu_save1;
  GtkWidget *menu_save_as1;
  GtkWidget *menu_save_all1;
  GtkWidget *image2855;
  GtkWidget *menu_reload1;
  GtkWidget *image2856;
  GtkWidget *menu_reload_as1;
  GtkWidget *image2857;
  GtkWidget *menu_reload_as1_menu;
  GtkWidget *invisible7;
  GtkWidget *separator21;
  GtkWidget *preferences2;
  GtkWidget *separator24;
  GtkWidget *page_setup1;
  GtkWidget *print1;
  GtkWidget *separator14;
  GtkWidget *menu_close1;
  GtkWidget *close_other_documents1;
  GtkWidget *image2858;
  GtkWidget *menu_close_all1;
  GtkWidget *image2859;
  GtkWidget *menu_separatormenuitem1;
  GtkWidget *menu_quit1;
  GtkWidget *edit1;
  GtkWidget *edit1_menu;
  GtkWidget *menu_undo2;
  GtkWidget *menu_redo2;
  GtkWidget *menu_seperator1;
  GtkWidget *menu_cut1;
  GtkWidget *menu_copy1;
  GtkWidget *menu_paste1;
  GtkWidget *menu_delete1;
  GtkWidget *menu_seperator2;
  GtkWidget *menu_select_all1;
  GtkWidget *separator25;
  GtkWidget *menu_format1;
  GtkWidget *menu_format1_menu;
  GtkWidget *menu_toggle_case2;
  GtkWidget *separator28;
  GtkWidget *menu_comment_line1;
  GtkWidget *menu_uncomment_line1;
  GtkWidget *menu_toggle_line_commentation1;
  GtkWidget *menu_duplicate_line1;
  GtkWidget *separator29;
  GtkWidget *menu_increase_indent1;
  GtkWidget *image2860;
  GtkWidget *menu_decrease_indent1;
  GtkWidget *image2861;
  GtkWidget *separator37;
  GtkWidget *send_selection_to_vte1;
  GtkWidget *send_selection_to2;
  GtkWidget *send_selection_to2_menu;
  GtkWidget *invisible13;
  GtkWidget *separator18;
  GtkWidget *add_comments1;
  GtkWidget *image2862;
  GtkWidget *add_comments1_menu;
  GtkWidget *menu_add_changelog_entry1;
  GtkWidget *insert_file_header1;
  GtkWidget *insert_function_description2;
  GtkWidget *insert_multiline_comment2;
  GtkWidget *insert_gpl_notice2;
  GtkWidget *insert_bsd_license_notice2;
  GtkWidget *insert_date1;
  GtkWidget *image2863;
  GtkWidget *insert_date1_menu;
  GtkWidget *invisible8;
  GtkWidget *insert_include2;
  GtkWidget *image2864;
  GtkWidget *insert_include2_menu;
  GtkWidget *invisible4;
  GtkWidget *separator9;
  GtkWidget *preferences1;
  GtkWidget *image2865;
  GtkWidget *search1;
  GtkWidget *search1_menu;
  GtkWidget *find1;
  GtkWidget *find_next1;
  GtkWidget *find_previous1;
  GtkWidget *find_in_files1;
  GtkWidget *replace1;
  GtkWidget *image2866;
  GtkWidget *separator33;
  GtkWidget *find_nextsel1;
  GtkWidget *find_prevsel1;
  GtkWidget *separator35;
  GtkWidget *next_message1;
  GtkWidget *previous_message1;
  GtkWidget *separator32;
  GtkWidget *go_to_line1;
  GtkWidget *image2867;
  GtkWidget *menu_view1;
  GtkWidget *menu_view1_menu;
  GtkWidget *menu_change_font1;
  GtkWidget *image2868;
  GtkWidget *menu_separator4;
  GtkWidget *menu_toggle_all_additional_widgets1;
  GtkWidget *menu_fullscreen1;
  GtkWidget *menu_show_messages_window1;
  GtkWidget *menu_show_toolbar1;
  GtkWidget *menu_show_sidebar1;
  GtkWidget *menu_view_editor1;
  GtkWidget *menu_view_editor1_menu;
  GtkWidget *menu_markers_margin1;
  GtkWidget *menu_linenumber_margin1;
  GtkWidget *menu_show_white_space1;
  GtkWidget *menu_show_line_endings1;
  GtkWidget *menu_show_indentation_guides1;
  GtkWidget *menu_separator5;
  GtkWidget *menu_zoom_in1;
  GtkWidget *menu_zoom_out1;
  GtkWidget *normal_size1;
  GtkWidget *menu_document1;
  GtkWidget *menu_document1_menu;
  GtkWidget *menu_line_wrapping1;
  GtkWidget *line_breaking1;
  GtkWidget *menu_use_auto_indentation1;
  GtkWidget *indent_type1;
  GtkWidget *indent_type1_menu;
  GSList *tabs1_group = NULL;
  GtkWidget *tabs1;
  GtkWidget *spaces1;
  GtkWidget *tabs_and_spaces1;
  GtkWidget *separator45;
  GtkWidget *set_file_readonly1;
  GtkWidget *menu_write_unicode_bom1;
  GtkWidget *separator46;
  GtkWidget *set_filetype1;
  GtkWidget *set_filetype1_menu;
  GtkWidget *invisible1;
  GtkWidget *set_encoding1;
  GtkWidget *set_encoding1_menu;
  GtkWidget *invisible6;
  GtkWidget *menu_line_endings1;
  GtkWidget *menu_line_endings1_menu;
  GSList *crlf_group = NULL;
  GtkWidget *crlf;
  GtkWidget *lf;
  GtkWidget *cr;
  GtkWidget *separator8;
  GtkWidget *strip_trailing_spaces1;
  GtkWidget *menu_replace_tabs;
  GtkWidget *menu_replace_spaces;
  GtkWidget *separator22;
  GtkWidget *menu_fold_all1;
  GtkWidget *menu_unfold_all1;
  GtkWidget *separator23;
  GtkWidget *remove_markers1;
  GtkWidget *menu_remove_indicators1;
  GtkWidget *menu_project1;
  GtkWidget *menu_project1_menu;
  GtkWidget *project_new1;
  GtkWidget *image2869;
  GtkWidget *project_open1;
  GtkWidget *image2870;
  GtkWidget *recent_projects1;
  GtkWidget *project_close1;
  GtkWidget *image2871;
  GtkWidget *separator34;
  GtkWidget *project_properties1;
  GtkWidget *menu_build1;
  GtkWidget *tools1;
  GtkWidget *tools1_menu;
  GtkWidget *menu_choose_color1;
  GtkWidget *image2872;
  GtkWidget *menu_count_words1;
  GtkWidget *load_tags1;
  GtkWidget *menu_reload_configuration1;
  GtkWidget *image2873;
  GtkWidget *menu_help1;
  GtkWidget *menu_help1_menu;
  GtkWidget *help1;
  GtkWidget *image2874;
  GtkWidget *website1;
  GtkWidget *keyboard_shortcuts1;
  GtkWidget *debug_messages1;
  GtkWidget *separator16;
  GtkWidget *menu_info1;
  GtkWidget *vpaned1;
  GtkWidget *hpaned1;
  GtkWidget *notebook3;
  GtkWidget *scrolledwindow2;
  GtkWidget *treeview2;
  GtkWidget *label135;
  GtkWidget *scrolledwindow7;
  GtkWidget *treeview6;
  GtkWidget *label136;
  GtkWidget *notebook1;
  GtkWidget *scrolledwindow1;
  GtkWidget *viewport1;
  GtkWidget *notebook_info;
  GtkWidget *scrolledwindow4;
  GtkWidget *treeview3;
  GtkWidget *notebook_info_label_status;
  GtkWidget *scrolledwindow3;
  GtkWidget *treeview5;
  GtkWidget *notebook_info_label_compiler;
  GtkWidget *scrolledwindow5;
  GtkWidget *treeview4;
  GtkWidget *notebook_info_label_msg;
  GtkWidget *scrolledwindow6;
  GtkWidget *textview_scribble;
  GtkWidget *notebook_info_label_scribble;
  GtkWidget *hbox1;
  GtkWidget *statusbar;
  GtkAccelGroup *accel_group;
  GtkTooltips *tooltips;

  tooltips = gtk_tooltips_new ();

  accel_group = gtk_accel_group_new ();

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

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

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

  menubar1 = gtk_menu_bar_new ();
  gtk_widget_show (menubar1);
  gtk_box_pack_start (GTK_BOX (hbox_menubar), menubar1, FALSE, TRUE, 0);

  file1 = gtk_menu_item_new_with_mnemonic (_("_File"));
  gtk_widget_show (file1);
  gtk_container_add (GTK_CONTAINER (menubar1), file1);

  file1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (file1), file1_menu);

  menu_new1 = gtk_image_menu_item_new_from_stock ("gtk-new", accel_group);
  gtk_widget_show (menu_new1);
  gtk_container_add (GTK_CONTAINER (file1_menu), menu_new1);

  menu_new_with_template1 = gtk_image_menu_item_new_with_mnemonic (_("New (with _Template)"));
  gtk_widget_show (menu_new_with_template1);
  gtk_container_add (GTK_CONTAINER (file1_menu), menu_new_with_template1);

  image2854 = gtk_image_new_from_stock ("gtk-new", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2854);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_new_with_template1), image2854);

  menu_new_with_template1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_new_with_template1), menu_new_with_template1_menu);

  invisible2 = gtk_menu_item_new_with_mnemonic (_("invisible"));
  gtk_container_add (GTK_CONTAINER (menu_new_with_template1_menu), invisible2);
  gtk_tooltips_set_tip (tooltips, invisible2, _("dummy tooltip, don't translate this."), NULL);

  separator12 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator12);
  gtk_container_add (GTK_CONTAINER (file1_menu), separator12);
  gtk_widget_set_sensitive (separator12, FALSE);

  menu_open1 = gtk_image_menu_item_new_from_stock ("gtk-open", accel_group);
  gtk_widget_show (menu_open1);
  gtk_container_add (GTK_CONTAINER (file1_menu), menu_open1);

  menu_open_selected_file1 = gtk_menu_item_new_with_mnemonic (_("Open Selected F_ile"));
  gtk_widget_show (menu_open_selected_file1);
  gtk_container_add (GTK_CONTAINER (file1_menu), menu_open_selected_file1);

  recent_files1 = gtk_menu_item_new_with_mnemonic (_("Recent _Files"));
  gtk_widget_show (recent_files1);
  gtk_container_add (GTK_CONTAINER (file1_menu), recent_files1);

  separator13 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator13);
  gtk_container_add (GTK_CONTAINER (file1_menu), separator13);
  gtk_widget_set_sensitive (separator13, FALSE);

  menu_save1 = gtk_image_menu_item_new_from_stock ("gtk-save", accel_group);
  gtk_widget_show (menu_save1);
  gtk_container_add (GTK_CONTAINER (file1_menu), menu_save1);

  menu_save_as1 = gtk_image_menu_item_new_from_stock ("gtk-save-as", accel_group);
  gtk_widget_show (menu_save_as1);
  gtk_container_add (GTK_CONTAINER (file1_menu), menu_save_as1);

  menu_save_all1 = gtk_image_menu_item_new_with_mnemonic (_("Save A_ll"));
  gtk_widget_show (menu_save_all1);
  gtk_container_add (GTK_CONTAINER (file1_menu), menu_save_all1);

  image2855 = gtk_image_new_from_stock ("gtk-save", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2855);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_save_all1), image2855);

  menu_reload1 = gtk_image_menu_item_new_with_mnemonic (_("_Reload"));
  gtk_widget_show (menu_reload1);
  gtk_container_add (GTK_CONTAINER (file1_menu), menu_reload1);

  image2856 = gtk_image_new_from_stock ("gtk-revert-to-saved", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2856);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_reload1), image2856);

  menu_reload_as1 = gtk_image_menu_item_new_with_mnemonic (_("R_eload As"));
  gtk_widget_show (menu_reload_as1);
  gtk_container_add (GTK_CONTAINER (file1_menu), menu_reload_as1);

  image2857 = gtk_image_new_from_stock ("gtk-revert-to-saved", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2857);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_reload_as1), image2857);

  menu_reload_as1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_reload_as1), menu_reload_as1_menu);

  invisible7 = gtk_menu_item_new_with_mnemonic (_("invisible"));
  gtk_container_add (GTK_CONTAINER (menu_reload_as1_menu), invisible7);

  separator21 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator21);
  gtk_container_add (GTK_CONTAINER (file1_menu), separator21);
  gtk_widget_set_sensitive (separator21, FALSE);

  preferences2 = gtk_image_menu_item_new_from_stock ("gtk-properties", accel_group);
  gtk_widget_show (preferences2);
  gtk_container_add (GTK_CONTAINER (file1_menu), preferences2);

  separator24 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator24);
  gtk_container_add (GTK_CONTAINER (file1_menu), separator24);
  gtk_widget_set_sensitive (separator24, FALSE);

  page_setup1 = gtk_menu_item_new_with_mnemonic (_("Page Set_up"));
  gtk_widget_show (page_setup1);
  gtk_container_add (GTK_CONTAINER (file1_menu), page_setup1);

  print1 = gtk_image_menu_item_new_from_stock ("gtk-print", accel_group);
  gtk_widget_show (print1);
  gtk_container_add (GTK_CONTAINER (file1_menu), print1);

  separator14 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator14);
  gtk_container_add (GTK_CONTAINER (file1_menu), separator14);
  gtk_widget_set_sensitive (separator14, FALSE);

  menu_close1 = gtk_image_menu_item_new_from_stock ("gtk-close", accel_group);
  gtk_widget_show (menu_close1);
  gtk_container_add (GTK_CONTAINER (file1_menu), menu_close1);

  close_other_documents1 = gtk_image_menu_item_new_with_mnemonic (_("Close Ot_her Documents"));
  gtk_widget_show (close_other_documents1);
  gtk_container_add (GTK_CONTAINER (file1_menu), close_other_documents1);

  image2858 = gtk_image_new_from_stock ("gtk-close", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2858);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (close_other_documents1), image2858);

  menu_close_all1 = gtk_image_menu_item_new_with_mnemonic (_("C_lose All"));
  gtk_widget_show (menu_close_all1);
  gtk_container_add (GTK_CONTAINER (file1_menu), menu_close_all1);

  image2859 = gtk_image_new_from_stock ("gtk-close", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2859);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_close_all1), image2859);

  menu_separatormenuitem1 = gtk_separator_menu_item_new ();
  gtk_widget_show (menu_separatormenuitem1);
  gtk_container_add (GTK_CONTAINER (file1_menu), menu_separatormenuitem1);
  gtk_widget_set_sensitive (menu_separatormenuitem1, FALSE);

  menu_quit1 = gtk_image_menu_item_new_from_stock ("gtk-quit", accel_group);
  gtk_widget_show (menu_quit1);
  gtk_container_add (GTK_CONTAINER (file1_menu), menu_quit1);

  edit1 = gtk_menu_item_new_with_mnemonic (_("_Edit"));
  gtk_widget_show (edit1);
  gtk_container_add (GTK_CONTAINER (menubar1), edit1);

  edit1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (edit1), edit1_menu);

  menu_undo2 = gtk_image_menu_item_new_from_stock ("gtk-undo", accel_group);
  gtk_widget_show (menu_undo2);
  gtk_container_add (GTK_CONTAINER (edit1_menu), menu_undo2);

  menu_redo2 = gtk_image_menu_item_new_from_stock ("gtk-redo", accel_group);
  gtk_widget_show (menu_redo2);
  gtk_container_add (GTK_CONTAINER (edit1_menu), menu_redo2);

  menu_seperator1 = gtk_separator_menu_item_new ();
  gtk_widget_show (menu_seperator1);
  gtk_container_add (GTK_CONTAINER (edit1_menu), menu_seperator1);
  gtk_widget_set_sensitive (menu_seperator1, FALSE);

  menu_cut1 = gtk_image_menu_item_new_from_stock ("gtk-cut", accel_group);
  gtk_widget_show (menu_cut1);
  gtk_container_add (GTK_CONTAINER (edit1_menu), menu_cut1);

  menu_copy1 = gtk_image_menu_item_new_from_stock ("gtk-copy", accel_group);
  gtk_widget_show (menu_copy1);
  gtk_container_add (GTK_CONTAINER (edit1_menu), menu_copy1);

  menu_paste1 = gtk_image_menu_item_new_from_stock ("gtk-paste", accel_group);
  gtk_widget_show (menu_paste1);
  gtk_container_add (GTK_CONTAINER (edit1_menu), menu_paste1);

  menu_delete1 = gtk_image_menu_item_new_from_stock ("gtk-delete", accel_group);
  gtk_widget_show (menu_delete1);
  gtk_container_add (GTK_CONTAINER (edit1_menu), menu_delete1);

  menu_seperator2 = gtk_separator_menu_item_new ();
  gtk_widget_show (menu_seperator2);
  gtk_container_add (GTK_CONTAINER (edit1_menu), menu_seperator2);
  gtk_widget_set_sensitive (menu_seperator2, FALSE);

  menu_select_all1 = gtk_image_menu_item_new_from_stock ("gtk-select-all", accel_group);
  gtk_widget_show (menu_select_all1);
  gtk_container_add (GTK_CONTAINER (edit1_menu), menu_select_all1);

  separator25 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator25);
  gtk_container_add (GTK_CONTAINER (edit1_menu), separator25);
  gtk_widget_set_sensitive (separator25, FALSE);

  menu_format1 = gtk_menu_item_new_with_mnemonic (_("_Format"));
  gtk_widget_show (menu_format1);
  gtk_container_add (GTK_CONTAINER (edit1_menu), menu_format1);

  menu_format1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_format1), menu_format1_menu);

  menu_toggle_case2 = gtk_menu_item_new_with_mnemonic (_("T_oggle Case of Selection"));
  gtk_widget_show (menu_toggle_case2);
  gtk_container_add (GTK_CONTAINER (menu_format1_menu), menu_toggle_case2);

  separator28 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator28);
  gtk_container_add (GTK_CONTAINER (menu_format1_menu), separator28);
  gtk_widget_set_sensitive (separator28, FALSE);

  menu_comment_line1 = gtk_menu_item_new_with_mnemonic (_("_Comment Line(s)"));
  gtk_widget_show (menu_comment_line1);
  gtk_container_add (GTK_CONTAINER (menu_format1_menu), menu_comment_line1);

  menu_uncomment_line1 = gtk_menu_item_new_with_mnemonic (_("U_ncomment Line(s)"));
  gtk_widget_show (menu_uncomment_line1);
  gtk_container_add (GTK_CONTAINER (menu_format1_menu), menu_uncomment_line1);

  menu_toggle_line_commentation1 = gtk_menu_item_new_with_mnemonic (_("_Toggle Line Commentation"));
  gtk_widget_show (menu_toggle_line_commentation1);
  gtk_container_add (GTK_CONTAINER (menu_format1_menu), menu_toggle_line_commentation1);

  menu_duplicate_line1 = gtk_menu_item_new_with_mnemonic (_("Du_plicate Line or Selection"));
  gtk_widget_show (menu_duplicate_line1);
  gtk_container_add (GTK_CONTAINER (menu_format1_menu), menu_duplicate_line1);

  separator29 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator29);
  gtk_container_add (GTK_CONTAINER (menu_format1_menu), separator29);
  gtk_widget_set_sensitive (separator29, FALSE);

  menu_increase_indent1 = gtk_image_menu_item_new_with_mnemonic (_("_Increase Indent"));
  gtk_widget_show (menu_increase_indent1);
  gtk_container_add (GTK_CONTAINER (menu_format1_menu), menu_increase_indent1);

  image2860 = gtk_image_new_from_stock ("gtk-indent", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2860);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_increase_indent1), image2860);

  menu_decrease_indent1 = gtk_image_menu_item_new_with_mnemonic (_("_Decrease Indent"));
  gtk_widget_show (menu_decrease_indent1);
  gtk_container_add (GTK_CONTAINER (menu_format1_menu), menu_decrease_indent1);

  image2861 = gtk_image_new_from_stock ("gtk-unindent", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2861);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_decrease_indent1), image2861);

  separator37 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator37);
  gtk_container_add (GTK_CONTAINER (menu_format1_menu), separator37);
  gtk_widget_set_sensitive (separator37, FALSE);

  send_selection_to_vte1 = gtk_menu_item_new_with_mnemonic (_("_Send Selection to Terminal"));
  gtk_widget_show (send_selection_to_vte1);
  gtk_container_add (GTK_CONTAINER (menu_format1_menu), send_selection_to_vte1);

  send_selection_to2 = gtk_menu_item_new_with_mnemonic (_("_Send Selection to"));
  gtk_widget_show (send_selection_to2);
  gtk_container_add (GTK_CONTAINER (menu_format1_menu), send_selection_to2);

  send_selection_to2_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (send_selection_to2), send_selection_to2_menu);

  invisible13 = gtk_menu_item_new_with_mnemonic (_("invisible"));
  gtk_container_add (GTK_CONTAINER (send_selection_to2_menu), invisible13);

  separator18 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator18);
  gtk_container_add (GTK_CONTAINER (edit1_menu), separator18);
  gtk_widget_set_sensitive (separator18, FALSE);

  add_comments1 = gtk_image_menu_item_new_with_mnemonic (_("I_nsert Comments"));
  gtk_widget_show (add_comments1);
  gtk_container_add (GTK_CONTAINER (edit1_menu), add_comments1);

  image2862 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2862);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (add_comments1), image2862);

  add_comments1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (add_comments1), add_comments1_menu);

  menu_add_changelog_entry1 = gtk_menu_item_new_with_mnemonic (_("Insert _ChangeLog Entry"));
  gtk_widget_show (menu_add_changelog_entry1);
  gtk_container_add (GTK_CONTAINER (add_comments1_menu), menu_add_changelog_entry1);

  insert_file_header1 = gtk_menu_item_new_with_mnemonic (_("Insert File _Header"));
  gtk_widget_show (insert_file_header1);
  gtk_container_add (GTK_CONTAINER (add_comments1_menu), insert_file_header1);

  insert_function_description2 = gtk_menu_item_new_with_mnemonic (_("Insert _Function Description"));
  gtk_widget_show (insert_function_description2);
  gtk_container_add (GTK_CONTAINER (add_comments1_menu), insert_function_description2);

  insert_multiline_comment2 = gtk_menu_item_new_with_mnemonic (_("Insert _Multiline Comment"));
  gtk_widget_show (insert_multiline_comment2);
  gtk_container_add (GTK_CONTAINER (add_comments1_menu), insert_multiline_comment2);

  insert_gpl_notice2 = gtk_menu_item_new_with_mnemonic (_("Insert _GPL Notice"));
  gtk_widget_show (insert_gpl_notice2);
  gtk_container_add (GTK_CONTAINER (add_comments1_menu), insert_gpl_notice2);

  insert_bsd_license_notice2 = gtk_menu_item_new_with_mnemonic (_("Insert _BSD License Notice"));
  gtk_widget_show (insert_bsd_license_notice2);
  gtk_container_add (GTK_CONTAINER (add_comments1_menu), insert_bsd_license_notice2);

  insert_date1 = gtk_image_menu_item_new_with_mnemonic (_("Insert Dat_e"));
  gtk_widget_show (insert_date1);
  gtk_container_add (GTK_CONTAINER (edit1_menu), insert_date1);

  image2863 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2863);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (insert_date1), image2863);

  insert_date1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (insert_date1), insert_date1_menu);

  invisible8 = gtk_menu_item_new_with_mnemonic (_("invisible"));
  gtk_container_add (GTK_CONTAINER (insert_date1_menu), invisible8);

  insert_include2 = gtk_image_menu_item_new_with_mnemonic (_("_Insert \"include <...>\""));
  gtk_widget_show (insert_include2);
  gtk_container_add (GTK_CONTAINER (edit1_menu), insert_include2);

  image2864 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2864);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (insert_include2), image2864);

  insert_include2_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (insert_include2), insert_include2_menu);

  invisible4 = gtk_menu_item_new_with_mnemonic (_("invisible"));
  gtk_container_add (GTK_CONTAINER (insert_include2_menu), invisible4);

  separator9 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator9);
  gtk_container_add (GTK_CONTAINER (edit1_menu), separator9);
  gtk_widget_set_sensitive (separator9, FALSE);

  preferences1 = gtk_image_menu_item_new_with_mnemonic (_("Preference_s"));
  gtk_widget_show (preferences1);
  gtk_container_add (GTK_CONTAINER (edit1_menu), preferences1);

  image2865 = gtk_image_new_from_stock ("gtk-preferences", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2865);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (preferences1), image2865);

  search1 = gtk_menu_item_new_with_mnemonic (_("_Search"));
  gtk_widget_show (search1);
  gtk_container_add (GTK_CONTAINER (menubar1), search1);

  search1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (search1), search1_menu);

  find1 = gtk_image_menu_item_new_from_stock ("gtk-find", accel_group);
  gtk_widget_show (find1);
  gtk_container_add (GTK_CONTAINER (search1_menu), find1);

  find_next1 = gtk_menu_item_new_with_mnemonic (_("Find _Next"));
  gtk_widget_show (find_next1);
  gtk_container_add (GTK_CONTAINER (search1_menu), find_next1);

  find_previous1 = gtk_menu_item_new_with_mnemonic (_("Find _Previous"));
  gtk_widget_show (find_previous1);
  gtk_container_add (GTK_CONTAINER (search1_menu), find_previous1);

  find_in_files1 = gtk_menu_item_new_with_mnemonic (_("Find in F_iles"));
  gtk_widget_show (find_in_files1);
  gtk_container_add (GTK_CONTAINER (search1_menu), find_in_files1);

  replace1 = gtk_image_menu_item_new_with_mnemonic (_("_Replace"));
  gtk_widget_show (replace1);
  gtk_container_add (GTK_CONTAINER (search1_menu), replace1);

  image2866 = gtk_image_new_from_stock ("gtk-find-and-replace", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2866);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (replace1), image2866);

  separator33 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator33);
  gtk_container_add (GTK_CONTAINER (search1_menu), separator33);
  gtk_widget_set_sensitive (separator33, FALSE);

  find_nextsel1 = gtk_menu_item_new_with_mnemonic (_("Find _Selected"));
  gtk_widget_show (find_nextsel1);
  gtk_container_add (GTK_CONTAINER (search1_menu), find_nextsel1);

  find_prevsel1 = gtk_menu_item_new_with_mnemonic (_("Find Pre_vious Selected"));
  gtk_widget_show (find_prevsel1);
  gtk_container_add (GTK_CONTAINER (search1_menu), find_prevsel1);

  separator35 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator35);
  gtk_container_add (GTK_CONTAINER (search1_menu), separator35);
  gtk_widget_set_sensitive (separator35, FALSE);

  next_message1 = gtk_menu_item_new_with_mnemonic (_("Next _Message"));
  gtk_widget_show (next_message1);
  gtk_container_add (GTK_CONTAINER (search1_menu), next_message1);

  previous_message1 = gtk_menu_item_new_with_mnemonic (_("Pr_evious Message"));
  gtk_widget_show (previous_message1);
  gtk_container_add (GTK_CONTAINER (search1_menu), previous_message1);

  separator32 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator32);
  gtk_container_add (GTK_CONTAINER (search1_menu), separator32);
  gtk_widget_set_sensitive (separator32, FALSE);

  go_to_line1 = gtk_image_menu_item_new_with_mnemonic (_("_Go to Line"));
  gtk_widget_show (go_to_line1);
  gtk_container_add (GTK_CONTAINER (search1_menu), go_to_line1);

  image2867 = gtk_image_new_from_stock ("gtk-jump-to", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2867);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (go_to_line1), image2867);

  menu_view1 = gtk_menu_item_new_with_mnemonic (_("_View"));
  gtk_widget_show (menu_view1);
  gtk_container_add (GTK_CONTAINER (menubar1), menu_view1);

  menu_view1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_view1), menu_view1_menu);

  menu_change_font1 = gtk_image_menu_item_new_with_mnemonic (_("Change _Font"));
  gtk_widget_show (menu_change_font1);
  gtk_container_add (GTK_CONTAINER (menu_view1_menu), menu_change_font1);

  image2868 = gtk_image_new_from_stock ("gtk-select-font", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2868);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_change_font1), image2868);

  menu_separator4 = gtk_separator_menu_item_new ();
  gtk_widget_show (menu_separator4);
  gtk_container_add (GTK_CONTAINER (menu_view1_menu), menu_separator4);
  gtk_widget_set_sensitive (menu_separator4, FALSE);

  menu_toggle_all_additional_widgets1 = gtk_menu_item_new_with_mnemonic (_("To_ggle All Additional Widgets"));
  gtk_widget_show (menu_toggle_all_additional_widgets1);
  gtk_container_add (GTK_CONTAINER (menu_view1_menu), menu_toggle_all_additional_widgets1);

  menu_fullscreen1 = gtk_check_menu_item_new_with_mnemonic (_("Full_screen"));
  gtk_widget_show (menu_fullscreen1);
  gtk_container_add (GTK_CONTAINER (menu_view1_menu), menu_fullscreen1);

  menu_show_messages_window1 = gtk_check_menu_item_new_with_mnemonic (_("Show Message _Window"));
  gtk_widget_show (menu_show_messages_window1);
  gtk_container_add (GTK_CONTAINER (menu_view1_menu), menu_show_messages_window1);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_show_messages_window1), TRUE);

  menu_show_toolbar1 = gtk_check_menu_item_new_with_mnemonic (_("Show _Toolbar"));
  gtk_widget_show (menu_show_toolbar1);
  gtk_container_add (GTK_CONTAINER (menu_view1_menu), menu_show_toolbar1);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_show_toolbar1), TRUE);

  menu_show_sidebar1 = gtk_check_menu_item_new_with_mnemonic (_("Show Side_bar"));
  gtk_widget_show (menu_show_sidebar1);
  gtk_container_add (GTK_CONTAINER (menu_view1_menu), menu_show_sidebar1);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_show_sidebar1), TRUE);

  menu_view_editor1 = gtk_menu_item_new_with_mnemonic (_("Editor"));
  gtk_widget_show (menu_view_editor1);
  gtk_container_add (GTK_CONTAINER (menu_view1_menu), menu_view_editor1);

  menu_view_editor1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_view_editor1), menu_view_editor1_menu);

  menu_markers_margin1 = gtk_check_menu_item_new_with_mnemonic (_("Show _Markers Margin"));
  gtk_widget_show (menu_markers_margin1);
  gtk_container_add (GTK_CONTAINER (menu_view_editor1_menu), menu_markers_margin1);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_markers_margin1), TRUE);

  menu_linenumber_margin1 = gtk_check_menu_item_new_with_mnemonic (_("Show _Line Numbers"));
  gtk_widget_show (menu_linenumber_margin1);
  gtk_container_add (GTK_CONTAINER (menu_view_editor1_menu), menu_linenumber_margin1);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_linenumber_margin1), TRUE);

  menu_show_white_space1 = gtk_check_menu_item_new_with_mnemonic (_("Show _White Space"));
  gtk_widget_show (menu_show_white_space1);
  gtk_container_add (GTK_CONTAINER (menu_view_editor1_menu), menu_show_white_space1);

  menu_show_line_endings1 = gtk_check_menu_item_new_with_mnemonic (_("Show Line _Endings"));
  gtk_widget_show (menu_show_line_endings1);
  gtk_container_add (GTK_CONTAINER (menu_view_editor1_menu), menu_show_line_endings1);

  menu_show_indentation_guides1 = gtk_check_menu_item_new_with_mnemonic (_("Show _Indentation Guides"));
  gtk_widget_show (menu_show_indentation_guides1);
  gtk_container_add (GTK_CONTAINER (menu_view_editor1_menu), menu_show_indentation_guides1);

  menu_separator5 = gtk_separator_menu_item_new ();
  gtk_widget_show (menu_separator5);
  gtk_container_add (GTK_CONTAINER (menu_view1_menu), menu_separator5);
  gtk_widget_set_sensitive (menu_separator5, FALSE);

  menu_zoom_in1 = gtk_image_menu_item_new_from_stock ("gtk-zoom-in", accel_group);
  gtk_widget_show (menu_zoom_in1);
  gtk_container_add (GTK_CONTAINER (menu_view1_menu), menu_zoom_in1);

  menu_zoom_out1 = gtk_image_menu_item_new_from_stock ("gtk-zoom-out", accel_group);
  gtk_widget_show (menu_zoom_out1);
  gtk_container_add (GTK_CONTAINER (menu_view1_menu), menu_zoom_out1);

  normal_size1 = gtk_image_menu_item_new_from_stock ("gtk-zoom-100", accel_group);
  gtk_widget_show (normal_size1);
  gtk_container_add (GTK_CONTAINER (menu_view1_menu), normal_size1);

  menu_document1 = gtk_menu_item_new_with_mnemonic (_("_Document"));
  gtk_widget_show (menu_document1);
  gtk_container_add (GTK_CONTAINER (menubar1), menu_document1);

  menu_document1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_document1), menu_document1_menu);

  menu_line_wrapping1 = gtk_check_menu_item_new_with_mnemonic (_("_Line Wrapping"));
  gtk_widget_show (menu_line_wrapping1);
  gtk_container_add (GTK_CONTAINER (menu_document1_menu), menu_line_wrapping1);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_line_wrapping1), TRUE);

  line_breaking1 = gtk_check_menu_item_new_with_mnemonic (_("Line _Breaking"));
  gtk_widget_show (line_breaking1);
  gtk_container_add (GTK_CONTAINER (menu_document1_menu), line_breaking1);

  menu_use_auto_indentation1 = gtk_check_menu_item_new_with_mnemonic (_("_Auto-indentation"));
  gtk_widget_show (menu_use_auto_indentation1);
  gtk_container_add (GTK_CONTAINER (menu_document1_menu), menu_use_auto_indentation1);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_use_auto_indentation1), TRUE);

  indent_type1 = gtk_menu_item_new_with_mnemonic (_("In_dent Type"));
  gtk_widget_show (indent_type1);
  gtk_container_add (GTK_CONTAINER (menu_document1_menu), indent_type1);

  indent_type1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (indent_type1), indent_type1_menu);

  tabs1 = gtk_radio_menu_item_new_with_mnemonic (tabs1_group, _("_Tabs"));
  tabs1_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (tabs1));
  gtk_widget_show (tabs1);
  gtk_container_add (GTK_CONTAINER (indent_type1_menu), tabs1);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (tabs1), TRUE);

  spaces1 = gtk_radio_menu_item_new_with_mnemonic (tabs1_group, _("_Spaces"));
  tabs1_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (spaces1));
  gtk_widget_show (spaces1);
  gtk_container_add (GTK_CONTAINER (indent_type1_menu), spaces1);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (spaces1), TRUE);

  tabs_and_spaces1 = gtk_radio_menu_item_new_with_mnemonic (tabs1_group, _("T_abs and Spaces"));
  tabs1_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (tabs_and_spaces1));
  gtk_widget_show (tabs_and_spaces1);
  gtk_container_add (GTK_CONTAINER (indent_type1_menu), tabs_and_spaces1);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (tabs_and_spaces1), TRUE);

  separator45 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator45);
  gtk_container_add (GTK_CONTAINER (menu_document1_menu), separator45);
  gtk_widget_set_sensitive (separator45, FALSE);

  set_file_readonly1 = gtk_check_menu_item_new_with_mnemonic (_("Read _Only"));
  gtk_widget_show (set_file_readonly1);
  gtk_container_add (GTK_CONTAINER (menu_document1_menu), set_file_readonly1);

  menu_write_unicode_bom1 = gtk_check_menu_item_new_with_mnemonic (_("_Write Unicode BOM"));
  gtk_widget_show (menu_write_unicode_bom1);
  gtk_container_add (GTK_CONTAINER (menu_document1_menu), menu_write_unicode_bom1);

  separator46 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator46);
  gtk_container_add (GTK_CONTAINER (menu_document1_menu), separator46);
  gtk_widget_set_sensitive (separator46, FALSE);

  set_filetype1 = gtk_menu_item_new_with_mnemonic (_("Set File_type"));
  gtk_widget_show (set_filetype1);
  gtk_container_add (GTK_CONTAINER (menu_document1_menu), set_filetype1);

  set_filetype1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (set_filetype1), set_filetype1_menu);

  invisible1 = gtk_menu_item_new_with_mnemonic (_("invisible"));
  gtk_container_add (GTK_CONTAINER (set_filetype1_menu), invisible1);

  set_encoding1 = gtk_menu_item_new_with_mnemonic (_("Set _Encoding"));
  gtk_widget_show (set_encoding1);
  gtk_container_add (GTK_CONTAINER (menu_document1_menu), set_encoding1);

  set_encoding1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (set_encoding1), set_encoding1_menu);

  invisible6 = gtk_menu_item_new_with_mnemonic (_("invisible"));
  gtk_container_add (GTK_CONTAINER (set_encoding1_menu), invisible6);

  menu_line_endings1 = gtk_menu_item_new_with_mnemonic (_("Set Line E_ndings"));
  gtk_widget_show (menu_line_endings1);
  gtk_container_add (GTK_CONTAINER (menu_document1_menu), menu_line_endings1);

  menu_line_endings1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_line_endings1), menu_line_endings1_menu);

  crlf = gtk_radio_menu_item_new_with_mnemonic (crlf_group, _("Convert and Set to _CR/LF (Win)"));
  crlf_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (crlf));
  gtk_widget_show (crlf);
  gtk_container_add (GTK_CONTAINER (menu_line_endings1_menu), crlf);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (crlf), TRUE);

  lf = gtk_radio_menu_item_new_with_mnemonic (crlf_group, _("Convert and Set to _LF (Unix)"));
  crlf_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (lf));
  gtk_widget_show (lf);
  gtk_container_add (GTK_CONTAINER (menu_line_endings1_menu), lf);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (lf), TRUE);

  cr = gtk_radio_menu_item_new_with_mnemonic (crlf_group, _("Convert and Set to CR (_Mac)"));
  crlf_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (cr));
  gtk_widget_show (cr);
  gtk_container_add (GTK_CONTAINER (menu_line_endings1_menu), cr);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (cr), TRUE);

  separator8 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator8);
  gtk_container_add (GTK_CONTAINER (menu_document1_menu), separator8);
  gtk_widget_set_sensitive (separator8, FALSE);

  strip_trailing_spaces1 = gtk_menu_item_new_with_mnemonic (_("_Strip Trailing Spaces"));
  gtk_widget_show (strip_trailing_spaces1);
  gtk_container_add (GTK_CONTAINER (menu_document1_menu), strip_trailing_spaces1);

  menu_replace_tabs = gtk_menu_item_new_with_mnemonic (_("_Replace Tabs by Spaces"));
  gtk_widget_show (menu_replace_tabs);
  gtk_container_add (GTK_CONTAINER (menu_document1_menu), menu_replace_tabs);

  menu_replace_spaces = gtk_menu_item_new_with_mnemonic (_("Replace Spaces b_y Tabs"));
  gtk_widget_show (menu_replace_spaces);
  gtk_container_add (GTK_CONTAINER (menu_document1_menu), menu_replace_spaces);

  separator22 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator22);
  gtk_container_add (GTK_CONTAINER (menu_document1_menu), separator22);
  gtk_widget_set_sensitive (separator22, FALSE);

  menu_fold_all1 = gtk_menu_item_new_with_mnemonic (_("_Fold All"));
  gtk_widget_show (menu_fold_all1);
  gtk_container_add (GTK_CONTAINER (menu_document1_menu), menu_fold_all1);

  menu_unfold_all1 = gtk_menu_item_new_with_mnemonic (_("_Unfold All"));
  gtk_widget_show (menu_unfold_all1);
  gtk_container_add (GTK_CONTAINER (menu_document1_menu), menu_unfold_all1);

  separator23 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator23);
  gtk_container_add (GTK_CONTAINER (menu_document1_menu), separator23);
  gtk_widget_set_sensitive (separator23, FALSE);

  remove_markers1 = gtk_menu_item_new_with_mnemonic (_("Remove _Markers"));
  gtk_widget_show (remove_markers1);
  gtk_container_add (GTK_CONTAINER (menu_document1_menu), remove_markers1);

  menu_remove_indicators1 = gtk_menu_item_new_with_mnemonic (_("Remove Error _Indicators"));
  gtk_widget_show (menu_remove_indicators1);
  gtk_container_add (GTK_CONTAINER (menu_document1_menu), menu_remove_indicators1);

  menu_project1 = gtk_menu_item_new_with_mnemonic (_("_Project"));
  gtk_widget_show (menu_project1);
  gtk_container_add (GTK_CONTAINER (menubar1), menu_project1);

  menu_project1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_project1), menu_project1_menu);

  project_new1 = gtk_image_menu_item_new_with_mnemonic (_("_New"));
  gtk_widget_show (project_new1);
  gtk_container_add (GTK_CONTAINER (menu_project1_menu), project_new1);

  image2869 = gtk_image_new_from_stock ("gtk-new", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2869);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (project_new1), image2869);

  project_open1 = gtk_image_menu_item_new_with_mnemonic (_("_Open"));
  gtk_widget_show (project_open1);
  gtk_container_add (GTK_CONTAINER (menu_project1_menu), project_open1);

  image2870 = gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2870);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (project_open1), image2870);

  recent_projects1 = gtk_menu_item_new_with_mnemonic (_("_Recent Projects"));
  gtk_widget_show (recent_projects1);
  gtk_container_add (GTK_CONTAINER (menu_project1_menu), recent_projects1);

  project_close1 = gtk_image_menu_item_new_with_mnemonic (_("_Close"));
  gtk_widget_show (project_close1);
  gtk_container_add (GTK_CONTAINER (menu_project1_menu), project_close1);

  image2871 = gtk_image_new_from_stock ("gtk-close", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2871);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (project_close1), image2871);

  separator34 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator34);
  gtk_container_add (GTK_CONTAINER (menu_project1_menu), separator34);
  gtk_widget_set_sensitive (separator34, FALSE);

  project_properties1 = gtk_image_menu_item_new_from_stock ("gtk-properties", accel_group);
  gtk_widget_show (project_properties1);
  gtk_container_add (GTK_CONTAINER (menu_project1_menu), project_properties1);

  menu_build1 = gtk_menu_item_new_with_mnemonic (_("_Build"));
  gtk_widget_show (menu_build1);
  gtk_container_add (GTK_CONTAINER (menubar1), menu_build1);

  tools1 = gtk_menu_item_new_with_mnemonic (_("_Tools"));
  gtk_widget_show (tools1);
  gtk_container_add (GTK_CONTAINER (menubar1), tools1);

  tools1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (tools1), tools1_menu);

  menu_choose_color1 = gtk_image_menu_item_new_with_mnemonic (_("_Color Chooser"));
  gtk_widget_show (menu_choose_color1);
  gtk_container_add (GTK_CONTAINER (tools1_menu), menu_choose_color1);

  image2872 = gtk_image_new_from_stock ("gtk-select-color", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2872);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_choose_color1), image2872);

  menu_count_words1 = gtk_menu_item_new_with_mnemonic (_("_Word Count"));
  gtk_widget_show (menu_count_words1);
  gtk_container_add (GTK_CONTAINER (tools1_menu), menu_count_words1);

  load_tags1 = gtk_menu_item_new_with_mnemonic (_("Load Ta_gs"));
  gtk_widget_show (load_tags1);
  gtk_container_add (GTK_CONTAINER (tools1_menu), load_tags1);

  menu_reload_configuration1 = gtk_image_menu_item_new_with_mnemonic (_("_Reload Configuration"));
  gtk_widget_show (menu_reload_configuration1);
  gtk_container_add (GTK_CONTAINER (tools1_menu), menu_reload_configuration1);

  image2873 = gtk_image_new_from_stock ("gtk-refresh", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2873);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_reload_configuration1), image2873);

  menu_help1 = gtk_menu_item_new_with_mnemonic (_("_Help"));
  gtk_widget_show (menu_help1);
  gtk_container_add (GTK_CONTAINER (menubar1), menu_help1);

  menu_help1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_help1), menu_help1_menu);

  help1 = gtk_image_menu_item_new_with_mnemonic (_("_Help"));
  gtk_widget_show (help1);
  gtk_container_add (GTK_CONTAINER (menu_help1_menu), help1);

  image2874 = gtk_image_new_from_stock ("gtk-help", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2874);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (help1), image2874);

  website1 = gtk_menu_item_new_with_mnemonic (_("_Website"));
  gtk_widget_show (website1);
  gtk_container_add (GTK_CONTAINER (menu_help1_menu), website1);

  keyboard_shortcuts1 = gtk_menu_item_new_with_mnemonic (_("_Keyboard Shortcuts"));
  gtk_widget_show (keyboard_shortcuts1);
  gtk_container_add (GTK_CONTAINER (menu_help1_menu), keyboard_shortcuts1);

  debug_messages1 = gtk_menu_item_new_with_mnemonic (_("_Debug Messages"));
  gtk_widget_show (debug_messages1);
  gtk_container_add (GTK_CONTAINER (menu_help1_menu), debug_messages1);

  separator16 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator16);
  gtk_container_add (GTK_CONTAINER (menu_help1_menu), separator16);
  gtk_widget_set_sensitive (separator16, FALSE);

  menu_info1 = gtk_image_menu_item_new_from_stock ("gtk-about", accel_group);
  gtk_widget_show (menu_info1);
  gtk_container_add (GTK_CONTAINER (menu_help1_menu), menu_info1);

  vpaned1 = gtk_vpaned_new ();
  gtk_widget_show (vpaned1);
  gtk_box_pack_start (GTK_BOX (vbox1), vpaned1, TRUE, TRUE, 0);
  gtk_paned_set_position (GTK_PANED (vpaned1), 400);

  hpaned1 = gtk_hpaned_new ();
  gtk_widget_show (hpaned1);
  gtk_paned_pack1 (GTK_PANED (vpaned1), hpaned1, TRUE, TRUE);
  gtk_paned_set_position (GTK_PANED (hpaned1), 167);

  notebook3 = gtk_notebook_new ();
  gtk_widget_show (notebook3);
  gtk_paned_pack1 (GTK_PANED (hpaned1), notebook3, FALSE, TRUE);
  gtk_notebook_set_scrollable (GTK_NOTEBOOK (notebook3), TRUE);

  scrolledwindow2 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow2);
  gtk_container_add (GTK_CONTAINER (notebook3), scrolledwindow2);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow2), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow2), GTK_SHADOW_IN);

  treeview2 = gtk_tree_view_new ();
  gtk_widget_show (treeview2);
  gtk_container_add (GTK_CONTAINER (scrolledwindow2), treeview2);
  gtk_tree_view_set_enable_search (GTK_TREE_VIEW (treeview2), FALSE);

  label135 = gtk_label_new (_("Symbols"));
  gtk_widget_show (label135);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook3), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook3), 0), label135);

  scrolledwindow7 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow7);
  gtk_container_add (GTK_CONTAINER (notebook3), scrolledwindow7);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow7), GTK_SHADOW_IN);

  treeview6 = gtk_tree_view_new ();
  gtk_widget_show (treeview6);
  gtk_container_add (GTK_CONTAINER (scrolledwindow7), treeview6);
  gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (treeview6), TRUE);

  label136 = gtk_label_new (_("Documents"));
  gtk_widget_show (label136);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook3), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook3), 1), label136);

  notebook1 = gtk_notebook_new ();
  gtk_widget_show (notebook1);
  gtk_paned_pack2 (GTK_PANED (hpaned1), notebook1, TRUE, TRUE);
  gtk_notebook_set_scrollable (GTK_NOTEBOOK (notebook1), TRUE);

  scrolledwindow1 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow1);
  gtk_paned_pack2 (GTK_PANED (vpaned1), scrolledwindow1, TRUE, TRUE);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow1), GTK_POLICY_NEVER, GTK_POLICY_NEVER);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow1), GTK_SHADOW_IN);

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

  notebook_info = gtk_notebook_new ();
  gtk_widget_show (notebook_info);
  gtk_container_add (GTK_CONTAINER (viewport1), notebook_info);
  gtk_notebook_set_tab_pos (GTK_NOTEBOOK (notebook_info), GTK_POS_LEFT);
  gtk_notebook_set_scrollable (GTK_NOTEBOOK (notebook_info), TRUE);

  scrolledwindow4 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow4);
  gtk_container_add (GTK_CONTAINER (notebook_info), scrolledwindow4);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow4), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  treeview3 = gtk_tree_view_new ();
  gtk_widget_show (treeview3);
  gtk_container_add (GTK_CONTAINER (scrolledwindow4), treeview3);
  gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (treeview3), FALSE);
  gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (treeview3), TRUE);

  notebook_info_label_status = gtk_label_new (_("Status"));
  gtk_widget_show (notebook_info_label_status);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_info), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_info), 0), notebook_info_label_status);

  scrolledwindow3 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow3);
  gtk_container_add (GTK_CONTAINER (notebook_info), scrolledwindow3);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow3), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  treeview5 = gtk_tree_view_new ();
  gtk_widget_show (treeview5);
  gtk_container_add (GTK_CONTAINER (scrolledwindow3), treeview5);
  gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (treeview5), FALSE);

  notebook_info_label_compiler = gtk_label_new (_("Compiler"));
  gtk_widget_show (notebook_info_label_compiler);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_info), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_info), 1), notebook_info_label_compiler);

  scrolledwindow5 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow5);
  gtk_container_add (GTK_CONTAINER (notebook_info), scrolledwindow5);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow5), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  treeview4 = gtk_tree_view_new ();
  gtk_widget_show (treeview4);
  gtk_container_add (GTK_CONTAINER (scrolledwindow5), treeview4);
  gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (treeview4), FALSE);
  gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (treeview4), TRUE);

  notebook_info_label_msg = gtk_label_new (_("Messages"));
  gtk_widget_show (notebook_info_label_msg);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_info), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_info), 2), notebook_info_label_msg);

  scrolledwindow6 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow6);
  gtk_container_add (GTK_CONTAINER (notebook_info), scrolledwindow6);
  gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow6), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);

  textview_scribble = gtk_text_view_new ();
  gtk_widget_show (textview_scribble);
  gtk_container_add (GTK_CONTAINER (scrolledwindow6), textview_scribble);

  notebook_info_label_scribble = gtk_label_new (_("Scribble"));
  gtk_widget_show (notebook_info_label_scribble);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_info), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_info), 3), notebook_info_label_scribble);

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

  statusbar = gtk_statusbar_new ();
  gtk_widget_show (statusbar);
  gtk_box_pack_start (GTK_BOX (hbox1), statusbar, TRUE, TRUE, 0);

  g_signal_connect ((gpointer) file1, "activate",
                    G_CALLBACK (on_file1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_new1, "activate",
                    G_CALLBACK (on_new1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_open1, "activate",
                    G_CALLBACK (on_open1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_open_selected_file1, "activate",
                    G_CALLBACK (on_menu_open_selected_file1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_save1, "activate",
                    G_CALLBACK (on_save1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_save_as1, "activate",
                    G_CALLBACK (on_save_as1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_save_all1, "activate",
                    G_CALLBACK (on_save_all1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_reload1, "activate",
                    G_CALLBACK (on_toolbutton_reload_clicked),
                    NULL);
  g_signal_connect ((gpointer) preferences2, "activate",
                    G_CALLBACK (on_file_properties_activate),
                    NULL);
  g_signal_connect ((gpointer) page_setup1, "activate",
                    G_CALLBACK (on_page_setup1_activate),
                    NULL);
  g_signal_connect ((gpointer) print1, "activate",
                    G_CALLBACK (on_print1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_close1, "activate",
                    G_CALLBACK (on_close1_activate),
                    NULL);
  g_signal_connect ((gpointer) close_other_documents1, "activate",
                    G_CALLBACK (on_close_other_documents1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_close_all1, "activate",
                    G_CALLBACK (on_close_all1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_quit1, "activate",
                    G_CALLBACK (on_quit1_activate),
                    NULL);
  g_signal_connect ((gpointer) edit1, "activate",
                    G_CALLBACK (on_edit1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_undo2, "activate",
                    G_CALLBACK (on_undo1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_redo2, "activate",
                    G_CALLBACK (on_redo1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_cut1, "activate",
                    G_CALLBACK (on_cut1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_copy1, "activate",
                    G_CALLBACK (on_copy1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_paste1, "activate",
                    G_CALLBACK (on_paste1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_delete1, "activate",
                    G_CALLBACK (on_delete1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_select_all1, "activate",
                    G_CALLBACK (on_menu_select_all1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_toggle_case2, "activate",
                    G_CALLBACK (on_toggle_case1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_comment_line1, "activate",
                    G_CALLBACK (on_menu_comment_line1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_uncomment_line1, "activate",
                    G_CALLBACK (on_menu_uncomment_line1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_toggle_line_commentation1, "activate",
                    G_CALLBACK (on_menu_toggle_line_commentation1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_duplicate_line1, "activate",
                    G_CALLBACK (on_menu_duplicate_line1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_increase_indent1, "activate",
                    G_CALLBACK (on_menu_increase_indent1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_decrease_indent1, "activate",
                    G_CALLBACK (on_menu_decrease_indent1_activate),
                    NULL);
  g_signal_connect ((gpointer) send_selection_to_vte1, "activate",
                    G_CALLBACK (on_send_selection_to_vte1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_add_changelog_entry1, "activate",
                    G_CALLBACK (on_comments_changelog_activate),
                    NULL);
  g_signal_connect ((gpointer) insert_file_header1, "activate",
                    G_CALLBACK (on_comments_fileheader_activate),
                    NULL);
  g_signal_connect ((gpointer) insert_function_description2, "activate",
                    G_CALLBACK (on_comments_function_activate),
                    NULL);
  g_signal_connect ((gpointer) insert_multiline_comment2, "activate",
                    G_CALLBACK (on_menu_comments_multiline_activate),
                    NULL);
  g_signal_connect ((gpointer) insert_gpl_notice2, "activate",
                    G_CALLBACK (on_menu_comments_gpl_activate),
                    NULL);
  g_signal_connect ((gpointer) insert_bsd_license_notice2, "activate",
                    G_CALLBACK (on_menu_comments_bsd_activate),
                    NULL);
  g_signal_connect ((gpointer) preferences1, "activate",
                    G_CALLBACK (on_preferences1_activate),
                    NULL);
  g_signal_connect ((gpointer) search1, "activate",
                    G_CALLBACK (on_search1_activate),
                    NULL);
  g_signal_connect ((gpointer) find1, "activate",
                    G_CALLBACK (on_find1_activate),
                    NULL);
  g_signal_connect ((gpointer) find_next1, "activate",
                    G_CALLBACK (on_find_next1_activate),
                    NULL);
  g_signal_connect ((gpointer) find_previous1, "activate",
                    G_CALLBACK (on_find_previous1_activate),
                    NULL);
  g_signal_connect ((gpointer) find_in_files1, "activate",
                    G_CALLBACK (on_find_in_files1_activate),
                    NULL);
  g_signal_connect ((gpointer) replace1, "activate",
                    G_CALLBACK (on_replace1_activate),
                    NULL);
  g_signal_connect ((gpointer) find_nextsel1, "activate",
                    G_CALLBACK (on_find_nextsel1_activate),
                    NULL);
  g_signal_connect ((gpointer) find_prevsel1, "activate",
                    G_CALLBACK (on_find_prevsel1_activate),
                    NULL);
  g_signal_connect ((gpointer) next_message1, "activate",
                    G_CALLBACK (on_next_message1_activate),
                    NULL);
  g_signal_connect ((gpointer) previous_message1, "activate",
                    G_CALLBACK (on_previous_message1_activate),
                    NULL);
  g_signal_connect ((gpointer) go_to_line1, "activate",
                    G_CALLBACK (on_go_to_line_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_change_font1, "activate",
                    G_CALLBACK (on_change_font1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_toggle_all_additional_widgets1, "activate",
                    G_CALLBACK (on_menu_toggle_all_additional_widgets1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_fullscreen1, "toggled",
                    G_CALLBACK (on_fullscreen1_toggled),
                    NULL);
  g_signal_connect ((gpointer) menu_show_messages_window1, "toggled",
                    G_CALLBACK (on_show_messages_window1_toggled),
                    NULL);
  g_signal_connect ((gpointer) menu_show_toolbar1, "toggled",
                    G_CALLBACK (on_show_toolbar1_toggled),
                    NULL);
  g_signal_connect ((gpointer) menu_show_sidebar1, "toggled",
                    G_CALLBACK (on_menu_show_sidebar1_toggled),
                    NULL);
  g_signal_connect ((gpointer) menu_markers_margin1, "toggled",
                    G_CALLBACK (on_markers_margin1_toggled),
                    NULL);
  g_signal_connect ((gpointer) menu_linenumber_margin1, "toggled",
                    G_CALLBACK (on_show_line_numbers1_toggled),
                    NULL);
  g_signal_connect ((gpointer) menu_show_white_space1, "toggled",
                    G_CALLBACK (on_menu_show_white_space1_toggled),
                    NULL);
  g_signal_connect ((gpointer) menu_show_line_endings1, "toggled",
                    G_CALLBACK (on_menu_show_line_endings1_toggled),
                    NULL);
  g_signal_connect ((gpointer) menu_show_indentation_guides1, "toggled",
                    G_CALLBACK (on_menu_show_indentation_guides1_toggled),
                    NULL);
  g_signal_connect ((gpointer) menu_zoom_in1, "activate",
                    G_CALLBACK (on_zoom_in1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_zoom_out1, "activate",
                    G_CALLBACK (on_zoom_out1_activate),
                    NULL);
  g_signal_connect ((gpointer) normal_size1, "activate",
                    G_CALLBACK (on_normal_size1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_line_wrapping1, "toggled",
                    G_CALLBACK (on_line_wrapping1_toggled),
                    NULL);
  g_signal_connect ((gpointer) line_breaking1, "toggled",
                    G_CALLBACK (on_line_breaking1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_use_auto_indentation1, "toggled",
                    G_CALLBACK (on_use_auto_indentation1_toggled),
                    NULL);
  g_signal_connect ((gpointer) tabs1, "activate",
                    G_CALLBACK (on_tabs1_activate),
                    NULL);
  g_signal_connect ((gpointer) spaces1, "activate",
                    G_CALLBACK (on_spaces1_activate),
                    NULL);
  g_signal_connect ((gpointer) tabs_and_spaces1, "activate",
                    G_CALLBACK (on_tabs_and_spaces1_activate),
                    NULL);
  g_signal_connect ((gpointer) set_file_readonly1, "toggled",
                    G_CALLBACK (on_set_file_readonly1_toggled),
                    NULL);
  g_signal_connect ((gpointer) menu_write_unicode_bom1, "toggled",
                    G_CALLBACK (on_menu_write_unicode_bom1_toggled),
                    NULL);
  g_signal_connect ((gpointer) crlf, "activate",
                    G_CALLBACK (on_crlf_activate),
                    NULL);
  g_signal_connect ((gpointer) lf, "activate",
                    G_CALLBACK (on_lf_activate),
                    NULL);
  g_signal_connect ((gpointer) cr, "activate",
                    G_CALLBACK (on_cr_activate),
                    NULL);
  g_signal_connect ((gpointer) strip_trailing_spaces1, "activate",
                    G_CALLBACK (on_strip_trailing_spaces1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_replace_tabs, "activate",
                    G_CALLBACK (on_replace_tabs_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_replace_spaces, "activate",
                    G_CALLBACK (on_replace_spaces_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_fold_all1, "activate",
                    G_CALLBACK (on_menu_fold_all1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_unfold_all1, "activate",
                    G_CALLBACK (on_menu_unfold_all1_activate),
                    NULL);
  g_signal_connect ((gpointer) remove_markers1, "activate",
                    G_CALLBACK (on_remove_markers1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_remove_indicators1, "activate",
                    G_CALLBACK (on_menu_remove_indicators1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_project1, "activate",
                    G_CALLBACK (on_menu_project1_activate),
                    NULL);
  g_signal_connect ((gpointer) project_new1, "activate",
                    G_CALLBACK (on_project_new1_activate),
                    NULL);
  g_signal_connect ((gpointer) project_open1, "activate",
                    G_CALLBACK (on_project_open1_activate),
                    NULL);
  g_signal_connect ((gpointer) project_close1, "activate",
                    G_CALLBACK (on_project_close1_activate),
                    NULL);
  g_signal_connect ((gpointer) project_properties1, "activate",
                    G_CALLBACK (on_project_properties1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_choose_color1, "activate",
                    G_CALLBACK (on_show_color_chooser1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_count_words1, "activate",
                    G_CALLBACK (on_count_words1_activate),
                    NULL);
  g_signal_connect ((gpointer) load_tags1, "activate",
                    G_CALLBACK (on_load_tags1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_reload_configuration1, "activate",
                    G_CALLBACK (on_menu_reload_configuration1_activate),
                    NULL);
  g_signal_connect ((gpointer) help1, "activate",
                    G_CALLBACK (on_help1_activate),
                    NULL);
  g_signal_connect ((gpointer) website1, "activate",
                    G_CALLBACK (on_website1_activate),
                    NULL);
  g_signal_connect ((gpointer) keyboard_shortcuts1, "activate",
                    G_CALLBACK (on_help_shortcuts1_activate),
                    NULL);
  g_signal_connect ((gpointer) debug_messages1, "activate",
                    G_CALLBACK (on_debug_messages1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_info1, "activate",
                    G_CALLBACK (on_info1_activate),
                    NULL);
  g_signal_connect ((gpointer) notebook3, "switch_page",
                    G_CALLBACK (on_tv_notebook_switch_page),
                    NULL);
  g_signal_connect_after ((gpointer) notebook3, "switch_page",
                          G_CALLBACK (on_tv_notebook_switch_page_after),
                          NULL);
  g_signal_connect ((gpointer) notebook3, "key_press_event",
                    G_CALLBACK (on_escape_key_press_event),
                    NULL);
  g_signal_connect_after ((gpointer) notebook1, "switch_page",
                          G_CALLBACK (on_notebook1_switch_page_after),
                          NULL);

  atko = gtk_widget_get_accessible (window1);
  atk_object_set_name (atko, _("Geany"));


  /* 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, hbox_menubar, "hbox_menubar");
  GLADE_HOOKUP_OBJECT (window1, menubar1, "menubar1");
  GLADE_HOOKUP_OBJECT (window1, file1, "file1");
  GLADE_HOOKUP_OBJECT (window1, file1_menu, "file1_menu");
  GLADE_HOOKUP_OBJECT (window1, menu_new1, "menu_new1");
  GLADE_HOOKUP_OBJECT (window1, menu_new_with_template1, "menu_new_with_template1");
  GLADE_HOOKUP_OBJECT (window1, image2854, "image2854");
  GLADE_HOOKUP_OBJECT (window1, menu_new_with_template1_menu, "menu_new_with_template1_menu");
  GLADE_HOOKUP_OBJECT (window1, invisible2, "invisible2");
  GLADE_HOOKUP_OBJECT (window1, separator12, "separator12");
  GLADE_HOOKUP_OBJECT (window1, menu_open1, "menu_open1");
  GLADE_HOOKUP_OBJECT (window1, menu_open_selected_file1, "menu_open_selected_file1");
  GLADE_HOOKUP_OBJECT (window1, recent_files1, "recent_files1");
  GLADE_HOOKUP_OBJECT (window1, separator13, "separator13");
  GLADE_HOOKUP_OBJECT (window1, menu_save1, "menu_save1");
  GLADE_HOOKUP_OBJECT (window1, menu_save_as1, "menu_save_as1");
  GLADE_HOOKUP_OBJECT (window1, menu_save_all1, "menu_save_all1");
  GLADE_HOOKUP_OBJECT (window1, image2855, "image2855");
  GLADE_HOOKUP_OBJECT (window1, menu_reload1, "menu_reload1");
  GLADE_HOOKUP_OBJECT (window1, image2856, "image2856");
  GLADE_HOOKUP_OBJECT (window1, menu_reload_as1, "menu_reload_as1");
  GLADE_HOOKUP_OBJECT (window1, image2857, "image2857");
  GLADE_HOOKUP_OBJECT (window1, menu_reload_as1_menu, "menu_reload_as1_menu");
  GLADE_HOOKUP_OBJECT (window1, invisible7, "invisible7");
  GLADE_HOOKUP_OBJECT (window1, separator21, "separator21");
  GLADE_HOOKUP_OBJECT (window1, preferences2, "preferences2");
  GLADE_HOOKUP_OBJECT (window1, separator24, "separator24");
  GLADE_HOOKUP_OBJECT (window1, page_setup1, "page_setup1");
  GLADE_HOOKUP_OBJECT (window1, print1, "print1");
  GLADE_HOOKUP_OBJECT (window1, separator14, "separator14");
  GLADE_HOOKUP_OBJECT (window1, menu_close1, "menu_close1");
  GLADE_HOOKUP_OBJECT (window1, close_other_documents1, "close_other_documents1");
  GLADE_HOOKUP_OBJECT (window1, image2858, "image2858");
  GLADE_HOOKUP_OBJECT (window1, menu_close_all1, "menu_close_all1");
  GLADE_HOOKUP_OBJECT (window1, image2859, "image2859");
  GLADE_HOOKUP_OBJECT (window1, menu_separatormenuitem1, "menu_separatormenuitem1");
  GLADE_HOOKUP_OBJECT (window1, menu_quit1, "menu_quit1");
  GLADE_HOOKUP_OBJECT (window1, edit1, "edit1");
  GLADE_HOOKUP_OBJECT (window1, edit1_menu, "edit1_menu");
  GLADE_HOOKUP_OBJECT (window1, menu_undo2, "menu_undo2");
  GLADE_HOOKUP_OBJECT (window1, menu_redo2, "menu_redo2");
  GLADE_HOOKUP_OBJECT (window1, menu_seperator1, "menu_seperator1");
  GLADE_HOOKUP_OBJECT (window1, menu_cut1, "menu_cut1");
  GLADE_HOOKUP_OBJECT (window1, menu_copy1, "menu_copy1");
  GLADE_HOOKUP_OBJECT (window1, menu_paste1, "menu_paste1");
  GLADE_HOOKUP_OBJECT (window1, menu_delete1, "menu_delete1");
  GLADE_HOOKUP_OBJECT (window1, menu_seperator2, "menu_seperator2");
  GLADE_HOOKUP_OBJECT (window1, menu_select_all1, "menu_select_all1");
  GLADE_HOOKUP_OBJECT (window1, separator25, "separator25");
  GLADE_HOOKUP_OBJECT (window1, menu_format1, "menu_format1");
  GLADE_HOOKUP_OBJECT (window1, menu_format1_menu, "menu_format1_menu");
  GLADE_HOOKUP_OBJECT (window1, menu_toggle_case2, "menu_toggle_case2");
  GLADE_HOOKUP_OBJECT (window1, separator28, "separator28");
  GLADE_HOOKUP_OBJECT (window1, menu_comment_line1, "menu_comment_line1");
  GLADE_HOOKUP_OBJECT (window1, menu_uncomment_line1, "menu_uncomment_line1");
  GLADE_HOOKUP_OBJECT (window1, menu_toggle_line_commentation1, "menu_toggle_line_commentation1");
  GLADE_HOOKUP_OBJECT (window1, menu_duplicate_line1, "menu_duplicate_line1");
  GLADE_HOOKUP_OBJECT (window1, separator29, "separator29");
  GLADE_HOOKUP_OBJECT (window1, menu_increase_indent1, "menu_increase_indent1");
  GLADE_HOOKUP_OBJECT (window1, image2860, "image2860");
  GLADE_HOOKUP_OBJECT (window1, menu_decrease_indent1, "menu_decrease_indent1");
  GLADE_HOOKUP_OBJECT (window1, image2861, "image2861");
  GLADE_HOOKUP_OBJECT (window1, separator37, "separator37");
  GLADE_HOOKUP_OBJECT (window1, send_selection_to_vte1, "send_selection_to_vte1");
  GLADE_HOOKUP_OBJECT (window1, send_selection_to2, "send_selection_to2");
  GLADE_HOOKUP_OBJECT (window1, send_selection_to2_menu, "send_selection_to2_menu");
  GLADE_HOOKUP_OBJECT (window1, invisible13, "invisible13");
  GLADE_HOOKUP_OBJECT (window1, separator18, "separator18");
  GLADE_HOOKUP_OBJECT (window1, add_comments1, "add_comments1");
  GLADE_HOOKUP_OBJECT (window1, image2862, "image2862");
  GLADE_HOOKUP_OBJECT (window1, add_comments1_menu, "add_comments1_menu");
  GLADE_HOOKUP_OBJECT (window1, menu_add_changelog_entry1, "menu_add_changelog_entry1");
  GLADE_HOOKUP_OBJECT (window1, insert_file_header1, "insert_file_header1");
  GLADE_HOOKUP_OBJECT (window1, insert_function_description2, "insert_function_description2");
  GLADE_HOOKUP_OBJECT (window1, insert_multiline_comment2, "insert_multiline_comment2");
  GLADE_HOOKUP_OBJECT (window1, insert_gpl_notice2, "insert_gpl_notice2");
  GLADE_HOOKUP_OBJECT (window1, insert_bsd_license_notice2, "insert_bsd_license_notice2");
  GLADE_HOOKUP_OBJECT (window1, insert_date1, "insert_date1");
  GLADE_HOOKUP_OBJECT (window1, image2863, "image2863");
  GLADE_HOOKUP_OBJECT (window1, insert_date1_menu, "insert_date1_menu");
  GLADE_HOOKUP_OBJECT (window1, invisible8, "invisible8");
  GLADE_HOOKUP_OBJECT (window1, insert_include2, "insert_include2");
  GLADE_HOOKUP_OBJECT (window1, image2864, "image2864");
  GLADE_HOOKUP_OBJECT (window1, insert_include2_menu, "insert_include2_menu");
  GLADE_HOOKUP_OBJECT (window1, invisible4, "invisible4");
  GLADE_HOOKUP_OBJECT (window1, separator9, "separator9");
  GLADE_HOOKUP_OBJECT (window1, preferences1, "preferences1");
  GLADE_HOOKUP_OBJECT (window1, image2865, "image2865");
  GLADE_HOOKUP_OBJECT (window1, search1, "search1");
  GLADE_HOOKUP_OBJECT (window1, search1_menu, "search1_menu");
  GLADE_HOOKUP_OBJECT (window1, find1, "find1");
  GLADE_HOOKUP_OBJECT (window1, find_next1, "find_next1");
  GLADE_HOOKUP_OBJECT (window1, find_previous1, "find_previous1");
  GLADE_HOOKUP_OBJECT (window1, find_in_files1, "find_in_files1");
  GLADE_HOOKUP_OBJECT (window1, replace1, "replace1");
  GLADE_HOOKUP_OBJECT (window1, image2866, "image2866");
  GLADE_HOOKUP_OBJECT (window1, separator33, "separator33");
  GLADE_HOOKUP_OBJECT (window1, find_nextsel1, "find_nextsel1");
  GLADE_HOOKUP_OBJECT (window1, find_prevsel1, "find_prevsel1");
  GLADE_HOOKUP_OBJECT (window1, separator35, "separator35");
  GLADE_HOOKUP_OBJECT (window1, next_message1, "next_message1");
  GLADE_HOOKUP_OBJECT (window1, previous_message1, "previous_message1");
  GLADE_HOOKUP_OBJECT (window1, separator32, "separator32");
  GLADE_HOOKUP_OBJECT (window1, go_to_line1, "go_to_line1");
  GLADE_HOOKUP_OBJECT (window1, image2867, "image2867");
  GLADE_HOOKUP_OBJECT (window1, menu_view1, "menu_view1");
  GLADE_HOOKUP_OBJECT (window1, menu_view1_menu, "menu_view1_menu");
  GLADE_HOOKUP_OBJECT (window1, menu_change_font1, "menu_change_font1");
  GLADE_HOOKUP_OBJECT (window1, image2868, "image2868");
  GLADE_HOOKUP_OBJECT (window1, menu_separator4, "menu_separator4");
  GLADE_HOOKUP_OBJECT (window1, menu_toggle_all_additional_widgets1, "menu_toggle_all_additional_widgets1");
  GLADE_HOOKUP_OBJECT (window1, menu_fullscreen1, "menu_fullscreen1");
  GLADE_HOOKUP_OBJECT (window1, menu_show_messages_window1, "menu_show_messages_window1");
  GLADE_HOOKUP_OBJECT (window1, menu_show_toolbar1, "menu_show_toolbar1");
  GLADE_HOOKUP_OBJECT (window1, menu_show_sidebar1, "menu_show_sidebar1");
  GLADE_HOOKUP_OBJECT (window1, menu_view_editor1, "menu_view_editor1");
  GLADE_HOOKUP_OBJECT (window1, menu_view_editor1_menu, "menu_view_editor1_menu");
  GLADE_HOOKUP_OBJECT (window1, menu_markers_margin1, "menu_markers_margin1");
  GLADE_HOOKUP_OBJECT (window1, menu_linenumber_margin1, "menu_linenumber_margin1");
  GLADE_HOOKUP_OBJECT (window1, menu_show_white_space1, "menu_show_white_space1");
  GLADE_HOOKUP_OBJECT (window1, menu_show_line_endings1, "menu_show_line_endings1");
  GLADE_HOOKUP_OBJECT (window1, menu_show_indentation_guides1, "menu_show_indentation_guides1");
  GLADE_HOOKUP_OBJECT (window1, menu_separator5, "menu_separator5");
  GLADE_HOOKUP_OBJECT (window1, menu_zoom_in1, "menu_zoom_in1");
  GLADE_HOOKUP_OBJECT (window1, menu_zoom_out1, "menu_zoom_out1");
  GLADE_HOOKUP_OBJECT (window1, normal_size1, "normal_size1");
  GLADE_HOOKUP_OBJECT (window1, menu_document1, "menu_document1");
  GLADE_HOOKUP_OBJECT (window1, menu_document1_menu, "menu_document1_menu");
  GLADE_HOOKUP_OBJECT (window1, menu_line_wrapping1, "menu_line_wrapping1");
  GLADE_HOOKUP_OBJECT (window1, line_breaking1, "line_breaking1");
  GLADE_HOOKUP_OBJECT (window1, menu_use_auto_indentation1, "menu_use_auto_indentation1");
  GLADE_HOOKUP_OBJECT (window1, indent_type1, "indent_type1");
  GLADE_HOOKUP_OBJECT (window1, indent_type1_menu, "indent_type1_menu");
  GLADE_HOOKUP_OBJECT (window1, tabs1, "tabs1");
  GLADE_HOOKUP_OBJECT (window1, spaces1, "spaces1");
  GLADE_HOOKUP_OBJECT (window1, tabs_and_spaces1, "tabs_and_spaces1");
  GLADE_HOOKUP_OBJECT (window1, separator45, "separator45");
  GLADE_HOOKUP_OBJECT (window1, set_file_readonly1, "set_file_readonly1");
  GLADE_HOOKUP_OBJECT (window1, menu_write_unicode_bom1, "menu_write_unicode_bom1");
  GLADE_HOOKUP_OBJECT (window1, separator46, "separator46");
  GLADE_HOOKUP_OBJECT (window1, set_filetype1, "set_filetype1");
  GLADE_HOOKUP_OBJECT (window1, set_filetype1_menu, "set_filetype1_menu");
  GLADE_HOOKUP_OBJECT (window1, invisible1, "invisible1");
  GLADE_HOOKUP_OBJECT (window1, set_encoding1, "set_encoding1");
  GLADE_HOOKUP_OBJECT (window1, set_encoding1_menu, "set_encoding1_menu");
  GLADE_HOOKUP_OBJECT (window1, invisible6, "invisible6");
  GLADE_HOOKUP_OBJECT (window1, menu_line_endings1, "menu_line_endings1");
  GLADE_HOOKUP_OBJECT (window1, menu_line_endings1_menu, "menu_line_endings1_menu");
  GLADE_HOOKUP_OBJECT (window1, crlf, "crlf");
  GLADE_HOOKUP_OBJECT (window1, lf, "lf");
  GLADE_HOOKUP_OBJECT (window1, cr, "cr");
  GLADE_HOOKUP_OBJECT (window1, separator8, "separator8");
  GLADE_HOOKUP_OBJECT (window1, strip_trailing_spaces1, "strip_trailing_spaces1");
  GLADE_HOOKUP_OBJECT (window1, menu_replace_tabs, "menu_replace_tabs");
  GLADE_HOOKUP_OBJECT (window1, menu_replace_spaces, "menu_replace_spaces");
  GLADE_HOOKUP_OBJECT (window1, separator22, "separator22");
  GLADE_HOOKUP_OBJECT (window1, menu_fold_all1, "menu_fold_all1");
  GLADE_HOOKUP_OBJECT (window1, menu_unfold_all1, "menu_unfold_all1");
  GLADE_HOOKUP_OBJECT (window1, separator23, "separator23");
  GLADE_HOOKUP_OBJECT (window1, remove_markers1, "remove_markers1");
  GLADE_HOOKUP_OBJECT (window1, menu_remove_indicators1, "menu_remove_indicators1");
  GLADE_HOOKUP_OBJECT (window1, menu_project1, "menu_project1");
  GLADE_HOOKUP_OBJECT (window1, menu_project1_menu, "menu_project1_menu");
  GLADE_HOOKUP_OBJECT (window1, project_new1, "project_new1");
  GLADE_HOOKUP_OBJECT (window1, image2869, "image2869");
  GLADE_HOOKUP_OBJECT (window1, project_open1, "project_open1");
  GLADE_HOOKUP_OBJECT (window1, image2870, "image2870");
  GLADE_HOOKUP_OBJECT (window1, recent_projects1, "recent_projects1");
  GLADE_HOOKUP_OBJECT (window1, project_close1, "project_close1");
  GLADE_HOOKUP_OBJECT (window1, image2871, "image2871");
  GLADE_HOOKUP_OBJECT (window1, separator34, "separator34");
  GLADE_HOOKUP_OBJECT (window1, project_properties1, "project_properties1");
  GLADE_HOOKUP_OBJECT (window1, menu_build1, "menu_build1");
  GLADE_HOOKUP_OBJECT (window1, tools1, "tools1");
  GLADE_HOOKUP_OBJECT (window1, tools1_menu, "tools1_menu");
  GLADE_HOOKUP_OBJECT (window1, menu_choose_color1, "menu_choose_color1");
  GLADE_HOOKUP_OBJECT (window1, image2872, "image2872");
  GLADE_HOOKUP_OBJECT (window1, menu_count_words1, "menu_count_words1");
  GLADE_HOOKUP_OBJECT (window1, load_tags1, "load_tags1");
  GLADE_HOOKUP_OBJECT (window1, menu_reload_configuration1, "menu_reload_configuration1");
  GLADE_HOOKUP_OBJECT (window1, image2873, "image2873");
  GLADE_HOOKUP_OBJECT (window1, menu_help1, "menu_help1");
  GLADE_HOOKUP_OBJECT (window1, menu_help1_menu, "menu_help1_menu");
  GLADE_HOOKUP_OBJECT (window1, help1, "help1");
  GLADE_HOOKUP_OBJECT (window1, image2874, "image2874");
  GLADE_HOOKUP_OBJECT (window1, website1, "website1");
  GLADE_HOOKUP_OBJECT (window1, keyboard_shortcuts1, "keyboard_shortcuts1");
  GLADE_HOOKUP_OBJECT (window1, debug_messages1, "debug_messages1");
  GLADE_HOOKUP_OBJECT (window1, separator16, "separator16");
  GLADE_HOOKUP_OBJECT (window1, menu_info1, "menu_info1");
  GLADE_HOOKUP_OBJECT (window1, vpaned1, "vpaned1");
  GLADE_HOOKUP_OBJECT (window1, hpaned1, "hpaned1");
  GLADE_HOOKUP_OBJECT (window1, notebook3, "notebook3");
  GLADE_HOOKUP_OBJECT (window1, scrolledwindow2, "scrolledwindow2");
  GLADE_HOOKUP_OBJECT (window1, treeview2, "treeview2");
  GLADE_HOOKUP_OBJECT (window1, label135, "label135");
  GLADE_HOOKUP_OBJECT (window1, scrolledwindow7, "scrolledwindow7");
  GLADE_HOOKUP_OBJECT (window1, treeview6, "treeview6");
  GLADE_HOOKUP_OBJECT (window1, label136, "label136");
  GLADE_HOOKUP_OBJECT (window1, notebook1, "notebook1");
  GLADE_HOOKUP_OBJECT (window1, scrolledwindow1, "scrolledwindow1");
  GLADE_HOOKUP_OBJECT (window1, viewport1, "viewport1");
  GLADE_HOOKUP_OBJECT (window1, notebook_info, "notebook_info");
  GLADE_HOOKUP_OBJECT (window1, scrolledwindow4, "scrolledwindow4");
  GLADE_HOOKUP_OBJECT (window1, treeview3, "treeview3");
  GLADE_HOOKUP_OBJECT (window1, notebook_info_label_status, "notebook_info_label_status");
  GLADE_HOOKUP_OBJECT (window1, scrolledwindow3, "scrolledwindow3");
  GLADE_HOOKUP_OBJECT (window1, treeview5, "treeview5");
  GLADE_HOOKUP_OBJECT (window1, notebook_info_label_compiler, "notebook_info_label_compiler");
  GLADE_HOOKUP_OBJECT (window1, scrolledwindow5, "scrolledwindow5");
  GLADE_HOOKUP_OBJECT (window1, treeview4, "treeview4");
  GLADE_HOOKUP_OBJECT (window1, notebook_info_label_msg, "notebook_info_label_msg");
  GLADE_HOOKUP_OBJECT (window1, scrolledwindow6, "scrolledwindow6");
  GLADE_HOOKUP_OBJECT (window1, textview_scribble, "textview_scribble");
  GLADE_HOOKUP_OBJECT (window1, notebook_info_label_scribble, "notebook_info_label_scribble");
  GLADE_HOOKUP_OBJECT (window1, hbox1, "hbox1");
  GLADE_HOOKUP_OBJECT (window1, statusbar, "statusbar");
  GLADE_HOOKUP_OBJECT_NO_REF (window1, tooltips, "tooltips");

  gtk_window_add_accel_group (GTK_WINDOW (window1), accel_group);

  return window1;
}

GtkWidget*
create_toolbar_popup_menu1 (void)
{
  GtkWidget *toolbar_popup_menu1;
  GSList *images_and_text2_group = NULL;
  GtkWidget *images_and_text2;
  GtkWidget *images_only2;
  GtkWidget *text_only2;
  GtkWidget *separator1;
  GSList *large_icons1_group = NULL;
  GtkWidget *large_icons1;
  GtkWidget *small_icons1;
  GtkWidget *very_small_icons1;
  GtkWidget *separator20;
  GtkWidget *customize_toolbar1;
  GtkWidget *image2878;
  GtkWidget *hide_toolbar1;
  GtkWidget *image2879;

  toolbar_popup_menu1 = gtk_menu_new ();

  images_and_text2 = gtk_radio_menu_item_new_with_mnemonic (images_and_text2_group, _("Images _and Text"));
  images_and_text2_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (images_and_text2));
  gtk_widget_show (images_and_text2);
  gtk_container_add (GTK_CONTAINER (toolbar_popup_menu1), images_and_text2);

  images_only2 = gtk_radio_menu_item_new_with_mnemonic (images_and_text2_group, _("_Images Only"));
  images_and_text2_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (images_only2));
  gtk_widget_show (images_only2);
  gtk_container_add (GTK_CONTAINER (toolbar_popup_menu1), images_only2);

  text_only2 = gtk_radio_menu_item_new_with_mnemonic (images_and_text2_group, _("_Text Only"));
  images_and_text2_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (text_only2));
  gtk_widget_show (text_only2);
  gtk_container_add (GTK_CONTAINER (toolbar_popup_menu1), text_only2);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (text_only2), TRUE);

  separator1 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator1);
  gtk_container_add (GTK_CONTAINER (toolbar_popup_menu1), separator1);
  gtk_widget_set_sensitive (separator1, FALSE);

  large_icons1 = gtk_radio_menu_item_new_with_mnemonic (large_icons1_group, _("_Large Icons"));
  large_icons1_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (large_icons1));
  gtk_widget_show (large_icons1);
  gtk_container_add (GTK_CONTAINER (toolbar_popup_menu1), large_icons1);

  small_icons1 = gtk_radio_menu_item_new_with_mnemonic (large_icons1_group, _("_Small Icons"));
  large_icons1_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (small_icons1));
  gtk_widget_show (small_icons1);
  gtk_container_add (GTK_CONTAINER (toolbar_popup_menu1), small_icons1);

  very_small_icons1 = gtk_radio_menu_item_new_with_mnemonic (large_icons1_group, _("_Very Small Icons"));
  large_icons1_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (very_small_icons1));
  gtk_widget_show (very_small_icons1);
  gtk_container_add (GTK_CONTAINER (toolbar_popup_menu1), very_small_icons1);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (very_small_icons1), TRUE);

  separator20 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator20);
  gtk_container_add (GTK_CONTAINER (toolbar_popup_menu1), separator20);
  gtk_widget_set_sensitive (separator20, FALSE);

  customize_toolbar1 = gtk_image_menu_item_new_with_mnemonic (_("_Customize Toolbar"));
  gtk_widget_show (customize_toolbar1);
  gtk_container_add (GTK_CONTAINER (toolbar_popup_menu1), customize_toolbar1);

  image2878 = gtk_image_new_from_stock ("gtk-properties", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2878);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (customize_toolbar1), image2878);

  hide_toolbar1 = gtk_image_menu_item_new_with_mnemonic (_("_Hide Toolbar"));
  gtk_widget_show (hide_toolbar1);
  gtk_container_add (GTK_CONTAINER (toolbar_popup_menu1), hide_toolbar1);

  image2879 = gtk_image_new_from_stock ("gtk-cancel", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2879);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (hide_toolbar1), image2879);

  g_signal_connect ((gpointer) images_and_text2, "activate",
                    G_CALLBACK (on_images_and_text2_activate),
                    NULL);
  g_signal_connect ((gpointer) images_only2, "activate",
                    G_CALLBACK (on_images_only2_activate),
                    NULL);
  g_signal_connect ((gpointer) text_only2, "activate",
                    G_CALLBACK (on_text_only2_activate),
                    NULL);
  g_signal_connect ((gpointer) large_icons1, "activate",
                    G_CALLBACK (on_toolbar_large_icons1_activate),
                    NULL);
  g_signal_connect ((gpointer) small_icons1, "activate",
                    G_CALLBACK (on_toolbar_small_icons1_activate),
                    NULL);
  g_signal_connect ((gpointer) very_small_icons1, "activate",
                    G_CALLBACK (on_very_small_icons1_activate),
                    NULL);
  g_signal_connect ((gpointer) customize_toolbar1, "activate",
                    G_CALLBACK (on_customize_toolbar1_activate),
                    NULL);
  g_signal_connect ((gpointer) hide_toolbar1, "activate",
                    G_CALLBACK (on_hide_toolbar1_activate),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (toolbar_popup_menu1, toolbar_popup_menu1, "toolbar_popup_menu1");
  GLADE_HOOKUP_OBJECT (toolbar_popup_menu1, images_and_text2, "images_and_text2");
  GLADE_HOOKUP_OBJECT (toolbar_popup_menu1, images_only2, "images_only2");
  GLADE_HOOKUP_OBJECT (toolbar_popup_menu1, text_only2, "text_only2");
  GLADE_HOOKUP_OBJECT (toolbar_popup_menu1, separator1, "separator1");
  GLADE_HOOKUP_OBJECT (toolbar_popup_menu1, large_icons1, "large_icons1");
  GLADE_HOOKUP_OBJECT (toolbar_popup_menu1, small_icons1, "small_icons1");
  GLADE_HOOKUP_OBJECT (toolbar_popup_menu1, very_small_icons1, "very_small_icons1");
  GLADE_HOOKUP_OBJECT (toolbar_popup_menu1, separator20, "separator20");
  GLADE_HOOKUP_OBJECT (toolbar_popup_menu1, customize_toolbar1, "customize_toolbar1");
  GLADE_HOOKUP_OBJECT (toolbar_popup_menu1, image2878, "image2878");
  GLADE_HOOKUP_OBJECT (toolbar_popup_menu1, hide_toolbar1, "hide_toolbar1");
  GLADE_HOOKUP_OBJECT (toolbar_popup_menu1, image2879, "image2879");

  return toolbar_popup_menu1;
}

GtkWidget*
create_edit_menu1 (void)
{
  GtkWidget *edit_menu1;
  GtkWidget *undo1;
  GtkWidget *redo1;
  GtkWidget *separator2;
  GtkWidget *cut1;
  GtkWidget *copy1;
  GtkWidget *paste1;
  GtkWidget *delete1;
  GtkWidget *separator3;
  GtkWidget *menu_select_all2;
  GtkWidget *separator26;
  GtkWidget *menu_open_selected_file2;
  GtkWidget *separator36;
  GtkWidget *menu_format2;
  GtkWidget *menu_format2_menu;
  GtkWidget *toggle_case1;
  GtkWidget *separator30;
  GtkWidget *menu_comment_line2;
  GtkWidget *menu_uncomment_line2;
  GtkWidget *menu_toggle_line_commentation2;
  GtkWidget *menu_duplicate_line2;
  GtkWidget *separator31;
  GtkWidget *menu_increase_indent2;
  GtkWidget *image2823;
  GtkWidget *menu_decrease_indent2;
  GtkWidget *image2824;
  GtkWidget *separator38;
  GtkWidget *send_selection_to_vte2;
  GtkWidget *send_selection_to1;
  GtkWidget *send_selection_to1_menu;
  GtkWidget *invisible12;
  GtkWidget *separator17;
  GtkWidget *comments;
  GtkWidget *image2825;
  GtkWidget *comments_menu;
  GtkWidget *add_changelog_entry2;
  GtkWidget *insert_file_header2;
  GtkWidget *insert_function_description1;
  GtkWidget *insert_multiline_comment1;
  GtkWidget *insert_gpl_notice1;
  GtkWidget *insert_bsd_license_notice1;
  GtkWidget *insert_date2;
  GtkWidget *image2826;
  GtkWidget *insert_date2_menu;
  GtkWidget *invisible10;
  GtkWidget *insert_include1;
  GtkWidget *image2827;
  GtkWidget *insert_include1_menu;
  GtkWidget *invisible3;
  GtkWidget *separator7;
  GtkWidget *find_usage1;
  GtkWidget *image2828;
  GtkWidget *find_document_usage1;
  GtkWidget *image2829;
  GtkWidget *goto_tag_definition1;
  GtkWidget *goto_tag_declaration1;
  GtkWidget *context_action1;
  GtkWidget *separator15;
  GtkWidget *go_to_line;
  GtkWidget *image2830;
  GtkAccelGroup *accel_group;

  accel_group = gtk_accel_group_new ();

  edit_menu1 = gtk_menu_new ();

  undo1 = gtk_image_menu_item_new_from_stock ("gtk-undo", accel_group);
  gtk_widget_show (undo1);
  gtk_container_add (GTK_CONTAINER (edit_menu1), undo1);

  redo1 = gtk_image_menu_item_new_from_stock ("gtk-redo", accel_group);
  gtk_widget_show (redo1);
  gtk_container_add (GTK_CONTAINER (edit_menu1), redo1);

  separator2 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator2);
  gtk_container_add (GTK_CONTAINER (edit_menu1), separator2);
  gtk_widget_set_sensitive (separator2, FALSE);

  cut1 = gtk_image_menu_item_new_from_stock ("gtk-cut", accel_group);
  gtk_widget_show (cut1);
  gtk_container_add (GTK_CONTAINER (edit_menu1), cut1);

  copy1 = gtk_image_menu_item_new_from_stock ("gtk-copy", accel_group);
  gtk_widget_show (copy1);
  gtk_container_add (GTK_CONTAINER (edit_menu1), copy1);

  paste1 = gtk_image_menu_item_new_from_stock ("gtk-paste", accel_group);
  gtk_widget_show (paste1);
  gtk_container_add (GTK_CONTAINER (edit_menu1), paste1);

  delete1 = gtk_image_menu_item_new_from_stock ("gtk-delete", accel_group);
  gtk_widget_show (delete1);
  gtk_container_add (GTK_CONTAINER (edit_menu1), delete1);

  separator3 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator3);
  gtk_container_add (GTK_CONTAINER (edit_menu1), separator3);
  gtk_widget_set_sensitive (separator3, FALSE);

  menu_select_all2 = gtk_image_menu_item_new_from_stock ("gtk-select-all", accel_group);
  gtk_widget_show (menu_select_all2);
  gtk_container_add (GTK_CONTAINER (edit_menu1), menu_select_all2);

  separator26 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator26);
  gtk_container_add (GTK_CONTAINER (edit_menu1), separator26);
  gtk_widget_set_sensitive (separator26, FALSE);

  menu_open_selected_file2 = gtk_menu_item_new_with_mnemonic (_("Open Selected F_ile"));
  gtk_widget_show (menu_open_selected_file2);
  gtk_container_add (GTK_CONTAINER (edit_menu1), menu_open_selected_file2);

  separator36 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator36);
  gtk_container_add (GTK_CONTAINER (edit_menu1), separator36);
  gtk_widget_set_sensitive (separator36, FALSE);

  menu_format2 = gtk_menu_item_new_with_mnemonic (_("_Format"));
  gtk_widget_show (menu_format2);
  gtk_container_add (GTK_CONTAINER (edit_menu1), menu_format2);

  menu_format2_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_format2), menu_format2_menu);

  toggle_case1 = gtk_menu_item_new_with_mnemonic (_("T_oggle Case of Selection"));
  gtk_widget_show (toggle_case1);
  gtk_container_add (GTK_CONTAINER (menu_format2_menu), toggle_case1);

  separator30 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator30);
  gtk_container_add (GTK_CONTAINER (menu_format2_menu), separator30);
  gtk_widget_set_sensitive (separator30, FALSE);

  menu_comment_line2 = gtk_menu_item_new_with_mnemonic (_("_Comment Line(s)"));
  gtk_widget_show (menu_comment_line2);
  gtk_container_add (GTK_CONTAINER (menu_format2_menu), menu_comment_line2);

  menu_uncomment_line2 = gtk_menu_item_new_with_mnemonic (_("U_ncomment Line(s)"));
  gtk_widget_show (menu_uncomment_line2);
  gtk_container_add (GTK_CONTAINER (menu_format2_menu), menu_uncomment_line2);

  menu_toggle_line_commentation2 = gtk_menu_item_new_with_mnemonic (_("_Toggle Line Commentation"));
  gtk_widget_show (menu_toggle_line_commentation2);
  gtk_container_add (GTK_CONTAINER (menu_format2_menu), menu_toggle_line_commentation2);

  menu_duplicate_line2 = gtk_menu_item_new_with_mnemonic (_("Du_plicate Line or Selection"));
  gtk_widget_show (menu_duplicate_line2);
  gtk_container_add (GTK_CONTAINER (menu_format2_menu), menu_duplicate_line2);

  separator31 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator31);
  gtk_container_add (GTK_CONTAINER (menu_format2_menu), separator31);
  gtk_widget_set_sensitive (separator31, FALSE);

  menu_increase_indent2 = gtk_image_menu_item_new_with_mnemonic (_("_Increase Indent"));
  gtk_widget_show (menu_increase_indent2);
  gtk_container_add (GTK_CONTAINER (menu_format2_menu), menu_increase_indent2);

  image2823 = gtk_image_new_from_stock ("gtk-indent", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2823);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_increase_indent2), image2823);

  menu_decrease_indent2 = gtk_image_menu_item_new_with_mnemonic (_("_Decrease Indent"));
  gtk_widget_show (menu_decrease_indent2);
  gtk_container_add (GTK_CONTAINER (menu_format2_menu), menu_decrease_indent2);

  image2824 = gtk_image_new_from_stock ("gtk-unindent", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2824);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_decrease_indent2), image2824);

  separator38 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator38);
  gtk_container_add (GTK_CONTAINER (menu_format2_menu), separator38);
  gtk_widget_set_sensitive (separator38, FALSE);

  send_selection_to_vte2 = gtk_menu_item_new_with_mnemonic (_("_Send Selection to Terminal"));
  gtk_widget_show (send_selection_to_vte2);
  gtk_container_add (GTK_CONTAINER (menu_format2_menu), send_selection_to_vte2);

  send_selection_to1 = gtk_menu_item_new_with_mnemonic (_("_Send Selection to"));
  gtk_widget_show (send_selection_to1);
  gtk_container_add (GTK_CONTAINER (menu_format2_menu), send_selection_to1);

  send_selection_to1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (send_selection_to1), send_selection_to1_menu);

  invisible12 = gtk_menu_item_new_with_mnemonic (_("invisible"));
  gtk_container_add (GTK_CONTAINER (send_selection_to1_menu), invisible12);

  separator17 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator17);
  gtk_container_add (GTK_CONTAINER (edit_menu1), separator17);
  gtk_widget_set_sensitive (separator17, FALSE);

  comments = gtk_image_menu_item_new_with_mnemonic (_("I_nsert Comments"));
  gtk_widget_show (comments);
  gtk_container_add (GTK_CONTAINER (edit_menu1), comments);

  image2825 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2825);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (comments), image2825);

  comments_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (comments), comments_menu);

  add_changelog_entry2 = gtk_menu_item_new_with_mnemonic (_("Insert _ChangeLog Entry"));
  gtk_widget_show (add_changelog_entry2);
  gtk_container_add (GTK_CONTAINER (comments_menu), add_changelog_entry2);

  insert_file_header2 = gtk_menu_item_new_with_mnemonic (_("Insert File _Header"));
  gtk_widget_show (insert_file_header2);
  gtk_container_add (GTK_CONTAINER (comments_menu), insert_file_header2);

  insert_function_description1 = gtk_menu_item_new_with_mnemonic (_("Insert _Function Description"));
  gtk_widget_show (insert_function_description1);
  gtk_container_add (GTK_CONTAINER (comments_menu), insert_function_description1);

  insert_multiline_comment1 = gtk_menu_item_new_with_mnemonic (_("Insert _Multiline Comment"));
  gtk_widget_show (insert_multiline_comment1);
  gtk_container_add (GTK_CONTAINER (comments_menu), insert_multiline_comment1);

  insert_gpl_notice1 = gtk_menu_item_new_with_mnemonic (_("Insert _GPL Notice"));
  gtk_widget_show (insert_gpl_notice1);
  gtk_container_add (GTK_CONTAINER (comments_menu), insert_gpl_notice1);

  insert_bsd_license_notice1 = gtk_menu_item_new_with_mnemonic (_("Insert _BSD License Notice"));
  gtk_widget_show (insert_bsd_license_notice1);
  gtk_container_add (GTK_CONTAINER (comments_menu), insert_bsd_license_notice1);

  insert_date2 = gtk_image_menu_item_new_with_mnemonic (_("Insert Dat_e"));
  gtk_widget_show (insert_date2);
  gtk_container_add (GTK_CONTAINER (edit_menu1), insert_date2);

  image2826 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2826);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (insert_date2), image2826);

  insert_date2_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (insert_date2), insert_date2_menu);

  invisible10 = gtk_menu_item_new_with_mnemonic (_("invisible"));
  gtk_container_add (GTK_CONTAINER (insert_date2_menu), invisible10);

  insert_include1 = gtk_image_menu_item_new_with_mnemonic (_("_Insert \"include <...>\""));
  gtk_widget_show (insert_include1);
  gtk_container_add (GTK_CONTAINER (edit_menu1), insert_include1);

  image2827 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2827);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (insert_include1), image2827);

  insert_include1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (insert_include1), insert_include1_menu);

  invisible3 = gtk_menu_item_new_with_mnemonic (_("invisible"));
  gtk_container_add (GTK_CONTAINER (insert_include1_menu), invisible3);

  separator7 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator7);
  gtk_container_add (GTK_CONTAINER (edit_menu1), separator7);
  gtk_widget_set_sensitive (separator7, FALSE);

  find_usage1 = gtk_image_menu_item_new_with_mnemonic (_("Find _Usage"));
  gtk_widget_show (find_usage1);
  gtk_container_add (GTK_CONTAINER (edit_menu1), find_usage1);

  image2828 = gtk_image_new_from_stock ("gtk-find", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2828);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (find_usage1), image2828);

  find_document_usage1 = gtk_image_menu_item_new_with_mnemonic (_("Find _Document Usage"));
  gtk_widget_show (find_document_usage1);
  gtk_container_add (GTK_CONTAINER (edit_menu1), find_document_usage1);

  image2829 = gtk_image_new_from_stock ("gtk-find", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2829);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (find_document_usage1), image2829);

  goto_tag_definition1 = gtk_menu_item_new_with_mnemonic (_("Go to _Tag Definition"));
  gtk_widget_show (goto_tag_definition1);
  gtk_container_add (GTK_CONTAINER (edit_menu1), goto_tag_definition1);

  goto_tag_declaration1 = gtk_menu_item_new_with_mnemonic (_("Go to T_ag Declaration"));
  gtk_widget_show (goto_tag_declaration1);
  gtk_container_add (GTK_CONTAINER (edit_menu1), goto_tag_declaration1);

  context_action1 = gtk_menu_item_new_with_mnemonic (_("Conte_xt Action"));
  gtk_widget_show (context_action1);
  gtk_container_add (GTK_CONTAINER (edit_menu1), context_action1);

  separator15 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator15);
  gtk_container_add (GTK_CONTAINER (edit_menu1), separator15);
  gtk_widget_set_sensitive (separator15, FALSE);

  go_to_line = gtk_image_menu_item_new_with_mnemonic (_("_Go to Line"));
  gtk_widget_show (go_to_line);
  gtk_container_add (GTK_CONTAINER (edit_menu1), go_to_line);

  image2830 = gtk_image_new_from_stock ("gtk-jump-to", GTK_ICON_SIZE_MENU);
  gtk_widget_show (image2830);
  gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (go_to_line), image2830);

  g_signal_connect ((gpointer) undo1, "activate",
                    G_CALLBACK (on_undo1_activate),
                    NULL);
  g_signal_connect ((gpointer) redo1, "activate",
                    G_CALLBACK (on_redo1_activate),
                    NULL);
  g_signal_connect ((gpointer) cut1, "activate",
                    G_CALLBACK (on_cut1_activate),
                    NULL);
  g_signal_connect ((gpointer) copy1, "activate",
                    G_CALLBACK (on_copy1_activate),
                    NULL);
  g_signal_connect ((gpointer) paste1, "activate",
                    G_CALLBACK (on_paste1_activate),
                    NULL);
  g_signal_connect ((gpointer) delete1, "activate",
                    G_CALLBACK (on_delete1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_select_all2, "activate",
                    G_CALLBACK (on_menu_select_all1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_open_selected_file2, "activate",
                    G_CALLBACK (on_menu_open_selected_file1_activate),
                    NULL);
  g_signal_connect ((gpointer) toggle_case1, "activate",
                    G_CALLBACK (on_toggle_case1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_comment_line2, "activate",
                    G_CALLBACK (on_menu_comment_line1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_uncomment_line2, "activate",
                    G_CALLBACK (on_menu_uncomment_line1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_toggle_line_commentation2, "activate",
                    G_CALLBACK (on_menu_toggle_line_commentation1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_duplicate_line2, "activate",
                    G_CALLBACK (on_menu_duplicate_line1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_increase_indent2, "activate",
                    G_CALLBACK (on_menu_increase_indent1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_decrease_indent2, "activate",
                    G_CALLBACK (on_menu_decrease_indent1_activate),
                    NULL);
  g_signal_connect ((gpointer) send_selection_to_vte2, "activate",
                    G_CALLBACK (on_send_selection_to_vte1_activate),
                    NULL);
  g_signal_connect ((gpointer) add_changelog_entry2, "activate",
                    G_CALLBACK (on_comments_changelog_activate),
                    NULL);
  g_signal_connect ((gpointer) insert_file_header2, "activate",
                    G_CALLBACK (on_comments_fileheader_activate),
                    NULL);
  g_signal_connect ((gpointer) insert_function_description1, "activate",
                    G_CALLBACK (on_comments_function_activate),
                    NULL);
  g_signal_connect ((gpointer) insert_multiline_comment1, "activate",
                    G_CALLBACK (on_comments_multiline_activate),
                    NULL);
  g_signal_connect ((gpointer) insert_gpl_notice1, "activate",
                    G_CALLBACK (on_comments_gpl_activate),
                    NULL);
  g_signal_connect ((gpointer) insert_bsd_license_notice1, "activate",
                    G_CALLBACK (on_comments_bsd_activate),
                    NULL);
  g_signal_connect ((gpointer) find_usage1, "activate",
                    G_CALLBACK (on_find_usage1_activate),
                    NULL);
  g_signal_connect ((gpointer) find_document_usage1, "activate",
                    G_CALLBACK (on_find_document_usage1_activate),
                    NULL);
  g_signal_connect ((gpointer) goto_tag_definition1, "activate",
                    G_CALLBACK (on_goto_tag_activate),
                    NULL);
  g_signal_connect ((gpointer) goto_tag_declaration1, "activate",
                    G_CALLBACK (on_goto_tag_activate),
                    NULL);
  g_signal_connect ((gpointer) context_action1, "activate",
                    G_CALLBACK (on_context_action1_activate),
                    NULL);
  g_signal_connect ((gpointer) go_to_line, "activate",
                    G_CALLBACK (on_go_to_line_activate),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (edit_menu1, edit_menu1, "edit_menu1");
  GLADE_HOOKUP_OBJECT (edit_menu1, undo1, "undo1");
  GLADE_HOOKUP_OBJECT (edit_menu1, redo1, "redo1");
  GLADE_HOOKUP_OBJECT (edit_menu1, separator2, "separator2");
  GLADE_HOOKUP_OBJECT (edit_menu1, cut1, "cut1");
  GLADE_HOOKUP_OBJECT (edit_menu1, copy1, "copy1");
  GLADE_HOOKUP_OBJECT (edit_menu1, paste1, "paste1");
  GLADE_HOOKUP_OBJECT (edit_menu1, delete1, "delete1");
  GLADE_HOOKUP_OBJECT (edit_menu1, separator3, "separator3");
  GLADE_HOOKUP_OBJECT (edit_menu1, menu_select_all2, "menu_select_all2");
  GLADE_HOOKUP_OBJECT (edit_menu1, separator26, "separator26");
  GLADE_HOOKUP_OBJECT (edit_menu1, menu_open_selected_file2, "menu_open_selected_file2");
  GLADE_HOOKUP_OBJECT (edit_menu1, separator36, "separator36");
  GLADE_HOOKUP_OBJECT (edit_menu1, menu_format2, "menu_format2");
  GLADE_HOOKUP_OBJECT (edit_menu1, menu_format2_menu, "menu_format2_menu");
  GLADE_HOOKUP_OBJECT (edit_menu1, toggle_case1, "toggle_case1");
  GLADE_HOOKUP_OBJECT (edit_menu1, separator30, "separator30");
  GLADE_HOOKUP_OBJECT (edit_menu1, menu_comment_line2, "menu_comment_line2");
  GLADE_HOOKUP_OBJECT (edit_menu1, menu_uncomment_line2, "menu_uncomment_line2");
  GLADE_HOOKUP_OBJECT (edit_menu1, menu_toggle_line_commentation2, "menu_toggle_line_commentation2");
  GLADE_HOOKUP_OBJECT (edit_menu1, menu_duplicate_line2, "menu_duplicate_line2");
  GLADE_HOOKUP_OBJECT (edit_menu1, separator31, "separator31");
  GLADE_HOOKUP_OBJECT (edit_menu1, menu_increase_indent2, "menu_increase_indent2");
  GLADE_HOOKUP_OBJECT (edit_menu1, image2823, "image2823");
  GLADE_HOOKUP_OBJECT (edit_menu1, menu_decrease_indent2, "menu_decrease_indent2");
  GLADE_HOOKUP_OBJECT (edit_menu1, image2824, "image2824");
  GLADE_HOOKUP_OBJECT (edit_menu1, separator38, "separator38");
  GLADE_HOOKUP_OBJECT (edit_menu1, send_selection_to_vte2, "send_selection_to_vte2");
  GLADE_HOOKUP_OBJECT (edit_menu1, send_selection_to1, "send_selection_to1");
  GLADE_HOOKUP_OBJECT (edit_menu1, send_selection_to1_menu, "send_selection_to1_menu");
  GLADE_HOOKUP_OBJECT (edit_menu1, invisible12, "invisible12");
  GLADE_HOOKUP_OBJECT (edit_menu1, separator17, "separator17");
  GLADE_HOOKUP_OBJECT (edit_menu1, comments, "comments");
  GLADE_HOOKUP_OBJECT (edit_menu1, image2825, "image2825");
  GLADE_HOOKUP_OBJECT (edit_menu1, comments_menu, "comments_menu");
  GLADE_HOOKUP_OBJECT (edit_menu1, add_changelog_entry2, "add_changelog_entry2");
  GLADE_HOOKUP_OBJECT (edit_menu1, insert_file_header2, "insert_file_header2");
  GLADE_HOOKUP_OBJECT (edit_menu1, insert_function_description1, "insert_function_description1");
  GLADE_HOOKUP_OBJECT (edit_menu1, insert_multiline_comment1, "insert_multiline_comment1");
  GLADE_HOOKUP_OBJECT (edit_menu1, insert_gpl_notice1, "insert_gpl_notice1");
  GLADE_HOOKUP_OBJECT (edit_menu1, insert_bsd_license_notice1, "insert_bsd_license_notice1");
  GLADE_HOOKUP_OBJECT (edit_menu1, insert_date2, "insert_date2");
  GLADE_HOOKUP_OBJECT (edit_menu1, image2826, "image2826");
  GLADE_HOOKUP_OBJECT (edit_menu1, insert_date2_menu, "insert_date2_menu");
  GLADE_HOOKUP_OBJECT (edit_menu1, invisible10, "invisible10");
  GLADE_HOOKUP_OBJECT (edit_menu1, insert_include1, "insert_include1");
  GLADE_HOOKUP_OBJECT (edit_menu1, image2827, "image2827");
  GLADE_HOOKUP_OBJECT (edit_menu1, insert_include1_menu, "insert_include1_menu");
  GLADE_HOOKUP_OBJECT (edit_menu1, invisible3, "invisible3");
  GLADE_HOOKUP_OBJECT (edit_menu1, separator7, "separator7");
  GLADE_HOOKUP_OBJECT (edit_menu1, find_usage1, "find_usage1");
  GLADE_HOOKUP_OBJECT (edit_menu1, image2828, "image2828");
  GLADE_HOOKUP_OBJECT (edit_menu1, find_document_usage1, "find_document_usage1");
  GLADE_HOOKUP_OBJECT (edit_menu1, image2829, "image2829");
  GLADE_HOOKUP_OBJECT (edit_menu1, goto_tag_definition1, "goto_tag_definition1");
  GLADE_HOOKUP_OBJECT (edit_menu1, goto_tag_declaration1, "goto_tag_declaration1");
  GLADE_HOOKUP_OBJECT (edit_menu1, context_action1, "context_action1");
  GLADE_HOOKUP_OBJECT (edit_menu1, separator15, "separator15");
  GLADE_HOOKUP_OBJECT (edit_menu1, go_to_line, "go_to_line");
  GLADE_HOOKUP_OBJECT (edit_menu1, image2830, "image2830");

  gtk_menu_set_accel_group (GTK_MENU (edit_menu1), accel_group);

  return edit_menu1;
}

GtkWidget*
create_prefs_dialog (void)
{
  GtkWidget *prefs_dialog;
  GtkWidget *dialog_vbox3;
  GtkWidget *notebook2;
  GtkWidget *notebook5;
  GtkWidget *vbox20;
  GtkWidget *frame10;
  GtkWidget *alignment13;
  GtkWidget *vbox4;
  GtkWidget *check_load_session;
  GtkWidget *check_vte;
  GtkWidget *check_plugins;
  GtkWidget *label162;
  GtkWidget *frame34;
  GtkWidget *alignment37;
  GtkWidget *vbox34;
  GtkWidget *check_save_win_pos;
  GtkWidget *check_ask_for_quit;
  GtkWidget *label206;
  GtkWidget *frame25;
  GtkWidget *alignment28;
  GtkWidget *table11;
  GtkWidget *label191;
  GtkWidget *startup_path_entry;
  GtkWidget *startup_path_button;
  GtkWidget *image1741;
  GtkWidget *label192;
  GtkWidget *project_file_path_entry;
  GtkWidget *project_file_path_button;
  GtkWidget *image1775;
  GtkWidget *label235;
  GtkWidget *extra_plugin_path_entry;
  GtkWidget *extra_plugin_path_button;
  GtkWidget *image2852;
  GtkWidget *label190;
  GtkWidget *label233;
  GtkWidget *vbox41;
  GtkWidget *frame19;
  GtkWidget *alignment22;
  GtkWidget *vbox21;
  GtkWidget *check_beep;
  GtkWidget *check_switch_pages;
  GtkWidget *check_suppress_status_msgs;
  GtkWidget *check_auto_focus;
  GtkWidget *label199;
  GtkWidget *frame36;
  GtkWidget *alignment39;
  GtkWidget *vbox36;
  GtkWidget *check_ask_suppress_search_dialogs;
  GtkWidget *check_search_use_current_word;
  GtkWidget *check_fif_current_dir;
  GtkWidget *label215;
  GtkWidget *frame35;
  GtkWidget *alignment38;
  GtkWidget *vbox35;
  GtkWidget *check_project_session;
  GtkWidget *check_project_file_in_basedir;
  GtkWidget *label207;
  GtkWidget *label234;
  GtkWidget *label94;
  GtkWidget *vbox14;
  GtkWidget *frame7;
  GtkWidget *alignment9;
  GtkWidget *vbox11;
  GtkWidget *check_list_symbol;
  GtkWidget *check_list_openfiles;
  GtkWidget *label146;
  GtkWidget *frame4;
  GtkWidget *alignment5;
  GtkWidget *table2;
  GtkWidget *label100;
  GtkWidget *label101;
  GtkWidget *label103;
  GtkWidget *msgwin_font;
  GtkWidget *tagbar_font;
  GtkWidget *editor_font;
  GtkWidget *label99;
  GtkWidget *frame29;
  GtkWidget *alignment32;
  GtkWidget *vbox26;
  GtkWidget *check_show_notebook_tabs;
  GtkWidget *check_show_tab_cross;
  GtkWidget *hbox7;
  GtkWidget *label150;
  GtkWidget *radio_tab_left;
  GSList *radio_tab_left_group = NULL;
  GtkWidget *radio_tab_right;
  GtkWidget *check_double_click_hides_widgets;
  GtkWidget *label197;
  GtkWidget *frame9;
  GtkWidget *alignment12;
  GtkWidget *table8;
  GtkWidget *label160;
  GtkWidget *combo_tab_msgwin;
  GtkWidget *label161;
  GtkWidget *combo_tab_sidebar;
  GtkWidget *label159;
  GtkWidget *combo_tab_editor;
  GtkWidget *label158;
  GtkWidget *frame23;
  GtkWidget *alignment26;
  GtkWidget *vbox22;
  GtkWidget *check_statusbar_visible;
  GtkWidget *label187;
  GtkWidget *label157;
  GtkWidget *vbox15;
  GtkWidget *frame28;
  GtkWidget *alignment31;
  GtkWidget *vbox42;
  GtkWidget *check_toolbar_show;
  GtkWidget *check_toolbar_in_menu;
  GtkWidget *label196;
  GtkWidget *frame13;
  GtkWidget *alignment16;
  GtkWidget *table9;
  GtkWidget *label169;
  GtkWidget *label170;
  GtkWidget *radio_toolbar_imagetext;
  GSList *radio_toolbar_imagetext_group = NULL;
  GtkWidget *radio_toolbar_small;
  GSList *radio_toolbar_small_group = NULL;
  GtkWidget *radio_toolbar_large;
  GtkWidget *radio_toolbar_text;
  GtkWidget *radio_toolbar_image;
  GtkWidget *radio_toolbar_verysmall;
  GtkWidget *label167;
  GtkWidget *hbox15;
  GtkWidget *button_customize_toolbar;
  GtkWidget *alignment45;
  GtkWidget *hbox16;
  GtkWidget *image2877;
  GtkWidget *label236;
  GtkWidget *label164;
  GtkWidget *notebook4;
  GtkWidget *vbox5;
  GtkWidget *frame14;
  GtkWidget *alignment17;
  GtkWidget *vbox17;
  GtkWidget *check_line_wrapping;
  GtkWidget *check_smart_home;
  GtkWidget *check_disable_dnd;
  GtkWidget *check_folding;
  GtkWidget *check_unfold_children;
  GtkWidget *check_indicators;
  GtkWidget *check_newline_strip;
  GtkWidget *hbox11;
  GtkWidget *label209;
  GtkObject *spin_line_break_adj;
  GtkWidget *spin_line_break;
  GtkWidget *hbox12;
  GtkWidget *label220;
  GtkWidget *entry_toggle_mark;
  GtkWidget *label172;
  GtkWidget *label211;
  GtkWidget *vbox40;
  GtkWidget *label_project_indent_warning;
  GtkWidget *frame27;
  GtkWidget *alignment30;
  GtkWidget *vbox25;
  GtkWidget *table13;
  GtkWidget *label183;
  GtkWidget *combo_auto_indent_mode;
  GtkWidget *label200;
  GtkWidget *label222;
  GtkObject *spin_indent_width_adj;
  GtkWidget *spin_indent_width;
  GtkWidget *radio_indent_spaces;
  GSList *radio_indent_spaces_group = NULL;
  GtkWidget *radio_indent_tabs;
  GtkWidget *radio_indent_both;
  GtkWidget *alignment41;
  GtkWidget *hbox13;
  GtkWidget *label221;
  GtkObject *spin_tab_width_adj;
  GtkWidget *spin_tab_width;
  GtkWidget *check_detect_indent;
  GtkWidget *check_tab_key_indents;
  GtkWidget *label195;
  GtkWidget *label232;
  GtkWidget *vbox39;
  GtkWidget *frame18;
  GtkWidget *alignment21;
  GtkWidget *vbox19;
  GtkWidget *check_complete_snippets;
  GtkWidget *check_xmltag;
  GtkWidget *check_auto_multiline;
  GtkWidget *check_symbol_auto_completion;
  GtkWidget *check_autocomplete_doc_words;
  GtkWidget *check_completion_drops_rest_of_word;
  GtkWidget *table14;
  GtkWidget *label223;
  GtkWidget *label173;
  GtkWidget *label205;
  GtkObject *spin_symbol_complete_chars_adj;
  GtkWidget *spin_symbol_complete_chars;
  GtkObject *spin_symbollistheight_adj;
  GtkWidget *spin_symbollistheight;
  GtkObject *spin_autocompletion_max_entries_adj;
  GtkWidget *spin_autocompletion_max_entries;
  GtkWidget *label177;
  GtkWidget *frame38;
  GtkWidget *alignment42;
  GtkWidget *table16;
  GtkWidget *check_autoclose_parenthesis;
  GtkWidget *check_autoclose_squote;
  GtkWidget *check_autoclose_cbracket;
  GtkWidget *check_autoclose_sbracket;
  GtkWidget *check_autoclose_dquote;
  GtkWidget *label225;
  GtkWidget *label226;
  GtkWidget *vbox24;
  GtkWidget *frame5;
  GtkWidget *alignment6;
  GtkWidget *vbox12;
  GtkWidget *check_highlighting_invert;
  GtkWidget *check_indent;
  GtkWidget *check_white_space;
  GtkWidget *check_line_end;
  GtkWidget *check_line_numbers;
  GtkWidget *check_markers_margin;
  GtkWidget *check_scroll_stop_at_last_line;
  GtkWidget *label102;
  GtkWidget *frame8;
  GtkWidget *alignment11;
  GtkWidget *table7;
  GtkWidget *label133;
  GtkWidget *label134;
  GtkWidget *label156;
  GtkWidget *long_line_color;
  GtkObject *spin_long_line_adj;
  GtkWidget *spin_long_line;
  GtkWidget *hbox5;
  GtkWidget *radio_long_line_line;
  GSList *radio_long_line_line_group = NULL;
  GtkWidget *radio_long_line_background;
  GtkWidget *radio_long_line_disabled;
  GtkWidget *label155;
  GtkWidget *label213;
  GtkWidget *label95;
  GtkWidget *vbox18;
  GtkWidget *frame6;
  GtkWidget *alignment7;
  GtkWidget *vbox8;
  GtkWidget *vbox38;
  GtkWidget *check_cmdline_new_files;
  GtkWidget *table15;
  GtkWidget *combo_eol;
  GtkWidget *label210;
  GtkWidget *label109;
  GtkWidget *frame37;
  GtkWidget *alignment40;
  GtkWidget *table5;
  GtkWidget *eventbox1;
  GtkWidget *combo_new_encoding;
  GtkWidget *label153;
  GtkWidget *label_open_encoding;
  GtkWidget *eventbox3;
  GtkWidget *combo_open_encoding;
  GtkWidget *check_open_encoding;
  GtkWidget *label219;
  GtkWidget *frame2;
  GtkWidget *alignment3;
  GtkWidget *vbox6;
  GtkWidget *check_new_line;
  GtkWidget *check_trailing_spaces;
  GtkWidget *check_replace_tabs;
  GtkWidget *label19;
  GtkWidget *frame17;
  GtkWidget *alignment20;
  GtkWidget *vbox37;
  GtkWidget *table10;
  GtkWidget *label147;
  GtkObject *spin_mru_adj;
  GtkWidget *spin_mru;
  GtkWidget *label208;
  GtkObject *spin_disk_check_adj;
  GtkWidget *spin_disk_check;
  GtkWidget *label198;
  GtkWidget *label174;
  GtkWidget *vbox23;
  GtkWidget *frame20;
  GtkWidget *alignment23;
  GtkWidget *vbox2;
  GtkWidget *vbox33;
  GtkWidget *table1;
  GtkWidget *label11;
  GtkWidget *label97;
  GtkWidget *label117;
  GtkWidget *entry_com_make;
  GtkWidget *entry_com_term;
  GtkWidget *entry_browser;
  GtkWidget *button_make;
  GtkWidget *image285;
  GtkWidget *button_term;
  GtkWidget *image286;
  GtkWidget *button_browser;
  GtkWidget *image287;
  GtkWidget *label171;
  GtkWidget *entry_grep;
  GtkWidget *button_grep;
  GtkWidget *image808;
  GtkWidget *label179;
  GtkWidget *frame26;
  GtkWidget *alignment29;
  GtkWidget *table12;
  GtkWidget *label189;
  GtkWidget *entry_contextaction;
  GtkWidget *button_contextaction;
  GtkWidget *image1919;
  GtkWidget *label193;
  GtkWidget *label96;
  GtkWidget *frame21;
  GtkWidget *alignment24;
  GtkWidget *vbox9;
  GtkWidget *vbox31;
  GtkWidget *table6;
  GtkWidget *entry_template_mail;
  GtkWidget *entry_template_initial;
  GtkWidget *label126;
  GtkWidget *entry_template_version;
  GtkWidget *entry_template_company;
  GtkWidget *label129;
  GtkWidget *label123;
  GtkWidget *label130;
  GtkWidget *label131;
  GtkWidget *entry_template_developer;
  GtkWidget *label216;
  GtkWidget *label217;
  GtkWidget *label218;
  GtkWidget *entry_template_datetime;
  GtkWidget *entry_template_year;
  GtkWidget *entry_template_date;
  GtkWidget *label180;
  GtkWidget *label119;
  GtkWidget *frame22;
  GtkWidget *alignment25;
  GtkWidget *vbox13;
  GtkWidget *vbox32;
  GtkWidget *scrolledwindow8;
  GtkWidget *treeview7;
  GtkWidget *alignment10;
  GtkWidget *button2;
  GtkWidget *label181;
  GtkWidget *label151;
  GtkWidget *vbox27;
  GtkWidget *frame32;
  GtkWidget *alignment35;
  GtkWidget *hbox9;
  GtkWidget *label202;
  GtkWidget *entry_print_external_cmd;
  GtkWidget *button_print_external_cmd;
  GtkWidget *image763;
  GtkWidget *radio_print_external;
  GSList *radio_print_external_group = NULL;
  GtkWidget *frame31;
  GtkWidget *alignment34;
  GtkWidget *vbox29;
  GtkWidget *check_print_linenumbers;
  GtkWidget *check_print_pagenumbers;
  GtkWidget *check_print_pageheader;
  GtkWidget *frame33;
  GtkWidget *alignment36;
  GtkWidget *vbox30;
  GtkWidget *check_print_basename;
  GtkWidget *hbox10;
  GtkWidget *label203;
  GtkWidget *entry_print_dateformat;
  GtkWidget *radio_print_gtk;
  GtkWidget *label201;
  GtkWidget *dialog_action_area3;
  GtkWidget *button3;
  GtkWidget *button4;
  GtkWidget *button5;
  GtkTooltips *tooltips;

  tooltips = gtk_tooltips_new ();

  prefs_dialog = gtk_dialog_new ();
  gtk_window_set_title (GTK_WINDOW (prefs_dialog), _("Preferences"));
  gtk_window_set_modal (GTK_WINDOW (prefs_dialog), TRUE);
  gtk_window_set_skip_pager_hint (GTK_WINDOW (prefs_dialog), TRUE);
  gtk_window_set_type_hint (GTK_WINDOW (prefs_dialog), GDK_WINDOW_TYPE_HINT_DIALOG);

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

  notebook2 = gtk_notebook_new ();
  gtk_widget_show (notebook2);
  gtk_box_pack_start (GTK_BOX (dialog_vbox3), notebook2, TRUE, TRUE, 6);
  gtk_notebook_set_tab_pos (GTK_NOTEBOOK (notebook2), GTK_POS_LEFT);

  notebook5 = gtk_notebook_new ();
  gtk_widget_show (notebook5);
  gtk_container_add (GTK_CONTAINER (notebook2), notebook5);

  vbox20 = gtk_vbox_new (FALSE, 10);
  gtk_widget_show (vbox20);
  gtk_container_add (GTK_CONTAINER (notebook5), vbox20);
  gtk_container_set_border_width (GTK_CONTAINER (vbox20), 5);

  frame10 = gtk_frame_new (NULL);
  gtk_widget_show (frame10);
  gtk_box_pack_start (GTK_BOX (vbox20), frame10, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame10), GTK_SHADOW_NONE);

  alignment13 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment13);
  gtk_container_add (GTK_CONTAINER (frame10), alignment13);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment13), 0, 0, 12, 0);

  vbox4 = gtk_vbox_new (FALSE, 2);
  gtk_widget_show (vbox4);
  gtk_container_add (GTK_CONTAINER (alignment13), vbox4);

  check_load_session = gtk_check_button_new_with_mnemonic (_("Load files from the last session"));
  gtk_widget_show (check_load_session);
  gtk_box_pack_start (GTK_BOX (vbox4), check_load_session, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_load_session, _("Opens at startup the files from the last session"), NULL);

  check_vte = gtk_check_button_new_with_mnemonic (_("Load virtual terminal support"));
  gtk_box_pack_start (GTK_BOX (vbox4), check_vte, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_vte, _("Whether the virtual terminal emulation (VTE) should be loaded at startup, disable it if you do not need it"), NULL);

  check_plugins = gtk_check_button_new_with_mnemonic (_("Enable plugin support"));
  gtk_widget_show (check_plugins);
  gtk_box_pack_start (GTK_BOX (vbox4), check_plugins, FALSE, FALSE, 0);

  label162 = gtk_label_new (_("<b>Startup</b>"));
  gtk_widget_show (label162);
  gtk_frame_set_label_widget (GTK_FRAME (frame10), label162);
  gtk_label_set_use_markup (GTK_LABEL (label162), TRUE);

  frame34 = gtk_frame_new (NULL);
  gtk_widget_show (frame34);
  gtk_box_pack_start (GTK_BOX (vbox20), frame34, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame34), GTK_SHADOW_NONE);

  alignment37 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment37);
  gtk_container_add (GTK_CONTAINER (frame34), alignment37);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment37), 0, 0, 12, 0);

  vbox34 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox34);
  gtk_container_add (GTK_CONTAINER (alignment37), vbox34);

  check_save_win_pos = gtk_check_button_new_with_mnemonic (_("Save window position and geometry"));
  gtk_widget_show (check_save_win_pos);
  gtk_box_pack_start (GTK_BOX (vbox34), check_save_win_pos, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_save_win_pos, _("Saves the window position and geometry and restores it at the start"), NULL);

  check_ask_for_quit = gtk_check_button_new_with_mnemonic (_("Confirm exit"));
  gtk_widget_show (check_ask_for_quit);
  gtk_box_pack_start (GTK_BOX (vbox34), check_ask_for_quit, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_ask_for_quit, _("Shows a confirmation dialog on exit"), NULL);

  label206 = gtk_label_new (_("<b>Shutdown</b>"));
  gtk_widget_show (label206);
  gtk_frame_set_label_widget (GTK_FRAME (frame34), label206);
  gtk_label_set_use_markup (GTK_LABEL (label206), TRUE);

  frame25 = gtk_frame_new (NULL);
  gtk_widget_show (frame25);
  gtk_box_pack_start (GTK_BOX (vbox20), frame25, TRUE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame25), GTK_SHADOW_NONE);

  alignment28 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment28);
  gtk_container_add (GTK_CONTAINER (frame25), alignment28);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment28), 0, 0, 12, 0);

  table11 = gtk_table_new (3, 3, FALSE);
  gtk_widget_show (table11);
  gtk_container_add (GTK_CONTAINER (alignment28), table11);
  gtk_table_set_row_spacings (GTK_TABLE (table11), 3);
  gtk_table_set_col_spacings (GTK_TABLE (table11), 6);

  label191 = gtk_label_new (_("Startup path:"));
  gtk_widget_show (label191);
  gtk_table_attach (GTK_TABLE (table11), label191, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label191), 0, 0.5);

  startup_path_entry = gtk_entry_new ();
  gtk_widget_show (startup_path_entry);
  gtk_table_attach (GTK_TABLE (table11), startup_path_entry, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, startup_path_entry, _("Path to start in when opening or saving files. Must be an absolute path. Leave blank to use the current working directory."), NULL);
  gtk_entry_set_invisible_char (GTK_ENTRY (startup_path_entry), 8226);

  startup_path_button = gtk_button_new ();
  gtk_widget_show (startup_path_button);
  gtk_table_attach (GTK_TABLE (table11), startup_path_button, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  image1741 = gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image1741);
  gtk_container_add (GTK_CONTAINER (startup_path_button), image1741);

  label192 = gtk_label_new (_("Project files:"));
  gtk_widget_show (label192);
  gtk_table_attach (GTK_TABLE (table11), label192, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label192), 0, 0.5);

  project_file_path_entry = gtk_entry_new ();
  gtk_widget_show (project_file_path_entry);
  gtk_table_attach (GTK_TABLE (table11), project_file_path_entry, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, project_file_path_entry, _("Path to start in when opening project files"), NULL);
  gtk_entry_set_invisible_char (GTK_ENTRY (project_file_path_entry), 8226);

  project_file_path_button = gtk_button_new ();
  gtk_widget_show (project_file_path_button);
  gtk_table_attach (GTK_TABLE (table11), project_file_path_button, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  image1775 = gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image1775);
  gtk_container_add (GTK_CONTAINER (project_file_path_button), image1775);

  label235 = gtk_label_new (_("Extra plugin path:"));
  gtk_widget_show (label235);
  gtk_table_attach (GTK_TABLE (table11), label235, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label235), 0, 0.5);

  extra_plugin_path_entry = gtk_entry_new ();
  gtk_widget_show (extra_plugin_path_entry);
  gtk_table_attach (GTK_TABLE (table11), extra_plugin_path_entry, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, extra_plugin_path_entry, _("Geany looks by default in the global installation path and in the configuration directory. The path entered here will be searched additionally for plugins. Leave blank to disable."), NULL);
  gtk_entry_set_invisible_char (GTK_ENTRY (extra_plugin_path_entry), 8226);

  extra_plugin_path_button = gtk_button_new ();
  gtk_widget_show (extra_plugin_path_button);
  gtk_table_attach (GTK_TABLE (table11), extra_plugin_path_button, 2, 3, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  image2852 = gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image2852);
  gtk_container_add (GTK_CONTAINER (extra_plugin_path_button), image2852);

  label190 = gtk_label_new (_("<b>Paths</b>"));
  gtk_widget_show (label190);
  gtk_frame_set_label_widget (GTK_FRAME (frame25), label190);
  gtk_label_set_use_markup (GTK_LABEL (label190), TRUE);

  label233 = gtk_label_new (_("Startup"));
  gtk_widget_show (label233);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook5), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook5), 0), label233);

  vbox41 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox41);
  gtk_container_add (GTK_CONTAINER (notebook5), vbox41);

  frame19 = gtk_frame_new (NULL);
  gtk_widget_show (frame19);
  gtk_box_pack_start (GTK_BOX (vbox41), frame19, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame19), GTK_SHADOW_NONE);

  alignment22 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment22);
  gtk_container_add (GTK_CONTAINER (frame19), alignment22);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment22), 0, 0, 12, 0);

  vbox21 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox21);
  gtk_container_add (GTK_CONTAINER (alignment22), vbox21);

  check_beep = gtk_check_button_new_with_mnemonic (_("Beep on errors or when compilation has finished"));
  gtk_widget_show (check_beep);
  gtk_box_pack_start (GTK_BOX (vbox21), check_beep, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_beep, _("Whether to beep if an error occurred or when the compilation process has finished"), NULL);

  check_switch_pages = gtk_check_button_new_with_mnemonic (_("Switch to status message list at new message"));
  gtk_widget_show (check_switch_pages);
  gtk_box_pack_start (GTK_BOX (vbox21), check_switch_pages, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_switch_pages, _("Switch to the status message tab (in the notebook window at the bottom) if a new status message arrives"), NULL);

  check_suppress_status_msgs = gtk_check_button_new_with_mnemonic (_("Suppress status messages in the status bar"));
  gtk_widget_show (check_suppress_status_msgs);
  gtk_box_pack_start (GTK_BOX (vbox21), check_suppress_status_msgs, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_suppress_status_msgs, _("Removes all messages from the status bar. The messages are still displayed in the status messages window."), NULL);

  check_auto_focus = gtk_check_button_new_with_mnemonic (_("Auto focus widgets (focus follows mouse)"));
  gtk_widget_show (check_auto_focus);
  gtk_box_pack_start (GTK_BOX (vbox21), check_auto_focus, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_auto_focus, _("Gives the focus automatically to widgets below the mouse cursor. Works for the main editor widget, the scribble, the toolbar search and goto line fields and the VTE."), NULL);

  label199 = gtk_label_new (_("<b>Miscellaneous</b>"));
  gtk_widget_show (label199);
  gtk_frame_set_label_widget (GTK_FRAME (frame19), label199);
  gtk_label_set_use_markup (GTK_LABEL (label199), TRUE);

  frame36 = gtk_frame_new (NULL);
  gtk_widget_show (frame36);
  gtk_box_pack_start (GTK_BOX (vbox41), frame36, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame36), 5);
  gtk_frame_set_shadow_type (GTK_FRAME (frame36), GTK_SHADOW_NONE);

  alignment39 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment39);
  gtk_container_add (GTK_CONTAINER (frame36), alignment39);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment39), 0, 0, 12, 0);

  vbox36 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox36);
  gtk_container_add (GTK_CONTAINER (alignment39), vbox36);

  check_ask_suppress_search_dialogs = gtk_check_button_new_with_mnemonic (_("Always wrap search and hide the Find dialog"));
  gtk_widget_show (check_ask_suppress_search_dialogs);
  gtk_box_pack_start (GTK_BOX (vbox36), check_ask_suppress_search_dialogs, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_ask_suppress_search_dialogs, _("Always wrap search around the document and hide the Find dialog after clicking Find Next/Previous"), NULL);

  check_search_use_current_word = gtk_check_button_new_with_mnemonic (_("Use the current word under the cursor for Find dialogs"));
  gtk_widget_show (check_search_use_current_word);
  gtk_box_pack_start (GTK_BOX (vbox36), check_search_use_current_word, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_search_use_current_word, _("Use current word under the cursor when opening the Find, Find in Files or Replace dialog and there is no selection"), NULL);

  check_fif_current_dir = gtk_check_button_new_with_mnemonic (_("Use the current file's directory for Find in Files"));
  gtk_widget_show (check_fif_current_dir);
  gtk_box_pack_start (GTK_BOX (vbox36), check_fif_current_dir, FALSE, FALSE, 0);

  label215 = gtk_label_new (_("<b>Search</b>"));
  gtk_widget_show (label215);
  gtk_frame_set_label_widget (GTK_FRAME (frame36), label215);
  gtk_label_set_use_markup (GTK_LABEL (label215), TRUE);

  frame35 = gtk_frame_new (NULL);
  gtk_widget_show (frame35);
  gtk_box_pack_start (GTK_BOX (vbox41), frame35, TRUE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame35), GTK_SHADOW_NONE);

  alignment38 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment38);
  gtk_container_add (GTK_CONTAINER (frame35), alignment38);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment38), 0, 0, 12, 0);

  vbox35 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox35);
  gtk_container_add (GTK_CONTAINER (alignment38), vbox35);

  check_project_session = gtk_check_button_new_with_mnemonic (_("Use project-based session files"));
  gtk_widget_show (check_project_session);
  gtk_box_pack_start (GTK_BOX (vbox35), check_project_session, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_project_session, _("Whether to store a project's session files and open them when re-opening the project"), NULL);

  check_project_file_in_basedir = gtk_check_button_new_with_mnemonic (_("Store project file inside the project base directory"));
  gtk_widget_show (check_project_file_in_basedir);
  gtk_box_pack_start (GTK_BOX (vbox35), check_project_file_in_basedir, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_project_file_in_basedir, _("When enabled, a project file is stored by default inside the project base directory when creating new projects instead of one directory above the base directory. You can still change the path of the project file in the New Project dialog."), NULL);

  label207 = gtk_label_new (_("<b>Projects</b>"));
  gtk_widget_show (label207);
  gtk_frame_set_label_widget (GTK_FRAME (frame35), label207);
  gtk_label_set_use_markup (GTK_LABEL (label207), TRUE);

  label234 = gtk_label_new (_("Miscellaneous"));
  gtk_widget_show (label234);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook5), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook5), 1), label234);

  label94 = gtk_label_new (_("General"));
  gtk_widget_show (label94);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook2), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook2), 0), label94);

  vbox14 = gtk_vbox_new (FALSE, 10);
  gtk_widget_show (vbox14);
  gtk_container_add (GTK_CONTAINER (notebook2), vbox14);
  gtk_container_set_border_width (GTK_CONTAINER (vbox14), 5);

  frame7 = gtk_frame_new (NULL);
  gtk_widget_show (frame7);
  gtk_box_pack_start (GTK_BOX (vbox14), frame7, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame7), GTK_SHADOW_NONE);

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

  vbox11 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox11);
  gtk_container_add (GTK_CONTAINER (alignment9), vbox11);

  check_list_symbol = gtk_check_button_new_with_mnemonic (_("Show symbol list"));
  gtk_widget_show (check_list_symbol);
  gtk_box_pack_start (GTK_BOX (vbox11), check_list_symbol, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_list_symbol, _("Toggle the symbol list on and off"), NULL);

  check_list_openfiles = gtk_check_button_new_with_mnemonic (_("Show documents list"));
  gtk_widget_show (check_list_openfiles);
  gtk_box_pack_start (GTK_BOX (vbox11), check_list_openfiles, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_list_openfiles, _("Toggle the documents list on and off"), NULL);

  label146 = gtk_label_new (_("<b>Sidebar</b>"));
  gtk_widget_show (label146);
  gtk_frame_set_label_widget (GTK_FRAME (frame7), label146);
  gtk_label_set_use_markup (GTK_LABEL (label146), TRUE);

  frame4 = gtk_frame_new (NULL);
  gtk_widget_show (frame4);
  gtk_box_pack_start (GTK_BOX (vbox14), frame4, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame4), GTK_SHADOW_NONE);

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

  table2 = gtk_table_new (3, 2, FALSE);
  gtk_widget_show (table2);
  gtk_container_add (GTK_CONTAINER (alignment5), table2);
  gtk_table_set_row_spacings (GTK_TABLE (table2), 3);
  gtk_table_set_col_spacings (GTK_TABLE (table2), 24);

  label100 = gtk_label_new (_("Symbol list:"));
  gtk_widget_show (label100);
  gtk_table_attach (GTK_TABLE (table2), label100, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label100), 0, 0.5);

  label101 = gtk_label_new (_("Message window:"));
  gtk_widget_show (label101);
  gtk_table_attach (GTK_TABLE (table2), label101, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label101), 0, 0.5);

  label103 = gtk_label_new (_("Editor:"));
  gtk_widget_show (label103);
  gtk_table_attach (GTK_TABLE (table2), label103, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label103), 0, 0.5);

  msgwin_font = gtk_font_button_new ();
  gtk_widget_show (msgwin_font);
  gtk_table_attach (GTK_TABLE (table2), msgwin_font, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, msgwin_font, _("Sets the font for the message window"), NULL);
  gtk_font_button_set_show_style (GTK_FONT_BUTTON (msgwin_font), FALSE);

  tagbar_font = gtk_font_button_new ();
  gtk_widget_show (tagbar_font);
  gtk_table_attach (GTK_TABLE (table2), tagbar_font, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, tagbar_font, _("Sets the font for the symbol list"), NULL);
  gtk_font_button_set_show_style (GTK_FONT_BUTTON (tagbar_font), FALSE);

  editor_font = gtk_font_button_new ();
  gtk_widget_show (editor_font);
  gtk_table_attach (GTK_TABLE (table2), editor_font, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, editor_font, _("Sets the editor font"), NULL);

  label99 = gtk_label_new (_("<b>Fonts</b>"));
  gtk_widget_show (label99);
  gtk_frame_set_label_widget (GTK_FRAME (frame4), label99);
  gtk_label_set_use_markup (GTK_LABEL (label99), TRUE);

  frame29 = gtk_frame_new (NULL);
  gtk_widget_show (frame29);
  gtk_box_pack_start (GTK_BOX (vbox14), frame29, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame29), GTK_SHADOW_NONE);

  alignment32 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment32);
  gtk_container_add (GTK_CONTAINER (frame29), alignment32);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment32), 0, 0, 12, 0);

  vbox26 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox26);
  gtk_container_add (GTK_CONTAINER (alignment32), vbox26);

  check_show_notebook_tabs = gtk_check_button_new_with_mnemonic (_("Show editor tabs"));
  gtk_widget_show (check_show_notebook_tabs);
  gtk_box_pack_start (GTK_BOX (vbox26), check_show_notebook_tabs, FALSE, FALSE, 0);

  check_show_tab_cross = gtk_check_button_new_with_mnemonic (_("Show close buttons"));
  gtk_widget_show (check_show_tab_cross);
  gtk_box_pack_start (GTK_BOX (vbox26), check_show_tab_cross, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_show_tab_cross, _("Shows a small cross button in the file tabs to easily close files when clicking on it (requires restart of Geany)"), NULL);

  hbox7 = gtk_hbox_new (FALSE, 12);
  gtk_widget_show (hbox7);
  gtk_box_pack_start (GTK_BOX (vbox26), hbox7, FALSE, TRUE, 0);

  label150 = gtk_label_new (_("Placement of new file tabs:"));
  gtk_widget_show (label150);
  gtk_box_pack_start (GTK_BOX (hbox7), label150, FALSE, FALSE, 0);
  gtk_misc_set_alignment (GTK_MISC (label150), 0, 0.5);

  radio_tab_left = gtk_radio_button_new_with_mnemonic (NULL, _("Left"));
  gtk_widget_show (radio_tab_left);
  gtk_box_pack_start (GTK_BOX (hbox7), radio_tab_left, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, radio_tab_left, _("File tabs will be placed on the left of the notebook"), NULL);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_tab_left), radio_tab_left_group);
  radio_tab_left_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_tab_left));
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radio_tab_left), TRUE);

  radio_tab_right = gtk_radio_button_new_with_mnemonic (NULL, _("Right"));
  gtk_widget_show (radio_tab_right);
  gtk_box_pack_start (GTK_BOX (hbox7), radio_tab_right, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, radio_tab_right, _("File tabs will be placed on the right of the notebook"), NULL);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_tab_right), radio_tab_left_group);
  radio_tab_left_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_tab_right));

  check_double_click_hides_widgets = gtk_check_button_new_with_mnemonic (_("Double-clicking hides all additional widgets"));
  gtk_widget_show (check_double_click_hides_widgets);
  gtk_box_pack_start (GTK_BOX (vbox26), check_double_click_hides_widgets, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_double_click_hides_widgets, _("Calls the View->Toggle All Additional Widgets command"), NULL);

  label197 = gtk_label_new (_("<b>Editor tabs</b>"));
  gtk_widget_show (label197);
  gtk_frame_set_label_widget (GTK_FRAME (frame29), label197);
  gtk_label_set_use_markup (GTK_LABEL (label197), TRUE);

  frame9 = gtk_frame_new (NULL);
  gtk_widget_show (frame9);
  gtk_box_pack_start (GTK_BOX (vbox14), frame9, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame9), GTK_SHADOW_NONE);

  alignment12 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment12);
  gtk_container_add (GTK_CONTAINER (frame9), alignment12);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment12), 0, 0, 12, 0);

  table8 = gtk_table_new (3, 2, FALSE);
  gtk_widget_show (table8);
  gtk_container_add (GTK_CONTAINER (alignment12), table8);
  gtk_table_set_row_spacings (GTK_TABLE (table8), 3);
  gtk_table_set_col_spacings (GTK_TABLE (table8), 24);

  label160 = gtk_label_new (_("Message window:"));
  gtk_widget_show (label160);
  gtk_table_attach (GTK_TABLE (table8), label160, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label160), 0, 0.5);

  combo_tab_msgwin = gtk_combo_box_new_text ();
  gtk_widget_show (combo_tab_msgwin);
  gtk_table_attach (GTK_TABLE (table8), combo_tab_msgwin, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  GTK_WIDGET_SET_FLAGS (combo_tab_msgwin, GTK_CAN_FOCUS);
  gtk_combo_box_append_text (GTK_COMBO_BOX (combo_tab_msgwin), _("Left"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (combo_tab_msgwin), _("Right"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (combo_tab_msgwin), _("Top"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (combo_tab_msgwin), _("Bottom"));

  label161 = gtk_label_new (_("Sidebar:"));
  gtk_widget_show (label161);
  gtk_table_attach (GTK_TABLE (table8), label161, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label161), 0, 0.5);

  combo_tab_sidebar = gtk_combo_box_new_text ();
  gtk_widget_show (combo_tab_sidebar);
  gtk_table_attach (GTK_TABLE (table8), combo_tab_sidebar, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  GTK_WIDGET_SET_FLAGS (combo_tab_sidebar, GTK_CAN_FOCUS);
  gtk_combo_box_append_text (GTK_COMBO_BOX (combo_tab_sidebar), _("Left"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (combo_tab_sidebar), _("Right"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (combo_tab_sidebar), _("Top"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (combo_tab_sidebar), _("Bottom"));

  label159 = gtk_label_new (_("Editor:"));
  gtk_widget_show (label159);
  gtk_table_attach (GTK_TABLE (table8), label159, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label159), 0, 0.5);

  combo_tab_editor = gtk_combo_box_new_text ();
  gtk_widget_show (combo_tab_editor);
  gtk_table_attach (GTK_TABLE (table8), combo_tab_editor, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  GTK_WIDGET_SET_FLAGS (combo_tab_editor, GTK_CAN_FOCUS);
  gtk_combo_box_append_text (GTK_COMBO_BOX (combo_tab_editor), _("Left"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (combo_tab_editor), _("Right"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (combo_tab_editor), _("Top"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (combo_tab_editor), _("Bottom"));

  label158 = gtk_label_new (_("<b>Tab positions</b>"));
  gtk_widget_show (label158);
  gtk_frame_set_label_widget (GTK_FRAME (frame9), label158);
  gtk_label_set_use_markup (GTK_LABEL (label158), TRUE);

  frame23 = gtk_frame_new (NULL);
  gtk_widget_show (frame23);
  gtk_box_pack_start (GTK_BOX (vbox14), frame23, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame23), GTK_SHADOW_NONE);

  alignment26 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment26);
  gtk_container_add (GTK_CONTAINER (frame23), alignment26);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment26), 0, 0, 12, 0);

  vbox22 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox22);
  gtk_container_add (GTK_CONTAINER (alignment26), vbox22);

  check_statusbar_visible = gtk_check_button_new_with_mnemonic (_("Show status bar"));
  gtk_widget_show (check_statusbar_visible);
  gtk_box_pack_start (GTK_BOX (vbox22), check_statusbar_visible, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_statusbar_visible, _("Whether to show the status bar at the bottom of the main window"), NULL);

  label187 = gtk_label_new (_("<b>Miscellaneous</b>"));
  gtk_widget_show (label187);
  gtk_frame_set_label_widget (GTK_FRAME (frame23), label187);
  gtk_label_set_use_markup (GTK_LABEL (label187), TRUE);

  label157 = gtk_label_new (_("Interface"));
  gtk_widget_show (label157);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook2), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook2), 1), label157);

  vbox15 = gtk_vbox_new (FALSE, 10);
  gtk_widget_show (vbox15);
  gtk_container_add (GTK_CONTAINER (notebook2), vbox15);
  gtk_container_set_border_width (GTK_CONTAINER (vbox15), 5);

  frame28 = gtk_frame_new (NULL);
  gtk_widget_show (frame28);
  gtk_box_pack_start (GTK_BOX (vbox15), frame28, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame28), GTK_SHADOW_NONE);

  alignment31 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment31);
  gtk_container_add (GTK_CONTAINER (frame28), alignment31);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment31), 0, 0, 12, 0);

  vbox42 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox42);
  gtk_container_add (GTK_CONTAINER (alignment31), vbox42);

  check_toolbar_show = gtk_check_button_new_with_mnemonic (_("Show T_oolbar"));
  gtk_widget_show (check_toolbar_show);
  gtk_box_pack_start (GTK_BOX (vbox42), check_toolbar_show, FALSE, FALSE, 0);

  check_toolbar_in_menu = gtk_check_button_new_with_mnemonic (_("_Append Toolbar to the Menu"));
  gtk_widget_show (check_toolbar_in_menu);
  gtk_box_pack_start (GTK_BOX (vbox42), check_toolbar_in_menu, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_toolbar_in_menu, _("Pack the toolbar to the main menu to save vertical space"), NULL);

  label196 = gtk_label_new (_("<b>Toolbar</b>"));
  gtk_widget_show (label196);
  gtk_frame_set_label_widget (GTK_FRAME (frame28), label196);
  gtk_label_set_use_markup (GTK_LABEL (label196), TRUE);

  frame13 = gtk_frame_new (NULL);
  gtk_widget_show (frame13);
  gtk_box_pack_start (GTK_BOX (vbox15), frame13, FALSE, FALSE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame13), GTK_SHADOW_NONE);

  alignment16 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment16);
  gtk_container_add (GTK_CONTAINER (frame13), alignment16);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment16), 0, 0, 12, 0);

  table9 = gtk_table_new (2, 4, FALSE);
  gtk_widget_show (table9);
  gtk_container_add (GTK_CONTAINER (alignment16), table9);
  gtk_table_set_row_spacings (GTK_TABLE (table9), 3);
  gtk_table_set_col_spacings (GTK_TABLE (table9), 12);

  label169 = gtk_label_new (_("Icon style:"));
  gtk_widget_show (label169);
  gtk_table_attach (GTK_TABLE (table9), label169, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label169), 0, 0.5);

  label170 = gtk_label_new (_("Icon size:"));
  gtk_widget_show (label170);
  gtk_table_attach (GTK_TABLE (table9), label170, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label170), 0, 0.5);

  radio_toolbar_imagetext = gtk_radio_button_new_with_mnemonic (NULL, _("Images _and Text"));
  gtk_widget_show (radio_toolbar_imagetext);
  gtk_table_attach (GTK_TABLE (table9), radio_toolbar_imagetext, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_toolbar_imagetext), radio_toolbar_imagetext_group);
  radio_toolbar_imagetext_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_toolbar_imagetext));

  radio_toolbar_small = gtk_radio_button_new_with_mnemonic (NULL, _("_Small Icons"));
  gtk_widget_show (radio_toolbar_small);
  gtk_table_attach (GTK_TABLE (table9), radio_toolbar_small, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_toolbar_small), radio_toolbar_small_group);
  radio_toolbar_small_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_toolbar_small));

  radio_toolbar_large = gtk_radio_button_new_with_mnemonic (NULL, _("_Large Icons"));
  gtk_widget_show (radio_toolbar_large);
  gtk_table_attach (GTK_TABLE (table9), radio_toolbar_large, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_toolbar_large), radio_toolbar_small_group);
  radio_toolbar_small_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_toolbar_large));

  radio_toolbar_text = gtk_radio_button_new_with_mnemonic (NULL, _("_Text Only"));
  gtk_widget_show (radio_toolbar_text);
  gtk_table_attach (GTK_TABLE (table9), radio_toolbar_text, 3, 4, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_toolbar_text), radio_toolbar_imagetext_group);
  radio_toolbar_imagetext_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_toolbar_text));

  radio_toolbar_image = gtk_radio_button_new_with_mnemonic (NULL, _("_Images Only"));
  gtk_widget_show (radio_toolbar_image);
  gtk_table_attach (GTK_TABLE (table9), radio_toolbar_image, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_toolbar_image), radio_toolbar_imagetext_group);
  radio_toolbar_imagetext_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_toolbar_image));

  radio_toolbar_verysmall = gtk_radio_button_new_with_mnemonic (NULL, _("_Very Small Icons"));
  gtk_widget_show (radio_toolbar_verysmall);
  gtk_table_attach (GTK_TABLE (table9), radio_toolbar_verysmall, 3, 4, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_toolbar_verysmall), radio_toolbar_small_group);
  radio_toolbar_small_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_toolbar_verysmall));

  label167 = gtk_label_new (_("<b>Appearance</b>"));
  gtk_widget_show (label167);
  gtk_frame_set_label_widget (GTK_FRAME (frame13), label167);
  gtk_label_set_use_markup (GTK_LABEL (label167), TRUE);

  hbox15 = gtk_hbox_new (TRUE, 0);
  gtk_widget_show (hbox15);
  gtk_box_pack_start (GTK_BOX (vbox15), hbox15, FALSE, FALSE, 0);

  button_customize_toolbar = gtk_button_new ();
  gtk_widget_show (button_customize_toolbar);
  gtk_box_pack_start (GTK_BOX (hbox15), button_customize_toolbar, FALSE, FALSE, 0);

  alignment45 = gtk_alignment_new (0.5, 0.5, 0, 0);
  gtk_widget_show (alignment45);
  gtk_container_add (GTK_CONTAINER (button_customize_toolbar), alignment45);

  hbox16 = gtk_hbox_new (FALSE, 2);
  gtk_widget_show (hbox16);
  gtk_container_add (GTK_CONTAINER (alignment45), hbox16);

  image2877 = gtk_image_new_from_stock ("gtk-properties", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image2877);
  gtk_box_pack_start (GTK_BOX (hbox16), image2877, FALSE, FALSE, 0);

  label236 = gtk_label_new_with_mnemonic (_("Customize Toolbar"));
  gtk_widget_show (label236);
  gtk_box_pack_start (GTK_BOX (hbox16), label236, FALSE, FALSE, 0);

  label164 = gtk_label_new (_("Toolbar"));
  gtk_widget_show (label164);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook2), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook2), 2), label164);

  notebook4 = gtk_notebook_new ();
  gtk_widget_show (notebook4);
  gtk_container_add (GTK_CONTAINER (notebook2), notebook4);

  vbox5 = gtk_vbox_new (FALSE, 10);
  gtk_widget_show (vbox5);
  gtk_container_add (GTK_CONTAINER (notebook4), vbox5);
  gtk_container_set_border_width (GTK_CONTAINER (vbox5), 5);

  frame14 = gtk_frame_new (NULL);
  gtk_widget_show (frame14);
  gtk_box_pack_start (GTK_BOX (vbox5), frame14, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame14), GTK_SHADOW_NONE);

  alignment17 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment17);
  gtk_container_add (GTK_CONTAINER (frame14), alignment17);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment17), 0, 0, 12, 0);

  vbox17 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox17);
  gtk_container_add (GTK_CONTAINER (alignment17), vbox17);

  check_line_wrapping = gtk_check_button_new_with_mnemonic (_("Line wrapping"));
  gtk_widget_show (check_line_wrapping);
  gtk_box_pack_start (GTK_BOX (vbox17), check_line_wrapping, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_line_wrapping, _("Wrap the line at the window border and continue it on the next line. Note: line wrapping has a high performance cost for large documents so should be disabled on slow machines."), NULL);

  check_smart_home = gtk_check_button_new_with_mnemonic (_("Enable \"smart\" home key"));
  gtk_widget_show (check_smart_home);
  gtk_box_pack_start (GTK_BOX (vbox17), check_smart_home, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_smart_home, _("When \"smart\" home is enabled, the HOME key will move the caret to the first non-blank character of the line, unless it is already there, it moves to the very beginning of the line. When this feature is disabled, the HOME key always moves the caret to the start of the current line, regardless of its current position."), NULL);

  check_disable_dnd = gtk_check_button_new_with_mnemonic (_("Disable Drag and Drop"));
  gtk_widget_show (check_disable_dnd);
  gtk_box_pack_start (GTK_BOX (vbox17), check_disable_dnd, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_disable_dnd, _("Disable drag and drop completely in the editor window so you can't drag and drop any selections within or outside of the editor window"), NULL);

  check_folding = gtk_check_button_new_with_mnemonic (_("Enable folding"));
  gtk_widget_show (check_folding);
  gtk_box_pack_start (GTK_BOX (vbox17), check_folding, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_folding, _("Whether to enable folding the code"), NULL);

  check_unfold_children = gtk_check_button_new_with_mnemonic (_("Fold/unfold all children of a fold point"));
  gtk_widget_show (check_unfold_children);
  gtk_box_pack_start (GTK_BOX (vbox17), check_unfold_children, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_unfold_children, _("Fold or unfold all children of a fold point. By pressing the Shift key while clicking on a fold symbol the contrary behavior is used."), NULL);

  check_indicators = gtk_check_button_new_with_mnemonic (_("Use indicators to show compile errors"));
  gtk_widget_show (check_indicators);
  gtk_box_pack_start (GTK_BOX (vbox17), check_indicators, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_indicators, _("Whether to use indicators (a squiggly underline) to highlight the lines where the compiler found a warning or an error"), NULL);

  check_newline_strip = gtk_check_button_new_with_mnemonic (_("Newline strips trailing spaces"));
  gtk_widget_show (check_newline_strip);
  gtk_box_pack_start (GTK_BOX (vbox17), check_newline_strip, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_newline_strip, _("Enable newline to strip the trailing spaces on the previous line"), NULL);

  hbox11 = gtk_hbox_new (FALSE, 12);
  gtk_widget_show (hbox11);
  gtk_box_pack_start (GTK_BOX (vbox17), hbox11, TRUE, TRUE, 0);

  label209 = gtk_label_new (_("Line breaking column:"));
  gtk_widget_show (label209);
  gtk_box_pack_start (GTK_BOX (hbox11), label209, FALSE, FALSE, 0);

  spin_line_break_adj = gtk_adjustment_new (72, 3, 1000, 1, 10, 0);
  spin_line_break = gtk_spin_button_new (GTK_ADJUSTMENT (spin_line_break_adj), 1, 0);
  gtk_widget_show (spin_line_break);
  gtk_box_pack_start (GTK_BOX (hbox11), spin_line_break, FALSE, TRUE, 0);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spin_line_break), TRUE);

  hbox12 = gtk_hbox_new (FALSE, 12);
  gtk_widget_show (hbox12);
  gtk_box_pack_start (GTK_BOX (vbox17), hbox12, TRUE, TRUE, 0);

  label220 = gtk_label_new (_("Comment toggle marker:"));
  gtk_widget_show (label220);
  gtk_box_pack_start (GTK_BOX (hbox12), label220, FALSE, FALSE, 0);

  entry_toggle_mark = gtk_entry_new ();
  gtk_widget_show (entry_toggle_mark);
  gtk_box_pack_start (GTK_BOX (hbox12), entry_toggle_mark, FALSE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, entry_toggle_mark, _("A string which is added when toggling a line comment in a source file, it is used to mark the comment as toggled."), NULL);

  label172 = gtk_label_new (_("<b>Features</b>"));
  gtk_widget_show (label172);
  gtk_frame_set_label_widget (GTK_FRAME (frame14), label172);
  gtk_label_set_use_markup (GTK_LABEL (label172), TRUE);

  label211 = gtk_label_new (_("Features"));
  gtk_widget_show (label211);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook4), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook4), 0), label211);

  vbox40 = gtk_vbox_new (FALSE, 6);
  gtk_widget_show (vbox40);
  gtk_container_add (GTK_CONTAINER (notebook4), vbox40);

  label_project_indent_warning = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (label_project_indent_warning);
  gtk_box_pack_start (GTK_BOX (vbox40), label_project_indent_warning, FALSE, FALSE, 0);

  frame27 = gtk_frame_new (NULL);
  gtk_widget_show (frame27);
  gtk_box_pack_start (GTK_BOX (vbox40), frame27, TRUE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame27), GTK_SHADOW_NONE);

  alignment30 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment30);
  gtk_container_add (GTK_CONTAINER (frame27), alignment30);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment30), 0, 0, 12, 0);

  vbox25 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox25);
  gtk_container_add (GTK_CONTAINER (alignment30), vbox25);

  table13 = gtk_table_new (7, 2, FALSE);
  gtk_widget_show (table13);
  gtk_box_pack_start (GTK_BOX (vbox25), table13, FALSE, TRUE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table13), 3);
  gtk_table_set_col_spacings (GTK_TABLE (table13), 24);

  label183 = gtk_label_new (_("Auto-indent mode:"));
  gtk_widget_show (label183);
  gtk_table_attach (GTK_TABLE (table13), label183, 0, 1, 6, 7,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label183), 0, 0.5);

  combo_auto_indent_mode = gtk_combo_box_new_text ();
  gtk_widget_show (combo_auto_indent_mode);
  gtk_table_attach (GTK_TABLE (table13), combo_auto_indent_mode, 1, 2, 6, 7,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_combo_box_append_text (GTK_COMBO_BOX (combo_auto_indent_mode), _("None"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (combo_auto_indent_mode), _("Basic"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (combo_auto_indent_mode), _("Current chars"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (combo_auto_indent_mode), _("Match braces"));

  label200 = gtk_label_new (_("Type:"));
  gtk_widget_show (label200);
  gtk_table_attach (GTK_TABLE (table13), label200, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label200), 0, 0.5);

  label222 = gtk_label_new (_("Width:"));
  gtk_widget_show (label222);
  gtk_table_attach (GTK_TABLE (table13), label222, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label222), 0, 0.5);

  spin_indent_width_adj = gtk_adjustment_new (1, 1, 99, 1, 10, 0);
  spin_indent_width = gtk_spin_button_new (GTK_ADJUSTMENT (spin_indent_width_adj), 1, 0);
  gtk_widget_show (spin_indent_width);
  gtk_table_attach (GTK_TABLE (table13), spin_indent_width, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, spin_indent_width, _("The width in chars of a single indent"), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spin_indent_width), TRUE);
  gtk_spin_button_set_update_policy (GTK_SPIN_BUTTON (spin_indent_width), GTK_UPDATE_IF_VALID);
  gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (spin_indent_width), TRUE);

  radio_indent_spaces = gtk_radio_button_new_with_mnemonic (NULL, _("_Spaces"));
  gtk_widget_show (radio_indent_spaces);
  gtk_table_attach (GTK_TABLE (table13), radio_indent_spaces, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, radio_indent_spaces, _("Use spaces when inserting indentation"), NULL);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_indent_spaces), radio_indent_spaces_group);
  radio_indent_spaces_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_indent_spaces));

  radio_indent_tabs = gtk_radio_button_new_with_mnemonic (NULL, _("_Tabs"));
  gtk_widget_show (radio_indent_tabs);
  gtk_table_attach (GTK_TABLE (table13), radio_indent_tabs, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, radio_indent_tabs, _("Use one tab per indent"), NULL);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_indent_tabs), radio_indent_spaces_group);
  radio_indent_spaces_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_indent_tabs));

  radio_indent_both = gtk_radio_button_new_with_mnemonic (NULL, _("T_abs and Spaces"));
  gtk_widget_show (radio_indent_both);
  gtk_table_attach (GTK_TABLE (table13), radio_indent_both, 1, 2, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, radio_indent_both, _("Use spaces if the total indent is less than the tab width, otherwise use both"), NULL);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_indent_both), radio_indent_spaces_group);
  radio_indent_spaces_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_indent_both));

  alignment41 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment41);
  gtk_table_attach (GTK_TABLE (table13), alignment41, 1, 2, 4, 5,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment41), 0, 0, 24, 0);

  hbox13 = gtk_hbox_new (FALSE, 12);
  gtk_widget_show (hbox13);
  gtk_container_add (GTK_CONTAINER (alignment41), hbox13);

  label221 = gtk_label_new (_("Hard tab width:"));
  gtk_widget_show (label221);
  gtk_box_pack_start (GTK_BOX (hbox13), label221, FALSE, FALSE, 0);

  spin_tab_width_adj = gtk_adjustment_new (8, 1, 99, 1, 10, 0);
  spin_tab_width = gtk_spin_button_new (GTK_ADJUSTMENT (spin_tab_width_adj), 1, 0);
  gtk_widget_show (spin_tab_width);
  gtk_box_pack_start (GTK_BOX (hbox13), spin_tab_width, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, spin_tab_width, _("The width of a tab when Tabs & Spaces is set for a document"), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spin_tab_width), TRUE);
  gtk_spin_button_set_update_policy (GTK_SPIN_BUTTON (spin_tab_width), GTK_UPDATE_IF_VALID);
  gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (spin_tab_width), TRUE);

  check_detect_indent = gtk_check_button_new_with_mnemonic (_("Detect from file"));
  gtk_widget_show (check_detect_indent);
  gtk_table_attach (GTK_TABLE (table13), check_detect_indent, 1, 2, 5, 6,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, check_detect_indent, _("Whether to detect the indentation type from file contents when a file is opened"), NULL);

  check_tab_key_indents = gtk_check_button_new_with_mnemonic (_("Tab key indents"));
  gtk_widget_show (check_tab_key_indents);
  gtk_box_pack_start (GTK_BOX (vbox25), check_tab_key_indents, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_tab_key_indents, _("Pressing tab/shift-tab indents/unindents instead of inserting a tab character"), NULL);

  label195 = gtk_label_new (_("<b>Indentation</b>"));
  gtk_widget_show (label195);
  gtk_frame_set_label_widget (GTK_FRAME (frame27), label195);
  gtk_label_set_use_markup (GTK_LABEL (label195), TRUE);

  label232 = gtk_label_new (_("Indentation"));
  gtk_widget_show (label232);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook4), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook4), 1), label232);

  vbox39 = gtk_vbox_new (FALSE, 1);
  gtk_widget_show (vbox39);
  gtk_container_add (GTK_CONTAINER (notebook4), vbox39);

  frame18 = gtk_frame_new (NULL);
  gtk_widget_show (frame18);
  gtk_box_pack_start (GTK_BOX (vbox39), frame18, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame18), 5);
  gtk_frame_set_shadow_type (GTK_FRAME (frame18), GTK_SHADOW_NONE);

  alignment21 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment21);
  gtk_container_add (GTK_CONTAINER (frame18), alignment21);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment21), 0, 0, 12, 0);

  vbox19 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox19);
  gtk_container_add (GTK_CONTAINER (alignment21), vbox19);

  check_complete_snippets = gtk_check_button_new_with_mnemonic (_("Snippet completion"));
  gtk_widget_show (check_complete_snippets);
  gtk_box_pack_start (GTK_BOX (vbox19), check_complete_snippets, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_complete_snippets, _("Type a defined short character sequence and complete it to a more complex string using a single keypress"), NULL);

  check_xmltag = gtk_check_button_new_with_mnemonic (_("XML tag autocompletion"));
  gtk_widget_show (check_xmltag);
  gtk_box_pack_start (GTK_BOX (vbox19), check_xmltag, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_xmltag, _("Automatic completion and closing of XML tags (includes HTML tags)"), NULL);

  check_auto_multiline = gtk_check_button_new_with_mnemonic (_("Automatic continuation of multi-line comments"));
  gtk_widget_show (check_auto_multiline);
  gtk_box_pack_start (GTK_BOX (vbox19), check_auto_multiline, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_auto_multiline, _("Continue automatically multi-line comments in languages like C, C++ and Java when a new line is entered inside such a comment"), NULL);

  check_symbol_auto_completion = gtk_check_button_new_with_mnemonic (_("Autocomplete symbols"));
  gtk_widget_show (check_symbol_auto_completion);
  gtk_box_pack_start (GTK_BOX (vbox19), check_symbol_auto_completion, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_symbol_auto_completion, _("Automatic completion of known symbols in open files (function names, global variables, ...)"), NULL);

  check_autocomplete_doc_words = gtk_check_button_new_with_mnemonic (_("Autocomplete all words in document"));
  gtk_widget_show (check_autocomplete_doc_words);
  gtk_box_pack_start (GTK_BOX (vbox19), check_autocomplete_doc_words, FALSE, FALSE, 0);

  check_completion_drops_rest_of_word = gtk_check_button_new_with_mnemonic (_("Drop rest of word on completion"));
  gtk_widget_show (check_completion_drops_rest_of_word);
  gtk_box_pack_start (GTK_BOX (vbox19), check_completion_drops_rest_of_word, FALSE, FALSE, 0);

  table14 = gtk_table_new (3, 2, FALSE);
  gtk_widget_show (table14);
  gtk_box_pack_start (GTK_BOX (vbox19), table14, FALSE, FALSE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table14), 3);
  gtk_table_set_col_spacings (GTK_TABLE (table14), 12);

  label223 = gtk_label_new (_("Max. symbol name suggestions:"));
  gtk_widget_show (label223);
  gtk_table_attach (GTK_TABLE (table14), label223, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label223), 0, 0.5);

  label173 = gtk_label_new (_("Completion list height:"));
  gtk_widget_show (label173);
  gtk_table_attach (GTK_TABLE (table14), label173, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label173), 0, 0.5);

  label205 = gtk_label_new (_("Characters to type for autocompletion:"));
  gtk_widget_show (label205);
  gtk_table_attach (GTK_TABLE (table14), label205, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label205), 0, 0.5);

  spin_symbol_complete_chars_adj = gtk_adjustment_new (9, 1, 99, 1, 10, 0);
  spin_symbol_complete_chars = gtk_spin_button_new (GTK_ADJUSTMENT (spin_symbol_complete_chars_adj), 1, 0);
  gtk_widget_show (spin_symbol_complete_chars);
  gtk_table_attach (GTK_TABLE (table14), spin_symbol_complete_chars, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, spin_symbol_complete_chars, _("The amount of characters which are necessary to show the symbol autocompletion list"), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spin_symbol_complete_chars), TRUE);

  spin_symbollistheight_adj = gtk_adjustment_new (9, 1, 99, 1, 10, 0);
  spin_symbollistheight = gtk_spin_button_new (GTK_ADJUSTMENT (spin_symbollistheight_adj), 1, 0);
  gtk_widget_show (spin_symbollistheight);
  gtk_table_attach (GTK_TABLE (table14), spin_symbollistheight, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, spin_symbollistheight, _("Display height in rows for the autocompletion list"), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spin_symbollistheight), TRUE);

  spin_autocompletion_max_entries_adj = gtk_adjustment_new (9, 1, 10000, 1, 10, 0);
  spin_autocompletion_max_entries = gtk_spin_button_new (GTK_ADJUSTMENT (spin_autocompletion_max_entries_adj), 1, 0);
  gtk_widget_show (spin_autocompletion_max_entries);
  gtk_table_attach (GTK_TABLE (table14), spin_autocompletion_max_entries, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, spin_autocompletion_max_entries, _("Maximum number of entries to display in the autocompletion list"), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spin_autocompletion_max_entries), TRUE);

  label177 = gtk_label_new (_("<b>Completions</b>"));
  gtk_widget_show (label177);
  gtk_frame_set_label_widget (GTK_FRAME (frame18), label177);
  gtk_label_set_use_markup (GTK_LABEL (label177), TRUE);

  frame38 = gtk_frame_new (NULL);
  gtk_widget_show (frame38);
  gtk_box_pack_start (GTK_BOX (vbox39), frame38, FALSE, TRUE, 0);
  gtk_container_set_border_width (GTK_CONTAINER (frame38), 5);
  gtk_frame_set_shadow_type (GTK_FRAME (frame38), GTK_SHADOW_NONE);

  alignment42 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment42);
  gtk_container_add (GTK_CONTAINER (frame38), alignment42);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment42), 0, 0, 12, 0);

  table16 = gtk_table_new (5, 2, FALSE);
  gtk_widget_show (table16);
  gtk_container_add (GTK_CONTAINER (alignment42), table16);

  check_autoclose_parenthesis = gtk_check_button_new_with_mnemonic (_("Parenthesis ( )"));
  gtk_widget_show (check_autoclose_parenthesis);
  gtk_table_attach (GTK_TABLE (table16), check_autoclose_parenthesis, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, check_autoclose_parenthesis, _("Auto-close parenthesis when typing an opening one"), NULL);

  check_autoclose_squote = gtk_check_button_new_with_mnemonic (_("Single quotes ' '"));
  gtk_widget_show (check_autoclose_squote);
  gtk_table_attach (GTK_TABLE (table16), check_autoclose_squote, 0, 1, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, check_autoclose_squote, _("Auto-close simple quote when typing an opening one"), NULL);

  check_autoclose_cbracket = gtk_check_button_new_with_mnemonic (_("Curly brackets { }"));
  gtk_widget_show (check_autoclose_cbracket);
  gtk_table_attach (GTK_TABLE (table16), check_autoclose_cbracket, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, check_autoclose_cbracket, _("Auto-close curly bracket when typing an opening one"), NULL);

  check_autoclose_sbracket = gtk_check_button_new_with_mnemonic (_("Square brackets [ ]"));
  gtk_widget_show (check_autoclose_sbracket);
  gtk_table_attach (GTK_TABLE (table16), check_autoclose_sbracket, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, check_autoclose_sbracket, _("Auto-close square-bracket when typing an opening one"), NULL);

  check_autoclose_dquote = gtk_check_button_new_with_mnemonic (_("Double quotes \" \""));
  gtk_widget_show (check_autoclose_dquote);
  gtk_table_attach (GTK_TABLE (table16), check_autoclose_dquote, 0, 1, 4, 5,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, check_autoclose_dquote, _("Auto-close double quote when typing an opening one"), NULL);

  label225 = gtk_label_new (_("<b>Auto-close quotes and brackets</b>"));
  gtk_widget_show (label225);
  gtk_frame_set_label_widget (GTK_FRAME (frame38), label225);
  gtk_label_set_use_markup (GTK_LABEL (label225), TRUE);

  label226 = gtk_label_new (_("Completions"));
  gtk_widget_show (label226);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook4), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook4), 2), label226);

  vbox24 = gtk_vbox_new (FALSE, 10);
  gtk_widget_show (vbox24);
  gtk_container_add (GTK_CONTAINER (notebook4), vbox24);
  gtk_container_set_border_width (GTK_CONTAINER (vbox24), 5);

  frame5 = gtk_frame_new (NULL);
  gtk_widget_show (frame5);
  gtk_box_pack_start (GTK_BOX (vbox24), frame5, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame5), GTK_SHADOW_NONE);

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

  vbox12 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox12);
  gtk_container_add (GTK_CONTAINER (alignment6), vbox12);

  check_highlighting_invert = gtk_check_button_new_with_mnemonic (_("Invert syntax highlighting colors"));
  gtk_widget_show (check_highlighting_invert);
  gtk_box_pack_start (GTK_BOX (vbox12), check_highlighting_invert, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_highlighting_invert, _("Use white text on a black background and invert all colors, this option requires a restart of Geany"), NULL);

  check_indent = gtk_check_button_new_with_mnemonic (_("Show indentation guides"));
  gtk_widget_show (check_indent);
  gtk_box_pack_start (GTK_BOX (vbox12), check_indent, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_indent, _("Shows small dotted lines to help you to use the right indentation"), NULL);

  check_white_space = gtk_check_button_new_with_mnemonic (_("Show white space"));
  gtk_widget_show (check_white_space);
  gtk_box_pack_start (GTK_BOX (vbox12), check_white_space, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_white_space, _("Marks spaces with dots and tabs with arrows"), NULL);

  check_line_end = gtk_check_button_new_with_mnemonic (_("Show line endings"));
  gtk_widget_show (check_line_end);
  gtk_box_pack_start (GTK_BOX (vbox12), check_line_end, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_line_end, _("Shows the line ending character"), NULL);

  check_line_numbers = gtk_check_button_new_with_mnemonic (_("Show line numbers"));
  gtk_widget_show (check_line_numbers);
  gtk_box_pack_start (GTK_BOX (vbox12), check_line_numbers, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_line_numbers, _("Shows or hides the Line Number margin"), NULL);

  check_markers_margin = gtk_check_button_new_with_mnemonic (_("Show markers margin"));
  gtk_widget_show (check_markers_margin);
  gtk_box_pack_start (GTK_BOX (vbox12), check_markers_margin, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_markers_margin, _("Shows or hides the small margin right of the line numbers, which is used to mark lines"), NULL);

  check_scroll_stop_at_last_line = gtk_check_button_new_with_mnemonic (_("Stop scrolling at last line"));
  gtk_widget_show (check_scroll_stop_at_last_line);
  gtk_box_pack_start (GTK_BOX (vbox12), check_scroll_stop_at_last_line, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_scroll_stop_at_last_line, _("Whether to stop scrolling one page past the last line of a document"), NULL);

  label102 = gtk_label_new (_("<b>Display</b>"));
  gtk_widget_show (label102);
  gtk_frame_set_label_widget (GTK_FRAME (frame5), label102);
  gtk_label_set_use_markup (GTK_LABEL (label102), TRUE);

  frame8 = gtk_frame_new (NULL);
  gtk_widget_show (frame8);
  gtk_box_pack_start (GTK_BOX (vbox24), frame8, TRUE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame8), GTK_SHADOW_NONE);

  alignment11 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment11);
  gtk_container_add (GTK_CONTAINER (frame8), alignment11);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment11), 0, 0, 12, 0);

  table7 = gtk_table_new (3, 2, FALSE);
  gtk_widget_show (table7);
  gtk_container_add (GTK_CONTAINER (alignment11), table7);
  gtk_table_set_row_spacings (GTK_TABLE (table7), 3);
  gtk_table_set_col_spacings (GTK_TABLE (table7), 24);

  label133 = gtk_label_new (_("Long line marker:"));
  gtk_widget_show (label133);
  gtk_table_attach (GTK_TABLE (table7), label133, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label133), 0, 0.5);

  label134 = gtk_label_new (_("Long line marker color:"));
  gtk_widget_show (label134);
  gtk_table_attach (GTK_TABLE (table7), label134, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label134), 0, 0.5);

  label156 = gtk_label_new (_("Type:"));
  gtk_widget_show (label156);
  gtk_table_attach (GTK_TABLE (table7), label156, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label156), 0, 0.5);

  long_line_color = gtk_color_button_new ();
  gtk_widget_show (long_line_color);
  gtk_table_attach (GTK_TABLE (table7), long_line_color, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, long_line_color, _("Sets the color of the long line marker"), NULL);
  gtk_color_button_set_title (GTK_COLOR_BUTTON (long_line_color), _("Color Chooser"));

  spin_long_line_adj = gtk_adjustment_new (72, 0, 1000, 1, 10, 0);
  spin_long_line = gtk_spin_button_new (GTK_ADJUSTMENT (spin_long_line_adj), 1, 0);
  gtk_widget_show (spin_long_line);
  gtk_table_attach (GTK_TABLE (table7), spin_long_line, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, spin_long_line, _("The long line marker is a thin vertical line in the editor, it helps to mark long lines, or as a hint to break the line. Set this value to a value greater than 0 to specify the column where it should appear."), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spin_long_line), TRUE);
  gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (spin_long_line), TRUE);

  hbox5 = gtk_hbox_new (FALSE, 12);
  gtk_widget_show (hbox5);
  gtk_table_attach (GTK_TABLE (table7), hbox5, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  radio_long_line_line = gtk_radio_button_new_with_mnemonic (NULL, _("Line"));
  gtk_widget_show (radio_long_line_line);
  gtk_box_pack_start (GTK_BOX (hbox5), radio_long_line_line, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, radio_long_line_line, _("Prints a vertical line in the editor window at the given cursor position (see below)"), NULL);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_long_line_line), radio_long_line_line_group);
  radio_long_line_line_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_long_line_line));

  radio_long_line_background = gtk_radio_button_new_with_mnemonic (NULL, _("Background"));
  gtk_widget_show (radio_long_line_background);
  gtk_box_pack_start (GTK_BOX (hbox5), radio_long_line_background, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, radio_long_line_background, _("The background color of characters after the given cursor position (see below) changed to the color set below, (this is recommended if you use proportional fonts)"), NULL);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_long_line_background), radio_long_line_line_group);
  radio_long_line_line_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_long_line_background));

  radio_long_line_disabled = gtk_radio_button_new_with_mnemonic (NULL, _("Disabled"));
  gtk_widget_show (radio_long_line_disabled);
  gtk_box_pack_start (GTK_BOX (hbox5), radio_long_line_disabled, FALSE, FALSE, 0);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_long_line_disabled), radio_long_line_line_group);
  radio_long_line_line_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_long_line_disabled));

  label155 = gtk_label_new (_("<b>Long line marker</b>"));
  gtk_widget_show (label155);
  gtk_frame_set_label_widget (GTK_FRAME (frame8), label155);
  gtk_label_set_use_markup (GTK_LABEL (label155), TRUE);

  label213 = gtk_label_new (_("Display"));
  gtk_widget_show (label213);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook4), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook4), 3), label213);

  label95 = gtk_label_new (_("Editor"));
  gtk_widget_show (label95);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook2), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook2), 3), label95);

  vbox18 = gtk_vbox_new (FALSE, 10);
  gtk_widget_show (vbox18);
  gtk_container_add (GTK_CONTAINER (notebook2), vbox18);
  gtk_container_set_border_width (GTK_CONTAINER (vbox18), 5);

  frame6 = gtk_frame_new (NULL);
  gtk_widget_show (frame6);
  gtk_box_pack_start (GTK_BOX (vbox18), frame6, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame6), GTK_SHADOW_NONE);

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

  vbox8 = gtk_vbox_new (FALSE, 3);
  gtk_widget_show (vbox8);
  gtk_container_add (GTK_CONTAINER (alignment7), vbox8);

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

  check_cmdline_new_files = gtk_check_button_new_with_mnemonic (_("Open new documents from the command-line"));
  gtk_widget_show (check_cmdline_new_files);
  gtk_box_pack_start (GTK_BOX (vbox38), check_cmdline_new_files, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_cmdline_new_files, _("Start a new file for each command-line filename that doesn't exist"), NULL);

  table15 = gtk_table_new (1, 2, FALSE);
  gtk_widget_show (table15);
  gtk_box_pack_start (GTK_BOX (vbox38), table15, TRUE, TRUE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table15), 3);
  gtk_table_set_col_spacings (GTK_TABLE (table15), 24);

  combo_eol = gtk_combo_box_new_text ();
  gtk_widget_show (combo_eol);
  gtk_table_attach (GTK_TABLE (table15), combo_eol, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);

  label210 = gtk_label_new (_("Default end of line characters:"));
  gtk_widget_show (label210);
  gtk_table_attach (GTK_TABLE (table15), label210, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label210), 0, 0.5);

  label109 = gtk_label_new (_("<b>New files</b>"));
  gtk_widget_show (label109);
  gtk_frame_set_label_widget (GTK_FRAME (frame6), label109);
  gtk_label_set_use_markup (GTK_LABEL (label109), TRUE);

  frame37 = gtk_frame_new (NULL);
  gtk_widget_show (frame37);
  gtk_box_pack_start (GTK_BOX (vbox18), frame37, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame37), GTK_SHADOW_NONE);

  alignment40 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment40);
  gtk_container_add (GTK_CONTAINER (frame37), alignment40);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment40), 0, 0, 12, 0);

  table5 = gtk_table_new (3, 2, FALSE);
  gtk_widget_show (table5);
  gtk_container_add (GTK_CONTAINER (alignment40), table5);
  gtk_table_set_row_spacings (GTK_TABLE (table5), 3);
  gtk_table_set_col_spacings (GTK_TABLE (table5), 24);

  eventbox1 = gtk_event_box_new ();
  gtk_widget_show (eventbox1);
  gtk_table_attach (GTK_TABLE (table5), eventbox1, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_tooltips_set_tip (tooltips, eventbox1, _("Sets the default encoding for newly created files"), NULL);

  combo_new_encoding = gtk_combo_box_new_text ();
  gtk_widget_show (combo_new_encoding);
  gtk_container_add (GTK_CONTAINER (eventbox1), combo_new_encoding);

  label153 = gtk_label_new (_("Default encoding (new files):"));
  gtk_widget_show (label153);
  gtk_table_attach (GTK_TABLE (table5), label153, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label153), 0, 0.5);

  label_open_encoding = gtk_label_new (_("Default encoding (existing files):"));
  gtk_widget_show (label_open_encoding);
  gtk_table_attach (GTK_TABLE (table5), label_open_encoding, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label_open_encoding), 0, 0.5);

  eventbox3 = gtk_event_box_new ();
  gtk_widget_show (eventbox3);
  gtk_table_attach (GTK_TABLE (table5), eventbox3, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_tooltips_set_tip (tooltips, eventbox3, _("Sets the default encoding for opening existing files"), NULL);

  combo_open_encoding = gtk_combo_box_new_text ();
  gtk_widget_show (combo_open_encoding);
  gtk_container_add (GTK_CONTAINER (eventbox3), combo_open_encoding);

  check_open_encoding = gtk_check_button_new_with_mnemonic (_("Use fixed encoding when opening files"));
  gtk_widget_show (check_open_encoding);
  gtk_table_attach (GTK_TABLE (table5), check_open_encoding, 0, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, check_open_encoding, _("This option disables the automatic detection of the file encoding when opening files and opens the file with the specified encoding (usually not needed)"), NULL);

  label219 = gtk_label_new (_("<b>Encodings</b>"));
  gtk_widget_show (label219);
  gtk_frame_set_label_widget (GTK_FRAME (frame37), label219);
  gtk_label_set_use_markup (GTK_LABEL (label219), TRUE);

  frame2 = gtk_frame_new (NULL);
  gtk_widget_show (frame2);
  gtk_box_pack_start (GTK_BOX (vbox18), frame2, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame2), GTK_SHADOW_NONE);

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

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

  check_new_line = gtk_check_button_new_with_mnemonic (_("Ensure new line at file end"));
  gtk_widget_show (check_new_line);
  gtk_box_pack_start (GTK_BOX (vbox6), check_new_line, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_new_line, _("Ensures that at the end of the file is a new line"), NULL);

  check_trailing_spaces = gtk_check_button_new_with_mnemonic (_("Strip trailing spaces and tabs"));
  gtk_widget_show (check_trailing_spaces);
  gtk_box_pack_start (GTK_BOX (vbox6), check_trailing_spaces, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_trailing_spaces, _("Removes trailing spaces and tabs and the end of lines"), NULL);

  check_replace_tabs = gtk_check_button_new_with_mnemonic (_("Replace tabs by space"));
  gtk_widget_show (check_replace_tabs);
  gtk_box_pack_start (GTK_BOX (vbox6), check_replace_tabs, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_replace_tabs, _("Replaces all tabs in document by spaces"), NULL);

  label19 = gtk_label_new (_("<b>Saving files</b>"));
  gtk_widget_show (label19);
  gtk_frame_set_label_widget (GTK_FRAME (frame2), label19);
  gtk_label_set_use_markup (GTK_LABEL (label19), TRUE);

  frame17 = gtk_frame_new (NULL);
  gtk_widget_show (frame17);
  gtk_box_pack_start (GTK_BOX (vbox18), frame17, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame17), GTK_SHADOW_NONE);

  alignment20 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment20);
  gtk_container_add (GTK_CONTAINER (frame17), alignment20);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment20), 0, 0, 12, 0);

  vbox37 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox37);
  gtk_container_add (GTK_CONTAINER (alignment20), vbox37);

  table10 = gtk_table_new (2, 2, FALSE);
  gtk_widget_show (table10);
  gtk_box_pack_start (GTK_BOX (vbox37), table10, TRUE, TRUE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table10), 3);
  gtk_table_set_col_spacings (GTK_TABLE (table10), 24);

  label147 = gtk_label_new (_("Recent files list length:"));
  gtk_widget_show (label147);
  gtk_table_attach (GTK_TABLE (table10), label147, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label147), 0, 0.5);
  gtk_misc_set_padding (GTK_MISC (label147), 0, 7);

  spin_mru_adj = gtk_adjustment_new (4, 1, 50, 1, 10, 0);
  spin_mru = gtk_spin_button_new (GTK_ADJUSTMENT (spin_mru_adj), 1, 0);
  gtk_widget_show (spin_mru);
  gtk_table_attach (GTK_TABLE (table10), spin_mru, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, spin_mru, _("Specifies the number of files which are stored in the Recent files list"), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spin_mru), TRUE);
  gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (spin_mru), TRUE);

  label208 = gtk_label_new (_("Disk check timeout:"));
  gtk_widget_show (label208);
  gtk_table_attach (GTK_TABLE (table10), label208, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label208), 0, 0.5);

  spin_disk_check_adj = gtk_adjustment_new (30, 0, 10000, 1, 10, 0);
  spin_disk_check = gtk_spin_button_new (GTK_ADJUSTMENT (spin_disk_check_adj), 1, 0);
  gtk_widget_show (spin_disk_check);
  gtk_table_attach (GTK_TABLE (table10), spin_disk_check, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, spin_disk_check, _("How often to check for changes to document files on disk, in seconds. Zero disables checking."), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spin_disk_check), TRUE);
  gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (spin_disk_check), TRUE);

  label198 = gtk_label_new (_("<b>Miscellaneous</b>"));
  gtk_widget_show (label198);
  gtk_frame_set_label_widget (GTK_FRAME (frame17), label198);
  gtk_label_set_use_markup (GTK_LABEL (label198), TRUE);

  label174 = gtk_label_new (_("Files"));
  gtk_widget_show (label174);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook2), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook2), 4), label174);

  vbox23 = gtk_vbox_new (FALSE, 10);
  gtk_widget_show (vbox23);
  gtk_container_add (GTK_CONTAINER (notebook2), vbox23);
  gtk_container_set_border_width (GTK_CONTAINER (vbox23), 5);

  frame20 = gtk_frame_new (NULL);
  gtk_widget_show (frame20);
  gtk_box_pack_start (GTK_BOX (vbox23), frame20, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame20), GTK_SHADOW_NONE);

  alignment23 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment23);
  gtk_container_add (GTK_CONTAINER (frame20), alignment23);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment23), 0, 0, 12, 0);

  vbox2 = gtk_vbox_new (FALSE, 12);
  gtk_widget_show (vbox2);
  gtk_container_add (GTK_CONTAINER (alignment23), vbox2);

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

  table1 = gtk_table_new (4, 3, FALSE);
  gtk_widget_show (table1);
  gtk_box_pack_start (GTK_BOX (vbox2), table1, FALSE, TRUE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table1), 3);
  gtk_table_set_col_spacings (GTK_TABLE (table1), 6);

  label11 = gtk_label_new (_("Make:"));
  gtk_widget_show (label11);
  gtk_table_attach (GTK_TABLE (table1), label11, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label11), 0, 0.5);

  label97 = gtk_label_new (_("Terminal:"));
  gtk_widget_show (label97);
  gtk_table_attach (GTK_TABLE (table1), label97, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label97), 0, 0.5);

  label117 = gtk_label_new (_("Browser:"));
  gtk_widget_show (label117);
  gtk_table_attach (GTK_TABLE (table1), label117, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label117), 0, 0.5);

  entry_com_make = gtk_entry_new ();
  gtk_widget_show (entry_com_make);
  gtk_table_attach (GTK_TABLE (table1), entry_com_make, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, entry_com_make, _("Path and options for the make tool"), NULL);

  entry_com_term = gtk_entry_new ();
  gtk_widget_show (entry_com_term);
  gtk_table_attach (GTK_TABLE (table1), entry_com_term, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, entry_com_term, _("A terminal emulator like xterm, gnome-terminal or konsole (should accept the -e argument)"), NULL);

  entry_browser = gtk_entry_new ();
  gtk_widget_show (entry_browser);
  gtk_table_attach (GTK_TABLE (table1), entry_browser, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, entry_browser, _("Path (and possibly additional arguments) to your favorite browser"), NULL);

  button_make = gtk_button_new ();
  gtk_widget_show (button_make);
  gtk_table_attach (GTK_TABLE (table1), button_make, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  image285 = gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image285);
  gtk_container_add (GTK_CONTAINER (button_make), image285);

  button_term = gtk_button_new ();
  gtk_widget_show (button_term);
  gtk_table_attach (GTK_TABLE (table1), button_term, 2, 3, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  image286 = gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image286);
  gtk_container_add (GTK_CONTAINER (button_term), image286);

  button_browser = gtk_button_new ();
  gtk_widget_show (button_browser);
  gtk_table_attach (GTK_TABLE (table1), button_browser, 2, 3, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  image287 = gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image287);
  gtk_container_add (GTK_CONTAINER (button_browser), image287);

  label171 = gtk_label_new (_("Grep:"));
  gtk_widget_show (label171);
  gtk_table_attach (GTK_TABLE (table1), label171, 0, 1, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label171), 0, 0.5);

  entry_grep = gtk_entry_new ();
  gtk_widget_show (entry_grep);
  gtk_table_attach (GTK_TABLE (table1), entry_grep, 1, 2, 3, 4,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  button_grep = gtk_button_new ();
  gtk_widget_show (button_grep);
  gtk_table_attach (GTK_TABLE (table1), button_grep, 2, 3, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  image808 = gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image808);
  gtk_container_add (GTK_CONTAINER (button_grep), image808);

  label179 = gtk_label_new (_("<b>Tool paths</b>"));
  gtk_widget_show (label179);
  gtk_frame_set_label_widget (GTK_FRAME (frame20), label179);
  gtk_label_set_use_markup (GTK_LABEL (label179), TRUE);

  frame26 = gtk_frame_new (NULL);
  gtk_widget_show (frame26);
  gtk_box_pack_start (GTK_BOX (vbox23), frame26, TRUE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame26), GTK_SHADOW_NONE);

  alignment29 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment29);
  gtk_container_add (GTK_CONTAINER (frame26), alignment29);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment29), 0, 0, 12, 0);

  table12 = gtk_table_new (2, 3, FALSE);
  gtk_widget_show (table12);
  gtk_container_add (GTK_CONTAINER (alignment29), table12);
  gtk_table_set_row_spacings (GTK_TABLE (table12), 3);
  gtk_table_set_col_spacings (GTK_TABLE (table12), 6);

  label189 = gtk_label_new (_("Context action:"));
  gtk_widget_show (label189);
  gtk_table_attach (GTK_TABLE (table12), label189, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  entry_contextaction = gtk_entry_new ();
  gtk_widget_show (entry_contextaction);
  gtk_table_attach (GTK_TABLE (table12), entry_contextaction, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, entry_contextaction, _("Context action command. The currently selected word can be used with %s. It can appear anywhere in the given command and will be replaced before execution."), NULL);
  gtk_entry_set_invisible_char (GTK_ENTRY (entry_contextaction), 9679);

  button_contextaction = gtk_button_new ();
  gtk_widget_show (button_contextaction);
  gtk_table_attach (GTK_TABLE (table12), button_contextaction, 2, 3, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);

  image1919 = gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image1919);
  gtk_container_add (GTK_CONTAINER (button_contextaction), image1919);

  label193 = gtk_label_new (_("<b>Commands</b>"));
  gtk_widget_show (label193);
  gtk_frame_set_label_widget (GTK_FRAME (frame26), label193);
  gtk_label_set_use_markup (GTK_LABEL (label193), TRUE);

  label96 = gtk_label_new (_("Tools"));
  gtk_widget_show (label96);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook2), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook2), 5), label96);

  frame21 = gtk_frame_new (NULL);
  gtk_widget_show (frame21);
  gtk_container_add (GTK_CONTAINER (notebook2), frame21);
  gtk_container_set_border_width (GTK_CONTAINER (frame21), 5);
  gtk_frame_set_shadow_type (GTK_FRAME (frame21), GTK_SHADOW_NONE);

  alignment24 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment24);
  gtk_container_add (GTK_CONTAINER (frame21), alignment24);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment24), 0, 0, 12, 0);

  vbox9 = gtk_vbox_new (FALSE, 12);
  gtk_widget_show (vbox9);
  gtk_container_add (GTK_CONTAINER (alignment24), vbox9);

  vbox31 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox31);
  gtk_box_pack_start (GTK_BOX (vbox9), vbox31, FALSE, FALSE, 0);

  table6 = gtk_table_new (8, 2, FALSE);
  gtk_widget_show (table6);
  gtk_box_pack_start (GTK_BOX (vbox9), table6, FALSE, TRUE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table6), 6);
  gtk_table_set_col_spacings (GTK_TABLE (table6), 6);

  entry_template_mail = gtk_entry_new ();
  gtk_widget_show (entry_template_mail);
  gtk_table_attach (GTK_TABLE (table6), entry_template_mail, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, entry_template_mail, _("email address of the developer"), NULL);

  entry_template_initial = gtk_entry_new ();
  gtk_widget_show (entry_template_initial);
  gtk_table_attach (GTK_TABLE (table6), entry_template_initial, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, entry_template_initial, _("Initials of the developer name"), NULL);

  label126 = gtk_label_new (_("Initial version:"));
  gtk_widget_show (label126);
  gtk_table_attach (GTK_TABLE (table6), label126, 0, 1, 4, 5,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label126), 0, 0.5);

  entry_template_version = gtk_entry_new ();
  gtk_widget_show (entry_template_version);
  gtk_table_attach (GTK_TABLE (table6), entry_template_version, 1, 2, 4, 5,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, entry_template_version, _("Version number, which a new file initially has"), NULL);

  entry_template_company = gtk_entry_new ();
  gtk_widget_show (entry_template_company);
  gtk_table_attach (GTK_TABLE (table6), entry_template_company, 1, 2, 3, 4,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, entry_template_company, _("Company name"), NULL);

  label129 = gtk_label_new (_("Developer:"));
  gtk_widget_show (label129);
  gtk_table_attach (GTK_TABLE (table6), label129, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label129), 0, 0.5);

  label123 = gtk_label_new (_("Company:"));
  gtk_widget_show (label123);
  gtk_table_attach (GTK_TABLE (table6), label123, 0, 1, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label123), 0, 0.5);

  label130 = gtk_label_new (_("Mail address:"));
  gtk_widget_show (label130);
  gtk_table_attach (GTK_TABLE (table6), label130, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label130), 0, 0.5);

  label131 = gtk_label_new (_("Initials:"));
  gtk_widget_show (label131);
  gtk_table_attach (GTK_TABLE (table6), label131, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label131), 0, 0.5);

  entry_template_developer = gtk_entry_new ();
  gtk_widget_show (entry_template_developer);
  gtk_table_attach (GTK_TABLE (table6), entry_template_developer, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, entry_template_developer, _("The name of the developer"), NULL);

  label216 = gtk_label_new (_("Year:"));
  gtk_widget_show (label216);
  gtk_table_attach (GTK_TABLE (table6), label216, 0, 1, 5, 6,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label216), 0, 0.5);

  label217 = gtk_label_new (_("Date:"));
  gtk_widget_show (label217);
  gtk_table_attach (GTK_TABLE (table6), label217, 0, 1, 6, 7,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label217), 0, 0.5);

  label218 = gtk_label_new (_("Date & Time:"));
  gtk_widget_show (label218);
  gtk_table_attach (GTK_TABLE (table6), label218, 0, 1, 7, 8,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label218), 0, 0.5);

  entry_template_datetime = gtk_entry_new ();
  gtk_widget_show (entry_template_datetime);
  gtk_table_attach (GTK_TABLE (table6), entry_template_datetime, 1, 2, 7, 8,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, entry_template_datetime, _("Specify a format for the the {datetime} wildcard. You can use any conversion specifiers which can be used with the ANSI C strftime function."), NULL);

  entry_template_year = gtk_entry_new ();
  gtk_widget_show (entry_template_year);
  gtk_table_attach (GTK_TABLE (table6), entry_template_year, 1, 2, 5, 6,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, entry_template_year, _("Specify a format for the the {year} wildcard. You can use any conversion specifiers which can be used with the ANSI C strftime function."), NULL);

  entry_template_date = gtk_entry_new ();
  gtk_widget_show (entry_template_date);
  gtk_table_attach (GTK_TABLE (table6), entry_template_date, 1, 2, 6, 7,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, entry_template_date, _("Specify a format for the the {date} wildcard. You can use any conversion specifiers which can be used with the ANSI C strftime function."), NULL);

  label180 = gtk_label_new (_("<b>Template data</b>"));
  gtk_widget_show (label180);
  gtk_frame_set_label_widget (GTK_FRAME (frame21), label180);
  gtk_label_set_use_markup (GTK_LABEL (label180), TRUE);

  label119 = gtk_label_new (_("Templates"));
  gtk_widget_show (label119);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook2), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook2), 6), label119);

  frame22 = gtk_frame_new (NULL);
  gtk_widget_show (frame22);
  gtk_container_add (GTK_CONTAINER (notebook2), frame22);
  gtk_container_set_border_width (GTK_CONTAINER (frame22), 5);
  gtk_frame_set_shadow_type (GTK_FRAME (frame22), GTK_SHADOW_NONE);

  alignment25 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment25);
  gtk_container_add (GTK_CONTAINER (frame22), alignment25);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment25), 0, 0, 12, 0);

  vbox13 = gtk_vbox_new (FALSE, 5);
  gtk_widget_show (vbox13);
  gtk_container_add (GTK_CONTAINER (alignment25), vbox13);

  vbox32 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox32);
  gtk_box_pack_start (GTK_BOX (vbox13), vbox32, FALSE, TRUE, 0);

  scrolledwindow8 = gtk_scrolled_window_new (NULL, NULL);
  gtk_widget_show (scrolledwindow8);
  gtk_box_pack_start (GTK_BOX (vbox13), scrolledwindow8, TRUE, TRUE, 0);
  gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow8), GTK_SHADOW_IN);

  treeview7 = gtk_tree_view_new ();
  gtk_widget_show (treeview7);
  gtk_container_add (GTK_CONTAINER (scrolledwindow8), treeview7);
  gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (treeview7), TRUE);

  alignment10 = gtk_alignment_new (0.5, 0.5, 0.3, 1);
  gtk_widget_show (alignment10);
  gtk_box_pack_start (GTK_BOX (vbox13), alignment10, FALSE, FALSE, 0);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment10), 0, 5, 0, 0);

  button2 = gtk_button_new_with_mnemonic (_("C_hange"));
  gtk_widget_show (button2);
  gtk_container_add (GTK_CONTAINER (alignment10), button2);

  label181 = gtk_label_new (_("<b>Keyboard shortcuts</b>"));
  gtk_widget_show (label181);
  gtk_frame_set_label_widget (GTK_FRAME (frame22), label181);
  gtk_label_set_use_markup (GTK_LABEL (label181), TRUE);

  label151 = gtk_label_new (_("Keybindings"));
  gtk_widget_show (label151);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook2), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook2), 7), label151);

  vbox27 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox27);
  gtk_container_add (GTK_CONTAINER (notebook2), vbox27);
  gtk_container_set_border_width (GTK_CONTAINER (vbox27), 5);

  frame32 = gtk_frame_new (NULL);
  gtk_widget_show (frame32);
  gtk_box_pack_start (GTK_BOX (vbox27), frame32, FALSE, FALSE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame32), GTK_SHADOW_NONE);

  alignment35 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment35);
  gtk_container_add (GTK_CONTAINER (frame32), alignment35);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment35), 0, 0, 12, 0);

  hbox9 = gtk_hbox_new (FALSE, 5);
  gtk_widget_show (hbox9);
  gtk_container_add (GTK_CONTAINER (alignment35), hbox9);

  label202 = gtk_label_new (_("Command:"));
  gtk_widget_show (label202);
  gtk_box_pack_start (GTK_BOX (hbox9), label202, FALSE, FALSE, 0);

  entry_print_external_cmd = gtk_entry_new ();
  gtk_widget_show (entry_print_external_cmd);
  gtk_box_pack_start (GTK_BOX (hbox9), entry_print_external_cmd, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, entry_print_external_cmd, _("Path to the command for printing files (use %f for the filename)"), NULL);

  button_print_external_cmd = gtk_button_new ();
  gtk_widget_show (button_print_external_cmd);
  gtk_box_pack_start (GTK_BOX (hbox9), button_print_external_cmd, FALSE, FALSE, 0);

  image763 = gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_BUTTON);
  gtk_widget_show (image763);
  gtk_container_add (GTK_CONTAINER (button_print_external_cmd), image763);

  radio_print_external = gtk_radio_button_new_with_mnemonic (NULL, _("Use an external command for printing"));
  gtk_widget_show (radio_print_external);
  gtk_frame_set_label_widget (GTK_FRAME (frame32), radio_print_external);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_print_external), radio_print_external_group);
  radio_print_external_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_print_external));

  frame31 = gtk_frame_new (NULL);
  gtk_widget_show (frame31);
  gtk_box_pack_start (GTK_BOX (vbox27), frame31, FALSE, TRUE, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame31), GTK_SHADOW_NONE);

  alignment34 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment34);
  gtk_container_add (GTK_CONTAINER (frame31), alignment34);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment34), 0, 0, 12, 0);

  vbox29 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox29);
  gtk_container_add (GTK_CONTAINER (alignment34), vbox29);

  check_print_linenumbers = gtk_check_button_new_with_mnemonic (_("Print line numbers"));
  gtk_widget_show (check_print_linenumbers);
  gtk_box_pack_start (GTK_BOX (vbox29), check_print_linenumbers, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_print_linenumbers, _("Add line numbers to the printed page"), NULL);

  check_print_pagenumbers = gtk_check_button_new_with_mnemonic (_("Print page numbers"));
  gtk_widget_show (check_print_pagenumbers);
  gtk_box_pack_start (GTK_BOX (vbox29), check_print_pagenumbers, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_print_pagenumbers, _("Add page numbers at the bottom of each page. It takes 2 lines of the page."), NULL);

  check_print_pageheader = gtk_check_button_new_with_mnemonic (_("Print page header"));
  gtk_widget_show (check_print_pageheader);
  gtk_box_pack_start (GTK_BOX (vbox29), check_print_pageheader, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_print_pageheader, _("Add a little header to every page containing the page number, the filename and the current date (see below). It takes 3 lines of the page."), NULL);

  frame33 = gtk_frame_new (NULL);
  gtk_widget_show (frame33);
  gtk_box_pack_start (GTK_BOX (vbox29), frame33, TRUE, TRUE, 0);
  gtk_frame_set_label_align (GTK_FRAME (frame33), 0, 0);
  gtk_frame_set_shadow_type (GTK_FRAME (frame33), GTK_SHADOW_NONE);

  alignment36 = gtk_alignment_new (0, 0.5, 1, 1);
  gtk_widget_show (alignment36);
  gtk_container_add (GTK_CONTAINER (frame33), alignment36);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment36), 0, 0, 12, 0);

  vbox30 = gtk_vbox_new (FALSE, 1);
  gtk_widget_show (vbox30);
  gtk_container_add (GTK_CONTAINER (alignment36), vbox30);

  check_print_basename = gtk_check_button_new_with_mnemonic (_("Use the basename of the printed file"));
  gtk_widget_show (check_print_basename);
  gtk_box_pack_start (GTK_BOX (vbox30), check_print_basename, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_print_basename, _("Print only the basename (without the path) of the printed file"), NULL);

  hbox10 = gtk_hbox_new (FALSE, 5);
  gtk_widget_show (hbox10);
  gtk_box_pack_start (GTK_BOX (vbox30), hbox10, TRUE, TRUE, 0);

  label203 = gtk_label_new (_("Date format:"));
  gtk_widget_show (label203);
  gtk_box_pack_start (GTK_BOX (hbox10), label203, FALSE, FALSE, 0);

  entry_print_dateformat = gtk_entry_new ();
  gtk_widget_show (entry_print_dateformat);
  gtk_box_pack_start (GTK_BOX (hbox10), entry_print_dateformat, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, entry_print_dateformat, _("Specify a format for the date and time stamp which is added to the page header on each page. You can use any conversion specifiers which can be used with the ANSI C strftime function."), NULL);
  gtk_entry_set_invisible_char (GTK_ENTRY (entry_print_dateformat), 9679);

  radio_print_gtk = gtk_radio_button_new_with_mnemonic (NULL, _("Use native GTK printing"));
  gtk_widget_show (radio_print_gtk);
  gtk_frame_set_label_widget (GTK_FRAME (frame31), radio_print_gtk);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_print_gtk), radio_print_external_group);
  radio_print_external_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_print_gtk));

  label201 = gtk_label_new (_("Printing"));
  gtk_widget_show (label201);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook2), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook2), 8), label201);

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

  button3 = gtk_button_new_from_stock ("gtk-apply");
  gtk_widget_show (button3);
  gtk_dialog_add_action_widget (GTK_DIALOG (prefs_dialog), button3, GTK_RESPONSE_APPLY);
  GTK_WIDGET_SET_FLAGS (button3, GTK_CAN_DEFAULT);

  button4 = gtk_button_new_from_stock ("gtk-cancel");
  gtk_widget_show (button4);
  gtk_dialog_add_action_widget (GTK_DIALOG (prefs_dialog), button4, GTK_RESPONSE_CANCEL);
  GTK_WIDGET_SET_FLAGS (button4, GTK_CAN_DEFAULT);

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

  g_signal_connect ((gpointer) button_customize_toolbar, "clicked",
                    G_CALLBACK (on_button_customize_toolbar_clicked),
                    NULL);

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (prefs_dialog, prefs_dialog, "prefs_dialog");
  GLADE_HOOKUP_OBJECT_NO_REF (prefs_dialog, dialog_vbox3, "dialog_vbox3");
  GLADE_HOOKUP_OBJECT (prefs_dialog, notebook2, "notebook2");
  GLADE_HOOKUP_OBJECT (prefs_dialog, notebook5, "notebook5");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox20, "vbox20");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame10, "frame10");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment13, "alignment13");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox4, "vbox4");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_load_session, "check_load_session");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_vte, "check_vte");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_plugins, "check_plugins");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label162, "label162");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame34, "frame34");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment37, "alignment37");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox34, "vbox34");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_save_win_pos, "check_save_win_pos");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_ask_for_quit, "check_ask_for_quit");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label206, "label206");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame25, "frame25");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment28, "alignment28");
  GLADE_HOOKUP_OBJECT (prefs_dialog, table11, "table11");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label191, "label191");
  GLADE_HOOKUP_OBJECT (prefs_dialog, startup_path_entry, "startup_path_entry");
  GLADE_HOOKUP_OBJECT (prefs_dialog, startup_path_button, "startup_path_button");
  GLADE_HOOKUP_OBJECT (prefs_dialog, image1741, "image1741");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label192, "label192");
  GLADE_HOOKUP_OBJECT (prefs_dialog, project_file_path_entry, "project_file_path_entry");
  GLADE_HOOKUP_OBJECT (prefs_dialog, project_file_path_button, "project_file_path_button");
  GLADE_HOOKUP_OBJECT (prefs_dialog, image1775, "image1775");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label235, "label235");
  GLADE_HOOKUP_OBJECT (prefs_dialog, extra_plugin_path_entry, "extra_plugin_path_entry");
  GLADE_HOOKUP_OBJECT (prefs_dialog, extra_plugin_path_button, "extra_plugin_path_button");
  GLADE_HOOKUP_OBJECT (prefs_dialog, image2852, "image2852");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label190, "label190");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label233, "label233");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox41, "vbox41");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame19, "frame19");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment22, "alignment22");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox21, "vbox21");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_beep, "check_beep");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_switch_pages, "check_switch_pages");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_suppress_status_msgs, "check_suppress_status_msgs");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_auto_focus, "check_auto_focus");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label199, "label199");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame36, "frame36");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment39, "alignment39");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox36, "vbox36");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_ask_suppress_search_dialogs, "check_ask_suppress_search_dialogs");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_search_use_current_word, "check_search_use_current_word");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_fif_current_dir, "check_fif_current_dir");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label215, "label215");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame35, "frame35");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment38, "alignment38");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox35, "vbox35");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_project_session, "check_project_session");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_project_file_in_basedir, "check_project_file_in_basedir");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label207, "label207");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label234, "label234");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label94, "label94");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox14, "vbox14");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame7, "frame7");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment9, "alignment9");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox11, "vbox11");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_list_symbol, "check_list_symbol");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_list_openfiles, "check_list_openfiles");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label146, "label146");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame4, "frame4");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment5, "alignment5");
  GLADE_HOOKUP_OBJECT (prefs_dialog, table2, "table2");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label100, "label100");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label101, "label101");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label103, "label103");
  GLADE_HOOKUP_OBJECT (prefs_dialog, msgwin_font, "msgwin_font");
  GLADE_HOOKUP_OBJECT (prefs_dialog, tagbar_font, "tagbar_font");
  GLADE_HOOKUP_OBJECT (prefs_dialog, editor_font, "editor_font");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label99, "label99");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame29, "frame29");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment32, "alignment32");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox26, "vbox26");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_show_notebook_tabs, "check_show_notebook_tabs");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_show_tab_cross, "check_show_tab_cross");
  GLADE_HOOKUP_OBJECT (prefs_dialog, hbox7, "hbox7");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label150, "label150");
  GLADE_HOOKUP_OBJECT (prefs_dialog, radio_tab_left, "radio_tab_left");
  GLADE_HOOKUP_OBJECT (prefs_dialog, radio_tab_right, "radio_tab_right");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_double_click_hides_widgets, "check_double_click_hides_widgets");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label197, "label197");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame9, "frame9");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment12, "alignment12");
  GLADE_HOOKUP_OBJECT (prefs_dialog, table8, "table8");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label160, "label160");
  GLADE_HOOKUP_OBJECT (prefs_dialog, combo_tab_msgwin, "combo_tab_msgwin");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label161, "label161");
  GLADE_HOOKUP_OBJECT (prefs_dialog, combo_tab_sidebar, "combo_tab_sidebar");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label159, "label159");
  GLADE_HOOKUP_OBJECT (prefs_dialog, combo_tab_editor, "combo_tab_editor");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label158, "label158");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame23, "frame23");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment26, "alignment26");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox22, "vbox22");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_statusbar_visible, "check_statusbar_visible");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label187, "label187");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label157, "label157");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox15, "vbox15");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame28, "frame28");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment31, "alignment31");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox42, "vbox42");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_toolbar_show, "check_toolbar_show");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_toolbar_in_menu, "check_toolbar_in_menu");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label196, "label196");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame13, "frame13");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment16, "alignment16");
  GLADE_HOOKUP_OBJECT (prefs_dialog, table9, "table9");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label169, "label169");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label170, "label170");
  GLADE_HOOKUP_OBJECT (prefs_dialog, radio_toolbar_imagetext, "radio_toolbar_imagetext");
  GLADE_HOOKUP_OBJECT (prefs_dialog, radio_toolbar_small, "radio_toolbar_small");
  GLADE_HOOKUP_OBJECT (prefs_dialog, radio_toolbar_large, "radio_toolbar_large");
  GLADE_HOOKUP_OBJECT (prefs_dialog, radio_toolbar_text, "radio_toolbar_text");
  GLADE_HOOKUP_OBJECT (prefs_dialog, radio_toolbar_image, "radio_toolbar_image");
  GLADE_HOOKUP_OBJECT (prefs_dialog, radio_toolbar_verysmall, "radio_toolbar_verysmall");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label167, "label167");
  GLADE_HOOKUP_OBJECT (prefs_dialog, hbox15, "hbox15");
  GLADE_HOOKUP_OBJECT (prefs_dialog, button_customize_toolbar, "button_customize_toolbar");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment45, "alignment45");
  GLADE_HOOKUP_OBJECT (prefs_dialog, hbox16, "hbox16");
  GLADE_HOOKUP_OBJECT (prefs_dialog, image2877, "image2877");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label236, "label236");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label164, "label164");
  GLADE_HOOKUP_OBJECT (prefs_dialog, notebook4, "notebook4");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox5, "vbox5");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame14, "frame14");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment17, "alignment17");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox17, "vbox17");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_line_wrapping, "check_line_wrapping");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_smart_home, "check_smart_home");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_disable_dnd, "check_disable_dnd");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_folding, "check_folding");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_unfold_children, "check_unfold_children");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_indicators, "check_indicators");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_newline_strip, "check_newline_strip");
  GLADE_HOOKUP_OBJECT (prefs_dialog, hbox11, "hbox11");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label209, "label209");
  GLADE_HOOKUP_OBJECT (prefs_dialog, spin_line_break, "spin_line_break");
  GLADE_HOOKUP_OBJECT (prefs_dialog, hbox12, "hbox12");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label220, "label220");
  GLADE_HOOKUP_OBJECT (prefs_dialog, entry_toggle_mark, "entry_toggle_mark");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label172, "label172");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label211, "label211");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox40, "vbox40");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label_project_indent_warning, "label_project_indent_warning");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame27, "frame27");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment30, "alignment30");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox25, "vbox25");
  GLADE_HOOKUP_OBJECT (prefs_dialog, table13, "table13");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label183, "label183");
  GLADE_HOOKUP_OBJECT (prefs_dialog, combo_auto_indent_mode, "combo_auto_indent_mode");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label200, "label200");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label222, "label222");
  GLADE_HOOKUP_OBJECT (prefs_dialog, spin_indent_width, "spin_indent_width");
  GLADE_HOOKUP_OBJECT (prefs_dialog, radio_indent_spaces, "radio_indent_spaces");
  GLADE_HOOKUP_OBJECT (prefs_dialog, radio_indent_tabs, "radio_indent_tabs");
  GLADE_HOOKUP_OBJECT (prefs_dialog, radio_indent_both, "radio_indent_both");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment41, "alignment41");
  GLADE_HOOKUP_OBJECT (prefs_dialog, hbox13, "hbox13");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label221, "label221");
  GLADE_HOOKUP_OBJECT (prefs_dialog, spin_tab_width, "spin_tab_width");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_detect_indent, "check_detect_indent");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_tab_key_indents, "check_tab_key_indents");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label195, "label195");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label232, "label232");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox39, "vbox39");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame18, "frame18");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment21, "alignment21");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox19, "vbox19");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_complete_snippets, "check_complete_snippets");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_xmltag, "check_xmltag");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_auto_multiline, "check_auto_multiline");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_symbol_auto_completion, "check_symbol_auto_completion");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_autocomplete_doc_words, "check_autocomplete_doc_words");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_completion_drops_rest_of_word, "check_completion_drops_rest_of_word");
  GLADE_HOOKUP_OBJECT (prefs_dialog, table14, "table14");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label223, "label223");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label173, "label173");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label205, "label205");
  GLADE_HOOKUP_OBJECT (prefs_dialog, spin_symbol_complete_chars, "spin_symbol_complete_chars");
  GLADE_HOOKUP_OBJECT (prefs_dialog, spin_symbollistheight, "spin_symbollistheight");
  GLADE_HOOKUP_OBJECT (prefs_dialog, spin_autocompletion_max_entries, "spin_autocompletion_max_entries");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label177, "label177");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame38, "frame38");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment42, "alignment42");
  GLADE_HOOKUP_OBJECT (prefs_dialog, table16, "table16");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_autoclose_parenthesis, "check_autoclose_parenthesis");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_autoclose_squote, "check_autoclose_squote");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_autoclose_cbracket, "check_autoclose_cbracket");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_autoclose_sbracket, "check_autoclose_sbracket");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_autoclose_dquote, "check_autoclose_dquote");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label225, "label225");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label226, "label226");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox24, "vbox24");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame5, "frame5");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment6, "alignment6");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox12, "vbox12");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_highlighting_invert, "check_highlighting_invert");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_indent, "check_indent");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_white_space, "check_white_space");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_line_end, "check_line_end");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_line_numbers, "check_line_numbers");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_markers_margin, "check_markers_margin");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_scroll_stop_at_last_line, "check_scroll_stop_at_last_line");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label102, "label102");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame8, "frame8");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment11, "alignment11");
  GLADE_HOOKUP_OBJECT (prefs_dialog, table7, "table7");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label133, "label133");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label134, "label134");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label156, "label156");
  GLADE_HOOKUP_OBJECT (prefs_dialog, long_line_color, "long_line_color");
  GLADE_HOOKUP_OBJECT (prefs_dialog, spin_long_line, "spin_long_line");
  GLADE_HOOKUP_OBJECT (prefs_dialog, hbox5, "hbox5");
  GLADE_HOOKUP_OBJECT (prefs_dialog, radio_long_line_line, "radio_long_line_line");
  GLADE_HOOKUP_OBJECT (prefs_dialog, radio_long_line_background, "radio_long_line_background");
  GLADE_HOOKUP_OBJECT (prefs_dialog, radio_long_line_disabled, "radio_long_line_disabled");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label155, "label155");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label213, "label213");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label95, "label95");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox18, "vbox18");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame6, "frame6");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment7, "alignment7");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox8, "vbox8");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox38, "vbox38");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_cmdline_new_files, "check_cmdline_new_files");
  GLADE_HOOKUP_OBJECT (prefs_dialog, table15, "table15");
  GLADE_HOOKUP_OBJECT (prefs_dialog, combo_eol, "combo_eol");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label210, "label210");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label109, "label109");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame37, "frame37");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment40, "alignment40");
  GLADE_HOOKUP_OBJECT (prefs_dialog, table5, "table5");
  GLADE_HOOKUP_OBJECT (prefs_dialog, eventbox1, "eventbox1");
  GLADE_HOOKUP_OBJECT (prefs_dialog, combo_new_encoding, "combo_new_encoding");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label153, "label153");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label_open_encoding, "label_open_encoding");
  GLADE_HOOKUP_OBJECT (prefs_dialog, eventbox3, "eventbox3");
  GLADE_HOOKUP_OBJECT (prefs_dialog, combo_open_encoding, "combo_open_encoding");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_open_encoding, "check_open_encoding");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label219, "label219");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame2, "frame2");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment3, "alignment3");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox6, "vbox6");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_new_line, "check_new_line");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_trailing_spaces, "check_trailing_spaces");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_replace_tabs, "check_replace_tabs");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label19, "label19");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame17, "frame17");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment20, "alignment20");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox37, "vbox37");
  GLADE_HOOKUP_OBJECT (prefs_dialog, table10, "table10");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label147, "label147");
  GLADE_HOOKUP_OBJECT (prefs_dialog, spin_mru, "spin_mru");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label208, "label208");
  GLADE_HOOKUP_OBJECT (prefs_dialog, spin_disk_check, "spin_disk_check");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label198, "label198");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label174, "label174");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox23, "vbox23");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame20, "frame20");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment23, "alignment23");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox2, "vbox2");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox33, "vbox33");
  GLADE_HOOKUP_OBJECT (prefs_dialog, table1, "table1");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label11, "label11");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label97, "label97");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label117, "label117");
  GLADE_HOOKUP_OBJECT (prefs_dialog, entry_com_make, "entry_com_make");
  GLADE_HOOKUP_OBJECT (prefs_dialog, entry_com_term, "entry_com_term");
  GLADE_HOOKUP_OBJECT (prefs_dialog, entry_browser, "entry_browser");
  GLADE_HOOKUP_OBJECT (prefs_dialog, button_make, "button_make");
  GLADE_HOOKUP_OBJECT (prefs_dialog, image285, "image285");
  GLADE_HOOKUP_OBJECT (prefs_dialog, button_term, "button_term");
  GLADE_HOOKUP_OBJECT (prefs_dialog, image286, "image286");
  GLADE_HOOKUP_OBJECT (prefs_dialog, button_browser, "button_browser");
  GLADE_HOOKUP_OBJECT (prefs_dialog, image287, "image287");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label171, "label171");
  GLADE_HOOKUP_OBJECT (prefs_dialog, entry_grep, "entry_grep");
  GLADE_HOOKUP_OBJECT (prefs_dialog, button_grep, "button_grep");
  GLADE_HOOKUP_OBJECT (prefs_dialog, image808, "image808");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label179, "label179");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame26, "frame26");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment29, "alignment29");
  GLADE_HOOKUP_OBJECT (prefs_dialog, table12, "table12");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label189, "label189");
  GLADE_HOOKUP_OBJECT (prefs_dialog, entry_contextaction, "entry_contextaction");
  GLADE_HOOKUP_OBJECT (prefs_dialog, button_contextaction, "button_contextaction");
  GLADE_HOOKUP_OBJECT (prefs_dialog, image1919, "image1919");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label193, "label193");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label96, "label96");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame21, "frame21");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment24, "alignment24");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox9, "vbox9");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox31, "vbox31");
  GLADE_HOOKUP_OBJECT (prefs_dialog, table6, "table6");
  GLADE_HOOKUP_OBJECT (prefs_dialog, entry_template_mail, "entry_template_mail");
  GLADE_HOOKUP_OBJECT (prefs_dialog, entry_template_initial, "entry_template_initial");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label126, "label126");
  GLADE_HOOKUP_OBJECT (prefs_dialog, entry_template_version, "entry_template_version");
  GLADE_HOOKUP_OBJECT (prefs_dialog, entry_template_company, "entry_template_company");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label129, "label129");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label123, "label123");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label130, "label130");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label131, "label131");
  GLADE_HOOKUP_OBJECT (prefs_dialog, entry_template_developer, "entry_template_developer");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label216, "label216");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label217, "label217");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label218, "label218");
  GLADE_HOOKUP_OBJECT (prefs_dialog, entry_template_datetime, "entry_template_datetime");
  GLADE_HOOKUP_OBJECT (prefs_dialog, entry_template_year, "entry_template_year");
  GLADE_HOOKUP_OBJECT (prefs_dialog, entry_template_date, "entry_template_date");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label180, "label180");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label119, "label119");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame22, "frame22");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment25, "alignment25");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox13, "vbox13");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox32, "vbox32");
  GLADE_HOOKUP_OBJECT (prefs_dialog, scrolledwindow8, "scrolledwindow8");
  GLADE_HOOKUP_OBJECT (prefs_dialog, treeview7, "treeview7");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment10, "alignment10");
  GLADE_HOOKUP_OBJECT (prefs_dialog, button2, "button2");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label181, "label181");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label151, "label151");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox27, "vbox27");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame32, "frame32");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment35, "alignment35");
  GLADE_HOOKUP_OBJECT (prefs_dialog, hbox9, "hbox9");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label202, "label202");
  GLADE_HOOKUP_OBJECT (prefs_dialog, entry_print_external_cmd, "entry_print_external_cmd");
  GLADE_HOOKUP_OBJECT (prefs_dialog, button_print_external_cmd, "button_print_external_cmd");
  GLADE_HOOKUP_OBJECT (prefs_dialog, image763, "image763");
  GLADE_HOOKUP_OBJECT (prefs_dialog, radio_print_external, "radio_print_external");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame31, "frame31");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment34, "alignment34");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox29, "vbox29");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_print_linenumbers, "check_print_linenumbers");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_print_pagenumbers, "check_print_pagenumbers");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_print_pageheader, "check_print_pageheader");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame33, "frame33");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment36, "alignment36");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox30, "vbox30");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_print_basename, "check_print_basename");
  GLADE_HOOKUP_OBJECT (prefs_dialog, hbox10, "hbox10");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label203, "label203");
  GLADE_HOOKUP_OBJECT (prefs_dialog, entry_print_dateformat, "entry_print_dateformat");
  GLADE_HOOKUP_OBJECT (prefs_dialog, radio_print_gtk, "radio_print_gtk");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label201, "label201");
  GLADE_HOOKUP_OBJECT_NO_REF (prefs_dialog, dialog_action_area3, "dialog_action_area3");
  GLADE_HOOKUP_OBJECT (prefs_dialog, button3, "button3");
  GLADE_HOOKUP_OBJECT (prefs_dialog, button4, "button4");
  GLADE_HOOKUP_OBJECT (prefs_dialog, button5, "button5");
  GLADE_HOOKUP_OBJECT_NO_REF (prefs_dialog, tooltips, "tooltips");

  gtk_widget_grab_default (button5);
  return prefs_dialog;
}

GtkWidget*
create_project_dialog (void)
{
  GtkWidget *project_dialog;
  GtkWidget *dialog_vbox4;
  GtkWidget *project_notebook;
  GtkWidget *table17;
  GtkWidget *label228;
  GtkWidget *combo_auto_indent_mode;
  GtkWidget *label229;
  GtkWidget *label230;
  GtkObject *spin_indent_width_adj;
  GtkWidget *spin_indent_width;
  GtkWidget *radio_indent_spaces;
  GSList *radio_indent_spaces_group = NULL;
  GtkWidget *radio_indent_tabs;
  GtkWidget *radio_indent_both;
  GtkWidget *alignment44;
  GtkWidget *hbox14;
  GtkWidget *label231;
  GtkObject *spin_tab_width_adj;
  GtkWidget *spin_tab_width;
  GtkWidget *check_detect_indent;
  GtkWidget *label227;
  GtkWidget *dialog_action_area4;
  GtkWidget *cancelbutton1;
  GtkWidget *okbutton1;
  GtkTooltips *tooltips;

  tooltips = gtk_tooltips_new ();

  project_dialog = gtk_dialog_new ();
  gtk_window_set_title (GTK_WINDOW (project_dialog), _("Project Properties"));
  gtk_window_set_type_hint (GTK_WINDOW (project_dialog), GDK_WINDOW_TYPE_HINT_DIALOG);

  dialog_vbox4 = GTK_DIALOG (project_dialog)->vbox;
  gtk_widget_show (dialog_vbox4);

  project_notebook = gtk_notebook_new ();
  gtk_widget_show (project_notebook);
  gtk_box_pack_start (GTK_BOX (dialog_vbox4), project_notebook, TRUE, TRUE, 0);

  table17 = gtk_table_new (7, 2, FALSE);
  gtk_widget_show (table17);
  gtk_container_add (GTK_CONTAINER (project_notebook), table17);
  gtk_container_set_border_width (GTK_CONTAINER (table17), 6);
  gtk_table_set_row_spacings (GTK_TABLE (table17), 3);
  gtk_table_set_col_spacings (GTK_TABLE (table17), 24);

  label228 = gtk_label_new (_("Auto-indent mode:"));
  gtk_widget_show (label228);
  gtk_table_attach (GTK_TABLE (table17), label228, 0, 1, 6, 7,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label228), 0, 0.5);

  combo_auto_indent_mode = gtk_combo_box_new_text ();
  gtk_widget_show (combo_auto_indent_mode);
  gtk_table_attach (GTK_TABLE (table17), combo_auto_indent_mode, 1, 2, 6, 7,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  gtk_combo_box_append_text (GTK_COMBO_BOX (combo_auto_indent_mode), _("None"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (combo_auto_indent_mode), _("Basic"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (combo_auto_indent_mode), _("Current chars"));
  gtk_combo_box_append_text (GTK_COMBO_BOX (combo_auto_indent_mode), _("Match braces"));

  label229 = gtk_label_new (_("Type:"));
  gtk_widget_show (label229);
  gtk_table_attach (GTK_TABLE (table17), label229, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label229), 0, 0.5);

  label230 = gtk_label_new (_("Width:"));
  gtk_widget_show (label230);
  gtk_table_attach (GTK_TABLE (table17), label230, 0, 1, 0, 1,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label230), 0, 0.5);

  spin_indent_width_adj = gtk_adjustment_new (1, 1, 99, 1, 10, 0);
  spin_indent_width = gtk_spin_button_new (GTK_ADJUSTMENT (spin_indent_width_adj), 1, 0);
  gtk_widget_show (spin_indent_width);
  gtk_table_attach (GTK_TABLE (table17), spin_indent_width, 1, 2, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, spin_indent_width, _("The width in chars of a single indent"), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spin_indent_width), TRUE);
  gtk_spin_button_set_update_policy (GTK_SPIN_BUTTON (spin_indent_width), GTK_UPDATE_IF_VALID);
  gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (spin_indent_width), TRUE);

  radio_indent_spaces = gtk_radio_button_new_with_mnemonic (NULL, _("_Spaces"));
  gtk_widget_show (radio_indent_spaces);
  gtk_table_attach (GTK_TABLE (table17), radio_indent_spaces, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, radio_indent_spaces, _("Use spaces when inserting indentation"), NULL);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_indent_spaces), radio_indent_spaces_group);
  radio_indent_spaces_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_indent_spaces));

  radio_indent_tabs = gtk_radio_button_new_with_mnemonic (NULL, _("_Tabs"));
  gtk_widget_show (radio_indent_tabs);
  gtk_table_attach (GTK_TABLE (table17), radio_indent_tabs, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, radio_indent_tabs, _("Use one tab per indent"), NULL);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_indent_tabs), radio_indent_spaces_group);
  radio_indent_spaces_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_indent_tabs));

  radio_indent_both = gtk_radio_button_new_with_mnemonic (NULL, _("T_abs and Spaces"));
  gtk_widget_show (radio_indent_both);
  gtk_table_attach (GTK_TABLE (table17), radio_indent_both, 1, 2, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, radio_indent_both, _("Use spaces if the total indent is less than the tab width, otherwise use both"), NULL);
  gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_indent_both), radio_indent_spaces_group);
  radio_indent_spaces_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_indent_both));

  alignment44 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment44);
  gtk_table_attach (GTK_TABLE (table17), alignment44, 1, 2, 4, 5,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment44), 0, 0, 24, 0);

  hbox14 = gtk_hbox_new (FALSE, 12);
  gtk_widget_show (hbox14);
  gtk_container_add (GTK_CONTAINER (alignment44), hbox14);

  label231 = gtk_label_new (_("Hard tab width:"));
  gtk_widget_show (label231);
  gtk_box_pack_start (GTK_BOX (hbox14), label231, FALSE, FALSE, 0);

  spin_tab_width_adj = gtk_adjustment_new (8, 1, 99, 1, 10, 0);
  spin_tab_width = gtk_spin_button_new (GTK_ADJUSTMENT (spin_tab_width_adj), 1, 0);
  gtk_widget_show (spin_tab_width);
  gtk_box_pack_start (GTK_BOX (hbox14), spin_tab_width, TRUE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, spin_tab_width, _("The width of a tab when Tabs & Spaces is set for a document"), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spin_tab_width), TRUE);
  gtk_spin_button_set_update_policy (GTK_SPIN_BUTTON (spin_tab_width), GTK_UPDATE_IF_VALID);
  gtk_spin_button_set_wrap (GTK_SPIN_BUTTON (spin_tab_width), TRUE);

  check_detect_indent = gtk_check_button_new_with_mnemonic (_("Detect from file"));
  gtk_widget_show (check_detect_indent);
  gtk_table_attach (GTK_TABLE (table17), check_detect_indent, 1, 2, 5, 6,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, check_detect_indent, _("Whether to detect the indentation type from file contents when a file is opened"), NULL);

  label227 = gtk_label_new (_("Indentation"));
  gtk_widget_show (label227);
  gtk_notebook_set_tab_label (GTK_NOTEBOOK (project_notebook), gtk_notebook_get_nth_page (GTK_NOTEBOOK (project_notebook), 0), label227);

  dialog_action_area4 = GTK_DIALOG (project_dialog)->action_area;
  gtk_widget_show (dialog_action_area4);
  gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area4), GTK_BUTTONBOX_END);

  cancelbutton1 = gtk_button_new_from_stock ("gtk-cancel");
  gtk_widget_show (cancelbutton1);
  gtk_dialog_add_action_widget (GTK_DIALOG (project_dialog), cancelbutton1, GTK_RESPONSE_CANCEL);
  GTK_WIDGET_SET_FLAGS (cancelbutton1, GTK_CAN_DEFAULT);

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

  /* Store pointers to all widgets, for use by lookup_widget(). */
  GLADE_HOOKUP_OBJECT_NO_REF (project_dialog, project_dialog, "project_dialog");
  GLADE_HOOKUP_OBJECT_NO_REF (project_dialog, dialog_vbox4, "dialog_vbox4");
  GLADE_HOOKUP_OBJECT (project_dialog, project_notebook, "project_notebook");
  GLADE_HOOKUP_OBJECT (project_dialog, table17, "table17");
  GLADE_HOOKUP_OBJECT (project_dialog, label228, "label228");
  GLADE_HOOKUP_OBJECT (project_dialog, combo_auto_indent_mode, "combo_auto_indent_mode");
  GLADE_HOOKUP_OBJECT (project_dialog, label229, "label229");
  GLADE_HOOKUP_OBJECT (project_dialog, label230, "label230");
  GLADE_HOOKUP_OBJECT (project_dialog, spin_indent_width, "spin_indent_width");
  GLADE_HOOKUP_OBJECT (project_dialog, radio_indent_spaces, "radio_indent_spaces");
  GLADE_HOOKUP_OBJECT (project_dialog, radio_indent_tabs, "radio_indent_tabs");
  GLADE_HOOKUP_OBJECT (project_dialog, radio_indent_both, "radio_indent_both");
  GLADE_HOOKUP_OBJECT (project_dialog, alignment44, "alignment44");
  GLADE_HOOKUP_OBJECT (project_dialog, hbox14, "hbox14");
  GLADE_HOOKUP_OBJECT (project_dialog, label231, "label231");
  GLADE_HOOKUP_OBJECT (project_dialog, spin_tab_width, "spin_tab_width");
  GLADE_HOOKUP_OBJECT (project_dialog, check_detect_indent, "check_detect_indent");
  GLADE_HOOKUP_OBJECT (project_dialog, label227, "label227");
  GLADE_HOOKUP_OBJECT_NO_REF (project_dialog, dialog_action_area4, "dialog_action_area4");
  GLADE_HOOKUP_OBJECT (project_dialog, cancelbutton1, "cancelbutton1");
  GLADE_HOOKUP_OBJECT (project_dialog, okbutton1, "okbutton1");
  GLADE_HOOKUP_OBJECT_NO_REF (project_dialog, tooltips, "tooltips");

  return project_dialog;
}

