geany/src/interface.c
Enrico Tröger b3dd894a5e Implemented simple printing support.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@505 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 17:14:52 +00:00

2808 lines
129 KiB
C

/*
* 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 *image754;
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 *image755;
GtkWidget *revert1;
GtkWidget *separator21;
GtkWidget *preferences2;
GtkWidget *separator24;
GtkWidget *print1;
GtkWidget *separator14;
GtkWidget *menu_close1;
GtkWidget *menu_close_all1;
GtkWidget *image756;
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 *insert_include2;
GtkWidget *image757;
GtkWidget *insert_include2_menu;
GtkWidget *invisible4;
GtkWidget *add_comments1;
GtkWidget *image758;
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 *separator18;
GtkWidget *menu_change_selection2;
GtkWidget *menu_change_selection2_menu;
GtkWidget *menu_to_lower_case2;
GtkWidget *menu_to_upper_case2;
GtkWidget *menu_count_words1;
GtkWidget *separator9;
GtkWidget *preferences1;
GtkWidget *search1;
GtkWidget *search1_menu;
GtkWidget *find1;
GtkWidget *find_next1;
GtkWidget *find_previous1;
GtkWidget *replace1;
GtkWidget *image759;
GtkWidget *separator11;
GtkWidget *go_to_line1;
GtkWidget *image760;
GtkWidget *menuitem3;
GtkWidget *menuitem3_menu;
GtkWidget *menu_change_font1;
GtkWidget *image761;
GtkWidget *menu_choose_color1;
GtkWidget *image762;
GtkWidget *menu_separator4;
GtkWidget *menu_fullscreen1;
GtkWidget *menu_show_messages_window1;
GtkWidget *menu_show_toolbar1;
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 *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;
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 *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 *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);
image754 = gtk_image_new_from_stock ("gtk-new", GTK_ICON_SIZE_MENU);
gtk_widget_show (image754);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_new_with_template1), image754);
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 all"));
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);
image755 = gtk_image_new_from_stock ("gtk-save", GTK_ICON_SIZE_MENU);
gtk_widget_show (image755);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_save_all1), image755);
revert1 = gtk_image_menu_item_new_from_stock ("gtk-revert-to-saved", accel_group);
gtk_widget_show (revert1);
gtk_container_add (GTK_CONTAINER (menuitem1_menu), revert1);
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);
image756 = gtk_image_new_from_stock ("gtk-close", GTK_ICON_SIZE_MENU);
gtk_widget_show (image756);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_close_all1), image756);
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);
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);
image757 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU);
gtk_widget_show (image757);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (insert_include2), image757);
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 (_("Insert Comments"));
gtk_widget_show (add_comments1);
gtk_container_add (GTK_CONTAINER (edit1_menu), add_comments1);
image758 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU);
gtk_widget_show (image758);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (add_comments1), image758);
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 few information 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);
separator18 = gtk_separator_menu_item_new ();
gtk_widget_show (separator18);
gtk_container_add (GTK_CONTAINER (edit1_menu), separator18);
gtk_widget_set_sensitive (separator18, FALSE);
menu_change_selection2 = gtk_menu_item_new_with_mnemonic (_("Change Selection"));
gtk_widget_show (menu_change_selection2);
gtk_container_add (GTK_CONTAINER (edit1_menu), menu_change_selection2);
menu_change_selection2_menu = gtk_menu_new ();
gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_change_selection2), menu_change_selection2_menu);
menu_to_lower_case2 = gtk_menu_item_new_with_mnemonic (_("To lower-case"));
gtk_widget_show (menu_to_lower_case2);
gtk_container_add (GTK_CONTAINER (menu_change_selection2_menu), menu_to_lower_case2);
menu_to_upper_case2 = gtk_menu_item_new_with_mnemonic (_("To upper-case"));
gtk_widget_show (menu_to_upper_case2);
gtk_container_add (GTK_CONTAINER (menu_change_selection2_menu), menu_to_upper_case2);
menu_count_words1 = gtk_menu_item_new_with_mnemonic (_("_Count words"));
gtk_widget_show (menu_count_words1);
gtk_container_add (GTK_CONTAINER (edit1_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);
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);
image759 = gtk_image_new_from_stock ("gtk-find-and-replace", GTK_ICON_SIZE_MENU);
gtk_widget_show (image759);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (replace1), image759);
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);
image760 = gtk_image_new_from_stock ("gtk-jump-to", GTK_ICON_SIZE_MENU);
gtk_widget_show (image760);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (go_to_line1), image760);
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);
image761 = gtk_image_new_from_stock ("gtk-select-font", GTK_ICON_SIZE_MENU);
gtk_widget_show (image761);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_change_font1), image761);
menu_choose_color1 = gtk_image_menu_item_new_with_mnemonic (_("Show _Colour Chooser"));
gtk_widget_show (menu_choose_color1);
gtk_container_add (GTK_CONTAINER (menuitem3_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);
image762 = gtk_image_new_from_stock ("gtk-select-color", GTK_ICON_SIZE_MENU);
gtk_widget_show (image762);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_choose_color1), image762);
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_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 breaking"));
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, _("Break the line at the window border and continue it on the next line"), 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);
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 filetype"));
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 (_("Line endings"));
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_menu_item_new_with_mnemonic (_("Convert and set to CR/LF (Win)"));
gtk_widget_show (crlf);
gtk_container_add (GTK_CONTAINER (menu_line_endings1_menu), crlf);
lf = gtk_menu_item_new_with_mnemonic (_("Convert and set to LF (Unix)"));
gtk_widget_show (lf);
gtk_container_add (GTK_CONTAINER (menu_line_endings1_menu), lf);
cr = gtk_menu_item_new_with_mnemonic (_("Convert and set to CR (Mac)"));
gtk_widget_show (cr);
gtk_container_add (GTK_CONTAINER (menu_line_endings1_menu), cr);
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 space"));
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 all _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 set 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);
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_tool_button_new_from_stock ("gtk-open");
gtk_widget_show (toolbutton9);
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);
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);
tmp_image = gtk_image_new_from_stock ("gtk-execute", tmp_toolbar_icon_size);
gtk_widget_show (tmp_image);
toolbutton26 = (GtkWidget*) gtk_tool_button_new (tmp_image, _("Run"));
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);
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) revert1, "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_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) 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_count_words1, "activate",
G_CALLBACK (on_count_words1_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) 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_choose_color1, "activate",
G_CALLBACK (on_show_color_chooser1_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_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) 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) 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) 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, image754, "image754");
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, image755, "image755");
GLADE_HOOKUP_OBJECT (window1, revert1, "revert1");
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, image756, "image756");
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, insert_include2, "insert_include2");
GLADE_HOOKUP_OBJECT (window1, image757, "image757");
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, image758, "image758");
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, separator18, "separator18");
GLADE_HOOKUP_OBJECT (window1, menu_change_selection2, "menu_change_selection2");
GLADE_HOOKUP_OBJECT (window1, menu_change_selection2_menu, "menu_change_selection2_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, menu_count_words1, "menu_count_words1");
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, image759, "image759");
GLADE_HOOKUP_OBJECT (window1, separator11, "separator11");
GLADE_HOOKUP_OBJECT (window1, go_to_line1, "go_to_line1");
GLADE_HOOKUP_OBJECT (window1, image760, "image760");
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, image761, "image761");
GLADE_HOOKUP_OBJECT (window1, menu_choose_color1, "menu_choose_color1");
GLADE_HOOKUP_OBJECT (window1, image762, "image762");
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_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, 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, 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, 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;
GtkWidget *large_icons1;
GtkWidget *small_icons1;
GtkWidget *separator20;
GtkWidget *hide_toolbar1;
GtkWidget *image415;
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_menu_item_new_with_mnemonic (_("Large icons"));
gtk_widget_show (large_icons1);
gtk_container_add (GTK_CONTAINER (toolbar_popup_menu1), large_icons1);
small_icons1 = gtk_menu_item_new_with_mnemonic (_("Small icons"));
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);
image415 = gtk_image_new_from_stock ("gtk-cancel", GTK_ICON_SIZE_MENU);
gtk_widget_show (image415);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (hide_toolbar1), image415);
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, image415, "image415");
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 *zoom_in1;
GtkWidget *zoom_out1;
GtkWidget *normal_size2;
GtkWidget *separator6;
GtkWidget *insert_include1;
GtkWidget *image686;
GtkWidget *insert_include1_menu;
GtkWidget *invisible3;
GtkWidget *comments;
GtkWidget *image687;
GtkWidget *comments_menu;
GtkWidget *add_changelog_entry2;
GtkWidget *insert_file_header2;
GtkWidget *insert_function_description1;
GtkWidget *insert_multiline_comment1;
GtkWidget *insert_gpl_notice1;
GtkWidget *separator17;
GtkWidget *change_selection1;
GtkWidget *change_selection1_menu;
GtkWidget *to_lower_case1;
GtkWidget *to_upper_case1;
GtkWidget *separator7;
GtkWidget *find_usage1;
GtkWidget *image688;
GtkWidget *goto_tag_definition1;
GtkWidget *goto_tag_declaration1;
GtkWidget *separator15;
GtkWidget *go_to_line;
GtkWidget *image689;
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);
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);
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);
image686 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU);
gtk_widget_show (image686);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (insert_include1), image686);
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);
image687 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU);
gtk_widget_show (image687);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (comments), image687);
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 "), 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 few information 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);
separator17 = gtk_separator_menu_item_new ();
gtk_widget_show (separator17);
gtk_container_add (GTK_CONTAINER (edit_menu1), separator17);
gtk_widget_set_sensitive (separator17, FALSE);
change_selection1 = gtk_menu_item_new_with_mnemonic (_("Change Selection"));
gtk_widget_show (change_selection1);
gtk_container_add (GTK_CONTAINER (edit_menu1), change_selection1);
change_selection1_menu = gtk_menu_new ();
gtk_menu_item_set_submenu (GTK_MENU_ITEM (change_selection1), change_selection1_menu);
to_lower_case1 = gtk_menu_item_new_with_mnemonic (_("To lower-case"));
gtk_widget_show (to_lower_case1);
gtk_container_add (GTK_CONTAINER (change_selection1_menu), to_lower_case1);
to_upper_case1 = gtk_menu_item_new_with_mnemonic (_("To upper-case"));
gtk_widget_show (to_upper_case1);
gtk_container_add (GTK_CONTAINER (change_selection1_menu), to_upper_case1);
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);
image688 = gtk_image_new_from_stock ("gtk-find", GTK_ICON_SIZE_MENU);
gtk_widget_show (image688);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (find_usage1), image688);
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);
image689 = gtk_image_new_from_stock ("gtk-jump-to", GTK_ICON_SIZE_MENU);
gtk_widget_show (image689);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (go_to_line), image689);
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) 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) 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) 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) 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, 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, insert_include1, "insert_include1");
GLADE_HOOKUP_OBJECT (edit_menu1, image686, "image686");
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, image687, "image687");
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, separator17, "separator17");
GLADE_HOOKUP_OBJECT (edit_menu1, change_selection1, "change_selection1");
GLADE_HOOKUP_OBJECT (edit_menu1, change_selection1_menu, "change_selection1_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, separator7, "separator7");
GLADE_HOOKUP_OBJECT (edit_menu1, find_usage1, "find_usage1");
GLADE_HOOKUP_OBJECT (edit_menu1, image688, "image688");
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, image689, "image689");
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 *vbox3;
GtkWidget *frame1;
GtkWidget *alignment2;
GtkWidget *vbox4;
GtkWidget *hbox2;
GtkWidget *label147;
GtkObject *spin_mru_adj;
GtkWidget *spin_mru;
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 *hbox3;
GtkWidget *label150;
GtkWidget *radio_tab_left;
GSList *radio_tab_left_group = NULL;
GtkWidget *label149;
GtkWidget *radio_tab_right;
GtkWidget *label18;
GtkWidget *label106;
GtkWidget *frame3;
GtkWidget *alignment4;
GtkWidget *vbox7;
GtkWidget *check_toolbar_search;
GtkWidget *check_toolbar_goto;
GtkWidget *label98;
GtkWidget *label104;
GtkWidget *frame7;
GtkWidget *alignment9;
GtkWidget *vbox11;
GtkWidget *check_list_symbol;
GtkWidget *check_list_openfiles;
GtkWidget *label146;
GtkWidget *label105;
GtkWidget *frame4;
GtkWidget *alignment5;
GtkWidget *table2;
GtkWidget *label100;
GtkWidget *label101;
GtkWidget *msgwin_font;
GtkWidget *tagbar_font;
GtkWidget *label99;
GtkWidget *label94;
GtkWidget *vbox5;
GtkWidget *frame6;
GtkWidget *alignment7;
GtkWidget *vbox8;
GtkWidget *hbox4;
GtkWidget *label153;
GtkWidget *eventbox1;
GtkWidget *combo_encoding;
GtkWidget *table5;
GtkWidget *label116;
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 *check_xmltag;
GtkWidget *check_auto_complete;
GtkWidget *check_folding;
GtkWidget *check_indicators;
GtkWidget *label148;
GtkWidget *table3;
GtkWidget *label103;
GtkWidget *label133;
GtkWidget *label134;
GtkWidget *editor_font;
GtkObject *spin_long_line_adj;
GtkWidget *spin_long_line;
GtkWidget *long_line_color;
GtkWidget *label102;
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 *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, 0);
GTK_WIDGET_UNSET_FLAGS (notebook2, GTK_CAN_FOCUS);
vbox3 = gtk_vbox_new (FALSE, 0);
gtk_widget_show (vbox3);
gtk_container_add (GTK_CONTAINER (notebook2), vbox3);
frame1 = gtk_frame_new (NULL);
gtk_widget_show (frame1);
gtk_box_pack_start (GTK_BOX (vbox3), frame1, TRUE, TRUE, 0);
gtk_frame_set_shadow_type (GTK_FRAME (frame1), GTK_SHADOW_NONE);
alignment2 = gtk_alignment_new (0.5, 0.5, 1, 1);
gtk_widget_show (alignment2);
gtk_container_add (GTK_CONTAINER (frame1), alignment2);
gtk_alignment_set_padding (GTK_ALIGNMENT (alignment2), 0, 0, 12, 0);
vbox4 = gtk_vbox_new (FALSE, 0);
gtk_widget_show (vbox4);
gtk_container_add (GTK_CONTAINER (alignment2), vbox4);
hbox2 = gtk_hbox_new (FALSE, 19);
gtk_widget_show (hbox2);
gtk_box_pack_start (GTK_BOX (vbox4), hbox2, FALSE, FALSE, 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);
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 arrive."), 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);
hbox3 = gtk_hbox_new (FALSE, 0);
gtk_widget_show (hbox3);
gtk_box_pack_start (GTK_BOX (vbox4), hbox3, TRUE, 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));
label18 = gtk_label_new (_("<b>Miscellaneous</b>"));
gtk_widget_show (label18);
gtk_frame_set_label_widget (GTK_FRAME (frame1), label18);
gtk_label_set_use_markup (GTK_LABEL (label18), TRUE);
label106 = gtk_label_new ("");
gtk_widget_show (label106);
gtk_box_pack_start (GTK_BOX (vbox3), label106, FALSE, FALSE, 0);
gtk_misc_set_padding (GTK_MISC (label106), 0, 2);
frame3 = gtk_frame_new (NULL);
gtk_widget_show (frame3);
gtk_box_pack_start (GTK_BOX (vbox3), frame3, FALSE, FALSE, 0);
gtk_frame_set_shadow_type (GTK_FRAME (frame3), GTK_SHADOW_NONE);
alignment4 = gtk_alignment_new (0.5, 0.5, 1, 1);
gtk_widget_show (alignment4);
gtk_container_add (GTK_CONTAINER (frame3), alignment4);
gtk_alignment_set_padding (GTK_ALIGNMENT (alignment4), 0, 0, 12, 0);
vbox7 = gtk_vbox_new (FALSE, 0);
gtk_widget_show (vbox7);
gtk_container_add (GTK_CONTAINER (alignment4), vbox7);
check_toolbar_search = gtk_check_button_new_with_mnemonic (_("Show search field"));
gtk_widget_show (check_toolbar_search);
gtk_box_pack_start (GTK_BOX (vbox7), 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 (vbox7), 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);
label98 = gtk_label_new (_("<b>Toolbar</b>"));
gtk_widget_show (label98);
gtk_frame_set_label_widget (GTK_FRAME (frame3), label98);
gtk_label_set_use_markup (GTK_LABEL (label98), TRUE);
label104 = gtk_label_new ("");
gtk_widget_show (label104);
gtk_box_pack_start (GTK_BOX (vbox3), label104, FALSE, FALSE, 0);
gtk_misc_set_padding (GTK_MISC (label104), 0, 2);
frame7 = gtk_frame_new (NULL);
gtk_widget_show (frame7);
gtk_box_pack_start (GTK_BOX (vbox3), frame7, FALSE, FALSE, 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);
label105 = gtk_label_new ("");
gtk_widget_show (label105);
gtk_box_pack_start (GTK_BOX (vbox3), label105, FALSE, FALSE, 0);
gtk_misc_set_padding (GTK_MISC (label105), 0, 2);
frame4 = gtk_frame_new (NULL);
gtk_widget_show (frame4);
gtk_box_pack_start (GTK_BOX (vbox3), 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 (2, 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);
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);
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);
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);
hbox4 = gtk_hbox_new (FALSE, 12);
gtk_widget_show (hbox4);
gtk_box_pack_start (GTK_BOX (vbox8), hbox4, FALSE, TRUE, 0);
label153 = gtk_label_new (_("Default encoding:"));
gtk_widget_show (label153);
gtk_box_pack_start (GTK_BOX (hbox4), label153, FALSE, FALSE, 0);
eventbox1 = gtk_event_box_new ();
gtk_widget_show (eventbox1);
gtk_box_pack_start (GTK_BOX (hbox4), eventbox1, FALSE, FALSE, 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);
table5 = gtk_table_new (1, 2, FALSE);
gtk_widget_show (table5);
gtk_box_pack_start (GTK_BOX (vbox8), table5, TRUE, 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, 0, 1,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
gtk_misc_set_alignment (GTK_MISC (label116), 0, 0.5);
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, 0, 1,
(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, 0, 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);
check_xmltag = gtk_check_button_new_with_mnemonic (_("XML tag auto completion"));
gtk_widget_show (check_xmltag);
gtk_box_pack_start (GTK_BOX (vbox12), 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_auto_complete = gtk_check_button_new_with_mnemonic (_("Construct auto completion"));
gtk_widget_show (check_auto_complete);
gtk_box_pack_start (GTK_BOX (vbox12), 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_folding = gtk_check_button_new_with_mnemonic (_("Enable folding"));
gtk_widget_show (check_folding);
gtk_box_pack_start (GTK_BOX (vbox12), 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 (vbox12), 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);
label148 = gtk_label_new ("");
gtk_widget_show (label148);
gtk_box_pack_start (GTK_BOX (vbox12), label148, FALSE, FALSE, 0);
table3 = gtk_table_new (3, 2, FALSE);
gtk_widget_show (table3);
gtk_box_pack_start (GTK_BOX (vbox12), table3, TRUE, TRUE, 0);
gtk_table_set_row_spacings (GTK_TABLE (table3), 3);
gtk_table_set_col_spacings (GTK_TABLE (table3), 25);
label103 = gtk_label_new (_("Editor font"));
gtk_widget_show (label103);
gtk_table_attach (GTK_TABLE (table3), label103, 0, 1, 0, 1,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
gtk_misc_set_alignment (GTK_MISC (label103), 0, 0.5);
label133 = gtk_label_new (_("Long line marker"));
gtk_widget_show (label133);
gtk_table_attach (GTK_TABLE (table3), 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 (table3), label134, 0, 1, 2, 3,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
gtk_misc_set_alignment (GTK_MISC (label134), 0, 0.5);
editor_font = gtk_font_button_new ();
gtk_widget_show (editor_font);
gtk_table_attach (GTK_TABLE (table3), editor_font, 1, 2, 0, 1,
(GtkAttachOptions) (GTK_FILL),
(GtkAttachOptions) (0), 0, 0);
gtk_tooltips_set_tip (tooltips, editor_font, _("Sets the font for the editors windows"), NULL);
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 (table3), 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. To disable set the value to 0, or 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);
long_line_color = gtk_color_button_new ();
gtk_widget_show (long_line_color);
gtk_table_attach (GTK_TABLE (table3), 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"));
label102 = gtk_label_new (_("<b>Miscellaneous</b>"));
gtk_widget_show (label102);
gtk_frame_set_label_widget (GTK_FRAME (frame5), label102);
gtk_label_set_use_markup (GTK_LABEL (label102), 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), 1), 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 (4, 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);
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), 2), 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), 3), 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), 4), 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, vbox3, "vbox3");
GLADE_HOOKUP_OBJECT (prefs_dialog, frame1, "frame1");
GLADE_HOOKUP_OBJECT (prefs_dialog, alignment2, "alignment2");
GLADE_HOOKUP_OBJECT (prefs_dialog, vbox4, "vbox4");
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, 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, 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, label18, "label18");
GLADE_HOOKUP_OBJECT (prefs_dialog, label106, "label106");
GLADE_HOOKUP_OBJECT (prefs_dialog, frame3, "frame3");
GLADE_HOOKUP_OBJECT (prefs_dialog, alignment4, "alignment4");
GLADE_HOOKUP_OBJECT (prefs_dialog, vbox7, "vbox7");
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, label98, "label98");
GLADE_HOOKUP_OBJECT (prefs_dialog, label104, "label104");
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, label105, "label105");
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, label99, "label99");
GLADE_HOOKUP_OBJECT (prefs_dialog, label94, "label94");
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, hbox4, "hbox4");
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, table5, "table5");
GLADE_HOOKUP_OBJECT (prefs_dialog, label116, "label116");
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, check_xmltag, "check_xmltag");
GLADE_HOOKUP_OBJECT (prefs_dialog, check_auto_complete, "check_auto_complete");
GLADE_HOOKUP_OBJECT (prefs_dialog, check_folding, "check_folding");
GLADE_HOOKUP_OBJECT (prefs_dialog, check_indicators, "check_indicators");
GLADE_HOOKUP_OBJECT (prefs_dialog, label148, "label148");
GLADE_HOOKUP_OBJECT (prefs_dialog, table3, "table3");
GLADE_HOOKUP_OBJECT (prefs_dialog, label103, "label103");
GLADE_HOOKUP_OBJECT (prefs_dialog, label133, "label133");
GLADE_HOOKUP_OBJECT (prefs_dialog, label134, "label134");
GLADE_HOOKUP_OBJECT (prefs_dialog, editor_font, "editor_font");
GLADE_HOOKUP_OBJECT (prefs_dialog, spin_long_line, "spin_long_line");
GLADE_HOOKUP_OBJECT (prefs_dialog, long_line_color, "long_line_color");
GLADE_HOOKUP_OBJECT (prefs_dialog, label102, "label102");
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, 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;
}