/*
 * 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 *menubar1;
  GtkWidget *menuitem1;
  GtkWidget *menuitem1_menu;
  GtkWidget *menu_new1;
  GtkWidget *menu_new_with_template1;
  GtkWidget *image1145;
  GtkWidget *menu_new_with_template1_menu;
  GtkWidget *invisible2;
  GtkWidget *separator12;
  GtkWidget *menu_open1;
  GtkWidget *recent_files1;
  GtkWidget *recent_files1_menu;
  GtkWidget *invisible5;
  GtkWidget *separator13;
  GtkWidget *menu_save1;
  GtkWidget *menu_save_as1;
  GtkWidget *menu_save_all1;
  GtkWidget *image1146;
  GtkWidget *menu_reload1;
  GtkWidget *image1147;
  GtkWidget *menu_reload_as1;
  GtkWidget *image1148;
  GtkWidget *menu_reload_as1_menu;
  GtkWidget *invisible7;
  GtkWidget *separator21;
  GtkWidget *preferences2;
  GtkWidget *separator24;
  GtkWidget *print1;
  GtkWidget *separator14;
  GtkWidget *menu_close1;
  GtkWidget *menu_close_all1;
  GtkWidget *image1149;
  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_to_lower_case2;
  GtkWidget *menu_to_upper_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 *image1150;
  GtkWidget *menu_decrease_indent1;
  GtkWidget *image1151;
  GtkWidget *separator18;
  GtkWidget *insert_include2;
  GtkWidget *image1152;
  GtkWidget *insert_include2_menu;
  GtkWidget *invisible4;
  GtkWidget *add_comments1;
  GtkWidget *image1153;
  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_date1;
  GtkWidget *insert_date1_menu;
  GtkWidget *invisible8;
  GtkWidget *separator9;
  GtkWidget *preferences1;
  GtkWidget *search1;
  GtkWidget *search1_menu;
  GtkWidget *find1;
  GtkWidget *find_next1;
  GtkWidget *find_previous1;
  GtkWidget *replace1;
  GtkWidget *image1154;
  GtkWidget *separator27;
  GtkWidget *find_in_files1;
  GtkWidget *separator11;
  GtkWidget *go_to_line1;
  GtkWidget *image1155;
  GtkWidget *menuitem3;
  GtkWidget *menuitem3_menu;
  GtkWidget *menu_change_font1;
  GtkWidget *image1156;
  GtkWidget *menu_separator4;
  GtkWidget *menu_fullscreen1;
  GtkWidget *menu_show_messages_window1;
  GtkWidget *menu_show_toolbar1;
  GtkWidget *menu_show_sidebar1;
  GtkWidget *menu_markers_margin1;
  GtkWidget *menu_linenumber_margin1;
  GtkWidget *menu_separator5;
  GtkWidget *menu_zoom_in1;
  GtkWidget *menu_zoom_out1;
  GtkWidget *normal_size1;
  GtkWidget *menu_item4;
  GtkWidget *menu_item4_menu;
  GtkWidget *menu_line_breaking1;
  GtkWidget *menu_use_auto_indention1;
  GtkWidget *set_file_readonly1;
  GtkWidget *menu_write_unicode_bom1;
  GtkWidget *separator10;
  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 *menu_replace_tabs;
  GtkWidget *separator22;
  GtkWidget *menu_fold_all1;
  GtkWidget *menu_unfold_all1;
  GtkWidget *separator23;
  GtkWidget *menu_remove_indicators1;
  GtkWidget *menu_build1;
  GtkWidget *tools1;
  GtkWidget *tools1_menu;
  GtkWidget *menu_choose_color1;
  GtkWidget *image1157;
  GtkWidget *menu_count_words1;
  GtkWidget *menu_item5;
  GtkWidget *menu_item5_menu;
  GtkWidget *help1;
  GtkWidget *keyboard_shortcuts1;
  GtkWidget *website1;
  GtkWidget *separator16;
  GtkWidget *menu_info1;
  GtkWidget *toolbar1;
  GtkIconSize tmp_toolbar_icon_size;
  GtkWidget *menutoolbutton1;
  GtkWidget *toolbutton9;
  GtkWidget *toolbutton10;
  GtkWidget *toolbutton22;
  GtkWidget *separatortoolitem7;
  GtkWidget *toolbutton23;
  GtkWidget *toolbutton15;
  GtkWidget *separatortoolitem2;
  GtkWidget *toolbutton_undo;
  GtkWidget *toolbutton_redo;
  GtkWidget *separatortoolitem9;
  GtkWidget *tmp_image;
  GtkWidget *toolbutton13;
  GtkWidget *toolbutton26;
  GtkWidget *separatortoolitem6;
  GtkWidget *toolbutton24;
  GtkWidget *separatortoolitem3;
  GtkWidget *toolbutton20;
  GtkWidget *toolbutton21;
  GtkWidget *separatortoolitem4;
  GtkWidget *toolitem18;
  GtkWidget *entry1;
  GtkWidget *toolbutton18;
  GtkWidget *separatortoolitem5;
  GtkWidget *toolitem17;
  GtkWidget *entry_goto_line;
  GtkWidget *toolbutton25;
  GtkWidget *separatortoolitem8;
  GtkWidget *toolbutton19;
  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);

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

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

  menuitem1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (menuitem1), menuitem1_menu);

  menu_new1 = gtk_image_menu_item_new_from_stock ("gtk-new", accel_group);
  gtk_widget_show (menu_new1);
  gtk_container_add (GTK_CONTAINER (menuitem1_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 (menuitem1_menu), menu_new_with_template1);

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

  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);

  separator12 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator12);
  gtk_container_add (GTK_CONTAINER (menuitem1_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 (menuitem1_menu), menu_open1);

  recent_files1 = gtk_menu_item_new_with_mnemonic (_("Recent _files"));
  gtk_widget_show (recent_files1);
  gtk_container_add (GTK_CONTAINER (menuitem1_menu), recent_files1);

  recent_files1_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (recent_files1), recent_files1_menu);

  invisible5 = gtk_menu_item_new_with_mnemonic (_("invisible"));
  gtk_container_add (GTK_CONTAINER (recent_files1_menu), invisible5);

  separator13 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator13);
  gtk_container_add (GTK_CONTAINER (menuitem1_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 (menuitem1_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 (menuitem1_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 (menuitem1_menu), menu_save_all1);
  gtk_tooltips_set_tip (tooltips, menu_save_all1, _("Saves all open files"), NULL);

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

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

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

  menu_reload_as1 = gtk_image_menu_item_new_with_mnemonic (_("R_eload as"));
  gtk_widget_show (menu_reload_as1);
  gtk_container_add (GTK_CONTAINER (menuitem1_menu), menu_reload_as1);

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

  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 (menuitem1_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 (menuitem1_menu), preferences2);

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

  print1 = gtk_image_menu_item_new_from_stock ("gtk-print", accel_group);
  gtk_widget_show (print1);
  gtk_container_add (GTK_CONTAINER (menuitem1_menu), print1);
  gtk_tooltips_set_tip (tooltips, print1, _("Prints the current file"), NULL);

  separator14 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator14);
  gtk_container_add (GTK_CONTAINER (menuitem1_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 (menuitem1_menu), menu_close1);

  menu_close_all1 = gtk_image_menu_item_new_with_mnemonic (_("C_lose all"));
  gtk_widget_show (menu_close_all1);
  gtk_container_add (GTK_CONTAINER (menuitem1_menu), menu_close_all1);
  gtk_tooltips_set_tip (tooltips, menu_close_all1, _("Closes all open files"), NULL);

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

  menu_separatormenuitem1 = gtk_separator_menu_item_new ();
  gtk_widget_show (menu_separatormenuitem1);
  gtk_container_add (GTK_CONTAINER (menuitem1_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 (menuitem1_menu), menu_quit1);
  gtk_tooltips_set_tip (tooltips, menu_quit1, _("Quit Geany"), NULL);

  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_menu_item_new_with_mnemonic (_("Select _All"));
  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);
  gtk_tooltips_set_tip (tooltips, menu_format1, _("Convert the case of the current selection"), NULL);

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

  menu_to_lower_case2 = gtk_menu_item_new_with_mnemonic (_("Convert Selection to _lower-case"));
  gtk_widget_show (menu_to_lower_case2);
  gtk_container_add (GTK_CONTAINER (menu_format1_menu), menu_to_lower_case2);

  menu_to_upper_case2 = gtk_menu_item_new_with_mnemonic (_("Convert Selection to _upper-case"));
  gtk_widget_show (menu_to_upper_case2);
  gtk_container_add (GTK_CONTAINER (menu_format1_menu), menu_to_upper_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"));
  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"));
  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"));
  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);

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

  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);

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

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

  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);

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

  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);

  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);

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

  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);
  gtk_tooltips_set_tip (tooltips, menu_add_changelog_entry1, _("Inserts a typical ChangeLog entry in the current file"), NULL);

  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);
  gtk_tooltips_set_tip (tooltips, insert_file_header1, _("Inserts a file header at the beginning of the file"), NULL);

  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);
  gtk_tooltips_set_tip (tooltips, insert_function_description2, _("Inserts a description before the current function"), NULL);

  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);
  gtk_tooltips_set_tip (tooltips, insert_multiline_comment2, _("Inserts a multiline comment"), NULL);

  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);
  gtk_tooltips_set_tip (tooltips, insert_gpl_notice2, _("Inserts a GPL notice (should be done at the beginning of the file)"), NULL);

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

  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);

  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_from_stock ("gtk-preferences", accel_group);
  gtk_widget_show (preferences1);
  gtk_container_add (GTK_CONTAINER (edit1_menu), preferences1);

  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);

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

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

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

  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);

  separator11 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator11);
  gtk_container_add (GTK_CONTAINER (search1_menu), separator11);
  gtk_widget_set_sensitive (separator11, 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);

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

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

  menuitem3_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (menuitem3), menuitem3_menu);

  menu_change_font1 = gtk_image_menu_item_new_with_mnemonic (_("Change _Font"));
  gtk_widget_show (menu_change_font1);
  gtk_container_add (GTK_CONTAINER (menuitem3_menu), menu_change_font1);
  gtk_tooltips_set_tip (tooltips, menu_change_font1, _("Change the default font"), NULL);

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

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

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

  menu_show_messages_window1 = gtk_check_menu_item_new_with_mnemonic (_("Show Messages _Window"));
  gtk_widget_show (menu_show_messages_window1);
  gtk_container_add (GTK_CONTAINER (menuitem3_menu), menu_show_messages_window1);
  gtk_tooltips_set_tip (tooltips, menu_show_messages_window1, _("Toggle the window with status and compiler messages on and off"), NULL);
  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 (menuitem3_menu), menu_show_toolbar1);
  gtk_tooltips_set_tip (tooltips, menu_show_toolbar1, _("Toggle the toolbar on and off"), NULL);
  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 (menuitem3_menu), menu_show_sidebar1);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_show_sidebar1), TRUE);

  menu_markers_margin1 = gtk_check_menu_item_new_with_mnemonic (_("Show _Markers Margin"));
  gtk_widget_show (menu_markers_margin1);
  gtk_container_add (GTK_CONTAINER (menuitem3_menu), menu_markers_margin1);
  gtk_tooltips_set_tip (tooltips, menu_markers_margin1, _("Shows or hides the small margin right of the line numbers, which is used to mark lines."), NULL);
  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 (menuitem3_menu), menu_linenumber_margin1);
  gtk_tooltips_set_tip (tooltips, menu_linenumber_margin1, _("Shows or hides the Line Number margin."), NULL);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_linenumber_margin1), TRUE);

  menu_separator5 = gtk_separator_menu_item_new ();
  gtk_widget_show (menu_separator5);
  gtk_container_add (GTK_CONTAINER (menuitem3_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 (menuitem3_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 (menuitem3_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 (menuitem3_menu), normal_size1);

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

  menu_item4_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_item4), menu_item4_menu);

  menu_line_breaking1 = gtk_check_menu_item_new_with_mnemonic (_("_Line wrapping"));
  gtk_widget_show (menu_line_breaking1);
  gtk_container_add (GTK_CONTAINER (menu_item4_menu), menu_line_breaking1);
  gtk_tooltips_set_tip (tooltips, menu_line_breaking1, _("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);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_line_breaking1), TRUE);

  menu_use_auto_indention1 = gtk_check_menu_item_new_with_mnemonic (_("_Use auto indentation"));
  gtk_widget_show (menu_use_auto_indention1);
  gtk_container_add (GTK_CONTAINER (menu_item4_menu), menu_use_auto_indention1);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_use_auto_indention1), TRUE);

  set_file_readonly1 = gtk_check_menu_item_new_with_mnemonic (_("Read _only"));
  gtk_widget_show (set_file_readonly1);
  gtk_container_add (GTK_CONTAINER (menu_item4_menu), set_file_readonly1);
  gtk_tooltips_set_tip (tooltips, set_file_readonly1, _("Treat this file as read-only. No changes can be made."), NULL);

  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_item4_menu), menu_write_unicode_bom1);

  separator10 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator10);
  gtk_container_add (GTK_CONTAINER (menu_item4_menu), separator10);
  gtk_widget_set_sensitive (separator10, FALSE);

  set_filetype1 = gtk_menu_item_new_with_mnemonic (_("Set file_type"));
  gtk_widget_show (set_filetype1);
  gtk_container_add (GTK_CONTAINER (menu_item4_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_item4_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_item4_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_item4_menu), separator8);
  gtk_widget_set_sensitive (separator8, FALSE);

  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_item4_menu), menu_replace_tabs);
  gtk_tooltips_set_tip (tooltips, menu_replace_tabs, _("Replaces all tabs in document by spaces."), NULL);

  separator22 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator22);
  gtk_container_add (GTK_CONTAINER (menu_item4_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_item4_menu), menu_fold_all1);
  gtk_tooltips_set_tip (tooltips, menu_fold_all1, _("Folds all contractible code blocks"), NULL);

  menu_unfold_all1 = gtk_menu_item_new_with_mnemonic (_("_Unfold all"));
  gtk_widget_show (menu_unfold_all1);
  gtk_container_add (GTK_CONTAINER (menu_item4_menu), menu_unfold_all1);
  gtk_tooltips_set_tip (tooltips, menu_unfold_all1, _("Unfolds all contracted code blocks"), NULL);

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

  menu_remove_indicators1 = gtk_menu_item_new_with_mnemonic (_("Remove error _indicators"));
  gtk_widget_show (menu_remove_indicators1);
  gtk_container_add (GTK_CONTAINER (menu_item4_menu), menu_remove_indicators1);
  gtk_tooltips_set_tip (tooltips, menu_remove_indicators1, _("Removes all error indicators in the current document."), NULL);

  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 (_("_Colour Chooser"));
  gtk_widget_show (menu_choose_color1);
  gtk_container_add (GTK_CONTAINER (tools1_menu), menu_choose_color1);
  gtk_tooltips_set_tip (tooltips, menu_choose_color1, _("Open a color chooser dialog, to interactively pick colors from a palette."), NULL);

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

  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);
  gtk_tooltips_set_tip (tooltips, menu_count_words1, _("Counts the words and characters in the current selection or the whole document"), NULL);

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

  menu_item5_menu = gtk_menu_new ();
  gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_item5), menu_item5_menu);

  help1 = gtk_image_menu_item_new_from_stock ("gtk-help", accel_group);
  gtk_widget_show (help1);
  gtk_container_add (GTK_CONTAINER (menu_item5_menu), help1);

  keyboard_shortcuts1 = gtk_menu_item_new_with_mnemonic (_("_Keyboard shortcuts"));
  gtk_widget_show (keyboard_shortcuts1);
  gtk_container_add (GTK_CONTAINER (menu_item5_menu), keyboard_shortcuts1);
  gtk_tooltips_set_tip (tooltips, keyboard_shortcuts1, _("Shows a list of all keyboard shortcuts for Geany."), NULL);

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

  separator16 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator16);
  gtk_container_add (GTK_CONTAINER (menu_item5_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_item5_menu), menu_info1);

  toolbar1 = gtk_toolbar_new ();
  gtk_widget_show (toolbar1);
  gtk_box_pack_start (GTK_BOX (vbox1), toolbar1, FALSE, FALSE, 0);
  gtk_toolbar_set_style (GTK_TOOLBAR (toolbar1), GTK_TOOLBAR_BOTH);
  tmp_toolbar_icon_size = gtk_toolbar_get_icon_size (GTK_TOOLBAR (toolbar1));

  menutoolbutton1 = (GtkWidget*) gtk_menu_tool_button_new_from_stock ("gtk-new");
  gtk_widget_show (menutoolbutton1);
  gtk_tool_item_set_homogeneous (GTK_TOOL_ITEM (menutoolbutton1), FALSE);
  gtk_container_add (GTK_CONTAINER (toolbar1), menutoolbutton1);
  gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (menutoolbutton1), tooltips, _("Create a new file"), NULL);

  toolbutton9 = (GtkWidget*) gtk_menu_tool_button_new_from_stock ("gtk-open");
  gtk_widget_show (toolbutton9);
  gtk_tool_item_set_homogeneous (GTK_TOOL_ITEM (toolbutton9), FALSE);
  gtk_container_add (GTK_CONTAINER (toolbar1), toolbutton9);
  gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (toolbutton9), tooltips, _("Open an existing file"), NULL);

  toolbutton10 = (GtkWidget*) gtk_tool_button_new_from_stock ("gtk-save");
  gtk_widget_show (toolbutton10);
  gtk_container_add (GTK_CONTAINER (toolbar1), toolbutton10);
  gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (toolbutton10), tooltips, _("Save the current file"), NULL);

  toolbutton22 = (GtkWidget*) gtk_tool_button_new (NULL, _("Save all"));
  gtk_widget_show (toolbutton22);
  gtk_container_add (GTK_CONTAINER (toolbar1), toolbutton22);
  gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (toolbutton22), tooltips, _("Save all open files"), NULL);

  separatortoolitem7 = (GtkWidget*) gtk_separator_tool_item_new ();
  gtk_widget_show (separatortoolitem7);
  gtk_container_add (GTK_CONTAINER (toolbar1), separatortoolitem7);

  toolbutton23 = (GtkWidget*) gtk_tool_button_new_from_stock ("gtk-revert-to-saved");
  gtk_widget_show (toolbutton23);
  gtk_container_add (GTK_CONTAINER (toolbar1), toolbutton23);
  gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (toolbutton23), tooltips, _("Reload the current file from disk"), NULL);

  toolbutton15 = (GtkWidget*) gtk_tool_button_new_from_stock ("gtk-close");
  gtk_widget_show (toolbutton15);
  gtk_container_add (GTK_CONTAINER (toolbar1), toolbutton15);
  gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (toolbutton15), tooltips, _("Close the current file"), NULL);

  separatortoolitem2 = (GtkWidget*) gtk_separator_tool_item_new ();
  gtk_widget_show (separatortoolitem2);
  gtk_container_add (GTK_CONTAINER (toolbar1), separatortoolitem2);

  toolbutton_undo = (GtkWidget*) gtk_tool_button_new_from_stock ("gtk-undo");
  gtk_widget_show (toolbutton_undo);
  gtk_container_add (GTK_CONTAINER (toolbar1), toolbutton_undo);
  gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (toolbutton_undo), tooltips, _("Undo the last modification"), NULL);

  toolbutton_redo = (GtkWidget*) gtk_tool_button_new_from_stock ("gtk-redo");
  gtk_widget_show (toolbutton_redo);
  gtk_container_add (GTK_CONTAINER (toolbar1), toolbutton_redo);
  gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (toolbutton_redo), tooltips, _("Redo the last modification"), NULL);

  separatortoolitem9 = (GtkWidget*) gtk_separator_tool_item_new ();
  gtk_widget_show (separatortoolitem9);
  gtk_container_add (GTK_CONTAINER (toolbar1), separatortoolitem9);

  tmp_image = gtk_image_new_from_stock ("gtk-convert", tmp_toolbar_icon_size);
  gtk_widget_show (tmp_image);
  toolbutton13 = (GtkWidget*) gtk_tool_button_new (tmp_image, _("Compile"));
  gtk_widget_show (toolbutton13);
  gtk_container_add (GTK_CONTAINER (toolbar1), toolbutton13);
  gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (toolbutton13), tooltips, _("Compile the current file"), NULL);

  toolbutton26 = (GtkWidget*) gtk_tool_button_new_from_stock ("gtk-execute");
  gtk_widget_show (toolbutton26);
  gtk_container_add (GTK_CONTAINER (toolbar1), toolbutton26);
  gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (toolbutton26), tooltips, _("Run or view the current file"), NULL);

  separatortoolitem6 = (GtkWidget*) gtk_separator_tool_item_new ();
  gtk_widget_show (separatortoolitem6);
  gtk_container_add (GTK_CONTAINER (toolbar1), separatortoolitem6);

  tmp_image = gtk_image_new_from_stock ("gtk-select-color", tmp_toolbar_icon_size);
  gtk_widget_show (tmp_image);
  toolbutton24 = (GtkWidget*) gtk_tool_button_new (tmp_image, _("Color"));
  gtk_widget_show (toolbutton24);
  gtk_container_add (GTK_CONTAINER (toolbar1), toolbutton24);
  gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (toolbutton24), tooltips, _("Open a color chooser dialog, to interactively pick colors from a palette."), NULL);

  separatortoolitem3 = (GtkWidget*) gtk_separator_tool_item_new ();
  gtk_widget_show (separatortoolitem3);
  gtk_container_add (GTK_CONTAINER (toolbar1), separatortoolitem3);

  toolbutton20 = (GtkWidget*) gtk_tool_button_new_from_stock ("gtk-zoom-in");
  gtk_widget_show (toolbutton20);
  gtk_container_add (GTK_CONTAINER (toolbar1), toolbutton20);
  gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (toolbutton20), tooltips, _("Zoom in the text"), NULL);

  toolbutton21 = (GtkWidget*) gtk_tool_button_new_from_stock ("gtk-zoom-out");
  gtk_widget_show (toolbutton21);
  gtk_container_add (GTK_CONTAINER (toolbar1), toolbutton21);
  gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (toolbutton21), tooltips, _("Zoom out the text"), NULL);

  separatortoolitem4 = (GtkWidget*) gtk_separator_tool_item_new ();
  gtk_widget_show (separatortoolitem4);
  gtk_container_add (GTK_CONTAINER (toolbar1), separatortoolitem4);

  toolitem18 = (GtkWidget*) gtk_tool_item_new ();
  gtk_widget_show (toolitem18);
  gtk_container_add (GTK_CONTAINER (toolbar1), toolitem18);

  entry1 = gtk_entry_new ();
  gtk_widget_show (entry1);
  gtk_container_add (GTK_CONTAINER (toolitem18), entry1);
  gtk_tooltips_set_tip (tooltips, entry1, _("Find the entered text in the current file"), NULL);

  toolbutton18 = (GtkWidget*) gtk_tool_button_new_from_stock ("gtk-find");
  gtk_widget_show (toolbutton18);
  gtk_container_add (GTK_CONTAINER (toolbar1), toolbutton18);
  gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (toolbutton18), tooltips, _("Find the entered text in the current file"), NULL);

  separatortoolitem5 = (GtkWidget*) gtk_separator_tool_item_new ();
  gtk_widget_show (separatortoolitem5);
  gtk_container_add (GTK_CONTAINER (toolbar1), separatortoolitem5);

  toolitem17 = (GtkWidget*) gtk_tool_item_new ();
  gtk_widget_show (toolitem17);
  gtk_container_add (GTK_CONTAINER (toolbar1), toolitem17);

  entry_goto_line = gtk_entry_new ();
  gtk_widget_show (entry_goto_line);
  gtk_container_add (GTK_CONTAINER (toolitem17), entry_goto_line);
  gtk_tooltips_set_tip (tooltips, entry_goto_line, _("Enter a line number and jump to it."), NULL);
  gtk_entry_set_max_length (GTK_ENTRY (entry_goto_line), 5);
  gtk_entry_set_width_chars (GTK_ENTRY (entry_goto_line), 8);

  toolbutton25 = (GtkWidget*) gtk_tool_button_new_from_stock ("gtk-jump-to");
  gtk_widget_show (toolbutton25);
  gtk_container_add (GTK_CONTAINER (toolbar1), toolbutton25);
  gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (toolbutton25), tooltips, _("Jump to the entered line number."), NULL);

  separatortoolitem8 = (GtkWidget*) gtk_separator_tool_item_new ();
  gtk_widget_show (separatortoolitem8);
  gtk_container_add (GTK_CONTAINER (toolbar1), separatortoolitem8);
  gtk_separator_tool_item_set_draw (GTK_SEPARATOR_TOOL_ITEM (separatortoolitem8), FALSE);

  toolbutton19 = (GtkWidget*) gtk_tool_button_new_from_stock ("gtk-quit");
  gtk_widget_show (toolbutton19);
  gtk_container_add (GTK_CONTAINER (toolbar1), toolbutton19);
  gtk_tool_item_set_tooltip (GTK_TOOL_ITEM (toolbutton19), tooltips, _("Quit Geany"), NULL);

  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);

  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);

  label136 = gtk_label_new (_("Open files"));
  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);
  gtk_notebook_popup_enable (GTK_NOTEBOOK (notebook1));

  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);

  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);

  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);

  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) 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_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_toolbutton23_clicked),
                    NULL);
  g_signal_connect ((gpointer) preferences2, "activate",
                    G_CALLBACK (on_file_properties_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) 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_to_lower_case2, "activate",
                    G_CALLBACK (on_to_lower_case1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_to_upper_case2, "activate",
                    G_CALLBACK (on_to_upper_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) 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_comments_multiline_activate),
                    NULL);
  g_signal_connect ((gpointer) insert_gpl_notice2, "activate",
                    G_CALLBACK (on_comments_gpl_activate),
                    NULL);
  g_signal_connect ((gpointer) preferences1, "activate",
                    G_CALLBACK (on_preferences1_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) replace1, "activate",
                    G_CALLBACK (on_replace1_activate),
                    NULL);
  g_signal_connect ((gpointer) find_in_files1, "activate",
                    G_CALLBACK (on_find_in_files1_activate),
                    NULL);
  g_signal_connect ((gpointer) go_to_line1, "activate",
                    G_CALLBACK (on_go_to_line1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_change_font1, "activate",
                    G_CALLBACK (on_change_font1_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_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_breaking1, "toggled",
                    G_CALLBACK (on_line_breaking1_toggled),
                    NULL);
  g_signal_connect ((gpointer) menu_use_auto_indention1, "toggled",
                    G_CALLBACK (on_use_auto_indention1_toggled),
                    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) menu_replace_tabs, "activate",
                    G_CALLBACK (on_replace_tabs_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) menu_remove_indicators1, "activate",
                    G_CALLBACK (on_menu_remove_indicators1_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) help1, "activate",
                    G_CALLBACK (on_help1_activate),
                    NULL);
  g_signal_connect ((gpointer) keyboard_shortcuts1, "activate",
                    G_CALLBACK (on_help_shortcuts1_activate),
                    NULL);
  g_signal_connect ((gpointer) website1, "activate",
                    G_CALLBACK (on_website1_activate),
                    NULL);
  g_signal_connect ((gpointer) menu_info1, "activate",
                    G_CALLBACK (on_info1_activate),
                    NULL);
  g_signal_connect ((gpointer) menutoolbutton1, "clicked",
                    G_CALLBACK (on_toolbutton_new_clicked),
                    NULL);
  g_signal_connect ((gpointer) toolbutton9, "clicked",
                    G_CALLBACK (on_toolbutton9_clicked),
                    NULL);
  g_signal_connect ((gpointer) toolbutton10, "clicked",
                    G_CALLBACK (on_toolbutton10_clicked),
                    NULL);
  g_signal_connect ((gpointer) toolbutton22, "clicked",
                    G_CALLBACK (on_save_all1_activate),
                    NULL);
  g_signal_connect ((gpointer) toolbutton23, "clicked",
                    G_CALLBACK (on_toolbutton23_clicked),
                    NULL);
  g_signal_connect ((gpointer) toolbutton15, "clicked",
                    G_CALLBACK (on_toolbutton15_clicked),
                    NULL);
  g_signal_connect ((gpointer) toolbutton_undo, "clicked",
                    G_CALLBACK (on_undo1_activate),
                    NULL);
  g_signal_connect ((gpointer) toolbutton_redo, "clicked",
                    G_CALLBACK (on_redo1_activate),
                    NULL);
  g_signal_connect ((gpointer) toolbutton13, "clicked",
                    G_CALLBACK (on_compile_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) toolbutton26, "clicked",
                    G_CALLBACK (on_run_button_clicked),
                    NULL);
  g_signal_connect ((gpointer) toolbutton24, "clicked",
                    G_CALLBACK (on_show_color_chooser1_activate),
                    NULL);
  g_signal_connect ((gpointer) toolbutton20, "clicked",
                    G_CALLBACK (on_zoom_in1_activate),
                    NULL);
  g_signal_connect ((gpointer) toolbutton21, "clicked",
                    G_CALLBACK (on_zoom_out1_activate),
                    NULL);
  g_signal_connect ((gpointer) entry1, "activate",
                    G_CALLBACK (on_entry1_activate),
                    NULL);
  g_signal_connect ((gpointer) entry1, "changed",
                    G_CALLBACK (on_entry1_changed),
                    NULL);
  g_signal_connect ((gpointer) toolbutton18, "clicked",
                    G_CALLBACK (on_toolbutton18_clicked),
                    NULL);
  g_signal_connect ((gpointer) entry_goto_line, "activate",
                    G_CALLBACK (on_entry_goto_line_activate),
                    NULL);
  g_signal_connect ((gpointer) toolbutton25, "clicked",
                    G_CALLBACK (on_toolbutton_goto_clicked),
                    NULL);
  g_signal_connect ((gpointer) toolbutton19, "clicked",
                    G_CALLBACK (on_toolbutton19_clicked),
                    NULL);
  g_signal_connect ((gpointer) notebook3, "switch_page",
                    G_CALLBACK (on_tv_notebook_switch_page),
                    NULL);
  g_signal_connect ((gpointer) notebook1, "switch_page",
                    G_CALLBACK (on_notebook1_switch_page),
                    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, menubar1, "menubar1");
  GLADE_HOOKUP_OBJECT (window1, menuitem1, "menuitem1");
  GLADE_HOOKUP_OBJECT (window1, menuitem1_menu, "menuitem1_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, image1145, "image1145");
  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, recent_files1, "recent_files1");
  GLADE_HOOKUP_OBJECT (window1, recent_files1_menu, "recent_files1_menu");
  GLADE_HOOKUP_OBJECT (window1, invisible5, "invisible5");
  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, image1146, "image1146");
  GLADE_HOOKUP_OBJECT (window1, menu_reload1, "menu_reload1");
  GLADE_HOOKUP_OBJECT (window1, image1147, "image1147");
  GLADE_HOOKUP_OBJECT (window1, menu_reload_as1, "menu_reload_as1");
  GLADE_HOOKUP_OBJECT (window1, image1148, "image1148");
  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, print1, "print1");
  GLADE_HOOKUP_OBJECT (window1, separator14, "separator14");
  GLADE_HOOKUP_OBJECT (window1, menu_close1, "menu_close1");
  GLADE_HOOKUP_OBJECT (window1, menu_close_all1, "menu_close_all1");
  GLADE_HOOKUP_OBJECT (window1, image1149, "image1149");
  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_to_lower_case2, "menu_to_lower_case2");
  GLADE_HOOKUP_OBJECT (window1, menu_to_upper_case2, "menu_to_upper_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, image1150, "image1150");
  GLADE_HOOKUP_OBJECT (window1, menu_decrease_indent1, "menu_decrease_indent1");
  GLADE_HOOKUP_OBJECT (window1, image1151, "image1151");
  GLADE_HOOKUP_OBJECT (window1, separator18, "separator18");
  GLADE_HOOKUP_OBJECT (window1, insert_include2, "insert_include2");
  GLADE_HOOKUP_OBJECT (window1, image1152, "image1152");
  GLADE_HOOKUP_OBJECT (window1, insert_include2_menu, "insert_include2_menu");
  GLADE_HOOKUP_OBJECT (window1, invisible4, "invisible4");
  GLADE_HOOKUP_OBJECT (window1, add_comments1, "add_comments1");
  GLADE_HOOKUP_OBJECT (window1, image1153, "image1153");
  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_date1, "insert_date1");
  GLADE_HOOKUP_OBJECT (window1, insert_date1_menu, "insert_date1_menu");
  GLADE_HOOKUP_OBJECT (window1, invisible8, "invisible8");
  GLADE_HOOKUP_OBJECT (window1, separator9, "separator9");
  GLADE_HOOKUP_OBJECT (window1, preferences1, "preferences1");
  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, replace1, "replace1");
  GLADE_HOOKUP_OBJECT (window1, image1154, "image1154");
  GLADE_HOOKUP_OBJECT (window1, separator27, "separator27");
  GLADE_HOOKUP_OBJECT (window1, find_in_files1, "find_in_files1");
  GLADE_HOOKUP_OBJECT (window1, separator11, "separator11");
  GLADE_HOOKUP_OBJECT (window1, go_to_line1, "go_to_line1");
  GLADE_HOOKUP_OBJECT (window1, image1155, "image1155");
  GLADE_HOOKUP_OBJECT (window1, menuitem3, "menuitem3");
  GLADE_HOOKUP_OBJECT (window1, menuitem3_menu, "menuitem3_menu");
  GLADE_HOOKUP_OBJECT (window1, menu_change_font1, "menu_change_font1");
  GLADE_HOOKUP_OBJECT (window1, image1156, "image1156");
  GLADE_HOOKUP_OBJECT (window1, menu_separator4, "menu_separator4");
  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_markers_margin1, "menu_markers_margin1");
  GLADE_HOOKUP_OBJECT (window1, menu_linenumber_margin1, "menu_linenumber_margin1");
  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_item4, "menu_item4");
  GLADE_HOOKUP_OBJECT (window1, menu_item4_menu, "menu_item4_menu");
  GLADE_HOOKUP_OBJECT (window1, menu_line_breaking1, "menu_line_breaking1");
  GLADE_HOOKUP_OBJECT (window1, menu_use_auto_indention1, "menu_use_auto_indention1");
  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, separator10, "separator10");
  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, menu_replace_tabs, "menu_replace_tabs");
  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, menu_remove_indicators1, "menu_remove_indicators1");
  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, image1157, "image1157");
  GLADE_HOOKUP_OBJECT (window1, menu_count_words1, "menu_count_words1");
  GLADE_HOOKUP_OBJECT (window1, menu_item5, "menu_item5");
  GLADE_HOOKUP_OBJECT (window1, menu_item5_menu, "menu_item5_menu");
  GLADE_HOOKUP_OBJECT (window1, help1, "help1");
  GLADE_HOOKUP_OBJECT (window1, keyboard_shortcuts1, "keyboard_shortcuts1");
  GLADE_HOOKUP_OBJECT (window1, website1, "website1");
  GLADE_HOOKUP_OBJECT (window1, separator16, "separator16");
  GLADE_HOOKUP_OBJECT (window1, menu_info1, "menu_info1");
  GLADE_HOOKUP_OBJECT (window1, toolbar1, "toolbar1");
  GLADE_HOOKUP_OBJECT (window1, menutoolbutton1, "menutoolbutton1");
  GLADE_HOOKUP_OBJECT (window1, toolbutton9, "toolbutton9");
  GLADE_HOOKUP_OBJECT (window1, toolbutton10, "toolbutton10");
  GLADE_HOOKUP_OBJECT (window1, toolbutton22, "toolbutton22");
  GLADE_HOOKUP_OBJECT (window1, separatortoolitem7, "separatortoolitem7");
  GLADE_HOOKUP_OBJECT (window1, toolbutton23, "toolbutton23");
  GLADE_HOOKUP_OBJECT (window1, toolbutton15, "toolbutton15");
  GLADE_HOOKUP_OBJECT (window1, separatortoolitem2, "separatortoolitem2");
  GLADE_HOOKUP_OBJECT (window1, toolbutton_undo, "toolbutton_undo");
  GLADE_HOOKUP_OBJECT (window1, toolbutton_redo, "toolbutton_redo");
  GLADE_HOOKUP_OBJECT (window1, separatortoolitem9, "separatortoolitem9");
  GLADE_HOOKUP_OBJECT (window1, toolbutton13, "toolbutton13");
  GLADE_HOOKUP_OBJECT (window1, toolbutton26, "toolbutton26");
  GLADE_HOOKUP_OBJECT (window1, separatortoolitem6, "separatortoolitem6");
  GLADE_HOOKUP_OBJECT (window1, toolbutton24, "toolbutton24");
  GLADE_HOOKUP_OBJECT (window1, separatortoolitem3, "separatortoolitem3");
  GLADE_HOOKUP_OBJECT (window1, toolbutton20, "toolbutton20");
  GLADE_HOOKUP_OBJECT (window1, toolbutton21, "toolbutton21");
  GLADE_HOOKUP_OBJECT (window1, separatortoolitem4, "separatortoolitem4");
  GLADE_HOOKUP_OBJECT (window1, toolitem18, "toolitem18");
  GLADE_HOOKUP_OBJECT (window1, entry1, "entry1");
  GLADE_HOOKUP_OBJECT (window1, toolbutton18, "toolbutton18");
  GLADE_HOOKUP_OBJECT (window1, separatortoolitem5, "separatortoolitem5");
  GLADE_HOOKUP_OBJECT (window1, toolitem17, "toolitem17");
  GLADE_HOOKUP_OBJECT (window1, entry_goto_line, "entry_goto_line");
  GLADE_HOOKUP_OBJECT (window1, toolbutton25, "toolbutton25");
  GLADE_HOOKUP_OBJECT (window1, separatortoolitem8, "separatortoolitem8");
  GLADE_HOOKUP_OBJECT (window1, toolbutton19, "toolbutton19");
  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 *separator20;
  GtkWidget *hide_toolbar1;
  GtkWidget *image800;

  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);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (images_and_text2), TRUE);

  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);
  gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (images_only2), TRUE);

  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);

  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);

  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);

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

  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) 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, separator20, "separator20");
  GLADE_HOOKUP_OBJECT (toolbar_popup_menu1, hide_toolbar1, "hide_toolbar1");
  GLADE_HOOKUP_OBJECT (toolbar_popup_menu1, image800, "image800");

  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 *zoom_in1;
  GtkWidget *zoom_out1;
  GtkWidget *normal_size2;
  GtkWidget *separator6;
  GtkWidget *menu_format2;
  GtkWidget *menu_format2_menu;
  GtkWidget *to_lower_case1;
  GtkWidget *to_upper_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 *image1139;
  GtkWidget *menu_decrease_indent2;
  GtkWidget *image1140;
  GtkWidget *separator17;
  GtkWidget *insert_include1;
  GtkWidget *image1141;
  GtkWidget *insert_include1_menu;
  GtkWidget *invisible3;
  GtkWidget *comments;
  GtkWidget *image1142;
  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_date2;
  GtkWidget *insert_date2_menu;
  GtkWidget *invisible10;
  GtkWidget *separator7;
  GtkWidget *find_usage1;
  GtkWidget *image1143;
  GtkWidget *goto_tag_definition1;
  GtkWidget *goto_tag_declaration1;
  GtkWidget *separator15;
  GtkWidget *go_to_line;
  GtkWidget *image1144;
  GtkAccelGroup *accel_group;
  GtkTooltips *tooltips;

  tooltips = gtk_tooltips_new ();

  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_menu_item_new_with_mnemonic (_("Select _All"));
  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);

  zoom_in1 = gtk_image_menu_item_new_from_stock ("gtk-zoom-in", accel_group);
  gtk_widget_show (zoom_in1);
  gtk_container_add (GTK_CONTAINER (edit_menu1), zoom_in1);

  zoom_out1 = gtk_image_menu_item_new_from_stock ("gtk-zoom-out", accel_group);
  gtk_widget_show (zoom_out1);
  gtk_container_add (GTK_CONTAINER (edit_menu1), zoom_out1);

  normal_size2 = gtk_image_menu_item_new_from_stock ("gtk-zoom-100", accel_group);
  gtk_widget_show (normal_size2);
  gtk_container_add (GTK_CONTAINER (edit_menu1), normal_size2);

  separator6 = gtk_separator_menu_item_new ();
  gtk_widget_show (separator6);
  gtk_container_add (GTK_CONTAINER (edit_menu1), separator6);
  gtk_widget_set_sensitive (separator6, 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);

  to_lower_case1 = gtk_menu_item_new_with_mnemonic (_("Convert Selection to _lower-case"));
  gtk_widget_show (to_lower_case1);
  gtk_container_add (GTK_CONTAINER (menu_format2_menu), to_lower_case1);

  to_upper_case1 = gtk_menu_item_new_with_mnemonic (_("Convert Selection to _upper-case"));
  gtk_widget_show (to_upper_case1);
  gtk_container_add (GTK_CONTAINER (menu_format2_menu), to_upper_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"));
  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"));
  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"));
  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);

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

  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);

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

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

  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);

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

  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);

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

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

  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);
  gtk_tooltips_set_tip (tooltips, add_changelog_entry2, _("Inserts a typical ChangeLog entry in the current file"), NULL);

  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);
  gtk_tooltips_set_tip (tooltips, insert_file_header2, _("Inserts a file header at the beginning of the file"), NULL);

  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);
  gtk_tooltips_set_tip (tooltips, insert_function_description1, _("Inserts a description before the current function"), NULL);

  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);
  gtk_tooltips_set_tip (tooltips, insert_multiline_comment1, _("Inserts a multiline comment"), NULL);

  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);
  gtk_tooltips_set_tip (tooltips, insert_gpl_notice1, _("Inserts a GPL notice (should be done at the beginning of the file)"), NULL);

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

  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);

  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);

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

  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 tag declaration"));
  gtk_widget_show (goto_tag_declaration1);
  gtk_container_add (GTK_CONTAINER (edit_menu1), goto_tag_declaration1);

  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);
  gtk_tooltips_set_tip (tooltips, go_to_line, _("Goto to the entered line"), NULL);

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

  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) zoom_in1, "activate",
                    G_CALLBACK (on_zoom_in1_activate),
                    NULL);
  g_signal_connect ((gpointer) zoom_out1, "activate",
                    G_CALLBACK (on_zoom_out1_activate),
                    NULL);
  g_signal_connect ((gpointer) normal_size2, "activate",
                    G_CALLBACK (on_normal_size1_activate),
                    NULL);
  g_signal_connect ((gpointer) to_lower_case1, "activate",
                    G_CALLBACK (on_to_lower_case1_activate),
                    NULL);
  g_signal_connect ((gpointer) to_upper_case1, "activate",
                    G_CALLBACK (on_to_upper_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) 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) find_usage1, "activate",
                    G_CALLBACK (on_find_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) 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, zoom_in1, "zoom_in1");
  GLADE_HOOKUP_OBJECT (edit_menu1, zoom_out1, "zoom_out1");
  GLADE_HOOKUP_OBJECT (edit_menu1, normal_size2, "normal_size2");
  GLADE_HOOKUP_OBJECT (edit_menu1, separator6, "separator6");
  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, to_lower_case1, "to_lower_case1");
  GLADE_HOOKUP_OBJECT (edit_menu1, to_upper_case1, "to_upper_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, image1139, "image1139");
  GLADE_HOOKUP_OBJECT (edit_menu1, menu_decrease_indent2, "menu_decrease_indent2");
  GLADE_HOOKUP_OBJECT (edit_menu1, image1140, "image1140");
  GLADE_HOOKUP_OBJECT (edit_menu1, separator17, "separator17");
  GLADE_HOOKUP_OBJECT (edit_menu1, insert_include1, "insert_include1");
  GLADE_HOOKUP_OBJECT (edit_menu1, image1141, "image1141");
  GLADE_HOOKUP_OBJECT (edit_menu1, insert_include1_menu, "insert_include1_menu");
  GLADE_HOOKUP_OBJECT (edit_menu1, invisible3, "invisible3");
  GLADE_HOOKUP_OBJECT (edit_menu1, comments, "comments");
  GLADE_HOOKUP_OBJECT (edit_menu1, image1142, "image1142");
  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_date2, "insert_date2");
  GLADE_HOOKUP_OBJECT (edit_menu1, insert_date2_menu, "insert_date2_menu");
  GLADE_HOOKUP_OBJECT (edit_menu1, invisible10, "invisible10");
  GLADE_HOOKUP_OBJECT (edit_menu1, separator7, "separator7");
  GLADE_HOOKUP_OBJECT (edit_menu1, find_usage1, "find_usage1");
  GLADE_HOOKUP_OBJECT (edit_menu1, image1143, "image1143");
  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, separator15, "separator15");
  GLADE_HOOKUP_OBJECT (edit_menu1, go_to_line, "go_to_line");
  GLADE_HOOKUP_OBJECT (edit_menu1, image1144, "image1144");
  GLADE_HOOKUP_OBJECT_NO_REF (edit_menu1, tooltips, "tooltips");

  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 *frame10;
  GtkWidget *alignment13;
  GtkWidget *vbox4;
  GtkWidget *check_load_session;
  GtkWidget *check_save_win_pos;
  GtkWidget *check_beep;
  GtkWidget *check_switch_pages;
  GtkWidget *check_vte;
  GtkWidget *check_ask_for_quit;
  GtkWidget *label163;
  GtkWidget *hbox2;
  GtkWidget *label147;
  GtkObject *spin_mru_adj;
  GtkWidget *spin_mru;
  GtkWidget *hbox3;
  GtkWidget *label150;
  GtkWidget *radio_tab_left;
  GSList *radio_tab_left_group = NULL;
  GtkWidget *label149;
  GtkWidget *radio_tab_right;
  GtkWidget *label162;
  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 *msgwin_font;
  GtkWidget *tagbar_font;
  GtkWidget *label103;
  GtkWidget *editor_font;
  GtkWidget *label99;
  GtkWidget *frame8;
  GtkWidget *alignment11;
  GtkWidget *table7;
  GtkWidget *label133;
  GtkWidget *label134;
  GtkObject *spin_long_line_adj;
  GtkWidget *spin_long_line;
  GtkWidget *label156;
  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 *long_line_color;
  GtkWidget *label155;
  GtkWidget *frame9;
  GtkWidget *alignment12;
  GtkWidget *table8;
  GtkWidget *label159;
  GtkWidget *label160;
  GtkWidget *label161;
  GtkWidget *combo_tab_msgwin;
  GtkWidget *combo_tab_sidebar;
  GtkWidget *combo_tab_editor;
  GtkWidget *label158;
  GtkWidget *label157;
  GtkWidget *vbox15;
  GtkWidget *frame12;
  GtkWidget *alignment15;
  GtkWidget *check_toolbar_show;
  GtkWidget *label166;
  GtkWidget *frame11;
  GtkWidget *alignment14;
  GtkWidget *vbox16;
  GtkWidget *check_toolbar_fileops;
  GtkWidget *check_toolbar_compile;
  GtkWidget *check_toolbar_colour;
  GtkWidget *check_toolbar_zoom;
  GtkWidget *check_toolbar_undo;
  GtkWidget *check_toolbar_search;
  GtkWidget *check_toolbar_goto;
  GtkWidget *label165;
  GtkWidget *frame13;
  GtkWidget *alignment16;
  GtkWidget *table9;
  GtkWidget *radio_toolbar_imagetext;
  GSList *radio_toolbar_imagetext_group = NULL;
  GtkWidget *radio_toolbar_image;
  GtkWidget *radio_toolbar_text;
  GtkWidget *radio_toolbar_large;
  GSList *radio_toolbar_large_group = NULL;
  GtkWidget *radio_toolbar_small;
  GtkWidget *label169;
  GtkWidget *label170;
  GtkWidget *label167;
  GtkWidget *label164;
  GtkWidget *vbox5;
  GtkWidget *frame6;
  GtkWidget *alignment7;
  GtkWidget *vbox8;
  GtkWidget *table5;
  GtkWidget *label116;
  GtkWidget *label153;
  GtkWidget *eventbox1;
  GtkWidget *combo_encoding;
  GtkObject *spin_tab_width_adj;
  GtkWidget *spin_tab_width;
  GtkWidget *label109;
  GtkWidget *frame2;
  GtkWidget *alignment3;
  GtkWidget *vbox6;
  GtkWidget *check_trailing_spaces;
  GtkWidget *check_new_line;
  GtkWidget *check_replace_tabs;
  GtkWidget *label19;
  GtkWidget *frame5;
  GtkWidget *alignment6;
  GtkWidget *vbox12;
  GtkWidget *check_indent;
  GtkWidget *check_white_space;
  GtkWidget *check_line_end;
  GtkWidget *label102;
  GtkWidget *frame14;
  GtkWidget *alignment17;
  GtkWidget *vbox17;
  GtkWidget *check_auto_indent;
  GtkWidget *check_line_wrapping;
  GtkWidget *check_auto_complete;
  GtkWidget *check_xmltag;
  GtkWidget *check_folding;
  GtkWidget *check_indicators;
  GtkWidget *hbox6;
  GtkWidget *label173;
  GtkObject *spin_autocheight_adj;
  GtkWidget *spin_autocheight;
  GtkWidget *label172;
  GtkWidget *label95;
  GtkWidget *vbox2;
  GtkWidget *label17;
  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 *label154;
  GtkWidget *entry_print;
  GtkWidget *button_print;
  GtkWidget *image763;
  GtkWidget *label171;
  GtkWidget *entry_grep;
  GtkWidget *button_grep;
  GtkWidget *image808;
  GtkWidget *label96;
  GtkWidget *vbox9;
  GtkWidget *label120;
  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 *label132;
  GtkWidget *label119;
  GtkWidget *vbox13;
  GtkWidget *label152;
  GtkWidget *scrolledwindow8;
  GtkWidget *treeview7;
  GtkWidget *alignment10;
  GtkWidget *button2;
  GtkWidget *label151;
  GtkWidget *dialog_action_area3;
  GtkWidget *cancelbutton1;
  GtkWidget *okbutton1;
  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_taskbar_hint (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_WIDGET_UNSET_FLAGS (notebook2, GTK_CAN_FOCUS);
  gtk_notebook_set_tab_pos (GTK_NOTEBOOK (notebook2), GTK_POS_LEFT);

  frame10 = gtk_frame_new (NULL);
  gtk_widget_show (frame10);
  gtk_container_add (GTK_CONTAINER (notebook2), frame10);
  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_WIDGET_UNSET_FLAGS (check_load_session, GTK_CAN_FOCUS);
  gtk_tooltips_set_tip (tooltips, check_load_session, _("Opens at startup the files from the last session"), NULL);
  gtk_button_set_focus_on_click (GTK_BUTTON (check_load_session), FALSE);

  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 (vbox4), check_save_win_pos, FALSE, FALSE, 0);
  GTK_WIDGET_UNSET_FLAGS (check_save_win_pos, GTK_CAN_FOCUS);
  gtk_tooltips_set_tip (tooltips, check_save_win_pos, _("Saves the window position and geometry and restores it at the start"), NULL);
  gtk_button_set_focus_on_click (GTK_BUTTON (check_save_win_pos), FALSE);

  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 (vbox4), check_beep, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_beep, _("Whether to beep if an error occured or when the compilation process has finished."), NULL);
  gtk_button_set_focus_on_click (GTK_BUTTON (check_beep), FALSE);

  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 (vbox4), 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);
  gtk_button_set_focus_on_click (GTK_BUTTON (check_switch_pages), FALSE);

  check_vte = gtk_check_button_new_with_mnemonic (_("Load virtual terminal emulation at startup"));
  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);
  gtk_button_set_focus_on_click (GTK_BUTTON (check_vte), FALSE);

  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 (vbox4), check_ask_for_quit, FALSE, FALSE, 0);
  GTK_WIDGET_UNSET_FLAGS (check_ask_for_quit, GTK_CAN_FOCUS);
  gtk_tooltips_set_tip (tooltips, check_ask_for_quit, _("Shows a confirmation dialog on exit."), NULL);
  gtk_button_set_focus_on_click (GTK_BUTTON (check_ask_for_quit), FALSE);

  label163 = gtk_label_new (" ");
  gtk_widget_show (label163);
  gtk_box_pack_start (GTK_BOX (vbox4), label163, FALSE, FALSE, 0);

  hbox2 = gtk_hbox_new (FALSE, 20);
  gtk_widget_show (hbox2);
  gtk_box_pack_start (GTK_BOX (vbox4), hbox2, FALSE, TRUE, 0);

  label147 = gtk_label_new (_("Recent files list length:"));
  gtk_widget_show (label147);
  gtk_box_pack_start (GTK_BOX (hbox2), label147, FALSE, FALSE, 0);

  spin_mru_adj = gtk_adjustment_new (4, 1, 50, 1, 10, 10);
  spin_mru = gtk_spin_button_new (GTK_ADJUSTMENT (spin_mru_adj), 1, 0);
  gtk_widget_show (spin_mru);
  gtk_box_pack_start (GTK_BOX (hbox2), spin_mru, FALSE, TRUE, 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);

  hbox3 = gtk_hbox_new (FALSE, 1);
  gtk_widget_show (hbox3);
  gtk_box_pack_start (GTK_BOX (vbox4), hbox3, FALSE, TRUE, 0);

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

  radio_tab_left = gtk_radio_button_new_with_mnemonic (NULL, _("Left"));
  gtk_widget_show (radio_tab_left);
  gtk_box_pack_start (GTK_BOX (hbox3), radio_tab_left, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, radio_tab_left, _("New file tabs will be placed to the left of the tab list"), 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);

  label149 = gtk_label_new ("   ");
  gtk_widget_show (label149);
  gtk_box_pack_start (GTK_BOX (hbox3), label149, FALSE, FALSE, 0);

  radio_tab_right = gtk_radio_button_new_with_mnemonic (NULL, _("Right"));
  gtk_widget_show (radio_tab_right);
  gtk_box_pack_start (GTK_BOX (hbox3), radio_tab_right, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, radio_tab_right, _("New file tabs will be placed to the right of the tab list"), 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));

  label162 = gtk_label_new ("");
  gtk_widget_show (label162);
  gtk_frame_set_label_widget (GTK_FRAME (frame10), label162);
  gtk_label_set_use_markup (GTK_LABEL (label162), TRUE);

  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);

  frame7 = gtk_frame_new (NULL);
  gtk_widget_show (frame7);
  gtk_box_pack_start (GTK_BOX (vbox14), frame7, TRUE, 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);
  gtk_button_set_focus_on_click (GTK_BUTTON (check_list_symbol), FALSE);

  check_list_openfiles = gtk_check_button_new_with_mnemonic (_("Show open files 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 symbol list on and off"), NULL);
  gtk_button_set_focus_on_click (GTK_BUTTON (check_list_openfiles), FALSE);

  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, TRUE, 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), 25);

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

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

  msgwin_font = gtk_font_button_new ();
  gtk_widget_show (msgwin_font);
  gtk_table_attach (GTK_TABLE (table2), msgwin_font, 1, 2, 1, 2,
                    (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, 0, 1,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, tagbar_font, _("Sets the font for symbol list window"), NULL);
  gtk_font_button_set_show_style (GTK_FONT_BUTTON (tagbar_font), FALSE);

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

  editor_font = gtk_font_button_new ();
  gtk_widget_show (editor_font);
  gtk_table_attach (GTK_TABLE (table2), editor_font, 1, 2, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, editor_font, _("Sets the font for the editors windows"), 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);

  frame8 = gtk_frame_new (NULL);
  gtk_widget_show (frame8);
  gtk_box_pack_start (GTK_BOX (vbox14), 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), 25);

  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);

  spin_long_line_adj = gtk_adjustment_new (72, 0, 1000, 1, 10, 10);
  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_EXPAND | 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);

  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);

  hbox5 = gtk_hbox_new (FALSE, 10);
  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 colour of characters after the given cursor position (see below) changed to the colour 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));

  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"));

  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);

  frame9 = gtk_frame_new (NULL);
  gtk_widget_show (frame9);
  gtk_box_pack_start (GTK_BOX (vbox14), frame9, TRUE, 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), 25);

  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);

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

  label161 = gtk_label_new (_("Sidebar"));
  gtk_widget_show (label161);
  gtk_table_attach (GTK_TABLE (table8), label161, 0, 1, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label161), 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, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  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"));

  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, 2, 3,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (GTK_FILL), 0, 0);
  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"));

  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_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 placement</b>"));
  gtk_widget_show (label158);
  gtk_frame_set_label_widget (GTK_FRAME (frame9), label158);
  gtk_label_set_use_markup (GTK_LABEL (label158), 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);

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

  alignment15 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment15);
  gtk_container_add (GTK_CONTAINER (frame12), alignment15);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment15), 0, 0, 12, 0);

  check_toolbar_show = gtk_check_button_new_with_mnemonic (_("Show Toolbar"));
  gtk_widget_show (check_toolbar_show);
  gtk_container_add (GTK_CONTAINER (alignment15), check_toolbar_show);
  GTK_WIDGET_UNSET_FLAGS (check_toolbar_show, GTK_CAN_FOCUS);
  gtk_button_set_focus_on_click (GTK_BUTTON (check_toolbar_show), FALSE);

  label166 = gtk_label_new ("");
  gtk_widget_show (label166);
  gtk_frame_set_label_widget (GTK_FRAME (frame12), label166);
  gtk_label_set_use_markup (GTK_LABEL (label166), TRUE);

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

  alignment14 = gtk_alignment_new (0.5, 0.5, 1, 1);
  gtk_widget_show (alignment14);
  gtk_container_add (GTK_CONTAINER (frame11), alignment14);
  gtk_alignment_set_padding (GTK_ALIGNMENT (alignment14), 0, 0, 12, 0);

  vbox16 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox16);
  gtk_container_add (GTK_CONTAINER (alignment14), vbox16);

  check_toolbar_fileops = gtk_check_button_new_with_mnemonic (_("Show file operation buttons"));
  gtk_widget_show (check_toolbar_fileops);
  gtk_box_pack_start (GTK_BOX (vbox16), check_toolbar_fileops, FALSE, FALSE, 0);
  GTK_WIDGET_UNSET_FLAGS (check_toolbar_fileops, GTK_CAN_FOCUS);
  gtk_tooltips_set_tip (tooltips, check_toolbar_fileops, _("Display the New, Open, Close, Save and Reload buttons in the toolbar"), NULL);
  gtk_button_set_focus_on_click (GTK_BUTTON (check_toolbar_fileops), FALSE);

  check_toolbar_compile = gtk_check_button_new_with_mnemonic (_("Show Compile and Run"));
  gtk_widget_show (check_toolbar_compile);
  gtk_box_pack_start (GTK_BOX (vbox16), check_toolbar_compile, FALSE, FALSE, 0);
  GTK_WIDGET_UNSET_FLAGS (check_toolbar_compile, GTK_CAN_FOCUS);
  gtk_tooltips_set_tip (tooltips, check_toolbar_compile, _("Display the Compile and Run buttons in the toolbar"), NULL);
  gtk_button_set_focus_on_click (GTK_BUTTON (check_toolbar_compile), FALSE);

  check_toolbar_colour = gtk_check_button_new_with_mnemonic (_("Show Colour Chooser button"));
  gtk_widget_show (check_toolbar_colour);
  gtk_box_pack_start (GTK_BOX (vbox16), check_toolbar_colour, FALSE, FALSE, 0);
  GTK_WIDGET_UNSET_FLAGS (check_toolbar_colour, GTK_CAN_FOCUS);
  gtk_tooltips_set_tip (tooltips, check_toolbar_colour, _("Display the Colour Chooser button in the toolbar"), NULL);
  gtk_button_set_focus_on_click (GTK_BUTTON (check_toolbar_colour), FALSE);

  check_toolbar_zoom = gtk_check_button_new_with_mnemonic (_("Show Zoom In and Zoom Out"));
  gtk_widget_show (check_toolbar_zoom);
  gtk_box_pack_start (GTK_BOX (vbox16), check_toolbar_zoom, FALSE, FALSE, 0);
  GTK_WIDGET_UNSET_FLAGS (check_toolbar_zoom, GTK_CAN_FOCUS);
  gtk_tooltips_set_tip (tooltips, check_toolbar_zoom, _("Display the Zoom In and Zoom Out buttons in the toolbar"), NULL);
  gtk_button_set_focus_on_click (GTK_BUTTON (check_toolbar_zoom), FALSE);

  check_toolbar_undo = gtk_check_button_new_with_mnemonic (_("Show Redo and Undo buttons"));
  gtk_widget_show (check_toolbar_undo);
  gtk_box_pack_start (GTK_BOX (vbox16), check_toolbar_undo, FALSE, FALSE, 0);
  GTK_WIDGET_UNSET_FLAGS (check_toolbar_undo, GTK_CAN_FOCUS);
  gtk_tooltips_set_tip (tooltips, check_toolbar_undo, _("Display the Redo and Undo buttons in the toolbar"), NULL);
  gtk_button_set_focus_on_click (GTK_BUTTON (check_toolbar_undo), FALSE);

  check_toolbar_search = gtk_check_button_new_with_mnemonic (_("Show Search field"));
  gtk_widget_show (check_toolbar_search);
  gtk_box_pack_start (GTK_BOX (vbox16), check_toolbar_search, FALSE, FALSE, 0);
  GTK_WIDGET_UNSET_FLAGS (check_toolbar_search, GTK_CAN_FOCUS);
  gtk_tooltips_set_tip (tooltips, check_toolbar_search, _("Display the search field and button in the toolbar"), NULL);
  gtk_button_set_focus_on_click (GTK_BUTTON (check_toolbar_search), FALSE);

  check_toolbar_goto = gtk_check_button_new_with_mnemonic (_("Show Goto line field"));
  gtk_widget_show (check_toolbar_goto);
  gtk_box_pack_start (GTK_BOX (vbox16), check_toolbar_goto, FALSE, FALSE, 0);
  GTK_WIDGET_UNSET_FLAGS (check_toolbar_goto, GTK_CAN_FOCUS);
  gtk_tooltips_set_tip (tooltips, check_toolbar_goto, _("Display the line number field and button in the toolbar"), NULL);
  gtk_button_set_focus_on_click (GTK_BUTTON (check_toolbar_goto), FALSE);

  label165 = gtk_label_new (_("<b>Items</b>"));
  gtk_widget_show (label165);
  gtk_frame_set_label_widget (GTK_FRAME (frame11), label165);
  gtk_label_set_use_markup (GTK_LABEL (label165), 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), 5);
  gtk_table_set_col_spacings (GTK_TABLE (table9), 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_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_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_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_large_group);
  radio_toolbar_large_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_toolbar_large));

  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_large_group);
  radio_toolbar_large_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_toolbar_small));

  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);

  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);

  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);

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

  frame6 = gtk_frame_new (NULL);
  gtk_widget_show (frame6);
  gtk_box_pack_start (GTK_BOX (vbox5), frame6, TRUE, 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);

  table5 = gtk_table_new (2, 2, FALSE);
  gtk_widget_show (table5);
  gtk_box_pack_start (GTK_BOX (vbox8), table5, FALSE, TRUE, 0);
  gtk_table_set_row_spacings (GTK_TABLE (table5), 3);
  gtk_table_set_col_spacings (GTK_TABLE (table5), 25);

  label116 = gtk_label_new (_("Tab Width:"));
  gtk_widget_show (label116);
  gtk_table_attach (GTK_TABLE (table5), label116, 0, 1, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label116), 0, 0.5);

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

  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_encoding = gtk_combo_box_new_text ();
  gtk_widget_show (combo_encoding);
  gtk_container_add (GTK_CONTAINER (eventbox1), combo_encoding);

  spin_tab_width_adj = gtk_adjustment_new (-1, 1, 99, 1, 10, 10);
  spin_tab_width = gtk_spin_button_new (GTK_ADJUSTMENT (spin_tab_width_adj), 1, 0);
  gtk_widget_show (spin_tab_width);
  gtk_table_attach (GTK_TABLE (table5), spin_tab_width, 1, 2, 1, 2,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, spin_tab_width, _("The width in chars, which one tab character will take"), 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);

  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);

  frame2 = gtk_frame_new (NULL);
  gtk_widget_show (frame2);
  gtk_box_pack_start (GTK_BOX (vbox5), frame2, TRUE, 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_trailing_spaces = gtk_check_button_new_with_mnemonic (_("Strip trailing spaces"));
  gtk_widget_show (check_trailing_spaces);
  gtk_box_pack_start (GTK_BOX (vbox6), check_trailing_spaces, FALSE, FALSE, 0);
  GTK_WIDGET_UNSET_FLAGS (check_trailing_spaces, GTK_CAN_FOCUS);
  gtk_tooltips_set_tip (tooltips, check_trailing_spaces, _("Removes trailing spaces and tabs and the end of lines"), NULL);
  gtk_button_set_focus_on_click (GTK_BUTTON (check_trailing_spaces), FALSE);

  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_WIDGET_UNSET_FLAGS (check_new_line, GTK_CAN_FOCUS);
  gtk_tooltips_set_tip (tooltips, check_new_line, _("Ensures that at the end of the file is a new line"), NULL);
  gtk_button_set_focus_on_click (GTK_BUTTON (check_new_line), FALSE);

  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_WIDGET_UNSET_FLAGS (check_replace_tabs, GTK_CAN_FOCUS);
  gtk_tooltips_set_tip (tooltips, check_replace_tabs, _("Replaces all tabs in document by spaces."), NULL);
  gtk_button_set_focus_on_click (GTK_BUTTON (check_replace_tabs), FALSE);

  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);

  frame5 = gtk_frame_new (NULL);
  gtk_widget_show (frame5);
  gtk_box_pack_start (GTK_BOX (vbox5), frame5, TRUE, 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_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);
  gtk_button_set_focus_on_click (GTK_BUTTON (check_indent), FALSE);

  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);
  gtk_button_set_focus_on_click (GTK_BUTTON (check_white_space), FALSE);

  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, _("Show the line ending character"), NULL);
  gtk_button_set_focus_on_click (GTK_BUTTON (check_line_end), FALSE);

  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);

  frame14 = gtk_frame_new (NULL);
  gtk_widget_show (frame14);
  gtk_box_pack_start (GTK_BOX (vbox5), frame14, TRUE, 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_auto_indent = gtk_check_button_new_with_mnemonic (_("Auto indentation"));
  gtk_widget_show (check_auto_indent);
  gtk_box_pack_start (GTK_BOX (vbox17), check_auto_indent, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_auto_indent, _("Add the same indentation as the previous line after pressing enter"), NULL);

  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_auto_complete = gtk_check_button_new_with_mnemonic (_("Construct auto completion"));
  gtk_widget_show (check_auto_complete);
  gtk_box_pack_start (GTK_BOX (vbox17), check_auto_complete, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_auto_complete, _("Automatic completion of often used constructs like if and for"), NULL);
  gtk_button_set_focus_on_click (GTK_BUTTON (check_auto_complete), FALSE);

  check_xmltag = gtk_check_button_new_with_mnemonic (_("XML tag auto completion"));
  gtk_widget_show (check_xmltag);
  gtk_box_pack_start (GTK_BOX (vbox17), check_xmltag, FALSE, FALSE, 0);
  gtk_tooltips_set_tip (tooltips, check_xmltag, _("Automatic completion of open XML tags (includes HTML tags)"), NULL);
  gtk_button_set_focus_on_click (GTK_BUTTON (check_xmltag), FALSE);

  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);
  gtk_button_set_focus_on_click (GTK_BUTTON (check_folding), FALSE);

  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);
  gtk_button_set_focus_on_click (GTK_BUTTON (check_indicators), FALSE);

  hbox6 = gtk_hbox_new (FALSE, 20);
  gtk_widget_show (hbox6);
  gtk_box_pack_start (GTK_BOX (vbox17), hbox6, TRUE, TRUE, 0);

  label173 = gtk_label_new (_("Rows of auto completion list:"));
  gtk_widget_show (label173);
  gtk_box_pack_start (GTK_BOX (hbox6), label173, FALSE, FALSE, 0);

  spin_autocheight_adj = gtk_adjustment_new (10, 1, 99, 1, 10, 10);
  spin_autocheight = gtk_spin_button_new (GTK_ADJUSTMENT (spin_autocheight_adj), 1, 0);
  gtk_widget_show (spin_autocheight);
  gtk_box_pack_start (GTK_BOX (hbox6), spin_autocheight, FALSE, TRUE, 0);
  gtk_tooltips_set_tip (tooltips, spin_autocheight, _("Number of rows to display in the auto completion list."), NULL);
  gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (spin_autocheight), TRUE);

  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);

  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);

  vbox2 = gtk_vbox_new (FALSE, 0);
  gtk_widget_show (vbox2);
  gtk_container_add (GTK_CONTAINER (notebook2), vbox2);

  label17 = gtk_label_new (_("Enter here the paths to the make tool and the compiler\n(tools you do not need can be let blank)"));
  gtk_widget_show (label17);
  gtk_box_pack_start (GTK_BOX (vbox2), label17, FALSE, FALSE, 0);
  gtk_misc_set_padding (GTK_MISC (label17), 0, 6);

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

  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);

  label154 = gtk_label_new (_("Print command"));
  gtk_widget_show (label154);
  gtk_table_attach (GTK_TABLE (table1), label154, 0, 1, 3, 4,
                    (GtkAttachOptions) (GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_misc_set_alignment (GTK_MISC (label154), 0, 0.5);

  entry_print = gtk_entry_new ();
  gtk_widget_show (entry_print);
  gtk_table_attach (GTK_TABLE (table1), entry_print, 1, 2, 3, 4,
                    (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
                    (GtkAttachOptions) (0), 0, 0);
  gtk_tooltips_set_tip (tooltips, entry_print, _("Path to the command for printing files (use %f for the filename)."), NULL);

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

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

  label171 = gtk_label_new (_("Grep"));
  gtk_widget_show (label171);
  gtk_table_attach (GTK_TABLE (table1), label171, 0, 1, 4, 5,
                    (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, 4, 5,
                    (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, 4, 5,
                    (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);

  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), 4), label96);

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

  label120 = gtk_label_new (_("Specify here information you want to use in templates.\nSee documentation if you don't know how templates work."));
  gtk_widget_show (label120);
  gtk_box_pack_start (GTK_BOX (vbox9), label120, FALSE, FALSE, 0);
  gtk_misc_set_padding (GTK_MISC (label120), 0, 6);

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

  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);

  label132 = gtk_label_new (_("Notice: For all changes you make here,\nyou need to restart Geany to take effect."));
  gtk_widget_show (label132);
  gtk_box_pack_start (GTK_BOX (vbox9), label132, FALSE, FALSE, 0);

  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), 5), label119);

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

  label152 = gtk_label_new (_("Here you can change keyboard shortcuts for various actions. Just double click on a action or select one and press the Change button to enter a new shortcut. You can also edit the string representation of the shortcut directly."));
  gtk_widget_show (label152);
  gtk_box_pack_start (GTK_BOX (vbox13), label152, FALSE, TRUE, 0);
  gtk_label_set_justify (GTK_LABEL (label152), GTK_JUSTIFY_FILL);
  gtk_label_set_line_wrap (GTK_LABEL (label152), TRUE);
  gtk_misc_set_alignment (GTK_MISC (label152), 0.1, 0);
  gtk_misc_set_padding (GTK_MISC (label152), 0, 5);

  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_enable_search (GTK_TREE_VIEW (treeview7), FALSE);

  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 (_("Change"));
  gtk_widget_show (button2);
  gtk_container_add (GTK_CONTAINER (alignment10), button2);

  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), 6), label151);

  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);

  cancelbutton1 = gtk_button_new_from_stock ("gtk-cancel");
  gtk_widget_show (cancelbutton1);
  gtk_dialog_add_action_widget (GTK_DIALOG (prefs_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 (prefs_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 (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, 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_save_win_pos, "check_save_win_pos");
  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_vte, "check_vte");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_ask_for_quit, "check_ask_for_quit");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label163, "label163");
  GLADE_HOOKUP_OBJECT (prefs_dialog, hbox2, "hbox2");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label147, "label147");
  GLADE_HOOKUP_OBJECT (prefs_dialog, spin_mru, "spin_mru");
  GLADE_HOOKUP_OBJECT (prefs_dialog, hbox3, "hbox3");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label150, "label150");
  GLADE_HOOKUP_OBJECT (prefs_dialog, radio_tab_left, "radio_tab_left");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label149, "label149");
  GLADE_HOOKUP_OBJECT (prefs_dialog, radio_tab_right, "radio_tab_right");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label162, "label162");
  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, msgwin_font, "msgwin_font");
  GLADE_HOOKUP_OBJECT (prefs_dialog, tagbar_font, "tagbar_font");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label103, "label103");
  GLADE_HOOKUP_OBJECT (prefs_dialog, editor_font, "editor_font");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label99, "label99");
  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, spin_long_line, "spin_long_line");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label156, "label156");
  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, long_line_color, "long_line_color");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label155, "label155");
  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, label159, "label159");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label160, "label160");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label161, "label161");
  GLADE_HOOKUP_OBJECT (prefs_dialog, combo_tab_msgwin, "combo_tab_msgwin");
  GLADE_HOOKUP_OBJECT (prefs_dialog, combo_tab_sidebar, "combo_tab_sidebar");
  GLADE_HOOKUP_OBJECT (prefs_dialog, combo_tab_editor, "combo_tab_editor");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label158, "label158");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label157, "label157");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox15, "vbox15");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame12, "frame12");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment15, "alignment15");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_toolbar_show, "check_toolbar_show");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label166, "label166");
  GLADE_HOOKUP_OBJECT (prefs_dialog, frame11, "frame11");
  GLADE_HOOKUP_OBJECT (prefs_dialog, alignment14, "alignment14");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox16, "vbox16");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_toolbar_fileops, "check_toolbar_fileops");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_toolbar_compile, "check_toolbar_compile");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_toolbar_colour, "check_toolbar_colour");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_toolbar_zoom, "check_toolbar_zoom");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_toolbar_undo, "check_toolbar_undo");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_toolbar_search, "check_toolbar_search");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_toolbar_goto, "check_toolbar_goto");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label165, "label165");
  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, radio_toolbar_imagetext, "radio_toolbar_imagetext");
  GLADE_HOOKUP_OBJECT (prefs_dialog, radio_toolbar_image, "radio_toolbar_image");
  GLADE_HOOKUP_OBJECT (prefs_dialog, radio_toolbar_text, "radio_toolbar_text");
  GLADE_HOOKUP_OBJECT (prefs_dialog, radio_toolbar_large, "radio_toolbar_large");
  GLADE_HOOKUP_OBJECT (prefs_dialog, radio_toolbar_small, "radio_toolbar_small");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label169, "label169");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label170, "label170");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label167, "label167");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label164, "label164");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox5, "vbox5");
  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, table5, "table5");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label116, "label116");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label153, "label153");
  GLADE_HOOKUP_OBJECT (prefs_dialog, eventbox1, "eventbox1");
  GLADE_HOOKUP_OBJECT (prefs_dialog, combo_encoding, "combo_encoding");
  GLADE_HOOKUP_OBJECT (prefs_dialog, spin_tab_width, "spin_tab_width");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label109, "label109");
  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_trailing_spaces, "check_trailing_spaces");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_new_line, "check_new_line");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_replace_tabs, "check_replace_tabs");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label19, "label19");
  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_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, label102, "label102");
  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_auto_indent, "check_auto_indent");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_line_wrapping, "check_line_wrapping");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_auto_complete, "check_auto_complete");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_xmltag, "check_xmltag");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_folding, "check_folding");
  GLADE_HOOKUP_OBJECT (prefs_dialog, check_indicators, "check_indicators");
  GLADE_HOOKUP_OBJECT (prefs_dialog, hbox6, "hbox6");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label173, "label173");
  GLADE_HOOKUP_OBJECT (prefs_dialog, spin_autocheight, "spin_autocheight");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label172, "label172");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label95, "label95");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox2, "vbox2");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label17, "label17");
  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, label154, "label154");
  GLADE_HOOKUP_OBJECT (prefs_dialog, entry_print, "entry_print");
  GLADE_HOOKUP_OBJECT (prefs_dialog, button_print, "button_print");
  GLADE_HOOKUP_OBJECT (prefs_dialog, image763, "image763");
  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, label96, "label96");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox9, "vbox9");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label120, "label120");
  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, label132, "label132");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label119, "label119");
  GLADE_HOOKUP_OBJECT (prefs_dialog, vbox13, "vbox13");
  GLADE_HOOKUP_OBJECT (prefs_dialog, label152, "label152");
  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, label151, "label151");
  GLADE_HOOKUP_OBJECT_NO_REF (prefs_dialog, dialog_action_area3, "dialog_action_area3");
  GLADE_HOOKUP_OBJECT (prefs_dialog, cancelbutton1, "cancelbutton1");
  GLADE_HOOKUP_OBJECT (prefs_dialog, okbutton1, "okbutton1");
  GLADE_HOOKUP_OBJECT_NO_REF (prefs_dialog, tooltips, "tooltips");

  gtk_widget_grab_focus (cancelbutton1);
  return prefs_dialog;
}

