/* * DO NOT EDIT THIS FILE - it is generated by Glade. */ #ifdef HAVE_CONFIG_H # include #endif #include #include #include #include #include #include #include #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 *image450; GtkWidget *menu_new_with_template1_menu; GtkWidget *invisible2; GtkWidget *separator12; GtkWidget *menu_open1; GtkWidget *separator13; GtkWidget *menu_save1; GtkWidget *menu_save_as1; GtkWidget *menu_save_all1; GtkWidget *image451; GtkWidget *separator14; GtkWidget *menu_close1; GtkWidget *menu_close_all1; GtkWidget *image452; GtkWidget *menu_separatormenuitem1; GtkWidget *recent_files1; GtkWidget *recent_files1_menu; GtkWidget *invisible5; GtkWidget *separator19; 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 *image453; GtkWidget *insert_include2_menu; GtkWidget *invisible4; GtkWidget *add_comments1; GtkWidget *image454; 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 *find1; GtkWidget *find_next1; GtkWidget *image455; GtkWidget *replace1; GtkWidget *image456; GtkWidget *separator11; GtkWidget *preferences1; GtkWidget *menuitem3; GtkWidget *menuitem3_menu; GtkWidget *menu_change_font1; GtkWidget *image457; GtkWidget *menu_choose_color1; GtkWidget *image458; GtkWidget *menu_separator4; GtkWidget *menu_fullscreen1; GtkWidget *menu_show_messages_window1; GtkWidget *menu_show_symbol_window1; GtkWidget *menu_show_toolbar1; GtkWidget *menu_markers_margin1; GtkWidget *menu_toolbar2; GtkWidget *menu_toolbar2_menu; GSList *images_and_text1_group = NULL; GtkWidget *images_and_text1; GtkWidget *images_only1; GtkWidget *text_only1; GtkWidget *menu_separator5; GtkWidget *menu_zoom_in1; GtkWidget *menu_zoom_out1; GtkWidget *normal_size1; GtkWidget *menu_item4; GtkWidget *menu_item4_menu; GtkWidget *menu_show_indention_guides1; GtkWidget *menu_show_white_space; GtkWidget *menu_show_line_endings1; GtkWidget *menu_line_breaking1; GtkWidget *menu_use_auto_indention1; GtkWidget *menu_xml_tag1; GtkWidget *menu_construct_completion1; GtkWidget *separator10; GtkWidget *set_file_readonly1; GtkWidget *set_filetype1; GtkWidget *set_filetype1_menu; GtkWidget *invisible1; GtkWidget *menu_line_endings1; GtkWidget *menu_line_endings1_menu; GtkWidget *crlf; GtkWidget *lf; GtkWidget *cr; GtkWidget *separator8; GtkWidget *menu_replace_tabs; GtkWidget *menu_build1; GtkWidget *menu_item5; GtkWidget *menu_item5_menu; GtkWidget *help1; GtkWidget *website1; GtkWidget *separator16; GtkWidget *menu_info1; GtkWidget *toolbar1; GtkIconSize tmp_toolbar_icon_size; GtkWidget *toolitem12; GtkWidget *toolbutton_new; GtkWidget *toolbutton9; GtkWidget *toolbutton10; GtkWidget *toolbutton22; GtkWidget *toolbutton23; GtkWidget *toolbutton15; GtkWidget *separatortoolitem2; GtkWidget *toolbutton13; GtkWidget *tmp_image; GtkWidget *toolbutton24; GtkWidget *separatortoolitem3; GtkWidget *toolbutton20; GtkWidget *toolbutton21; GtkWidget *separatortoolitem4; GtkWidget *toolitem11; GtkWidget *entry1; GtkWidget *toolbutton18; GtkWidget *separatortoolitem5; GtkWidget *toolitem9; GtkWidget *combo1; GtkWidget *combo_entry1; GtkWidget *toolitem13; GtkWidget *alignment1; GtkWidget *label1; 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_widget_set_size_request (window1, 900, 600); 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); image450 = gtk_image_new_from_stock ("gtk-new", GTK_ICON_SIZE_MENU); gtk_widget_show (image450); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_new_with_template1), image450); 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); 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); gtk_widget_add_accelerator (menu_save_all1, "activate", accel_group, GDK_s, (GdkModifierType) GDK_CONTROL_MASK | GDK_SHIFT_MASK, GTK_ACCEL_VISIBLE); image451 = gtk_image_new_from_stock ("gtk-save", GTK_ICON_SIZE_MENU); gtk_widget_show (image451); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_save_all1), image451); 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 (_("Close 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); gtk_widget_add_accelerator (menu_close_all1, "activate", accel_group, GDK_d, (GdkModifierType) GDK_MOD1_MASK, GTK_ACCEL_VISIBLE); image452 = gtk_image_new_from_stock ("gtk-close", GTK_ICON_SIZE_MENU); gtk_widget_show (image452); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_close_all1), image452); 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); 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); separator19 = gtk_separator_menu_item_new (); gtk_widget_show (separator19); gtk_container_add (GTK_CONTAINER (menuitem1_menu), separator19); gtk_widget_set_sensitive (separator19, 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); 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); image453 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU); gtk_widget_show (image453); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (insert_include2), image453); 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); image454 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU); gtk_widget_show (image454); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (add_comments1), image454); 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); find1 = gtk_image_menu_item_new_from_stock ("gtk-find", accel_group); gtk_widget_show (find1); gtk_container_add (GTK_CONTAINER (edit1_menu), find1); find_next1 = gtk_image_menu_item_new_with_mnemonic (_("Find _next")); gtk_widget_show (find_next1); gtk_container_add (GTK_CONTAINER (edit1_menu), find_next1); gtk_widget_add_accelerator (find_next1, "activate", accel_group, GDK_F3, (GdkModifierType) 0, GTK_ACCEL_VISIBLE); image455 = gtk_image_new_from_stock ("gtk-find", GTK_ICON_SIZE_MENU); gtk_widget_show (image455); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (find_next1), image455); replace1 = gtk_image_menu_item_new_with_mnemonic (_("_Replace")); gtk_widget_show (replace1); gtk_container_add (GTK_CONTAINER (edit1_menu), replace1); image456 = gtk_image_new_from_stock ("gtk-find-and-replace", GTK_ICON_SIZE_MENU); gtk_widget_show (image456); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (replace1), image456); separator11 = gtk_separator_menu_item_new (); gtk_widget_show (separator11); gtk_container_add (GTK_CONTAINER (edit1_menu), separator11); gtk_widget_set_sensitive (separator11, 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); 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); image457 = gtk_image_new_from_stock ("gtk-select-font", GTK_ICON_SIZE_MENU); gtk_widget_show (image457); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_change_font1), image457); menu_choose_color1 = gtk_image_menu_item_new_with_mnemonic (_("Show Color 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); image458 = gtk_image_new_from_stock ("gtk-select-color", GTK_ICON_SIZE_MENU); gtk_widget_show (image458); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_choose_color1), image458); 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 (_("Fullscreen")); gtk_widget_show (menu_fullscreen1); gtk_container_add (GTK_CONTAINER (menuitem3_menu), menu_fullscreen1); gtk_widget_add_accelerator (menu_fullscreen1, "activate", accel_group, GDK_F11, (GdkModifierType) 0, GTK_ACCEL_VISIBLE); 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_symbol_window1 = gtk_check_menu_item_new_with_mnemonic (_("Show symbol window")); gtk_widget_show (menu_show_symbol_window1); gtk_container_add (GTK_CONTAINER (menuitem3_menu), menu_show_symbol_window1); gtk_tooltips_set_tip (tooltips, menu_show_symbol_window1, _("Toggle the window with symbols on and off"), NULL); gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_show_symbol_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_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_markers_margin1), TRUE); menu_toolbar2 = gtk_menu_item_new_with_mnemonic (_("Toolbar")); gtk_widget_show (menu_toolbar2); gtk_container_add (GTK_CONTAINER (menuitem3_menu), menu_toolbar2); menu_toolbar2_menu = gtk_menu_new (); gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_toolbar2), menu_toolbar2_menu); images_and_text1 = gtk_radio_menu_item_new_with_mnemonic (images_and_text1_group, _("images and text")); images_and_text1_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (images_and_text1)); gtk_widget_show (images_and_text1); gtk_container_add (GTK_CONTAINER (menu_toolbar2_menu), images_and_text1); gtk_tooltips_set_tip (tooltips, images_and_text1, _("Show images and text in the toolbar"), NULL); gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (images_and_text1), TRUE); images_only1 = gtk_radio_menu_item_new_with_mnemonic (images_and_text1_group, _("images only")); images_and_text1_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (images_only1)); gtk_widget_show (images_only1); gtk_container_add (GTK_CONTAINER (menu_toolbar2_menu), images_only1); gtk_tooltips_set_tip (tooltips, images_only1, _("Show only the images of buttons"), NULL); gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (images_only1), TRUE); text_only1 = gtk_radio_menu_item_new_with_mnemonic (images_and_text1_group, _("text only")); images_and_text1_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (text_only1)); gtk_widget_show (text_only1); gtk_container_add (GTK_CONTAINER (menu_toolbar2_menu), text_only1); gtk_tooltips_set_tip (tooltips, text_only1, _("Show only the text of buttons"), NULL); gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (text_only1), 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_show_indention_guides1 = gtk_check_menu_item_new_with_mnemonic (_("Show indention guides")); gtk_widget_show (menu_show_indention_guides1); gtk_container_add (GTK_CONTAINER (menu_item4_menu), menu_show_indention_guides1); menu_show_white_space = gtk_check_menu_item_new_with_mnemonic (_("Show white space")); gtk_widget_show (menu_show_white_space); gtk_container_add (GTK_CONTAINER (menu_item4_menu), menu_show_white_space); menu_show_line_endings1 = gtk_check_menu_item_new_with_mnemonic (_("Show line endings")); gtk_widget_show (menu_show_line_endings1); gtk_container_add (GTK_CONTAINER (menu_item4_menu), menu_show_line_endings1); gtk_tooltips_set_tip (tooltips, menu_show_line_endings1, _("Show the line ending character"), NULL); 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 indention")); 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); menu_xml_tag1 = gtk_check_menu_item_new_with_mnemonic (_("XML tag auto completion")); gtk_widget_show (menu_xml_tag1); gtk_container_add (GTK_CONTAINER (menu_item4_menu), menu_xml_tag1); gtk_tooltips_set_tip (tooltips, menu_xml_tag1, _("Automatic completion of open XML tags(includes HTML tags)"), NULL); gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_xml_tag1), TRUE); menu_construct_completion1 = gtk_check_menu_item_new_with_mnemonic (_("Construct auto completion")); gtk_widget_show (menu_construct_completion1); gtk_container_add (GTK_CONTAINER (menu_item4_menu), menu_construct_completion1); gtk_tooltips_set_tip (tooltips, menu_construct_completion1, _("Automatic completion of often used constructs like if and for"), NULL); gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_construct_completion1), TRUE); 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_file_readonly1 = gtk_check_menu_item_new_with_mnemonic (_("Set file 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); 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); 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); 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); 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_ICONS); tmp_toolbar_icon_size = gtk_toolbar_get_icon_size (GTK_TOOLBAR (toolbar1)); toolitem12 = (GtkWidget*) gtk_tool_item_new (); gtk_widget_show (toolitem12); gtk_container_add (GTK_CONTAINER (toolbar1), toolitem12); toolbutton_new = gtk_button_new_with_mnemonic (""); gtk_widget_show (toolbutton_new); gtk_container_add (GTK_CONTAINER (toolitem12), toolbutton_new); gtk_button_set_relief (GTK_BUTTON (toolbutton_new), GTK_RELIEF_NONE); 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); 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); toolbutton13 = (GtkWidget*) gtk_tool_button_new_from_stock ("gtk-convert"); gtk_widget_show (toolbutton13); gtk_container_add (GTK_CONTAINER (toolbar1), toolbutton13); 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, ""); 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); toolitem11 = (GtkWidget*) gtk_tool_item_new (); gtk_widget_show (toolitem11); gtk_container_add (GTK_CONTAINER (toolbar1), toolitem11); entry1 = gtk_entry_new (); gtk_widget_show (entry1); gtk_container_add (GTK_CONTAINER (toolitem11), 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); toolitem9 = (GtkWidget*) gtk_tool_item_new (); gtk_widget_show (toolitem9); gtk_container_add (GTK_CONTAINER (toolbar1), toolitem9); combo1 = gtk_combo_new (); g_object_set_data (G_OBJECT (GTK_COMBO (combo1)->popwin), "GladeParentKey", combo1); gtk_widget_show (combo1); gtk_container_add (GTK_CONTAINER (toolitem9), combo1); combo_entry1 = GTK_COMBO (combo1)->entry; gtk_widget_show (combo_entry1); gtk_editable_set_editable (GTK_EDITABLE (combo_entry1), FALSE); toolitem13 = (GtkWidget*) gtk_tool_item_new (); gtk_widget_show (toolitem13); gtk_container_add (GTK_CONTAINER (toolbar1), toolitem13); alignment1 = gtk_alignment_new (0.5, 0.5, 1, 1); gtk_widget_show (alignment1); gtk_container_add (GTK_CONTAINER (toolitem13), alignment1); gtk_alignment_set_padding (GTK_ALIGNMENT (alignment1), 0, 0, 10, 10); label1 = gtk_label_new (""); gtk_widget_show (label1); gtk_container_add (GTK_CONTAINER (alignment1), label1); toolbutton19 = (GtkWidget*) gtk_tool_button_new_from_stock ("gtk-quit"); gtk_widget_show (toolbutton19); gtk_container_add (GTK_CONTAINER (toolbar1), toolbutton19); 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, FALSE, TRUE); gtk_paned_set_position (GTK_PANED (hpaned1), 167); notebook3 = gtk_notebook_new (); gtk_widget_show (notebook3); gtk_paned_pack1 (GTK_PANED (hpaned1), notebook3, FALSE, TRUE); scrolledwindow2 = gtk_scrolled_window_new (NULL, NULL); gtk_widget_show (scrolledwindow2); gtk_container_add (GTK_CONTAINER (notebook3), scrolledwindow2); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow2), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow2), GTK_SHADOW_IN); treeview2 = gtk_tree_view_new (); gtk_widget_show (treeview2); gtk_container_add (GTK_CONTAINER (scrolledwindow2), treeview2); gtk_tree_view_set_enable_search (GTK_TREE_VIEW (treeview2), FALSE); label135 = gtk_label_new (_("Symbols")); gtk_widget_show (label135); gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook3), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook3), 0), label135); scrolledwindow7 = gtk_scrolled_window_new (NULL, NULL); gtk_widget_show (scrolledwindow7); gtk_container_add (GTK_CONTAINER (notebook3), scrolledwindow7); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow7), GTK_SHADOW_IN); treeview6 = gtk_tree_view_new (); gtk_widget_show (treeview6); gtk_container_add (GTK_CONTAINER (scrolledwindow7), treeview6); label136 = gtk_label_new (_("Open files")); gtk_widget_show (label136); gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook3), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook3), 1), label136); notebook1 = gtk_notebook_new (); gtk_widget_show (notebook1); gtk_paned_pack2 (GTK_PANED (hpaned1), notebook1, TRUE, TRUE); gtk_notebook_set_scrollable (GTK_NOTEBOOK (notebook1), TRUE); gtk_notebook_popup_enable (GTK_NOTEBOOK (notebook1)); scrolledwindow1 = gtk_scrolled_window_new (NULL, NULL); gtk_widget_show (scrolledwindow1); gtk_paned_pack2 (GTK_PANED (vpaned1), scrolledwindow1, TRUE, TRUE); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow1), GTK_POLICY_NEVER, GTK_POLICY_NEVER); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow1), GTK_SHADOW_IN); viewport1 = gtk_viewport_new (NULL, NULL); gtk_widget_show (viewport1); gtk_container_add (GTK_CONTAINER (scrolledwindow1), viewport1); notebook_info = gtk_notebook_new (); gtk_widget_show (notebook_info); gtk_container_add (GTK_CONTAINER (viewport1), notebook_info); gtk_notebook_set_tab_pos (GTK_NOTEBOOK (notebook_info), GTK_POS_LEFT); scrolledwindow4 = gtk_scrolled_window_new (NULL, NULL); gtk_widget_show (scrolledwindow4); gtk_container_add (GTK_CONTAINER (notebook_info), scrolledwindow4); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow4), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); treeview3 = gtk_tree_view_new (); gtk_widget_show (treeview3); gtk_container_add (GTK_CONTAINER (scrolledwindow4), treeview3); gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (treeview3), FALSE); notebook_info_label_status = gtk_label_new (_("Status")); gtk_widget_show (notebook_info_label_status); gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_info), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_info), 0), notebook_info_label_status); scrolledwindow3 = gtk_scrolled_window_new (NULL, NULL); gtk_widget_show (scrolledwindow3); gtk_container_add (GTK_CONTAINER (notebook_info), scrolledwindow3); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow3), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); treeview5 = gtk_tree_view_new (); gtk_widget_show (treeview5); gtk_container_add (GTK_CONTAINER (scrolledwindow3), treeview5); gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (treeview5), FALSE); notebook_info_label_compiler = gtk_label_new (_("Compiler")); gtk_widget_show (notebook_info_label_compiler); gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_info), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_info), 1), notebook_info_label_compiler); scrolledwindow5 = gtk_scrolled_window_new (NULL, NULL); gtk_widget_show (scrolledwindow5); gtk_container_add (GTK_CONTAINER (notebook_info), scrolledwindow5); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow5), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); treeview4 = gtk_tree_view_new (); gtk_widget_show (treeview4); gtk_container_add (GTK_CONTAINER (scrolledwindow5), treeview4); gtk_tree_view_set_headers_visible (GTK_TREE_VIEW (treeview4), FALSE); notebook_info_label_msg = gtk_label_new (_("Messages")); gtk_widget_show (notebook_info_label_msg); gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_info), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_info), 2), notebook_info_label_msg); scrolledwindow6 = gtk_scrolled_window_new (NULL, NULL); gtk_widget_show (scrolledwindow6); gtk_container_add (GTK_CONTAINER (notebook_info), scrolledwindow6); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow6), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); textview_scribble = gtk_text_view_new (); gtk_widget_show (textview_scribble); gtk_container_add (GTK_CONTAINER (scrolledwindow6), textview_scribble); notebook_info_label_scribble = gtk_label_new (_("Scribble")); gtk_widget_show (notebook_info_label_scribble); gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook_info), gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook_info), 3), notebook_info_label_scribble); hbox1 = gtk_hbox_new (FALSE, 0); gtk_widget_show (hbox1); gtk_box_pack_start (GTK_BOX (vbox1), hbox1, FALSE, TRUE, 0); statusbar = gtk_statusbar_new (); gtk_widget_show (statusbar); gtk_box_pack_start (GTK_BOX (hbox1), statusbar, TRUE, TRUE, 0); g_signal_connect ((gpointer) menu_new1, "activate", G_CALLBACK (on_new1_activate), NULL); g_signal_connect ((gpointer) menu_open1, "activate", G_CALLBACK (on_open1_activate), NULL); g_signal_connect ((gpointer) menu_save1, "activate", G_CALLBACK (on_save1_activate), NULL); g_signal_connect ((gpointer) menu_save_as1, "activate", G_CALLBACK (on_save_as1_activate), NULL); g_signal_connect ((gpointer) menu_save_all1, "activate", G_CALLBACK (on_save_all1_activate), NULL); g_signal_connect ((gpointer) menu_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) 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) replace1, "activate", G_CALLBACK (on_replace1_activate), NULL); g_signal_connect ((gpointer) preferences1, "activate", G_CALLBACK (on_preferences1_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_symbol_window1, "toggled", G_CALLBACK (on_show_symbol_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) images_and_text1, "activate", G_CALLBACK (on_images_and_text1_activate), NULL); g_signal_connect ((gpointer) images_only1, "activate", G_CALLBACK (on_images_only1_activate), NULL); g_signal_connect ((gpointer) text_only1, "activate", G_CALLBACK (on_text_only1_activate), 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_show_indention_guides1, "toggled", G_CALLBACK (on_show_indention_guides1_toggled), NULL); g_signal_connect ((gpointer) menu_show_white_space, "toggled", G_CALLBACK (on_show_white_space_toggled), NULL); g_signal_connect ((gpointer) menu_show_line_endings1, "toggled", G_CALLBACK (on_show_line_endings1_toggled), NULL); g_signal_connect ((gpointer) menu_line_breaking1, "toggled", G_CALLBACK (on_line_breaking1_toggled), NULL); g_signal_connect ((gpointer) menu_use_auto_indention1, "activate", G_CALLBACK (on_use_auto_indention1_activate), NULL); g_signal_connect ((gpointer) menu_xml_tag1, "activate", G_CALLBACK (on_xml_tag1_activate), NULL); g_signal_connect ((gpointer) menu_construct_completion1, "activate", G_CALLBACK (on_construct_completion1_activate), 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) help1, "activate", G_CALLBACK (on_help1_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) toolbutton_new, "clicked", G_CALLBACK (on_toolbutton_new_clicked), NULL); g_signal_connect ((gpointer) toolbutton_new, "pressed", G_CALLBACK (on_toolbutton_new_pressed), NULL); g_signal_connect ((gpointer) toolbutton_new, "released", G_CALLBACK (on_toolbutton_new_released), 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) 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) 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); 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, image450, "image450"); 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, 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, image451, "image451"); 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, image452, "image452"); GLADE_HOOKUP_OBJECT (window1, menu_separatormenuitem1, "menu_separatormenuitem1"); 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, separator19, "separator19"); 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, image453, "image453"); 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, image454, "image454"); 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, find1, "find1"); GLADE_HOOKUP_OBJECT (window1, find_next1, "find_next1"); GLADE_HOOKUP_OBJECT (window1, image455, "image455"); GLADE_HOOKUP_OBJECT (window1, replace1, "replace1"); GLADE_HOOKUP_OBJECT (window1, image456, "image456"); GLADE_HOOKUP_OBJECT (window1, separator11, "separator11"); GLADE_HOOKUP_OBJECT (window1, preferences1, "preferences1"); 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, image457, "image457"); GLADE_HOOKUP_OBJECT (window1, menu_choose_color1, "menu_choose_color1"); GLADE_HOOKUP_OBJECT (window1, image458, "image458"); 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_symbol_window1, "menu_show_symbol_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_toolbar2, "menu_toolbar2"); GLADE_HOOKUP_OBJECT (window1, menu_toolbar2_menu, "menu_toolbar2_menu"); GLADE_HOOKUP_OBJECT (window1, images_and_text1, "images_and_text1"); GLADE_HOOKUP_OBJECT (window1, images_only1, "images_only1"); GLADE_HOOKUP_OBJECT (window1, text_only1, "text_only1"); 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_show_indention_guides1, "menu_show_indention_guides1"); GLADE_HOOKUP_OBJECT (window1, menu_show_white_space, "menu_show_white_space"); GLADE_HOOKUP_OBJECT (window1, menu_show_line_endings1, "menu_show_line_endings1"); 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, menu_xml_tag1, "menu_xml_tag1"); GLADE_HOOKUP_OBJECT (window1, menu_construct_completion1, "menu_construct_completion1"); GLADE_HOOKUP_OBJECT (window1, separator10, "separator10"); GLADE_HOOKUP_OBJECT (window1, set_file_readonly1, "set_file_readonly1"); 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, 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, 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, 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, toolitem12, "toolitem12"); GLADE_HOOKUP_OBJECT (window1, toolbutton_new, "toolbutton_new"); GLADE_HOOKUP_OBJECT (window1, toolbutton9, "toolbutton9"); GLADE_HOOKUP_OBJECT (window1, toolbutton10, "toolbutton10"); GLADE_HOOKUP_OBJECT (window1, toolbutton22, "toolbutton22"); 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, 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, toolitem11, "toolitem11"); GLADE_HOOKUP_OBJECT (window1, entry1, "entry1"); GLADE_HOOKUP_OBJECT (window1, toolbutton18, "toolbutton18"); GLADE_HOOKUP_OBJECT (window1, separatortoolitem5, "separatortoolitem5"); GLADE_HOOKUP_OBJECT (window1, toolitem9, "toolitem9"); GLADE_HOOKUP_OBJECT (window1, combo1, "combo1"); GLADE_HOOKUP_OBJECT (window1, combo_entry1, "combo_entry1"); GLADE_HOOKUP_OBJECT (window1, toolitem13, "toolitem13"); GLADE_HOOKUP_OBJECT (window1, alignment1, "alignment1"); GLADE_HOOKUP_OBJECT (window1, label1, "label1"); 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_fileopendialog1 (void) { GtkWidget *fileopendialog1; GtkWidget *dialog_vbox1; GtkWidget *dialog_action_area1; GtkWidget *file_open_cancel_button; GtkWidget *file_open_open_button; fileopendialog1 = gtk_file_chooser_dialog_new (_("Open File"), NULL, GTK_FILE_CHOOSER_ACTION_OPEN, NULL); gtk_widget_set_size_request (fileopendialog1, 520, 460); g_object_set (fileopendialog1, "select-multiple", TRUE, NULL); gtk_window_set_modal (GTK_WINDOW (fileopendialog1), TRUE); gtk_window_set_destroy_with_parent (GTK_WINDOW (fileopendialog1), TRUE); gtk_window_set_skip_taskbar_hint (GTK_WINDOW (fileopendialog1), TRUE); gtk_window_set_type_hint (GTK_WINDOW (fileopendialog1), GDK_WINDOW_TYPE_HINT_DIALOG); dialog_vbox1 = GTK_DIALOG (fileopendialog1)->vbox; gtk_widget_show (dialog_vbox1); dialog_action_area1 = GTK_DIALOG (fileopendialog1)->action_area; gtk_widget_show (dialog_action_area1); gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area1), GTK_BUTTONBOX_END); file_open_cancel_button = gtk_button_new_from_stock ("gtk-cancel"); gtk_widget_show (file_open_cancel_button); gtk_dialog_add_action_widget (GTK_DIALOG (fileopendialog1), file_open_cancel_button, GTK_RESPONSE_CANCEL); GTK_WIDGET_SET_FLAGS (file_open_cancel_button, GTK_CAN_DEFAULT); file_open_open_button = gtk_button_new_from_stock ("gtk-open"); gtk_widget_show (file_open_open_button); gtk_dialog_add_action_widget (GTK_DIALOG (fileopendialog1), file_open_open_button, GTK_RESPONSE_OK); GTK_WIDGET_SET_FLAGS (file_open_open_button, GTK_CAN_DEFAULT); g_signal_connect ((gpointer) fileopendialog1, "delete_event", G_CALLBACK (on_fileopendialog1_delete_event), NULL); g_signal_connect ((gpointer) fileopendialog1, "selection_changed", G_CALLBACK (on_fileopendialog1_selection_changed), NULL); g_signal_connect ((gpointer) file_open_cancel_button, "clicked", G_CALLBACK (on_file_open_cancel_button_clicked), NULL); g_signal_connect ((gpointer) file_open_open_button, "clicked", G_CALLBACK (on_file_open_open_button_clicked), NULL); /* Store pointers to all widgets, for use by lookup_widget(). */ GLADE_HOOKUP_OBJECT_NO_REF (fileopendialog1, fileopendialog1, "fileopendialog1"); GLADE_HOOKUP_OBJECT_NO_REF (fileopendialog1, dialog_vbox1, "dialog_vbox1"); GLADE_HOOKUP_OBJECT_NO_REF (fileopendialog1, dialog_action_area1, "dialog_action_area1"); GLADE_HOOKUP_OBJECT (fileopendialog1, file_open_cancel_button, "file_open_cancel_button"); GLADE_HOOKUP_OBJECT (fileopendialog1, file_open_open_button, "file_open_open_button"); gtk_widget_grab_default (file_open_open_button); return fileopendialog1; } GtkWidget* create_filesavedialog1 (void) { GtkWidget *filesavedialog1; GtkWidget *dialog_vbox2; GtkWidget *dialog_action_area2; GtkWidget *file_save_cancel_button; GtkWidget *file_save_save_button; filesavedialog1 = gtk_file_chooser_dialog_new (_("Save File"), NULL, GTK_FILE_CHOOSER_ACTION_SAVE, NULL); gtk_widget_set_size_request (filesavedialog1, 520, 460); gtk_window_set_modal (GTK_WINDOW (filesavedialog1), TRUE); gtk_window_set_destroy_with_parent (GTK_WINDOW (filesavedialog1), TRUE); gtk_window_set_skip_taskbar_hint (GTK_WINDOW (filesavedialog1), TRUE); gtk_window_set_type_hint (GTK_WINDOW (filesavedialog1), GDK_WINDOW_TYPE_HINT_DIALOG); dialog_vbox2 = GTK_DIALOG (filesavedialog1)->vbox; gtk_widget_show (dialog_vbox2); dialog_action_area2 = GTK_DIALOG (filesavedialog1)->action_area; gtk_widget_show (dialog_action_area2); gtk_button_box_set_layout (GTK_BUTTON_BOX (dialog_action_area2), GTK_BUTTONBOX_END); file_save_cancel_button = gtk_button_new_from_stock ("gtk-cancel"); gtk_widget_show (file_save_cancel_button); gtk_dialog_add_action_widget (GTK_DIALOG (filesavedialog1), file_save_cancel_button, GTK_RESPONSE_CANCEL); GTK_WIDGET_SET_FLAGS (file_save_cancel_button, GTK_CAN_DEFAULT); file_save_save_button = gtk_button_new_from_stock ("gtk-save"); gtk_widget_show (file_save_save_button); gtk_dialog_add_action_widget (GTK_DIALOG (filesavedialog1), file_save_save_button, GTK_RESPONSE_OK); GTK_WIDGET_SET_FLAGS (file_save_save_button, GTK_CAN_DEFAULT); g_signal_connect ((gpointer) filesavedialog1, "delete_event", G_CALLBACK (on_filesavedialog1_delete_event), NULL); g_signal_connect ((gpointer) file_save_cancel_button, "clicked", G_CALLBACK (on_file_save_cancel_button_clicked), NULL); g_signal_connect ((gpointer) file_save_save_button, "clicked", G_CALLBACK (on_file_save_save_button_clicked), NULL); /* Store pointers to all widgets, for use by lookup_widget(). */ GLADE_HOOKUP_OBJECT_NO_REF (filesavedialog1, filesavedialog1, "filesavedialog1"); GLADE_HOOKUP_OBJECT_NO_REF (filesavedialog1, dialog_vbox2, "dialog_vbox2"); GLADE_HOOKUP_OBJECT_NO_REF (filesavedialog1, dialog_action_area2, "dialog_action_area2"); GLADE_HOOKUP_OBJECT (filesavedialog1, file_save_cancel_button, "file_save_cancel_button"); GLADE_HOOKUP_OBJECT (filesavedialog1, file_save_save_button, "file_save_save_button"); gtk_widget_grab_default (file_save_save_button); return filesavedialog1; } GtkWidget* create_fontselectiondialog1 (void) { GtkWidget *fontselectiondialog1; GtkWidget *font_ok_button; GtkWidget *font_cancel_button; GtkWidget *font_apply_button; GtkWidget *font_selection1; fontselectiondialog1 = gtk_font_selection_dialog_new (_("Choose font")); gtk_container_set_border_width (GTK_CONTAINER (fontselectiondialog1), 4); gtk_window_set_modal (GTK_WINDOW (fontselectiondialog1), TRUE); gtk_window_set_destroy_with_parent (GTK_WINDOW (fontselectiondialog1), TRUE); gtk_window_set_skip_taskbar_hint (GTK_WINDOW (fontselectiondialog1), TRUE); gtk_window_set_type_hint (GTK_WINDOW (fontselectiondialog1), GDK_WINDOW_TYPE_HINT_DIALOG); font_ok_button = GTK_FONT_SELECTION_DIALOG (fontselectiondialog1)->ok_button; gtk_widget_show (font_ok_button); GTK_WIDGET_SET_FLAGS (font_ok_button, GTK_CAN_DEFAULT); font_cancel_button = GTK_FONT_SELECTION_DIALOG (fontselectiondialog1)->cancel_button; gtk_widget_show (font_cancel_button); GTK_WIDGET_SET_FLAGS (font_cancel_button, GTK_CAN_DEFAULT); font_apply_button = GTK_FONT_SELECTION_DIALOG (fontselectiondialog1)->apply_button; gtk_widget_show (font_apply_button); GTK_WIDGET_SET_FLAGS (font_apply_button, GTK_CAN_DEFAULT); font_selection1 = GTK_FONT_SELECTION_DIALOG (fontselectiondialog1)->fontsel; gtk_widget_show (font_selection1); gtk_container_set_border_width (GTK_CONTAINER (font_selection1), 4); g_signal_connect ((gpointer) fontselectiondialog1, "delete_event", G_CALLBACK (on_fontselectiondialog1_delete_event), NULL); g_signal_connect ((gpointer) font_ok_button, "clicked", G_CALLBACK (on_font_ok_button_clicked), NULL); g_signal_connect ((gpointer) font_cancel_button, "clicked", G_CALLBACK (on_font_cancel_button_clicked), NULL); g_signal_connect ((gpointer) font_apply_button, "clicked", G_CALLBACK (on_font_apply_button_clicked), NULL); /* Store pointers to all widgets, for use by lookup_widget(). */ GLADE_HOOKUP_OBJECT_NO_REF (fontselectiondialog1, fontselectiondialog1, "fontselectiondialog1"); GLADE_HOOKUP_OBJECT_NO_REF (fontselectiondialog1, font_ok_button, "font_ok_button"); GLADE_HOOKUP_OBJECT_NO_REF (fontselectiondialog1, font_cancel_button, "font_cancel_button"); GLADE_HOOKUP_OBJECT_NO_REF (fontselectiondialog1, font_apply_button, "font_apply_button"); GLADE_HOOKUP_OBJECT_NO_REF (fontselectiondialog1, font_selection1, "font_selection1"); return fontselectiondialog1; } 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 *image446; GtkWidget *insert_include1_menu; GtkWidget *invisible3; GtkWidget *comments; GtkWidget *image447; 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 *image448; GtkWidget *goto_tag_declaration1; GtkWidget *goto_tag_definition1; GtkWidget *separator15; GtkWidget *go_to_line; GtkWidget *image449; 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); image446 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU); gtk_widget_show (image446); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (insert_include1), image446); 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); image447 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU); gtk_widget_show (image447); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (comments), image447); 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); image448 = gtk_image_new_from_stock ("gtk-find", GTK_ICON_SIZE_MENU); gtk_widget_show (image448); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (find_usage1), image448); 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); 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); 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); image449 = gtk_image_new_from_stock ("gtk-jump-to", GTK_ICON_SIZE_MENU); gtk_widget_show (image449); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (go_to_line), image449); 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_declaration1, "activate", G_CALLBACK (on_goto_tag_activate), NULL); g_signal_connect ((gpointer) goto_tag_definition1, "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, image446, "image446"); 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, image447, "image447"); 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, image448, "image448"); GLADE_HOOKUP_OBJECT (edit_menu1, goto_tag_declaration1, "goto_tag_declaration1"); GLADE_HOOKUP_OBJECT (edit_menu1, goto_tag_definition1, "goto_tag_definition1"); GLADE_HOOKUP_OBJECT (edit_menu1, separator15, "separator15"); GLADE_HOOKUP_OBJECT (edit_menu1, go_to_line, "go_to_line"); GLADE_HOOKUP_OBJECT (edit_menu1, image449, "image449"); 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 *check_load_session; GtkWidget *check_save_win_pos; GtkWidget *check_ask_for_quit; GtkWidget *label18; GtkWidget *label106; GtkWidget *frame3; GtkWidget *alignment4; GtkWidget *vbox7; GtkWidget *check_toolbar_search; GtkWidget *check_toolbar_tags; GtkWidget *label98; GtkWidget *label104; GtkWidget *frame4; GtkWidget *alignment5; GtkWidget *table2; GtkWidget *label100; GtkWidget *label101; GtkWidget *msgwin_font; GtkWidget *tagbar_font; GtkWidget *label99; GtkWidget *label105; GtkWidget *label94; GtkWidget *vbox5; GtkWidget *frame6; GtkWidget *alignment7; GtkWidget *vbox8; 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 *label19; GtkWidget *frame5; GtkWidget *alignment6; GtkWidget *table3; GtkWidget *label103; GtkWidget *editor_font; GtkWidget *label133; GtkWidget *label134; GtkWidget *long_line_color; GtkObject *spin_long_line_adj; GtkWidget *spin_long_line; GtkWidget *label102; GtkWidget *label95; GtkWidget *vbox2; GtkWidget *label17; GtkWidget *table1; GtkWidget *entry_com_c; GtkWidget *label12; GtkWidget *label13; GtkWidget *label114; GtkWidget *entry_com_javac; GtkWidget *entry_com_cpp; GtkWidget *label97; GtkWidget *entry_com_term; GtkWidget *label11; GtkWidget *label113; GtkWidget *entry_com_make; GtkWidget *entry_com_pascal; GtkWidget *label115; GtkWidget *entry_com_java; GtkWidget *label117; GtkWidget *entry_browser; GtkWidget *button_gcc; GtkWidget *image280; GtkWidget *button_gpp; GtkWidget *bu; GtkWidget *button_java; GtkWidget *image283; GtkWidget *button_fpc; GtkWidget *image284; GtkWidget *button_make; GtkWidget *image285; GtkWidget *button_term; GtkWidget *image286; GtkWidget *button_browser; GtkWidget *image287; GtkWidget *button_javac; GtkWidget *image288; 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 *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); 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_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_button_set_focus_on_click (GTK_BUTTON (check_ask_for_quit), FALSE); label18 = gtk_label_new (_("Miscellaneous")); 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_tags = gtk_check_button_new_with_mnemonic (_("Show symbol list")); gtk_widget_show (check_toolbar_tags); gtk_box_pack_start (GTK_BOX (vbox7), check_toolbar_tags, FALSE, FALSE, 0); GTK_WIDGET_UNSET_FLAGS (check_toolbar_tags, GTK_CAN_FOCUS); gtk_tooltips_set_tip (tooltips, check_toolbar_tags, _("Display the symbol list in the toolbar"), NULL); label98 = gtk_label_new (_("Toolbar")); 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); frame4 = gtk_frame_new (NULL); gtk_widget_show (frame4); gtk_box_pack_start (GTK_BOX (vbox3), frame4, FALSE, FALSE, 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, 0); 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 (_("Fonts")); gtk_widget_show (label99); gtk_frame_set_label_widget (GTK_FRAME (frame4), label99); gtk_label_set_use_markup (GTK_LABEL (label99), 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); 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, 0); gtk_widget_show (vbox8); gtk_container_add (GTK_CONTAINER (alignment7), vbox8); table5 = gtk_table_new (1, 2, FALSE); gtk_widget_show (table5); gtk_box_pack_start (GTK_BOX (vbox8), table5, FALSE, TRUE, 0); gtk_table_set_row_spacings (GTK_TABLE (table5), 3); gtk_table_set_col_spacings (GTK_TABLE (table5), 25); label116 = gtk_label_new (_("Tab Width")); gtk_widget_show (label116); gtk_table_attach (GTK_TABLE (table5), label116, 0, 1, 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 (_("New files")); 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); label19 = gtk_label_new (_("Saving files")); 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, 0); table3 = gtk_table_new (3, 2, FALSE); gtk_widget_show (table3); gtk_container_add (GTK_CONTAINER (alignment6), table3); 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); 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_EXPAND | GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_tooltips_set_tip (tooltips, editor_font, _("Sets the font for the editors windows"), NULL); 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); 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")); 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_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); label102 = gtk_label_new (_("Miscellaneous")); 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 (8, 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); entry_com_c = gtk_entry_new (); gtk_widget_show (entry_com_c); gtk_table_attach (GTK_TABLE (table1), entry_com_c, 1, 2, 0, 1, (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_tooltips_set_tip (tooltips, entry_com_c, _("Path and options for the C compiler"), NULL); label12 = gtk_label_new (_("C Compiler")); gtk_widget_show (label12); gtk_table_attach (GTK_TABLE (table1), label12, 0, 1, 0, 1, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_misc_set_alignment (GTK_MISC (label12), 0, 0.5); label13 = gtk_label_new (_("C++ Compiler")); gtk_widget_show (label13); gtk_table_attach (GTK_TABLE (table1), label13, 0, 1, 1, 2, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_misc_set_alignment (GTK_MISC (label13), 0, 0.5); label114 = gtk_label_new (_("Java Compiler")); gtk_widget_show (label114); gtk_table_attach (GTK_TABLE (table1), label114, 0, 1, 2, 3, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_misc_set_alignment (GTK_MISC (label114), 0, 0.5); entry_com_javac = gtk_entry_new (); gtk_widget_show (entry_com_javac); gtk_table_attach (GTK_TABLE (table1), entry_com_javac, 1, 2, 2, 3, (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_tooltips_set_tip (tooltips, entry_com_javac, _("Path and options for the Java compiler"), NULL); entry_com_cpp = gtk_entry_new (); gtk_widget_show (entry_com_cpp); gtk_table_attach (GTK_TABLE (table1), entry_com_cpp, 1, 2, 1, 2, (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_tooltips_set_tip (tooltips, entry_com_cpp, _("Path and options for the C++ compiler"), NULL); label97 = gtk_label_new (_("Terminal")); gtk_widget_show (label97); gtk_table_attach (GTK_TABLE (table1), label97, 0, 1, 6, 7, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_misc_set_alignment (GTK_MISC (label97), 0, 0.5); entry_com_term = gtk_entry_new (); gtk_widget_show (entry_com_term); gtk_table_attach (GTK_TABLE (table1), entry_com_term, 1, 2, 6, 7, (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); label11 = gtk_label_new (_("Make")); gtk_widget_show (label11); gtk_table_attach (GTK_TABLE (table1), label11, 0, 1, 5, 6, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_misc_set_alignment (GTK_MISC (label11), 0, 0.5); label113 = gtk_label_new (_("Pascal Compiler")); gtk_widget_show (label113); gtk_table_attach (GTK_TABLE (table1), label113, 0, 1, 4, 5, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_misc_set_alignment (GTK_MISC (label113), 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, 5, 6, (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_pascal = gtk_entry_new (); gtk_widget_show (entry_com_pascal); gtk_table_attach (GTK_TABLE (table1), entry_com_pascal, 1, 2, 4, 5, (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_tooltips_set_tip (tooltips, entry_com_pascal, _("Path and options for the Pascal compiler"), NULL); label115 = gtk_label_new (_("Java executable")); gtk_widget_show (label115); gtk_table_attach (GTK_TABLE (table1), label115, 0, 1, 3, 4, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_misc_set_alignment (GTK_MISC (label115), 0, 0.5); entry_com_java = gtk_entry_new (); gtk_widget_show (entry_com_java); gtk_table_attach (GTK_TABLE (table1), entry_com_java, 1, 2, 3, 4, (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_tooltips_set_tip (tooltips, entry_com_java, _("Path and options for the java executable, to run java bytecode files(compiled java source files)"), NULL); label117 = gtk_label_new (_("Browser")); gtk_widget_show (label117); gtk_table_attach (GTK_TABLE (table1), label117, 0, 1, 7, 8, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); gtk_misc_set_alignment (GTK_MISC (label117), 0, 0.5); entry_browser = gtk_entry_new (); gtk_widget_show (entry_browser); gtk_table_attach (GTK_TABLE (table1), entry_browser, 1, 2, 7, 8, (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_gcc = gtk_button_new (); gtk_widget_show (button_gcc); gtk_table_attach (GTK_TABLE (table1), button_gcc, 2, 3, 0, 1, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); image280 = gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_BUTTON); gtk_widget_show (image280); gtk_container_add (GTK_CONTAINER (button_gcc), image280); button_gpp = gtk_button_new (); gtk_widget_show (button_gpp); gtk_table_attach (GTK_TABLE (table1), button_gpp, 2, 3, 1, 2, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); bu = gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_BUTTON); gtk_widget_show (bu); gtk_container_add (GTK_CONTAINER (button_gpp), bu); button_java = gtk_button_new (); gtk_widget_show (button_java); gtk_table_attach (GTK_TABLE (table1), button_java, 2, 3, 3, 4, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); image283 = gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_BUTTON); gtk_widget_show (image283); gtk_container_add (GTK_CONTAINER (button_java), image283); button_fpc = gtk_button_new (); gtk_widget_show (button_fpc); gtk_table_attach (GTK_TABLE (table1), button_fpc, 2, 3, 4, 5, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); image284 = gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_BUTTON); gtk_widget_show (image284); gtk_container_add (GTK_CONTAINER (button_fpc), image284); button_make = gtk_button_new (); gtk_widget_show (button_make); gtk_table_attach (GTK_TABLE (table1), button_make, 2, 3, 5, 6, (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, 6, 7, (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, 7, 8, (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); button_javac = gtk_button_new (); gtk_widget_show (button_javac); gtk_table_attach (GTK_TABLE (table1), button_javac, 2, 3, 2, 3, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0); image288 = gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_BUTTON); gtk_widget_show (image288); gtk_container_add (GTK_CONTAINER (button_javac), image288); 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); 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, 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_ask_for_quit, "check_ask_for_quit"); 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_tags, "check_toolbar_tags"); GLADE_HOOKUP_OBJECT (prefs_dialog, label98, "label98"); GLADE_HOOKUP_OBJECT (prefs_dialog, label104, "label104"); 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, label105, "label105"); 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, 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, label19, "label19"); GLADE_HOOKUP_OBJECT (prefs_dialog, frame5, "frame5"); GLADE_HOOKUP_OBJECT (prefs_dialog, alignment6, "alignment6"); GLADE_HOOKUP_OBJECT (prefs_dialog, table3, "table3"); GLADE_HOOKUP_OBJECT (prefs_dialog, label103, "label103"); GLADE_HOOKUP_OBJECT (prefs_dialog, editor_font, "editor_font"); GLADE_HOOKUP_OBJECT (prefs_dialog, label133, "label133"); GLADE_HOOKUP_OBJECT (prefs_dialog, label134, "label134"); GLADE_HOOKUP_OBJECT (prefs_dialog, long_line_color, "long_line_color"); GLADE_HOOKUP_OBJECT (prefs_dialog, spin_long_line, "spin_long_line"); GLADE_HOOKUP_OBJECT (prefs_dialog, 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, entry_com_c, "entry_com_c"); GLADE_HOOKUP_OBJECT (prefs_dialog, label12, "label12"); GLADE_HOOKUP_OBJECT (prefs_dialog, label13, "label13"); GLADE_HOOKUP_OBJECT (prefs_dialog, label114, "label114"); GLADE_HOOKUP_OBJECT (prefs_dialog, entry_com_javac, "entry_com_javac"); GLADE_HOOKUP_OBJECT (prefs_dialog, entry_com_cpp, "entry_com_cpp"); GLADE_HOOKUP_OBJECT (prefs_dialog, label97, "label97"); GLADE_HOOKUP_OBJECT (prefs_dialog, entry_com_term, "entry_com_term"); GLADE_HOOKUP_OBJECT (prefs_dialog, label11, "label11"); GLADE_HOOKUP_OBJECT (prefs_dialog, label113, "label113"); GLADE_HOOKUP_OBJECT (prefs_dialog, entry_com_make, "entry_com_make"); GLADE_HOOKUP_OBJECT (prefs_dialog, entry_com_pascal, "entry_com_pascal"); GLADE_HOOKUP_OBJECT (prefs_dialog, label115, "label115"); GLADE_HOOKUP_OBJECT (prefs_dialog, entry_com_java, "entry_com_java"); GLADE_HOOKUP_OBJECT (prefs_dialog, label117, "label117"); GLADE_HOOKUP_OBJECT (prefs_dialog, entry_browser, "entry_browser"); GLADE_HOOKUP_OBJECT (prefs_dialog, button_gcc, "button_gcc"); GLADE_HOOKUP_OBJECT (prefs_dialog, image280, "image280"); GLADE_HOOKUP_OBJECT (prefs_dialog, button_gpp, "button_gpp"); GLADE_HOOKUP_OBJECT (prefs_dialog, bu, "bu"); GLADE_HOOKUP_OBJECT (prefs_dialog, button_java, "button_java"); GLADE_HOOKUP_OBJECT (prefs_dialog, image283, "image283"); GLADE_HOOKUP_OBJECT (prefs_dialog, button_fpc, "button_fpc"); GLADE_HOOKUP_OBJECT (prefs_dialog, image284, "image284"); 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, button_javac, "button_javac"); GLADE_HOOKUP_OBJECT (prefs_dialog, image288, "image288"); 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_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; }