2005-11-22 12:26:26 +00:00
/*
* DO NOT EDIT THIS FILE - it is generated by Glade .
*/
# ifdef HAVE_CONFIG_H
# include <config.h>
# endif
# include <sys/types.h>
# include <sys/stat.h>
# include <unistd.h>
# include <string.h>
# include <stdio.h>
# include <gdk/gdkkeysyms.h>
# include <gtk/gtk.h>
# include "callbacks.h"
# include "interface.h"
# include "support.h"
# define GLADE_HOOKUP_OBJECT(component,widget,name) \
g_object_set_data_full ( G_OBJECT ( component ) , name , \
gtk_widget_ref ( widget ) , ( GDestroyNotify ) gtk_widget_unref )
# define GLADE_HOOKUP_OBJECT_NO_REF(component,widget,name) \
g_object_set_data ( G_OBJECT ( component ) , name , widget )
GtkWidget *
create_window1 ( void )
{
GtkWidget * window1 ;
AtkObject * atko ;
GtkWidget * vbox1 ;
GtkWidget * menubar1 ;
2007-05-25 14:42:43 +00:00
GtkWidget * file1 ;
2005-11-22 12:26:26 +00:00
GtkWidget * menuitem1_menu ;
GtkWidget * menu_new1 ;
GtkWidget * menu_new_with_template1 ;
2007-05-06 14:49:51 +00:00
GtkWidget * image1758 ;
2005-11-22 12:26:26 +00:00
GtkWidget * menu_new_with_template1_menu ;
GtkWidget * invisible2 ;
GtkWidget * separator12 ;
GtkWidget * menu_open1 ;
2007-01-24 19:20:12 +00:00
GtkWidget * menu_open_selected_file1 ;
2006-06-18 16:18:05 +00:00
GtkWidget * recent_files1 ;
2005-11-22 12:26:26 +00:00
GtkWidget * separator13 ;
GtkWidget * menu_save1 ;
GtkWidget * menu_save_as1 ;
GtkWidget * menu_save_all1 ;
2007-05-06 14:49:51 +00:00
GtkWidget * image1759 ;
2006-07-22 01:29:10 +00:00
GtkWidget * menu_reload1 ;
2007-05-06 14:49:51 +00:00
GtkWidget * image1760 ;
2006-07-22 01:29:10 +00:00
GtkWidget * menu_reload_as1 ;
2007-05-06 14:49:51 +00:00
GtkWidget * image1761 ;
2006-07-22 01:29:10 +00:00
GtkWidget * menu_reload_as1_menu ;
GtkWidget * invisible7 ;
2006-02-22 13:38:47 +00:00
GtkWidget * separator21 ;
2007-04-18 15:21:33 +00:00
GtkWidget * load_tags1 ;
GtkWidget * separator39 ;
2006-02-14 22:07:55 +00:00
GtkWidget * preferences2 ;
2006-06-29 17:14:52 +00:00
GtkWidget * separator24 ;
GtkWidget * print1 ;
2005-11-22 12:26:26 +00:00
GtkWidget * separator14 ;
GtkWidget * menu_close1 ;
GtkWidget * menu_close_all1 ;
2007-05-06 14:49:51 +00:00
GtkWidget * image1762 ;
2005-11-22 12:26:26 +00:00
GtkWidget * menu_separatormenuitem1 ;
GtkWidget * menu_quit1 ;
GtkWidget * edit1 ;
GtkWidget * edit1_menu ;
GtkWidget * menu_undo2 ;
GtkWidget * menu_redo2 ;
GtkWidget * menu_seperator1 ;
GtkWidget * menu_cut1 ;
GtkWidget * menu_copy1 ;
GtkWidget * menu_paste1 ;
GtkWidget * menu_delete1 ;
GtkWidget * menu_seperator2 ;
2006-06-30 13:42:53 +00:00
GtkWidget * menu_select_all1 ;
GtkWidget * separator25 ;
2006-10-20 12:31:22 +00:00
GtkWidget * menu_format1 ;
GtkWidget * menu_format1_menu ;
GtkWidget * menu_to_lower_case2 ;
GtkWidget * menu_to_upper_case2 ;
GtkWidget * separator28 ;
GtkWidget * menu_comment_line1 ;
GtkWidget * menu_uncomment_line1 ;
GtkWidget * menu_toggle_line_commentation1 ;
GtkWidget * menu_duplicate_line1 ;
GtkWidget * separator29 ;
GtkWidget * menu_increase_indent1 ;
2007-05-06 14:49:51 +00:00
GtkWidget * image1763 ;
2006-10-20 12:31:22 +00:00
GtkWidget * menu_decrease_indent1 ;
2007-05-06 14:49:51 +00:00
GtkWidget * image1764 ;
2007-02-25 14:26:55 +00:00
GtkWidget * separator37 ;
GtkWidget * send_selection_to2 ;
GtkWidget * send_selection_to2_menu ;
GtkWidget * invisible13 ;
2006-10-20 12:31:22 +00:00
GtkWidget * separator18 ;
2005-11-22 12:26:26 +00:00
GtkWidget * insert_include2 ;
2007-05-06 14:49:51 +00:00
GtkWidget * image1765 ;
2005-11-22 12:26:26 +00:00
GtkWidget * insert_include2_menu ;
GtkWidget * invisible4 ;
GtkWidget * add_comments1 ;
2007-05-06 14:49:51 +00:00
GtkWidget * image1766 ;
2005-11-22 12:26:26 +00:00
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 ;
2007-01-06 15:38:44 +00:00
GtkWidget * insert_bsd_license_notice2 ;
2006-08-19 12:56:30 +00:00
GtkWidget * insert_date1 ;
2007-05-06 14:49:51 +00:00
GtkWidget * image1767 ;
2006-08-19 12:56:30 +00:00
GtkWidget * insert_date1_menu ;
GtkWidget * invisible8 ;
2005-11-22 12:26:26 +00:00
GtkWidget * separator9 ;
2006-05-23 19:31:09 +00:00
GtkWidget * preferences1 ;
GtkWidget * search1 ;
GtkWidget * search1_menu ;
2005-11-22 12:26:26 +00:00
GtkWidget * find1 ;
GtkWidget * find_next1 ;
2006-05-23 19:31:09 +00:00
GtkWidget * find_previous1 ;
2006-07-13 14:30:44 +00:00
GtkWidget * find_in_files1 ;
2006-12-08 15:50:10 +00:00
GtkWidget * replace1 ;
2007-05-06 14:49:51 +00:00
GtkWidget * image1768 ;
2006-12-08 15:50:10 +00:00
GtkWidget * separator33 ;
2007-01-23 17:51:30 +00:00
GtkWidget * find_nextsel1 ;
GtkWidget * find_prevsel1 ;
GtkWidget * separator35 ;
2006-12-08 15:50:10 +00:00
GtkWidget * next_message1 ;
GtkWidget * separator32 ;
2006-05-23 19:31:09 +00:00
GtkWidget * go_to_line1 ;
2007-05-06 14:49:51 +00:00
GtkWidget * image1769 ;
2005-11-22 12:26:26 +00:00
GtkWidget * menuitem3 ;
GtkWidget * menuitem3_menu ;
GtkWidget * menu_change_font1 ;
2007-05-06 14:49:51 +00:00
GtkWidget * image1770 ;
2005-11-22 12:26:26 +00:00
GtkWidget * menu_separator4 ;
2007-05-06 14:49:51 +00:00
GtkWidget * menu_toggle_all_additional_widgets1 ;
2005-11-22 12:26:26 +00:00
GtkWidget * menu_fullscreen1 ;
GtkWidget * menu_show_messages_window1 ;
GtkWidget * menu_show_toolbar1 ;
2006-07-21 11:41:33 +00:00
GtkWidget * menu_show_sidebar1 ;
2005-11-22 12:26:26 +00:00
GtkWidget * menu_markers_margin1 ;
2006-02-14 22:07:55 +00:00
GtkWidget * menu_linenumber_margin1 ;
2005-11-22 12:26:26 +00:00
GtkWidget * menu_separator5 ;
GtkWidget * menu_zoom_in1 ;
GtkWidget * menu_zoom_out1 ;
GtkWidget * normal_size1 ;
GtkWidget * menu_item4 ;
GtkWidget * menu_item4_menu ;
GtkWidget * menu_line_breaking1 ;
GtkWidget * menu_use_auto_indention1 ;
GtkWidget * set_file_readonly1 ;
2006-07-24 20:23:56 +00:00
GtkWidget * menu_write_unicode_bom1 ;
2006-02-14 22:07:55 +00:00
GtkWidget * separator10 ;
2005-11-22 12:26:26 +00:00
GtkWidget * set_filetype1 ;
GtkWidget * set_filetype1_menu ;
GtkWidget * invisible1 ;
2006-06-19 18:31:17 +00:00
GtkWidget * set_encoding1 ;
GtkWidget * set_encoding1_menu ;
GtkWidget * invisible6 ;
2005-11-22 12:26:26 +00:00
GtkWidget * menu_line_endings1 ;
GtkWidget * menu_line_endings1_menu ;
2006-08-03 22:17:10 +00:00
GSList * crlf_group = NULL ;
2005-11-22 12:26:26 +00:00
GtkWidget * crlf ;
GtkWidget * lf ;
GtkWidget * cr ;
GtkWidget * separator8 ;
GtkWidget * menu_replace_tabs ;
2006-02-26 18:19:28 +00:00
GtkWidget * separator22 ;
GtkWidget * menu_fold_all1 ;
GtkWidget * menu_unfold_all1 ;
2006-06-13 19:37:21 +00:00
GtkWidget * separator23 ;
2007-02-17 18:06:08 +00:00
GtkWidget * remove_markers1 ;
2006-06-13 19:37:21 +00:00
GtkWidget * menu_remove_indicators1 ;
2007-01-15 18:12:32 +00:00
GtkWidget * menu_project1 ;
GtkWidget * menu_project1_menu ;
GtkWidget * project_new1 ;
2007-05-06 14:49:51 +00:00
GtkWidget * image1771 ;
2007-01-15 18:12:32 +00:00
GtkWidget * project_open1 ;
2007-05-06 14:49:51 +00:00
GtkWidget * image1772 ;
2007-01-15 18:12:32 +00:00
GtkWidget * project_close1 ;
2007-05-06 14:49:51 +00:00
GtkWidget * image1773 ;
2007-01-15 18:12:32 +00:00
GtkWidget * separator34 ;
GtkWidget * project_properties1 ;
2005-11-22 12:26:26 +00:00
GtkWidget * menu_build1 ;
2006-10-20 12:31:22 +00:00
GtkWidget * tools1 ;
GtkWidget * tools1_menu ;
GtkWidget * menu_choose_color1 ;
2007-05-06 14:49:51 +00:00
GtkWidget * image1774 ;
2006-10-20 12:31:22 +00:00
GtkWidget * menu_count_words1 ;
2006-12-13 00:46:14 +00:00
GtkWidget * menu_insert_special_chars1 ;
2005-11-22 12:26:26 +00:00
GtkWidget * menu_item5 ;
GtkWidget * menu_item5_menu ;
GtkWidget * help1 ;
2005-12-18 22:38:57 +00:00
GtkWidget * keyboard_shortcuts1 ;
2005-11-22 12:26:26 +00:00
GtkWidget * website1 ;
GtkWidget * separator16 ;
GtkWidget * menu_info1 ;
GtkWidget * toolbar1 ;
GtkIconSize tmp_toolbar_icon_size ;
2006-02-22 13:38:47 +00:00
GtkWidget * menutoolbutton1 ;
2005-11-22 12:26:26 +00:00
GtkWidget * toolbutton9 ;
GtkWidget * toolbutton10 ;
GtkWidget * toolbutton22 ;
2006-06-18 16:18:05 +00:00
GtkWidget * separatortoolitem7 ;
2005-11-22 12:26:26 +00:00
GtkWidget * toolbutton23 ;
GtkWidget * toolbutton15 ;
GtkWidget * separatortoolitem2 ;
2006-07-11 14:15:56 +00:00
GtkWidget * toolbutton_undo ;
GtkWidget * toolbutton_redo ;
GtkWidget * separatortoolitem9 ;
2005-11-22 12:26:26 +00:00
GtkWidget * tmp_image ;
2006-06-18 16:18:05 +00:00
GtkWidget * toolbutton13 ;
2006-04-27 17:56:31 +00:00
GtkWidget * toolbutton26 ;
GtkWidget * separatortoolitem6 ;
2005-11-22 12:26:26 +00:00
GtkWidget * toolbutton24 ;
GtkWidget * separatortoolitem3 ;
GtkWidget * toolbutton20 ;
GtkWidget * toolbutton21 ;
GtkWidget * separatortoolitem4 ;
2006-04-27 17:56:31 +00:00
GtkWidget * toolitem18 ;
2005-11-22 12:26:26 +00:00
GtkWidget * entry1 ;
GtkWidget * toolbutton18 ;
2006-02-26 18:19:28 +00:00
GtkWidget * separatortoolitem5 ;
2006-04-27 17:56:31 +00:00
GtkWidget * toolitem17 ;
2006-02-26 18:19:28 +00:00
GtkWidget * entry_goto_line ;
GtkWidget * toolbutton25 ;
2006-06-18 16:18:05 +00:00
GtkWidget * separatortoolitem8 ;
2005-11-22 12:26:26 +00:00
GtkWidget * toolbutton19 ;
GtkWidget * vpaned1 ;
GtkWidget * hpaned1 ;
GtkWidget * notebook3 ;
GtkWidget * scrolledwindow2 ;
GtkWidget * treeview2 ;
GtkWidget * label135 ;
GtkWidget * scrolledwindow7 ;
GtkWidget * treeview6 ;
GtkWidget * label136 ;
GtkWidget * notebook1 ;
GtkWidget * scrolledwindow1 ;
GtkWidget * viewport1 ;
GtkWidget * notebook_info ;
GtkWidget * scrolledwindow4 ;
GtkWidget * treeview3 ;
GtkWidget * notebook_info_label_status ;
GtkWidget * scrolledwindow3 ;
GtkWidget * treeview5 ;
GtkWidget * notebook_info_label_compiler ;
GtkWidget * scrolledwindow5 ;
GtkWidget * treeview4 ;
GtkWidget * notebook_info_label_msg ;
GtkWidget * scrolledwindow6 ;
GtkWidget * textview_scribble ;
GtkWidget * notebook_info_label_scribble ;
GtkWidget * hbox1 ;
GtkWidget * statusbar ;
GtkAccelGroup * accel_group ;
GtkTooltips * tooltips ;
tooltips = gtk_tooltips_new ( ) ;
accel_group = gtk_accel_group_new ( ) ;
window1 = gtk_window_new ( GTK_WINDOW_TOPLEVEL ) ;
gtk_window_set_title ( GTK_WINDOW ( window1 ) , _ ( " Geany " ) ) ;
vbox1 = gtk_vbox_new ( FALSE , 0 ) ;
gtk_widget_show ( vbox1 ) ;
gtk_container_add ( GTK_CONTAINER ( window1 ) , vbox1 ) ;
menubar1 = gtk_menu_bar_new ( ) ;
gtk_widget_show ( menubar1 ) ;
gtk_box_pack_start ( GTK_BOX ( vbox1 ) , menubar1 , FALSE , FALSE , 0 ) ;
2007-05-25 14:42:43 +00:00
file1 = gtk_menu_item_new_with_mnemonic ( _ ( " _File " ) ) ;
gtk_widget_show ( file1 ) ;
gtk_container_add ( GTK_CONTAINER ( menubar1 ) , file1 ) ;
2005-11-22 12:26:26 +00:00
menuitem1_menu = gtk_menu_new ( ) ;
2007-05-25 14:42:43 +00:00
gtk_menu_item_set_submenu ( GTK_MENU_ITEM ( file1 ) , menuitem1_menu ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-12-12 12:12:20 +00:00
menu_new_with_template1 = gtk_image_menu_item_new_with_mnemonic ( _ ( " New (with _Template) " ) ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( menu_new_with_template1 ) ;
gtk_container_add ( GTK_CONTAINER ( menuitem1_menu ) , menu_new_with_template1 ) ;
2007-05-06 14:49:51 +00:00
image1758 = gtk_image_new_from_stock ( " gtk-new " , GTK_ICON_SIZE_MENU ) ;
gtk_widget_show ( image1758 ) ;
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( menu_new_with_template1 ) , image1758 ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2007-01-24 19:20:12 +00:00
menu_open_selected_file1 = gtk_menu_item_new_with_mnemonic ( _ ( " Open Selected F_ile " ) ) ;
gtk_widget_show ( menu_open_selected_file1 ) ;
gtk_container_add ( GTK_CONTAINER ( menuitem1_menu ) , menu_open_selected_file1 ) ;
2006-12-12 12:12:20 +00:00
recent_files1 = gtk_menu_item_new_with_mnemonic ( _ ( " Recent _Files " ) ) ;
2006-06-18 16:18:05 +00:00
gtk_widget_show ( recent_files1 ) ;
gtk_container_add ( GTK_CONTAINER ( menuitem1_menu ) , recent_files1 ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-12-12 12:12:20 +00:00
menu_save_all1 = gtk_image_menu_item_new_with_mnemonic ( _ ( " Save A_ll " ) ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2007-05-06 14:49:51 +00:00
image1759 = gtk_image_new_from_stock ( " gtk-save " , GTK_ICON_SIZE_MENU ) ;
gtk_widget_show ( image1759 ) ;
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( menu_save_all1 ) , image1759 ) ;
2005-12-18 22:38:57 +00:00
2006-07-22 01:29:10 +00:00
menu_reload1 = gtk_image_menu_item_new_with_mnemonic ( _ ( " _Reload " ) ) ;
gtk_widget_show ( menu_reload1 ) ;
gtk_container_add ( GTK_CONTAINER ( menuitem1_menu ) , menu_reload1 ) ;
2007-05-06 14:49:51 +00:00
image1760 = gtk_image_new_from_stock ( " gtk-revert-to-saved " , GTK_ICON_SIZE_MENU ) ;
gtk_widget_show ( image1760 ) ;
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( menu_reload1 ) , image1760 ) ;
2006-07-22 01:29:10 +00:00
2006-12-12 12:12:20 +00:00
menu_reload_as1 = gtk_image_menu_item_new_with_mnemonic ( _ ( " R_eload As " ) ) ;
2006-07-22 01:29:10 +00:00
gtk_widget_show ( menu_reload_as1 ) ;
gtk_container_add ( GTK_CONTAINER ( menuitem1_menu ) , menu_reload_as1 ) ;
2007-05-06 14:49:51 +00:00
image1761 = gtk_image_new_from_stock ( " gtk-revert-to-saved " , GTK_ICON_SIZE_MENU ) ;
gtk_widget_show ( image1761 ) ;
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( menu_reload_as1 ) , image1761 ) ;
2006-07-22 01:29:10 +00:00
menu_reload_as1_menu = gtk_menu_new ( ) ;
gtk_menu_item_set_submenu ( GTK_MENU_ITEM ( menu_reload_as1 ) , menu_reload_as1_menu ) ;
invisible7 = gtk_menu_item_new_with_mnemonic ( _ ( " invisible " ) ) ;
gtk_container_add ( GTK_CONTAINER ( menu_reload_as1_menu ) , invisible7 ) ;
2005-11-22 12:26:26 +00:00
2006-02-22 13:38:47 +00:00
separator21 = gtk_separator_menu_item_new ( ) ;
gtk_widget_show ( separator21 ) ;
gtk_container_add ( GTK_CONTAINER ( menuitem1_menu ) , separator21 ) ;
gtk_widget_set_sensitive ( separator21 , FALSE ) ;
2007-04-18 15:21:33 +00:00
load_tags1 = gtk_menu_item_new_with_mnemonic ( _ ( " Load Ta_gs " ) ) ;
gtk_widget_show ( load_tags1 ) ;
gtk_container_add ( GTK_CONTAINER ( menuitem1_menu ) , load_tags1 ) ;
gtk_tooltips_set_tip ( tooltips , load_tags1 , _ ( " Load global tags file " ) , NULL ) ;
separator39 = gtk_separator_menu_item_new ( ) ;
gtk_widget_show ( separator39 ) ;
gtk_container_add ( GTK_CONTAINER ( menuitem1_menu ) , separator39 ) ;
gtk_widget_set_sensitive ( separator39 , FALSE ) ;
2006-02-22 13:38:47 +00:00
preferences2 = gtk_image_menu_item_new_from_stock ( " gtk-properties " , accel_group ) ;
2006-02-14 22:07:55 +00:00
gtk_widget_show ( preferences2 ) ;
gtk_container_add ( GTK_CONTAINER ( menuitem1_menu ) , preferences2 ) ;
2006-06-29 17:14:52 +00:00
separator24 = gtk_separator_menu_item_new ( ) ;
gtk_widget_show ( separator24 ) ;
gtk_container_add ( GTK_CONTAINER ( menuitem1_menu ) , separator24 ) ;
gtk_widget_set_sensitive ( separator24 , FALSE ) ;
print1 = gtk_image_menu_item_new_from_stock ( " gtk-print " , accel_group ) ;
gtk_widget_show ( print1 ) ;
gtk_container_add ( GTK_CONTAINER ( menuitem1_menu ) , print1 ) ;
gtk_tooltips_set_tip ( tooltips , print1 , _ ( " Prints the current file " ) , NULL ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-12-12 12:12:20 +00:00
menu_close_all1 = gtk_image_menu_item_new_with_mnemonic ( _ ( " C_lose All " ) ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2007-05-06 14:49:51 +00:00
image1762 = gtk_image_new_from_stock ( " gtk-close " , GTK_ICON_SIZE_MENU ) ;
gtk_widget_show ( image1762 ) ;
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( menu_close_all1 ) , image1762 ) ;
2005-11-22 12:26:26 +00:00
menu_separatormenuitem1 = gtk_separator_menu_item_new ( ) ;
gtk_widget_show ( menu_separatormenuitem1 ) ;
gtk_container_add ( GTK_CONTAINER ( menuitem1_menu ) , menu_separatormenuitem1 ) ;
gtk_widget_set_sensitive ( menu_separatormenuitem1 , FALSE ) ;
menu_quit1 = gtk_image_menu_item_new_from_stock ( " gtk-quit " , accel_group ) ;
gtk_widget_show ( menu_quit1 ) ;
gtk_container_add ( GTK_CONTAINER ( menuitem1_menu ) , menu_quit1 ) ;
2005-12-11 02:16:02 +00:00
gtk_tooltips_set_tip ( tooltips , menu_quit1 , _ ( " Quit Geany " ) , NULL ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-06-30 13:42:53 +00:00
menu_select_all1 = gtk_menu_item_new_with_mnemonic ( _ ( " Select _All " ) ) ;
gtk_widget_show ( menu_select_all1 ) ;
gtk_container_add ( GTK_CONTAINER ( edit1_menu ) , menu_select_all1 ) ;
separator25 = gtk_separator_menu_item_new ( ) ;
gtk_widget_show ( separator25 ) ;
gtk_container_add ( GTK_CONTAINER ( edit1_menu ) , separator25 ) ;
gtk_widget_set_sensitive ( separator25 , FALSE ) ;
2006-10-20 12:31:22 +00:00
menu_format1 = gtk_menu_item_new_with_mnemonic ( _ ( " _Format " ) ) ;
gtk_widget_show ( menu_format1 ) ;
gtk_container_add ( GTK_CONTAINER ( edit1_menu ) , menu_format1 ) ;
gtk_tooltips_set_tip ( tooltips , menu_format1 , _ ( " Convert the case of the current selection " ) , NULL ) ;
menu_format1_menu = gtk_menu_new ( ) ;
gtk_menu_item_set_submenu ( GTK_MENU_ITEM ( menu_format1 ) , menu_format1_menu ) ;
2006-12-12 12:12:20 +00:00
menu_to_lower_case2 = gtk_menu_item_new_with_mnemonic ( _ ( " Convert Selection to _Lower-case " ) ) ;
2006-10-20 12:31:22 +00:00
gtk_widget_show ( menu_to_lower_case2 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_format1_menu ) , menu_to_lower_case2 ) ;
2006-12-12 12:12:20 +00:00
menu_to_upper_case2 = gtk_menu_item_new_with_mnemonic ( _ ( " Convert Selection to _Upper-case " ) ) ;
2006-10-20 12:31:22 +00:00
gtk_widget_show ( menu_to_upper_case2 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_format1_menu ) , menu_to_upper_case2 ) ;
separator28 = gtk_separator_menu_item_new ( ) ;
gtk_widget_show ( separator28 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_format1_menu ) , separator28 ) ;
gtk_widget_set_sensitive ( separator28 , FALSE ) ;
2006-11-13 22:26:55 +00:00
menu_comment_line1 = gtk_menu_item_new_with_mnemonic ( _ ( " _Comment Line(s) " ) ) ;
2006-10-20 12:31:22 +00:00
gtk_widget_show ( menu_comment_line1 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_format1_menu ) , menu_comment_line1 ) ;
2006-11-13 22:26:55 +00:00
menu_uncomment_line1 = gtk_menu_item_new_with_mnemonic ( _ ( " U_ncomment Line(s) " ) ) ;
2006-10-20 12:31:22 +00:00
gtk_widget_show ( menu_uncomment_line1 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_format1_menu ) , menu_uncomment_line1 ) ;
2006-12-12 12:12:20 +00:00
menu_toggle_line_commentation1 = gtk_menu_item_new_with_mnemonic ( _ ( " _Toggle Line Commentation " ) ) ;
2006-10-20 12:31:22 +00:00
gtk_widget_show ( menu_toggle_line_commentation1 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_format1_menu ) , menu_toggle_line_commentation1 ) ;
2006-11-13 22:26:55 +00:00
menu_duplicate_line1 = gtk_menu_item_new_with_mnemonic ( _ ( " Du_plicate Line or Selection " ) ) ;
2006-10-20 12:31:22 +00:00
gtk_widget_show ( menu_duplicate_line1 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_format1_menu ) , menu_duplicate_line1 ) ;
separator29 = gtk_separator_menu_item_new ( ) ;
gtk_widget_show ( separator29 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_format1_menu ) , separator29 ) ;
gtk_widget_set_sensitive ( separator29 , FALSE ) ;
menu_increase_indent1 = gtk_image_menu_item_new_with_mnemonic ( _ ( " _Increase Indent " ) ) ;
gtk_widget_show ( menu_increase_indent1 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_format1_menu ) , menu_increase_indent1 ) ;
2007-05-06 14:49:51 +00:00
image1763 = gtk_image_new_from_stock ( " gtk-indent " , GTK_ICON_SIZE_MENU ) ;
gtk_widget_show ( image1763 ) ;
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( menu_increase_indent1 ) , image1763 ) ;
2006-10-20 12:31:22 +00:00
menu_decrease_indent1 = gtk_image_menu_item_new_with_mnemonic ( _ ( " _Decrease Indent " ) ) ;
gtk_widget_show ( menu_decrease_indent1 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_format1_menu ) , menu_decrease_indent1 ) ;
2007-05-06 14:49:51 +00:00
image1764 = gtk_image_new_from_stock ( " gtk-unindent " , GTK_ICON_SIZE_MENU ) ;
gtk_widget_show ( image1764 ) ;
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( menu_decrease_indent1 ) , image1764 ) ;
2007-02-25 14:26:55 +00:00
separator37 = gtk_separator_menu_item_new ( ) ;
gtk_widget_show ( separator37 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_format1_menu ) , separator37 ) ;
gtk_widget_set_sensitive ( separator37 , FALSE ) ;
send_selection_to2 = gtk_menu_item_new_with_mnemonic ( _ ( " _Send Selection to " ) ) ;
gtk_widget_show ( send_selection_to2 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_format1_menu ) , send_selection_to2 ) ;
send_selection_to2_menu = gtk_menu_new ( ) ;
gtk_menu_item_set_submenu ( GTK_MENU_ITEM ( send_selection_to2 ) , send_selection_to2_menu ) ;
invisible13 = gtk_menu_item_new_with_mnemonic ( _ ( " invisible " ) ) ;
gtk_container_add ( GTK_CONTAINER ( send_selection_to2_menu ) , invisible13 ) ;
2006-10-20 12:31:22 +00:00
separator18 = gtk_separator_menu_item_new ( ) ;
gtk_widget_show ( separator18 ) ;
gtk_container_add ( GTK_CONTAINER ( edit1_menu ) , separator18 ) ;
gtk_widget_set_sensitive ( separator18 , FALSE ) ;
2006-07-16 18:58:57 +00:00
insert_include2 = gtk_image_menu_item_new_with_mnemonic ( _ ( " _Insert \" include <...> \" " ) ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( insert_include2 ) ;
gtk_container_add ( GTK_CONTAINER ( edit1_menu ) , insert_include2 ) ;
2007-05-06 14:49:51 +00:00
image1765 = gtk_image_new_from_stock ( " gtk-add " , GTK_ICON_SIZE_MENU ) ;
gtk_widget_show ( image1765 ) ;
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( insert_include2 ) , image1765 ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-07-16 18:58:57 +00:00
add_comments1 = gtk_image_menu_item_new_with_mnemonic ( _ ( " I_nsert Comments " ) ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( add_comments1 ) ;
gtk_container_add ( GTK_CONTAINER ( edit1_menu ) , add_comments1 ) ;
2007-05-06 14:49:51 +00:00
image1766 = gtk_image_new_from_stock ( " gtk-add " , GTK_ICON_SIZE_MENU ) ;
gtk_widget_show ( image1766 ) ;
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( add_comments1 ) , image1766 ) ;
2005-11-22 12:26:26 +00:00
add_comments1_menu = gtk_menu_new ( ) ;
gtk_menu_item_set_submenu ( GTK_MENU_ITEM ( add_comments1 ) , add_comments1_menu ) ;
2006-12-12 12:12:20 +00:00
menu_add_changelog_entry1 = gtk_menu_item_new_with_mnemonic ( _ ( " Insert ChangeLog Entry " ) ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-12-12 12:12:20 +00:00
insert_file_header1 = gtk_menu_item_new_with_mnemonic ( _ ( " Insert File Header " ) ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( insert_file_header1 ) ;
gtk_container_add ( GTK_CONTAINER ( add_comments1_menu ) , insert_file_header1 ) ;
2006-09-01 15:48:56 +00:00
gtk_tooltips_set_tip ( tooltips , insert_file_header1 , _ ( " Inserts a file header at the beginning of the file " ) , NULL ) ;
2005-11-22 12:26:26 +00:00
2006-12-12 12:12:20 +00:00
insert_function_description2 = gtk_menu_item_new_with_mnemonic ( _ ( " Insert Function Description " ) ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-12-12 12:12:20 +00:00
insert_multiline_comment2 = gtk_menu_item_new_with_mnemonic ( _ ( " Insert Multiline Comment " ) ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-12-12 12:12:20 +00:00
insert_gpl_notice2 = gtk_menu_item_new_with_mnemonic ( _ ( " Insert GPL Notice " ) ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2007-01-23 17:51:30 +00:00
insert_bsd_license_notice2 = gtk_menu_item_new_with_mnemonic ( _ ( " Insert BSD License Notice " ) ) ;
2007-01-06 15:38:44 +00:00
gtk_widget_show ( insert_bsd_license_notice2 ) ;
gtk_container_add ( GTK_CONTAINER ( add_comments1_menu ) , insert_bsd_license_notice2 ) ;
2007-01-07 14:04:13 +00:00
gtk_tooltips_set_tip ( tooltips , insert_bsd_license_notice2 , _ ( " Inserts a BSD licence notice (should be done at the beginning of the file) " ) , NULL ) ;
2007-01-06 15:38:44 +00:00
2007-02-25 14:26:55 +00:00
insert_date1 = gtk_image_menu_item_new_with_mnemonic ( _ ( " Insert Dat_e " ) ) ;
2006-08-19 12:56:30 +00:00
gtk_widget_show ( insert_date1 ) ;
gtk_container_add ( GTK_CONTAINER ( edit1_menu ) , insert_date1 ) ;
2007-05-06 14:49:51 +00:00
image1767 = gtk_image_new_from_stock ( " gtk-add " , GTK_ICON_SIZE_MENU ) ;
gtk_widget_show ( image1767 ) ;
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( insert_date1 ) , image1767 ) ;
2007-02-25 14:26:55 +00:00
2006-08-19 12:56:30 +00:00
insert_date1_menu = gtk_menu_new ( ) ;
gtk_menu_item_set_submenu ( GTK_MENU_ITEM ( insert_date1 ) , insert_date1_menu ) ;
invisible8 = gtk_menu_item_new_with_mnemonic ( _ ( " invisible " ) ) ;
gtk_container_add ( GTK_CONTAINER ( insert_date1_menu ) , invisible8 ) ;
2005-11-22 12:26:26 +00:00
separator9 = gtk_separator_menu_item_new ( ) ;
gtk_widget_show ( separator9 ) ;
gtk_container_add ( GTK_CONTAINER ( edit1_menu ) , separator9 ) ;
gtk_widget_set_sensitive ( separator9 , FALSE ) ;
2006-05-23 19:31:09 +00:00
preferences1 = gtk_image_menu_item_new_from_stock ( " gtk-preferences " , accel_group ) ;
gtk_widget_show ( preferences1 ) ;
gtk_container_add ( GTK_CONTAINER ( edit1_menu ) , preferences1 ) ;
search1 = gtk_menu_item_new_with_mnemonic ( _ ( " _Search " ) ) ;
gtk_widget_show ( search1 ) ;
gtk_container_add ( GTK_CONTAINER ( menubar1 ) , search1 ) ;
search1_menu = gtk_menu_new ( ) ;
gtk_menu_item_set_submenu ( GTK_MENU_ITEM ( search1 ) , search1_menu ) ;
2005-11-22 12:26:26 +00:00
find1 = gtk_image_menu_item_new_from_stock ( " gtk-find " , accel_group ) ;
gtk_widget_show ( find1 ) ;
2006-05-23 19:31:09 +00:00
gtk_container_add ( GTK_CONTAINER ( search1_menu ) , find1 ) ;
2005-11-22 12:26:26 +00:00
2006-05-23 19:31:09 +00:00
find_next1 = gtk_menu_item_new_with_mnemonic ( _ ( " Find _Next " ) ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( find_next1 ) ;
2006-05-23 19:31:09 +00:00
gtk_container_add ( GTK_CONTAINER ( search1_menu ) , find_next1 ) ;
2005-11-22 12:26:26 +00:00
2006-05-23 19:31:09 +00:00
find_previous1 = gtk_menu_item_new_with_mnemonic ( _ ( " Find _Previous " ) ) ;
gtk_widget_show ( find_previous1 ) ;
gtk_container_add ( GTK_CONTAINER ( search1_menu ) , find_previous1 ) ;
2005-11-22 12:26:26 +00:00
2006-12-12 12:12:20 +00:00
find_in_files1 = gtk_menu_item_new_with_mnemonic ( _ ( " Find in F_iles " ) ) ;
2006-12-08 15:50:10 +00:00
gtk_widget_show ( find_in_files1 ) ;
gtk_container_add ( GTK_CONTAINER ( search1_menu ) , find_in_files1 ) ;
2005-11-22 12:26:26 +00:00
replace1 = gtk_image_menu_item_new_with_mnemonic ( _ ( " _Replace " ) ) ;
gtk_widget_show ( replace1 ) ;
2006-05-23 19:31:09 +00:00
gtk_container_add ( GTK_CONTAINER ( search1_menu ) , replace1 ) ;
2005-11-22 12:26:26 +00:00
2007-05-06 14:49:51 +00:00
image1768 = gtk_image_new_from_stock ( " gtk-find-and-replace " , GTK_ICON_SIZE_MENU ) ;
gtk_widget_show ( image1768 ) ;
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( replace1 ) , image1768 ) ;
2006-07-13 14:30:44 +00:00
2006-12-08 15:50:10 +00:00
separator33 = gtk_separator_menu_item_new ( ) ;
gtk_widget_show ( separator33 ) ;
gtk_container_add ( GTK_CONTAINER ( search1_menu ) , separator33 ) ;
gtk_widget_set_sensitive ( separator33 , FALSE ) ;
2006-07-13 14:30:44 +00:00
2007-01-23 17:51:30 +00:00
find_nextsel1 = gtk_menu_item_new_with_mnemonic ( _ ( " Find _Selected " ) ) ;
gtk_widget_show ( find_nextsel1 ) ;
gtk_container_add ( GTK_CONTAINER ( search1_menu ) , find_nextsel1 ) ;
find_prevsel1 = gtk_menu_item_new_with_mnemonic ( _ ( " Find Pre_v Selected " ) ) ;
gtk_widget_show ( find_prevsel1 ) ;
gtk_container_add ( GTK_CONTAINER ( search1_menu ) , find_prevsel1 ) ;
separator35 = gtk_separator_menu_item_new ( ) ;
gtk_widget_show ( separator35 ) ;
gtk_container_add ( GTK_CONTAINER ( search1_menu ) , separator35 ) ;
gtk_widget_set_sensitive ( separator35 , FALSE ) ;
2006-12-08 15:50:10 +00:00
next_message1 = gtk_menu_item_new_with_mnemonic ( _ ( " Next _Message " ) ) ;
gtk_widget_show ( next_message1 ) ;
gtk_container_add ( GTK_CONTAINER ( search1_menu ) , next_message1 ) ;
2005-11-22 12:26:26 +00:00
2006-12-08 15:50:10 +00:00
separator32 = gtk_separator_menu_item_new ( ) ;
gtk_widget_show ( separator32 ) ;
gtk_container_add ( GTK_CONTAINER ( search1_menu ) , separator32 ) ;
gtk_widget_set_sensitive ( separator32 , FALSE ) ;
2005-11-22 12:26:26 +00:00
2006-12-12 12:12:20 +00:00
go_to_line1 = gtk_image_menu_item_new_with_mnemonic ( _ ( " _Go to Line " ) ) ;
2006-05-23 19:31:09 +00:00
gtk_widget_show ( go_to_line1 ) ;
gtk_container_add ( GTK_CONTAINER ( search1_menu ) , go_to_line1 ) ;
2007-05-06 14:49:51 +00:00
image1769 = gtk_image_new_from_stock ( " gtk-jump-to " , GTK_ICON_SIZE_MENU ) ;
gtk_widget_show ( image1769 ) ;
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( go_to_line1 ) , image1769 ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-06-11 11:14:11 +00:00
menu_change_font1 = gtk_image_menu_item_new_with_mnemonic ( _ ( " Change _Font " ) ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2007-05-06 14:49:51 +00:00
image1770 = gtk_image_new_from_stock ( " gtk-select-font " , GTK_ICON_SIZE_MENU ) ;
gtk_widget_show ( image1770 ) ;
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( menu_change_font1 ) , image1770 ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2007-05-06 14:49:51 +00:00
menu_toggle_all_additional_widgets1 = gtk_menu_item_new_with_mnemonic ( _ ( " Toggle all additional widgets " ) ) ;
gtk_widget_show ( menu_toggle_all_additional_widgets1 ) ;
gtk_container_add ( GTK_CONTAINER ( menuitem3_menu ) , menu_toggle_all_additional_widgets1 ) ;
2006-06-11 11:14:11 +00:00
menu_fullscreen1 = gtk_check_menu_item_new_with_mnemonic ( _ ( " Full_screen " ) ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( menu_fullscreen1 ) ;
gtk_container_add ( GTK_CONTAINER ( menuitem3_menu ) , menu_fullscreen1 ) ;
2006-12-12 12:12:20 +00:00
menu_show_messages_window1 = gtk_check_menu_item_new_with_mnemonic ( _ ( " Show Message _Window " ) ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-06-11 11:14:11 +00:00
menu_show_toolbar1 = gtk_check_menu_item_new_with_mnemonic ( _ ( " Show _Toolbar " ) ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-07-21 11:41:33 +00:00
menu_show_sidebar1 = gtk_check_menu_item_new_with_mnemonic ( _ ( " Show Side_bar " ) ) ;
gtk_widget_show ( menu_show_sidebar1 ) ;
gtk_container_add ( GTK_CONTAINER ( menuitem3_menu ) , menu_show_sidebar1 ) ;
gtk_check_menu_item_set_active ( GTK_CHECK_MENU_ITEM ( menu_show_sidebar1 ) , TRUE ) ;
2006-06-11 11:14:11 +00:00
menu_markers_margin1 = gtk_check_menu_item_new_with_mnemonic ( _ ( " Show _Markers Margin " ) ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( menu_markers_margin1 ) ;
gtk_container_add ( GTK_CONTAINER ( menuitem3_menu ) , menu_markers_margin1 ) ;
2006-02-14 22:07:55 +00:00
gtk_tooltips_set_tip ( tooltips , menu_markers_margin1 , _ ( " Shows or hides the small margin right of the line numbers, which is used to mark lines. " ) , NULL ) ;
2005-11-22 12:26:26 +00:00
gtk_check_menu_item_set_active ( GTK_CHECK_MENU_ITEM ( menu_markers_margin1 ) , TRUE ) ;
2006-06-11 11:14:11 +00:00
menu_linenumber_margin1 = gtk_check_menu_item_new_with_mnemonic ( _ ( " Show _Line Numbers " ) ) ;
2006-02-14 22:07:55 +00:00
gtk_widget_show ( menu_linenumber_margin1 ) ;
gtk_container_add ( GTK_CONTAINER ( menuitem3_menu ) , menu_linenumber_margin1 ) ;
gtk_tooltips_set_tip ( tooltips , menu_linenumber_margin1 , _ ( " Shows or hides the Line Number margin. " ) , NULL ) ;
gtk_check_menu_item_set_active ( GTK_CHECK_MENU_ITEM ( menu_linenumber_margin1 ) , TRUE ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-12-12 12:12:20 +00:00
menu_line_breaking1 = gtk_check_menu_item_new_with_mnemonic ( _ ( " _Line Wrapping " ) ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( menu_line_breaking1 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_item4_menu ) , menu_line_breaking1 ) ;
2006-08-01 10:06:28 +00:00
gtk_tooltips_set_tip ( tooltips , menu_line_breaking1 , _ ( " Wrap the line at the window border and continue it on the next line. Note: line wrapping has a high performance cost for large documents so should be disabled on slow machines. " ) , NULL ) ;
2005-11-22 12:26:26 +00:00
gtk_check_menu_item_set_active ( GTK_CHECK_MENU_ITEM ( menu_line_breaking1 ) , TRUE ) ;
2006-12-12 12:12:20 +00:00
menu_use_auto_indention1 = gtk_check_menu_item_new_with_mnemonic ( _ ( " _Use Auto-indentation " ) ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-12-12 12:12:20 +00:00
set_file_readonly1 = gtk_check_menu_item_new_with_mnemonic ( _ ( " Read _Only " ) ) ;
2006-02-14 22:07:55 +00:00
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 ) ;
2005-11-22 12:26:26 +00:00
2006-07-24 20:23:56 +00:00
menu_write_unicode_bom1 = gtk_check_menu_item_new_with_mnemonic ( _ ( " _Write Unicode BOM " ) ) ;
gtk_widget_show ( menu_write_unicode_bom1 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_item4_menu ) , menu_write_unicode_bom1 ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-12-12 12:12:20 +00:00
set_filetype1 = gtk_menu_item_new_with_mnemonic ( _ ( " Set File_type " ) ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-12-12 12:12:20 +00:00
set_encoding1 = gtk_menu_item_new_with_mnemonic ( _ ( " Set _Encoding " ) ) ;
2006-06-19 18:31:17 +00:00
gtk_widget_show ( set_encoding1 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_item4_menu ) , set_encoding1 ) ;
set_encoding1_menu = gtk_menu_new ( ) ;
gtk_menu_item_set_submenu ( GTK_MENU_ITEM ( set_encoding1 ) , set_encoding1_menu ) ;
invisible6 = gtk_menu_item_new_with_mnemonic ( _ ( " invisible " ) ) ;
gtk_container_add ( GTK_CONTAINER ( set_encoding1_menu ) , invisible6 ) ;
2006-12-12 12:12:20 +00:00
menu_line_endings1 = gtk_menu_item_new_with_mnemonic ( _ ( " Set Line E_ndings " ) ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-12-12 12:12:20 +00:00
crlf = gtk_radio_menu_item_new_with_mnemonic ( crlf_group , _ ( " Convert and Set to _CR/LF (Win) " ) ) ;
2006-08-03 22:17:10 +00:00
crlf_group = gtk_radio_menu_item_get_group ( GTK_RADIO_MENU_ITEM ( crlf ) ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( crlf ) ;
gtk_container_add ( GTK_CONTAINER ( menu_line_endings1_menu ) , crlf ) ;
2007-05-06 14:49:51 +00:00
gtk_check_menu_item_set_active ( GTK_CHECK_MENU_ITEM ( crlf ) , TRUE ) ;
2005-11-22 12:26:26 +00:00
2006-12-12 12:12:20 +00:00
lf = gtk_radio_menu_item_new_with_mnemonic ( crlf_group , _ ( " Convert and Set to _LF (Unix) " ) ) ;
2006-08-03 22:17:10 +00:00
crlf_group = gtk_radio_menu_item_get_group ( GTK_RADIO_MENU_ITEM ( lf ) ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( lf ) ;
gtk_container_add ( GTK_CONTAINER ( menu_line_endings1_menu ) , lf ) ;
2007-05-06 14:49:51 +00:00
gtk_check_menu_item_set_active ( GTK_CHECK_MENU_ITEM ( lf ) , TRUE ) ;
2005-11-22 12:26:26 +00:00
2006-12-12 12:12:20 +00:00
cr = gtk_radio_menu_item_new_with_mnemonic ( crlf_group , _ ( " Convert and Set to CR (_Mac) " ) ) ;
2006-08-03 22:17:10 +00:00
crlf_group = gtk_radio_menu_item_get_group ( GTK_RADIO_MENU_ITEM ( cr ) ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( cr ) ;
gtk_container_add ( GTK_CONTAINER ( menu_line_endings1_menu ) , cr ) ;
2006-08-19 12:56:30 +00:00
gtk_check_menu_item_set_active ( GTK_CHECK_MENU_ITEM ( cr ) , TRUE ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-12-12 12:12:20 +00:00
menu_replace_tabs = gtk_menu_item_new_with_mnemonic ( _ ( " _Replace Tabs by Spaces " ) ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-02-26 18:19:28 +00:00
separator22 = gtk_separator_menu_item_new ( ) ;
gtk_widget_show ( separator22 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_item4_menu ) , separator22 ) ;
gtk_widget_set_sensitive ( separator22 , FALSE ) ;
2006-12-12 12:12:20 +00:00
menu_fold_all1 = gtk_menu_item_new_with_mnemonic ( _ ( " _Fold All " ) ) ;
2006-02-26 18:19:28 +00:00
gtk_widget_show ( menu_fold_all1 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_item4_menu ) , menu_fold_all1 ) ;
gtk_tooltips_set_tip ( tooltips , menu_fold_all1 , _ ( " Folds all contractible code blocks " ) , NULL ) ;
2006-12-12 12:12:20 +00:00
menu_unfold_all1 = gtk_menu_item_new_with_mnemonic ( _ ( " _Unfold All " ) ) ;
2006-02-26 18:19:28 +00:00
gtk_widget_show ( menu_unfold_all1 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_item4_menu ) , menu_unfold_all1 ) ;
gtk_tooltips_set_tip ( tooltips , menu_unfold_all1 , _ ( " Unfolds all contracted code blocks " ) , NULL ) ;
2006-06-13 19:37:21 +00:00
separator23 = gtk_separator_menu_item_new ( ) ;
gtk_widget_show ( separator23 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_item4_menu ) , separator23 ) ;
gtk_widget_set_sensitive ( separator23 , FALSE ) ;
2007-02-17 18:06:08 +00:00
remove_markers1 = gtk_menu_item_new_with_mnemonic ( _ ( " Remove _Markers " ) ) ;
gtk_widget_show ( remove_markers1 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_item4_menu ) , remove_markers1 ) ;
2006-12-12 12:12:20 +00:00
menu_remove_indicators1 = gtk_menu_item_new_with_mnemonic ( _ ( " Remove Error _Indicators " ) ) ;
2006-06-13 19:37:21 +00:00
gtk_widget_show ( menu_remove_indicators1 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_item4_menu ) , menu_remove_indicators1 ) ;
2006-10-20 12:31:22 +00:00
gtk_tooltips_set_tip ( tooltips , menu_remove_indicators1 , _ ( " Removes all error indicators in the current document. " ) , NULL ) ;
2006-06-13 19:37:21 +00:00
2007-01-15 18:12:32 +00:00
menu_project1 = gtk_menu_item_new_with_mnemonic ( _ ( " _Project " ) ) ;
gtk_widget_show ( menu_project1 ) ;
gtk_container_add ( GTK_CONTAINER ( menubar1 ) , menu_project1 ) ;
menu_project1_menu = gtk_menu_new ( ) ;
gtk_menu_item_set_submenu ( GTK_MENU_ITEM ( menu_project1 ) , menu_project1_menu ) ;
2007-01-18 22:20:30 +00:00
project_new1 = gtk_image_menu_item_new_with_mnemonic ( _ ( " _New " ) ) ;
2007-01-15 18:12:32 +00:00
gtk_widget_show ( project_new1 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_project1_menu ) , project_new1 ) ;
2007-05-06 14:49:51 +00:00
image1771 = gtk_image_new_from_stock ( " gtk-new " , GTK_ICON_SIZE_MENU ) ;
gtk_widget_show ( image1771 ) ;
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( project_new1 ) , image1771 ) ;
2007-01-18 22:20:30 +00:00
project_open1 = gtk_image_menu_item_new_with_mnemonic ( _ ( " _Open " ) ) ;
2007-01-15 18:12:32 +00:00
gtk_widget_show ( project_open1 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_project1_menu ) , project_open1 ) ;
2007-05-06 14:49:51 +00:00
image1772 = gtk_image_new_from_stock ( " gtk-open " , GTK_ICON_SIZE_MENU ) ;
gtk_widget_show ( image1772 ) ;
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( project_open1 ) , image1772 ) ;
2007-01-18 22:20:30 +00:00
project_close1 = gtk_image_menu_item_new_with_mnemonic ( _ ( " _Close " ) ) ;
2007-01-15 18:12:32 +00:00
gtk_widget_show ( project_close1 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_project1_menu ) , project_close1 ) ;
2007-05-06 14:49:51 +00:00
image1773 = gtk_image_new_from_stock ( " gtk-close " , GTK_ICON_SIZE_MENU ) ;
gtk_widget_show ( image1773 ) ;
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( project_close1 ) , image1773 ) ;
2007-01-18 22:20:30 +00:00
2007-01-15 18:12:32 +00:00
separator34 = gtk_separator_menu_item_new ( ) ;
gtk_widget_show ( separator34 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_project1_menu ) , separator34 ) ;
gtk_widget_set_sensitive ( separator34 , FALSE ) ;
project_properties1 = gtk_image_menu_item_new_from_stock ( " gtk-properties " , accel_group ) ;
gtk_widget_show ( project_properties1 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_project1_menu ) , project_properties1 ) ;
2006-06-12 20:19:19 +00:00
menu_build1 = gtk_menu_item_new_with_mnemonic ( _ ( " _Build " ) ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( menu_build1 ) ;
gtk_container_add ( GTK_CONTAINER ( menubar1 ) , menu_build1 ) ;
2006-10-20 12:31:22 +00:00
tools1 = gtk_menu_item_new_with_mnemonic ( _ ( " _Tools " ) ) ;
gtk_widget_show ( tools1 ) ;
gtk_container_add ( GTK_CONTAINER ( menubar1 ) , tools1 ) ;
tools1_menu = gtk_menu_new ( ) ;
gtk_menu_item_set_submenu ( GTK_MENU_ITEM ( tools1 ) , tools1_menu ) ;
menu_choose_color1 = gtk_image_menu_item_new_with_mnemonic ( _ ( " _Colour Chooser " ) ) ;
gtk_widget_show ( menu_choose_color1 ) ;
gtk_container_add ( GTK_CONTAINER ( tools1_menu ) , menu_choose_color1 ) ;
gtk_tooltips_set_tip ( tooltips , menu_choose_color1 , _ ( " Open a color chooser dialog, to interactively pick colors from a palette. " ) , NULL ) ;
2007-05-06 14:49:51 +00:00
image1774 = gtk_image_new_from_stock ( " gtk-select-color " , GTK_ICON_SIZE_MENU ) ;
gtk_widget_show ( image1774 ) ;
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( menu_choose_color1 ) , image1774 ) ;
2006-10-20 12:31:22 +00:00
menu_count_words1 = gtk_menu_item_new_with_mnemonic ( _ ( " _Word Count " ) ) ;
gtk_widget_show ( menu_count_words1 ) ;
gtk_container_add ( GTK_CONTAINER ( tools1_menu ) , menu_count_words1 ) ;
gtk_tooltips_set_tip ( tooltips , menu_count_words1 , _ ( " Counts the words and characters in the current selection or the whole document " ) , NULL ) ;
2006-12-13 00:46:14 +00:00
menu_insert_special_chars1 = gtk_menu_item_new_with_mnemonic ( _ ( " _Insert Special HTML Characters " ) ) ;
gtk_widget_show ( menu_insert_special_chars1 ) ;
gtk_container_add ( GTK_CONTAINER ( tools1_menu ) , menu_insert_special_chars1 ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-12-12 12:12:20 +00:00
keyboard_shortcuts1 = gtk_menu_item_new_with_mnemonic ( _ ( " _Keyboard Shortcuts " ) ) ;
2005-12-18 22:38:57 +00:00
gtk_widget_show ( keyboard_shortcuts1 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_item5_menu ) , keyboard_shortcuts1 ) ;
gtk_tooltips_set_tip ( tooltips , keyboard_shortcuts1 , _ ( " Shows a list of all keyboard shortcuts for Geany. " ) , NULL ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2005-12-16 23:25:44 +00:00
gtk_toolbar_set_style ( GTK_TOOLBAR ( toolbar1 ) , GTK_TOOLBAR_BOTH ) ;
2005-11-22 12:26:26 +00:00
tmp_toolbar_icon_size = gtk_toolbar_get_icon_size ( GTK_TOOLBAR ( toolbar1 ) ) ;
2006-02-22 13:38:47 +00:00
menutoolbutton1 = ( GtkWidget * ) gtk_menu_tool_button_new_from_stock ( " gtk-new " ) ;
gtk_widget_show ( menutoolbutton1 ) ;
gtk_tool_item_set_homogeneous ( GTK_TOOL_ITEM ( menutoolbutton1 ) , FALSE ) ;
gtk_container_add ( GTK_CONTAINER ( toolbar1 ) , menutoolbutton1 ) ;
gtk_tool_item_set_tooltip ( GTK_TOOL_ITEM ( menutoolbutton1 ) , tooltips , _ ( " Create a new file " ) , NULL ) ;
2005-11-22 12:26:26 +00:00
2006-10-20 12:31:22 +00:00
toolbutton9 = ( GtkWidget * ) gtk_menu_tool_button_new_from_stock ( " gtk-open " ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( toolbutton9 ) ;
2006-10-20 12:31:22 +00:00
gtk_tool_item_set_homogeneous ( GTK_TOOL_ITEM ( toolbutton9 ) , FALSE ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-06-18 16:18:05 +00:00
separatortoolitem7 = ( GtkWidget * ) gtk_separator_tool_item_new ( ) ;
gtk_widget_show ( separatortoolitem7 ) ;
gtk_container_add ( GTK_CONTAINER ( toolbar1 ) , separatortoolitem7 ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-07-11 14:15:56 +00:00
toolbutton_undo = ( GtkWidget * ) gtk_tool_button_new_from_stock ( " gtk-undo " ) ;
gtk_widget_show ( toolbutton_undo ) ;
gtk_container_add ( GTK_CONTAINER ( toolbar1 ) , toolbutton_undo ) ;
gtk_tool_item_set_tooltip ( GTK_TOOL_ITEM ( toolbutton_undo ) , tooltips , _ ( " Undo the last modification " ) , NULL ) ;
toolbutton_redo = ( GtkWidget * ) gtk_tool_button_new_from_stock ( " gtk-redo " ) ;
gtk_widget_show ( toolbutton_redo ) ;
gtk_container_add ( GTK_CONTAINER ( toolbar1 ) , toolbutton_redo ) ;
gtk_tool_item_set_tooltip ( GTK_TOOL_ITEM ( toolbutton_redo ) , tooltips , _ ( " Redo the last modification " ) , NULL ) ;
separatortoolitem9 = ( GtkWidget * ) gtk_separator_tool_item_new ( ) ;
gtk_widget_show ( separatortoolitem9 ) ;
gtk_container_add ( GTK_CONTAINER ( toolbar1 ) , separatortoolitem9 ) ;
2006-06-18 16:18:05 +00:00
tmp_image = gtk_image_new_from_stock ( " gtk-convert " , tmp_toolbar_icon_size ) ;
gtk_widget_show ( tmp_image ) ;
toolbutton13 = ( GtkWidget * ) gtk_tool_button_new ( tmp_image , _ ( " Compile " ) ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( toolbutton13 ) ;
gtk_container_add ( GTK_CONTAINER ( toolbar1 ) , toolbutton13 ) ;
2006-02-26 18:19:28 +00:00
gtk_tool_item_set_tooltip ( GTK_TOOL_ITEM ( toolbutton13 ) , tooltips , _ ( " Compile the current file " ) , NULL ) ;
2005-11-22 12:26:26 +00:00
2006-08-01 10:06:28 +00:00
toolbutton26 = ( GtkWidget * ) gtk_tool_button_new_from_stock ( " gtk-execute " ) ;
2006-04-27 17:56:31 +00:00
gtk_widget_show ( toolbutton26 ) ;
gtk_container_add ( GTK_CONTAINER ( toolbar1 ) , toolbutton26 ) ;
gtk_tool_item_set_tooltip ( GTK_TOOL_ITEM ( toolbutton26 ) , tooltips , _ ( " Run or view the current file " ) , NULL ) ;
separatortoolitem6 = ( GtkWidget * ) gtk_separator_tool_item_new ( ) ;
gtk_widget_show ( separatortoolitem6 ) ;
gtk_container_add ( GTK_CONTAINER ( toolbar1 ) , separatortoolitem6 ) ;
2005-11-22 12:26:26 +00:00
tmp_image = gtk_image_new_from_stock ( " gtk-select-color " , tmp_toolbar_icon_size ) ;
gtk_widget_show ( tmp_image ) ;
2005-12-16 23:25:44 +00:00
toolbutton24 = ( GtkWidget * ) gtk_tool_button_new ( tmp_image , _ ( " Color " ) ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-04-27 17:56:31 +00:00
toolitem18 = ( GtkWidget * ) gtk_tool_item_new ( ) ;
gtk_widget_show ( toolitem18 ) ;
gtk_container_add ( GTK_CONTAINER ( toolbar1 ) , toolitem18 ) ;
2005-11-22 12:26:26 +00:00
entry1 = gtk_entry_new ( ) ;
gtk_widget_show ( entry1 ) ;
2006-04-27 17:56:31 +00:00
gtk_container_add ( GTK_CONTAINER ( toolitem18 ) , entry1 ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-02-26 18:19:28 +00:00
separatortoolitem5 = ( GtkWidget * ) gtk_separator_tool_item_new ( ) ;
gtk_widget_show ( separatortoolitem5 ) ;
gtk_container_add ( GTK_CONTAINER ( toolbar1 ) , separatortoolitem5 ) ;
2006-04-27 17:56:31 +00:00
toolitem17 = ( GtkWidget * ) gtk_tool_item_new ( ) ;
gtk_widget_show ( toolitem17 ) ;
gtk_container_add ( GTK_CONTAINER ( toolbar1 ) , toolitem17 ) ;
2006-02-26 18:19:28 +00:00
entry_goto_line = gtk_entry_new ( ) ;
gtk_widget_show ( entry_goto_line ) ;
2006-04-27 17:56:31 +00:00
gtk_container_add ( GTK_CONTAINER ( toolitem17 ) , entry_goto_line ) ;
2006-02-26 18:19:28 +00:00
gtk_tooltips_set_tip ( tooltips , entry_goto_line , _ ( " Enter a line number and jump to it. " ) , NULL ) ;
gtk_entry_set_max_length ( GTK_ENTRY ( entry_goto_line ) , 5 ) ;
gtk_entry_set_width_chars ( GTK_ENTRY ( entry_goto_line ) , 8 ) ;
toolbutton25 = ( GtkWidget * ) gtk_tool_button_new_from_stock ( " gtk-jump-to " ) ;
gtk_widget_show ( toolbutton25 ) ;
gtk_container_add ( GTK_CONTAINER ( toolbar1 ) , toolbutton25 ) ;
gtk_tool_item_set_tooltip ( GTK_TOOL_ITEM ( toolbutton25 ) , tooltips , _ ( " Jump to the entered line number. " ) , NULL ) ;
2006-06-18 16:18:05 +00:00
separatortoolitem8 = ( GtkWidget * ) gtk_separator_tool_item_new ( ) ;
gtk_widget_show ( separatortoolitem8 ) ;
gtk_container_add ( GTK_CONTAINER ( toolbar1 ) , separatortoolitem8 ) ;
2006-10-20 12:31:22 +00:00
gtk_separator_tool_item_set_draw ( GTK_SEPARATOR_TOOL_ITEM ( separatortoolitem8 ) , FALSE ) ;
2005-11-22 12:26:26 +00:00
toolbutton19 = ( GtkWidget * ) gtk_tool_button_new_from_stock ( " gtk-quit " ) ;
gtk_widget_show ( toolbutton19 ) ;
gtk_container_add ( GTK_CONTAINER ( toolbar1 ) , toolbutton19 ) ;
2005-12-11 02:16:02 +00:00
gtk_tool_item_set_tooltip ( GTK_TOOL_ITEM ( toolbutton19 ) , tooltips , _ ( " Quit Geany " ) , NULL ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-04-27 17:56:31 +00:00
gtk_paned_pack1 ( GTK_PANED ( vpaned1 ) , hpaned1 , TRUE , TRUE ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-12-17 17:32:00 +00:00
gtk_notebook_set_scrollable ( GTK_NOTEBOOK ( notebook3 ) , TRUE ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2007-05-25 14:42:43 +00:00
g_signal_connect ( ( gpointer ) file1 , " activate " ,
G_CALLBACK ( on_file1_activate ) ,
NULL ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2007-01-24 19:20:12 +00:00
g_signal_connect ( ( gpointer ) menu_open_selected_file1 , " activate " ,
G_CALLBACK ( on_menu_open_selected_file1_activate ) ,
NULL ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-07-22 01:29:10 +00:00
g_signal_connect ( ( gpointer ) menu_reload1 , " activate " ,
2005-12-18 22:38:57 +00:00
G_CALLBACK ( on_toolbutton23_clicked ) ,
NULL ) ;
2007-04-18 15:21:33 +00:00
g_signal_connect ( ( gpointer ) load_tags1 , " activate " ,
G_CALLBACK ( on_load_tags1_activate ) ,
NULL ) ;
2006-02-14 22:07:55 +00:00
g_signal_connect ( ( gpointer ) preferences2 , " activate " ,
G_CALLBACK ( on_file_properties_activate ) ,
NULL ) ;
2006-06-29 17:14:52 +00:00
g_signal_connect ( ( gpointer ) print1 , " activate " ,
G_CALLBACK ( on_print1_activate ) ,
NULL ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-06-30 13:42:53 +00:00
g_signal_connect ( ( gpointer ) menu_select_all1 , " activate " ,
G_CALLBACK ( on_menu_select_all1_activate ) ,
NULL ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-08-01 10:35:32 +00:00
g_signal_connect ( ( gpointer ) menu_comment_line1 , " activate " ,
G_CALLBACK ( on_menu_comment_line1_activate ) ,
NULL ) ;
g_signal_connect ( ( gpointer ) menu_uncomment_line1 , " activate " ,
G_CALLBACK ( on_menu_uncomment_line1_activate ) ,
NULL ) ;
2006-09-12 08:32:52 +00:00
g_signal_connect ( ( gpointer ) menu_toggle_line_commentation1 , " activate " ,
G_CALLBACK ( on_menu_toggle_line_commentation1_activate ) ,
NULL ) ;
2006-08-01 10:35:32 +00:00
g_signal_connect ( ( gpointer ) menu_duplicate_line1 , " activate " ,
G_CALLBACK ( on_menu_duplicate_line1_activate ) ,
NULL ) ;
g_signal_connect ( ( gpointer ) menu_increase_indent1 , " activate " ,
G_CALLBACK ( on_menu_increase_indent1_activate ) ,
NULL ) ;
g_signal_connect ( ( gpointer ) menu_decrease_indent1 , " activate " ,
G_CALLBACK ( on_menu_decrease_indent1_activate ) ,
NULL ) ;
2006-10-20 12:31:22 +00:00
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 " ,
2006-12-17 19:31:32 +00:00
G_CALLBACK ( on_menu_comments_multiline_activate ) ,
2006-10-20 12:31:22 +00:00
NULL ) ;
g_signal_connect ( ( gpointer ) insert_gpl_notice2 , " activate " ,
2006-12-17 19:31:32 +00:00
G_CALLBACK ( on_menu_comments_gpl_activate ) ,
2005-11-22 12:26:26 +00:00
NULL ) ;
2007-01-06 15:38:44 +00:00
g_signal_connect ( ( gpointer ) insert_bsd_license_notice2 , " activate " ,
G_CALLBACK ( on_menu_comments_bsd_activate ) ,
NULL ) ;
2006-05-23 19:31:09 +00:00
g_signal_connect ( ( gpointer ) preferences1 , " activate " ,
G_CALLBACK ( on_preferences1_activate ) ,
NULL ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-05-23 19:31:09 +00:00
g_signal_connect ( ( gpointer ) find_previous1 , " activate " ,
G_CALLBACK ( on_find_previous1_activate ) ,
NULL ) ;
2006-12-08 15:50:10 +00:00
g_signal_connect ( ( gpointer ) find_in_files1 , " activate " ,
G_CALLBACK ( on_find_in_files1_activate ) ,
NULL ) ;
2005-11-22 12:26:26 +00:00
g_signal_connect ( ( gpointer ) replace1 , " activate " ,
G_CALLBACK ( on_replace1_activate ) ,
NULL ) ;
2007-01-23 17:51:30 +00:00
g_signal_connect ( ( gpointer ) find_nextsel1 , " activate " ,
G_CALLBACK ( on_find_nextsel1_activate ) ,
NULL ) ;
g_signal_connect ( ( gpointer ) find_prevsel1 , " activate " ,
G_CALLBACK ( on_find_prevsel1_activate ) ,
NULL ) ;
2006-12-08 15:50:10 +00:00
g_signal_connect ( ( gpointer ) next_message1 , " activate " ,
G_CALLBACK ( on_next_message1_activate ) ,
2006-07-13 14:30:44 +00:00
NULL ) ;
2006-05-23 19:31:09 +00:00
g_signal_connect ( ( gpointer ) go_to_line1 , " activate " ,
G_CALLBACK ( on_go_to_line1_activate ) ,
2005-11-22 12:26:26 +00:00
NULL ) ;
g_signal_connect ( ( gpointer ) menu_change_font1 , " activate " ,
G_CALLBACK ( on_change_font1_activate ) ,
NULL ) ;
2007-05-06 14:49:51 +00:00
g_signal_connect ( ( gpointer ) menu_toggle_all_additional_widgets1 , " activate " ,
G_CALLBACK ( on_menu_toggle_all_additional_widgets1_activate ) ,
NULL ) ;
2005-11-22 12:26:26 +00:00
g_signal_connect ( ( gpointer ) menu_fullscreen1 , " toggled " ,
G_CALLBACK ( on_fullscreen1_toggled ) ,
NULL ) ;
g_signal_connect ( ( gpointer ) menu_show_messages_window1 , " toggled " ,
G_CALLBACK ( on_show_messages_window1_toggled ) ,
NULL ) ;
g_signal_connect ( ( gpointer ) menu_show_toolbar1 , " toggled " ,
G_CALLBACK ( on_show_toolbar1_toggled ) ,
NULL ) ;
2006-07-21 11:41:33 +00:00
g_signal_connect ( ( gpointer ) menu_show_sidebar1 , " toggled " ,
G_CALLBACK ( on_menu_show_sidebar1_toggled ) ,
NULL ) ;
2005-11-22 12:26:26 +00:00
g_signal_connect ( ( gpointer ) menu_markers_margin1 , " toggled " ,
G_CALLBACK ( on_markers_margin1_toggled ) ,
NULL ) ;
2006-02-14 22:07:55 +00:00
g_signal_connect ( ( gpointer ) menu_linenumber_margin1 , " toggled " ,
G_CALLBACK ( on_show_line_numbers1_toggled ) ,
NULL ) ;
2005-11-22 12:26:26 +00:00
g_signal_connect ( ( gpointer ) menu_zoom_in1 , " activate " ,
G_CALLBACK ( on_zoom_in1_activate ) ,
NULL ) ;
g_signal_connect ( ( gpointer ) menu_zoom_out1 , " activate " ,
G_CALLBACK ( on_zoom_out1_activate ) ,
NULL ) ;
g_signal_connect ( ( gpointer ) normal_size1 , " activate " ,
G_CALLBACK ( on_normal_size1_activate ) ,
NULL ) ;
g_signal_connect ( ( gpointer ) menu_line_breaking1 , " toggled " ,
G_CALLBACK ( on_line_breaking1_toggled ) ,
NULL ) ;
2006-02-14 22:07:55 +00:00
g_signal_connect ( ( gpointer ) menu_use_auto_indention1 , " toggled " ,
G_CALLBACK ( on_use_auto_indention1_toggled ) ,
2005-11-22 12:26:26 +00:00
NULL ) ;
g_signal_connect ( ( gpointer ) set_file_readonly1 , " toggled " ,
G_CALLBACK ( on_set_file_readonly1_toggled ) ,
NULL ) ;
2006-07-24 20:23:56 +00:00
g_signal_connect ( ( gpointer ) menu_write_unicode_bom1 , " toggled " ,
G_CALLBACK ( on_menu_write_unicode_bom1_toggled ) ,
NULL ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-02-26 18:19:28 +00:00
g_signal_connect ( ( gpointer ) menu_fold_all1 , " activate " ,
G_CALLBACK ( on_menu_fold_all1_activate ) ,
NULL ) ;
g_signal_connect ( ( gpointer ) menu_unfold_all1 , " activate " ,
G_CALLBACK ( on_menu_unfold_all1_activate ) ,
NULL ) ;
2007-02-17 18:06:08 +00:00
g_signal_connect ( ( gpointer ) remove_markers1 , " activate " ,
G_CALLBACK ( on_remove_markers1_activate ) ,
NULL ) ;
2006-06-13 19:37:21 +00:00
g_signal_connect ( ( gpointer ) menu_remove_indicators1 , " activate " ,
G_CALLBACK ( on_menu_remove_indicators1_activate ) ,
NULL ) ;
2007-01-15 18:12:32 +00:00
g_signal_connect ( ( gpointer ) menu_project1 , " activate " ,
G_CALLBACK ( on_menu_project1_activate ) ,
NULL ) ;
g_signal_connect ( ( gpointer ) project_new1 , " activate " ,
G_CALLBACK ( on_project_new1_activate ) ,
NULL ) ;
g_signal_connect ( ( gpointer ) project_open1 , " activate " ,
G_CALLBACK ( on_project_open1_activate ) ,
NULL ) ;
g_signal_connect ( ( gpointer ) project_close1 , " activate " ,
G_CALLBACK ( on_project_close1_activate ) ,
NULL ) ;
g_signal_connect ( ( gpointer ) project_properties1 , " activate " ,
G_CALLBACK ( on_project_properties1_activate ) ,
NULL ) ;
2006-10-20 12:31:22 +00:00
g_signal_connect ( ( gpointer ) menu_choose_color1 , " activate " ,
G_CALLBACK ( on_show_color_chooser1_activate ) ,
NULL ) ;
g_signal_connect ( ( gpointer ) menu_count_words1 , " activate " ,
G_CALLBACK ( on_count_words1_activate ) ,
NULL ) ;
2006-12-13 00:46:14 +00:00
g_signal_connect ( ( gpointer ) menu_insert_special_chars1 , " activate " ,
G_CALLBACK ( on_menu_insert_special_chars1_activate ) ,
NULL ) ;
2005-11-22 12:26:26 +00:00
g_signal_connect ( ( gpointer ) help1 , " activate " ,
G_CALLBACK ( on_help1_activate ) ,
NULL ) ;
2005-12-18 22:38:57 +00:00
g_signal_connect ( ( gpointer ) keyboard_shortcuts1 , " activate " ,
G_CALLBACK ( on_help_shortcuts1_activate ) ,
NULL ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-02-22 13:38:47 +00:00
g_signal_connect ( ( gpointer ) menutoolbutton1 , " clicked " ,
2005-11-22 12:26:26 +00:00
G_CALLBACK ( on_toolbutton_new_clicked ) ,
NULL ) ;
g_signal_connect ( ( gpointer ) toolbutton9 , " clicked " ,
G_CALLBACK ( on_toolbutton9_clicked ) ,
NULL ) ;
g_signal_connect ( ( gpointer ) toolbutton10 , " clicked " ,
G_CALLBACK ( on_toolbutton10_clicked ) ,
NULL ) ;
g_signal_connect ( ( gpointer ) toolbutton22 , " clicked " ,
G_CALLBACK ( on_save_all1_activate ) ,
NULL ) ;
g_signal_connect ( ( gpointer ) toolbutton23 , " clicked " ,
G_CALLBACK ( on_toolbutton23_clicked ) ,
NULL ) ;
g_signal_connect ( ( gpointer ) toolbutton15 , " clicked " ,
G_CALLBACK ( on_toolbutton15_clicked ) ,
NULL ) ;
2006-07-11 14:15:56 +00:00
g_signal_connect ( ( gpointer ) toolbutton_undo , " clicked " ,
G_CALLBACK ( on_undo1_activate ) ,
NULL ) ;
g_signal_connect ( ( gpointer ) toolbutton_redo , " clicked " ,
G_CALLBACK ( on_redo1_activate ) ,
NULL ) ;
2005-11-22 12:26:26 +00:00
g_signal_connect ( ( gpointer ) toolbutton13 , " clicked " ,
G_CALLBACK ( on_compile_button_clicked ) ,
NULL ) ;
2006-04-27 17:56:31 +00:00
g_signal_connect ( ( gpointer ) toolbutton26 , " clicked " ,
G_CALLBACK ( on_run_button_clicked ) ,
NULL ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-02-26 18:19:28 +00:00
g_signal_connect ( ( gpointer ) entry_goto_line , " activate " ,
G_CALLBACK ( on_entry_goto_line_activate ) ,
NULL ) ;
g_signal_connect ( ( gpointer ) toolbutton25 , " clicked " ,
G_CALLBACK ( on_toolbutton_goto_clicked ) ,
NULL ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-05-26 12:22:39 +00:00
g_signal_connect_after ( ( gpointer ) notebook1 , " switch_page " ,
G_CALLBACK ( on_notebook1_switch_page_after ) ,
NULL ) ;
2005-11-22 12:26:26 +00:00
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 " ) ;
2007-05-25 14:42:43 +00:00
GLADE_HOOKUP_OBJECT ( window1 , file1 , " file1 " ) ;
2005-11-22 12:26:26 +00:00
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 " ) ;
2007-05-06 14:49:51 +00:00
GLADE_HOOKUP_OBJECT ( window1 , image1758 , " image1758 " ) ;
2005-11-22 12:26:26 +00:00
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 " ) ;
2007-01-24 19:20:12 +00:00
GLADE_HOOKUP_OBJECT ( window1 , menu_open_selected_file1 , " menu_open_selected_file1 " ) ;
2006-06-18 16:18:05 +00:00
GLADE_HOOKUP_OBJECT ( window1 , recent_files1 , " recent_files1 " ) ;
2005-11-22 12:26:26 +00:00
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 " ) ;
2007-05-06 14:49:51 +00:00
GLADE_HOOKUP_OBJECT ( window1 , image1759 , " image1759 " ) ;
2006-07-22 01:29:10 +00:00
GLADE_HOOKUP_OBJECT ( window1 , menu_reload1 , " menu_reload1 " ) ;
2007-05-06 14:49:51 +00:00
GLADE_HOOKUP_OBJECT ( window1 , image1760 , " image1760 " ) ;
2006-07-22 01:29:10 +00:00
GLADE_HOOKUP_OBJECT ( window1 , menu_reload_as1 , " menu_reload_as1 " ) ;
2007-05-06 14:49:51 +00:00
GLADE_HOOKUP_OBJECT ( window1 , image1761 , " image1761 " ) ;
2006-07-22 01:29:10 +00:00
GLADE_HOOKUP_OBJECT ( window1 , menu_reload_as1_menu , " menu_reload_as1_menu " ) ;
GLADE_HOOKUP_OBJECT ( window1 , invisible7 , " invisible7 " ) ;
2006-02-22 13:38:47 +00:00
GLADE_HOOKUP_OBJECT ( window1 , separator21 , " separator21 " ) ;
2007-04-18 15:21:33 +00:00
GLADE_HOOKUP_OBJECT ( window1 , load_tags1 , " load_tags1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , separator39 , " separator39 " ) ;
2006-02-14 22:07:55 +00:00
GLADE_HOOKUP_OBJECT ( window1 , preferences2 , " preferences2 " ) ;
2006-06-29 17:14:52 +00:00
GLADE_HOOKUP_OBJECT ( window1 , separator24 , " separator24 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , print1 , " print1 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( window1 , separator14 , " separator14 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_close1 , " menu_close1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_close_all1 , " menu_close_all1 " ) ;
2007-05-06 14:49:51 +00:00
GLADE_HOOKUP_OBJECT ( window1 , image1762 , " image1762 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( window1 , menu_separatormenuitem1 , " menu_separatormenuitem1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_quit1 , " menu_quit1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , edit1 , " edit1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , edit1_menu , " edit1_menu " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_undo2 , " menu_undo2 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_redo2 , " menu_redo2 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_seperator1 , " menu_seperator1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_cut1 , " menu_cut1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_copy1 , " menu_copy1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_paste1 , " menu_paste1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_delete1 , " menu_delete1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_seperator2 , " menu_seperator2 " ) ;
2006-06-30 13:42:53 +00:00
GLADE_HOOKUP_OBJECT ( window1 , menu_select_all1 , " menu_select_all1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , separator25 , " separator25 " ) ;
2006-10-20 12:31:22 +00:00
GLADE_HOOKUP_OBJECT ( window1 , menu_format1 , " menu_format1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_format1_menu , " menu_format1_menu " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_to_lower_case2 , " menu_to_lower_case2 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_to_upper_case2 , " menu_to_upper_case2 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , separator28 , " separator28 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_comment_line1 , " menu_comment_line1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_uncomment_line1 , " menu_uncomment_line1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_toggle_line_commentation1 , " menu_toggle_line_commentation1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_duplicate_line1 , " menu_duplicate_line1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , separator29 , " separator29 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_increase_indent1 , " menu_increase_indent1 " ) ;
2007-05-06 14:49:51 +00:00
GLADE_HOOKUP_OBJECT ( window1 , image1763 , " image1763 " ) ;
2006-10-20 12:31:22 +00:00
GLADE_HOOKUP_OBJECT ( window1 , menu_decrease_indent1 , " menu_decrease_indent1 " ) ;
2007-05-06 14:49:51 +00:00
GLADE_HOOKUP_OBJECT ( window1 , image1764 , " image1764 " ) ;
2007-02-25 14:26:55 +00:00
GLADE_HOOKUP_OBJECT ( window1 , separator37 , " separator37 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , send_selection_to2 , " send_selection_to2 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , send_selection_to2_menu , " send_selection_to2_menu " ) ;
GLADE_HOOKUP_OBJECT ( window1 , invisible13 , " invisible13 " ) ;
2006-10-20 12:31:22 +00:00
GLADE_HOOKUP_OBJECT ( window1 , separator18 , " separator18 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( window1 , insert_include2 , " insert_include2 " ) ;
2007-05-06 14:49:51 +00:00
GLADE_HOOKUP_OBJECT ( window1 , image1765 , " image1765 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( window1 , insert_include2_menu , " insert_include2_menu " ) ;
GLADE_HOOKUP_OBJECT ( window1 , invisible4 , " invisible4 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , add_comments1 , " add_comments1 " ) ;
2007-05-06 14:49:51 +00:00
GLADE_HOOKUP_OBJECT ( window1 , image1766 , " image1766 " ) ;
2005-11-22 12:26:26 +00:00
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 " ) ;
2007-01-06 15:38:44 +00:00
GLADE_HOOKUP_OBJECT ( window1 , insert_bsd_license_notice2 , " insert_bsd_license_notice2 " ) ;
2006-08-19 12:56:30 +00:00
GLADE_HOOKUP_OBJECT ( window1 , insert_date1 , " insert_date1 " ) ;
2007-05-06 14:49:51 +00:00
GLADE_HOOKUP_OBJECT ( window1 , image1767 , " image1767 " ) ;
2006-08-19 12:56:30 +00:00
GLADE_HOOKUP_OBJECT ( window1 , insert_date1_menu , " insert_date1_menu " ) ;
GLADE_HOOKUP_OBJECT ( window1 , invisible8 , " invisible8 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( window1 , separator9 , " separator9 " ) ;
2006-05-23 19:31:09 +00:00
GLADE_HOOKUP_OBJECT ( window1 , preferences1 , " preferences1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , search1 , " search1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , search1_menu , " search1_menu " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( window1 , find1 , " find1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , find_next1 , " find_next1 " ) ;
2006-05-23 19:31:09 +00:00
GLADE_HOOKUP_OBJECT ( window1 , find_previous1 , " find_previous1 " ) ;
2006-07-13 14:30:44 +00:00
GLADE_HOOKUP_OBJECT ( window1 , find_in_files1 , " find_in_files1 " ) ;
2006-12-08 15:50:10 +00:00
GLADE_HOOKUP_OBJECT ( window1 , replace1 , " replace1 " ) ;
2007-05-06 14:49:51 +00:00
GLADE_HOOKUP_OBJECT ( window1 , image1768 , " image1768 " ) ;
2006-12-08 15:50:10 +00:00
GLADE_HOOKUP_OBJECT ( window1 , separator33 , " separator33 " ) ;
2007-01-23 17:51:30 +00:00
GLADE_HOOKUP_OBJECT ( window1 , find_nextsel1 , " find_nextsel1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , find_prevsel1 , " find_prevsel1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , separator35 , " separator35 " ) ;
2006-12-08 15:50:10 +00:00
GLADE_HOOKUP_OBJECT ( window1 , next_message1 , " next_message1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , separator32 , " separator32 " ) ;
2006-05-23 19:31:09 +00:00
GLADE_HOOKUP_OBJECT ( window1 , go_to_line1 , " go_to_line1 " ) ;
2007-05-06 14:49:51 +00:00
GLADE_HOOKUP_OBJECT ( window1 , image1769 , " image1769 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( window1 , menuitem3 , " menuitem3 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menuitem3_menu , " menuitem3_menu " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_change_font1 , " menu_change_font1 " ) ;
2007-05-06 14:49:51 +00:00
GLADE_HOOKUP_OBJECT ( window1 , image1770 , " image1770 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( window1 , menu_separator4 , " menu_separator4 " ) ;
2007-05-06 14:49:51 +00:00
GLADE_HOOKUP_OBJECT ( window1 , menu_toggle_all_additional_widgets1 , " menu_toggle_all_additional_widgets1 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( window1 , menu_fullscreen1 , " menu_fullscreen1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_show_messages_window1 , " menu_show_messages_window1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_show_toolbar1 , " menu_show_toolbar1 " ) ;
2006-07-21 11:41:33 +00:00
GLADE_HOOKUP_OBJECT ( window1 , menu_show_sidebar1 , " menu_show_sidebar1 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( window1 , menu_markers_margin1 , " menu_markers_margin1 " ) ;
2006-02-14 22:07:55 +00:00
GLADE_HOOKUP_OBJECT ( window1 , menu_linenumber_margin1 , " menu_linenumber_margin1 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( window1 , menu_separator5 , " menu_separator5 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_zoom_in1 , " menu_zoom_in1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_zoom_out1 , " menu_zoom_out1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , normal_size1 , " normal_size1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_item4 , " menu_item4 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_item4_menu , " menu_item4_menu " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_line_breaking1 , " menu_line_breaking1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_use_auto_indention1 , " menu_use_auto_indention1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , set_file_readonly1 , " set_file_readonly1 " ) ;
2006-07-24 20:23:56 +00:00
GLADE_HOOKUP_OBJECT ( window1 , menu_write_unicode_bom1 , " menu_write_unicode_bom1 " ) ;
2006-02-14 22:07:55 +00:00
GLADE_HOOKUP_OBJECT ( window1 , separator10 , " separator10 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( window1 , set_filetype1 , " set_filetype1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , set_filetype1_menu , " set_filetype1_menu " ) ;
GLADE_HOOKUP_OBJECT ( window1 , invisible1 , " invisible1 " ) ;
2006-06-19 18:31:17 +00:00
GLADE_HOOKUP_OBJECT ( window1 , set_encoding1 , " set_encoding1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , set_encoding1_menu , " set_encoding1_menu " ) ;
GLADE_HOOKUP_OBJECT ( window1 , invisible6 , " invisible6 " ) ;
2005-11-22 12:26:26 +00:00
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 " ) ;
2006-02-26 18:19:28 +00:00
GLADE_HOOKUP_OBJECT ( window1 , separator22 , " separator22 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_fold_all1 , " menu_fold_all1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_unfold_all1 , " menu_unfold_all1 " ) ;
2006-06-13 19:37:21 +00:00
GLADE_HOOKUP_OBJECT ( window1 , separator23 , " separator23 " ) ;
2007-02-17 18:06:08 +00:00
GLADE_HOOKUP_OBJECT ( window1 , remove_markers1 , " remove_markers1 " ) ;
2006-06-13 19:37:21 +00:00
GLADE_HOOKUP_OBJECT ( window1 , menu_remove_indicators1 , " menu_remove_indicators1 " ) ;
2007-01-15 18:12:32 +00:00
GLADE_HOOKUP_OBJECT ( window1 , menu_project1 , " menu_project1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_project1_menu , " menu_project1_menu " ) ;
GLADE_HOOKUP_OBJECT ( window1 , project_new1 , " project_new1 " ) ;
2007-05-06 14:49:51 +00:00
GLADE_HOOKUP_OBJECT ( window1 , image1771 , " image1771 " ) ;
2007-01-15 18:12:32 +00:00
GLADE_HOOKUP_OBJECT ( window1 , project_open1 , " project_open1 " ) ;
2007-05-06 14:49:51 +00:00
GLADE_HOOKUP_OBJECT ( window1 , image1772 , " image1772 " ) ;
2007-01-15 18:12:32 +00:00
GLADE_HOOKUP_OBJECT ( window1 , project_close1 , " project_close1 " ) ;
2007-05-06 14:49:51 +00:00
GLADE_HOOKUP_OBJECT ( window1 , image1773 , " image1773 " ) ;
2007-01-15 18:12:32 +00:00
GLADE_HOOKUP_OBJECT ( window1 , separator34 , " separator34 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , project_properties1 , " project_properties1 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( window1 , menu_build1 , " menu_build1 " ) ;
2006-10-20 12:31:22 +00:00
GLADE_HOOKUP_OBJECT ( window1 , tools1 , " tools1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , tools1_menu , " tools1_menu " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_choose_color1 , " menu_choose_color1 " ) ;
2007-05-06 14:49:51 +00:00
GLADE_HOOKUP_OBJECT ( window1 , image1774 , " image1774 " ) ;
2006-10-20 12:31:22 +00:00
GLADE_HOOKUP_OBJECT ( window1 , menu_count_words1 , " menu_count_words1 " ) ;
2006-12-13 00:46:14 +00:00
GLADE_HOOKUP_OBJECT ( window1 , menu_insert_special_chars1 , " menu_insert_special_chars1 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( window1 , menu_item5 , " menu_item5 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , menu_item5_menu , " menu_item5_menu " ) ;
GLADE_HOOKUP_OBJECT ( window1 , help1 , " help1 " ) ;
2005-12-18 22:38:57 +00:00
GLADE_HOOKUP_OBJECT ( window1 , keyboard_shortcuts1 , " keyboard_shortcuts1 " ) ;
2005-11-22 12:26:26 +00:00
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 " ) ;
2006-02-22 13:38:47 +00:00
GLADE_HOOKUP_OBJECT ( window1 , menutoolbutton1 , " menutoolbutton1 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( window1 , toolbutton9 , " toolbutton9 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , toolbutton10 , " toolbutton10 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , toolbutton22 , " toolbutton22 " ) ;
2006-06-18 16:18:05 +00:00
GLADE_HOOKUP_OBJECT ( window1 , separatortoolitem7 , " separatortoolitem7 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( window1 , toolbutton23 , " toolbutton23 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , toolbutton15 , " toolbutton15 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , separatortoolitem2 , " separatortoolitem2 " ) ;
2006-07-11 14:15:56 +00:00
GLADE_HOOKUP_OBJECT ( window1 , toolbutton_undo , " toolbutton_undo " ) ;
GLADE_HOOKUP_OBJECT ( window1 , toolbutton_redo , " toolbutton_redo " ) ;
GLADE_HOOKUP_OBJECT ( window1 , separatortoolitem9 , " separatortoolitem9 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( window1 , toolbutton13 , " toolbutton13 " ) ;
2006-04-27 17:56:31 +00:00
GLADE_HOOKUP_OBJECT ( window1 , toolbutton26 , " toolbutton26 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , separatortoolitem6 , " separatortoolitem6 " ) ;
2005-11-22 12:26:26 +00:00
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 " ) ;
2006-04-27 17:56:31 +00:00
GLADE_HOOKUP_OBJECT ( window1 , toolitem18 , " toolitem18 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( window1 , entry1 , " entry1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , toolbutton18 , " toolbutton18 " ) ;
2006-02-26 18:19:28 +00:00
GLADE_HOOKUP_OBJECT ( window1 , separatortoolitem5 , " separatortoolitem5 " ) ;
2006-04-27 17:56:31 +00:00
GLADE_HOOKUP_OBJECT ( window1 , toolitem17 , " toolitem17 " ) ;
2006-02-26 18:19:28 +00:00
GLADE_HOOKUP_OBJECT ( window1 , entry_goto_line , " entry_goto_line " ) ;
GLADE_HOOKUP_OBJECT ( window1 , toolbutton25 , " toolbutton25 " ) ;
2006-06-18 16:18:05 +00:00
GLADE_HOOKUP_OBJECT ( window1 , separatortoolitem8 , " separatortoolitem8 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( window1 , toolbutton19 , " toolbutton19 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , vpaned1 , " vpaned1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , hpaned1 , " hpaned1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , notebook3 , " notebook3 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , scrolledwindow2 , " scrolledwindow2 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , treeview2 , " treeview2 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , label135 , " label135 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , scrolledwindow7 , " scrolledwindow7 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , treeview6 , " treeview6 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , label136 , " label136 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , notebook1 , " notebook1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , scrolledwindow1 , " scrolledwindow1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , viewport1 , " viewport1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , notebook_info , " notebook_info " ) ;
GLADE_HOOKUP_OBJECT ( window1 , scrolledwindow4 , " scrolledwindow4 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , treeview3 , " treeview3 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , notebook_info_label_status , " notebook_info_label_status " ) ;
GLADE_HOOKUP_OBJECT ( window1 , scrolledwindow3 , " scrolledwindow3 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , treeview5 , " treeview5 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , notebook_info_label_compiler , " notebook_info_label_compiler " ) ;
GLADE_HOOKUP_OBJECT ( window1 , scrolledwindow5 , " scrolledwindow5 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , treeview4 , " treeview4 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , notebook_info_label_msg , " notebook_info_label_msg " ) ;
GLADE_HOOKUP_OBJECT ( window1 , scrolledwindow6 , " scrolledwindow6 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , textview_scribble , " textview_scribble " ) ;
GLADE_HOOKUP_OBJECT ( window1 , notebook_info_label_scribble , " notebook_info_label_scribble " ) ;
GLADE_HOOKUP_OBJECT ( window1 , hbox1 , " hbox1 " ) ;
GLADE_HOOKUP_OBJECT ( window1 , statusbar , " statusbar " ) ;
GLADE_HOOKUP_OBJECT_NO_REF ( window1 , tooltips , " tooltips " ) ;
gtk_window_add_accel_group ( GTK_WINDOW ( window1 ) , accel_group ) ;
return window1 ;
}
GtkWidget *
create_toolbar_popup_menu1 ( void )
{
GtkWidget * toolbar_popup_menu1 ;
GSList * images_and_text2_group = NULL ;
GtkWidget * images_and_text2 ;
GtkWidget * images_only2 ;
GtkWidget * text_only2 ;
GtkWidget * separator1 ;
2006-07-11 14:15:56 +00:00
GSList * large_icons1_group = NULL ;
2005-11-22 12:26:26 +00:00
GtkWidget * large_icons1 ;
GtkWidget * small_icons1 ;
GtkWidget * separator20 ;
GtkWidget * hide_toolbar1 ;
2006-07-11 14:15:56 +00:00
GtkWidget * image800 ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-07-11 14:15:56 +00:00
large_icons1 = gtk_radio_menu_item_new_with_mnemonic ( large_icons1_group , _ ( " Large icons " ) ) ;
large_icons1_group = gtk_radio_menu_item_get_group ( GTK_RADIO_MENU_ITEM ( large_icons1 ) ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( large_icons1 ) ;
gtk_container_add ( GTK_CONTAINER ( toolbar_popup_menu1 ) , large_icons1 ) ;
2006-07-11 14:15:56 +00:00
small_icons1 = gtk_radio_menu_item_new_with_mnemonic ( large_icons1_group , _ ( " Small icons " ) ) ;
large_icons1_group = gtk_radio_menu_item_get_group ( GTK_RADIO_MENU_ITEM ( small_icons1 ) ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-07-11 14:15:56 +00:00
image800 = gtk_image_new_from_stock ( " gtk-cancel " , GTK_ICON_SIZE_MENU ) ;
gtk_widget_show ( image800 ) ;
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( hide_toolbar1 ) , image800 ) ;
2005-11-22 12:26:26 +00:00
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 " ) ;
2006-07-11 14:15:56 +00:00
GLADE_HOOKUP_OBJECT ( toolbar_popup_menu1 , image800 , " image800 " ) ;
2005-11-22 12:26:26 +00:00
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 ;
2006-06-30 13:42:53 +00:00
GtkWidget * menu_select_all2 ;
GtkWidget * separator26 ;
2007-01-24 19:20:12 +00:00
GtkWidget * menu_open_selected_file2 ;
GtkWidget * separator36 ;
2006-10-20 12:31:22 +00:00
GtkWidget * menu_format2 ;
GtkWidget * menu_format2_menu ;
GtkWidget * to_lower_case1 ;
GtkWidget * to_upper_case1 ;
GtkWidget * separator30 ;
GtkWidget * menu_comment_line2 ;
GtkWidget * menu_uncomment_line2 ;
GtkWidget * menu_toggle_line_commentation2 ;
GtkWidget * menu_duplicate_line2 ;
GtkWidget * separator31 ;
GtkWidget * menu_increase_indent2 ;
2007-04-15 18:09:59 +00:00
GtkWidget * image1693 ;
2006-10-20 12:31:22 +00:00
GtkWidget * menu_decrease_indent2 ;
2007-04-15 18:09:59 +00:00
GtkWidget * image1694 ;
2007-02-25 14:26:55 +00:00
GtkWidget * separator38 ;
GtkWidget * send_selection_to1 ;
GtkWidget * send_selection_to1_menu ;
GtkWidget * invisible12 ;
2006-10-20 12:31:22 +00:00
GtkWidget * separator17 ;
2005-11-22 12:26:26 +00:00
GtkWidget * insert_include1 ;
2007-04-15 18:09:59 +00:00
GtkWidget * image1695 ;
2005-11-22 12:26:26 +00:00
GtkWidget * insert_include1_menu ;
GtkWidget * invisible3 ;
GtkWidget * comments ;
2007-04-15 18:09:59 +00:00
GtkWidget * image1696 ;
2005-11-22 12:26:26 +00:00
GtkWidget * comments_menu ;
GtkWidget * add_changelog_entry2 ;
GtkWidget * insert_file_header2 ;
GtkWidget * insert_function_description1 ;
GtkWidget * insert_multiline_comment1 ;
GtkWidget * insert_gpl_notice1 ;
2007-01-06 15:38:44 +00:00
GtkWidget * insert_bsd_license_notice1 ;
2006-08-19 12:56:30 +00:00
GtkWidget * insert_date2 ;
2007-04-15 18:09:59 +00:00
GtkWidget * image1697 ;
2006-08-19 12:56:30 +00:00
GtkWidget * insert_date2_menu ;
GtkWidget * invisible10 ;
2005-11-22 12:26:26 +00:00
GtkWidget * separator7 ;
GtkWidget * find_usage1 ;
2007-04-15 18:09:59 +00:00
GtkWidget * image1698 ;
2005-11-22 12:26:26 +00:00
GtkWidget * goto_tag_definition1 ;
2006-06-18 16:18:05 +00:00
GtkWidget * goto_tag_declaration1 ;
2007-04-15 18:09:59 +00:00
GtkWidget * context_action1 ;
2005-11-22 12:26:26 +00:00
GtkWidget * separator15 ;
GtkWidget * go_to_line ;
2007-04-15 18:09:59 +00:00
GtkWidget * image1699 ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-06-30 13:42:53 +00:00
menu_select_all2 = gtk_menu_item_new_with_mnemonic ( _ ( " Select _All " ) ) ;
gtk_widget_show ( menu_select_all2 ) ;
gtk_container_add ( GTK_CONTAINER ( edit_menu1 ) , menu_select_all2 ) ;
separator26 = gtk_separator_menu_item_new ( ) ;
gtk_widget_show ( separator26 ) ;
gtk_container_add ( GTK_CONTAINER ( edit_menu1 ) , separator26 ) ;
gtk_widget_set_sensitive ( separator26 , FALSE ) ;
2007-01-24 19:20:12 +00:00
menu_open_selected_file2 = gtk_menu_item_new_with_mnemonic ( _ ( " Open Selected F_ile " ) ) ;
gtk_widget_show ( menu_open_selected_file2 ) ;
gtk_container_add ( GTK_CONTAINER ( edit_menu1 ) , menu_open_selected_file2 ) ;
2005-11-22 12:26:26 +00:00
2007-01-24 19:20:12 +00:00
separator36 = gtk_separator_menu_item_new ( ) ;
gtk_widget_show ( separator36 ) ;
gtk_container_add ( GTK_CONTAINER ( edit_menu1 ) , separator36 ) ;
gtk_widget_set_sensitive ( separator36 , FALSE ) ;
2005-11-22 12:26:26 +00:00
2006-10-20 12:31:22 +00:00
menu_format2 = gtk_menu_item_new_with_mnemonic ( _ ( " _Format " ) ) ;
gtk_widget_show ( menu_format2 ) ;
gtk_container_add ( GTK_CONTAINER ( edit_menu1 ) , menu_format2 ) ;
menu_format2_menu = gtk_menu_new ( ) ;
gtk_menu_item_set_submenu ( GTK_MENU_ITEM ( menu_format2 ) , menu_format2_menu ) ;
2006-12-12 12:12:20 +00:00
to_lower_case1 = gtk_menu_item_new_with_mnemonic ( _ ( " Convert Selection to _Lower-case " ) ) ;
2006-10-20 12:31:22 +00:00
gtk_widget_show ( to_lower_case1 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_format2_menu ) , to_lower_case1 ) ;
2006-12-12 12:12:20 +00:00
to_upper_case1 = gtk_menu_item_new_with_mnemonic ( _ ( " Convert Selection to _Upper-case " ) ) ;
2006-10-20 12:31:22 +00:00
gtk_widget_show ( to_upper_case1 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_format2_menu ) , to_upper_case1 ) ;
separator30 = gtk_separator_menu_item_new ( ) ;
gtk_widget_show ( separator30 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_format2_menu ) , separator30 ) ;
gtk_widget_set_sensitive ( separator30 , FALSE ) ;
2006-11-13 22:26:55 +00:00
menu_comment_line2 = gtk_menu_item_new_with_mnemonic ( _ ( " _Comment Line(s) " ) ) ;
2006-10-20 12:31:22 +00:00
gtk_widget_show ( menu_comment_line2 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_format2_menu ) , menu_comment_line2 ) ;
2006-11-13 22:26:55 +00:00
menu_uncomment_line2 = gtk_menu_item_new_with_mnemonic ( _ ( " U_ncomment Line(s) " ) ) ;
2006-10-20 12:31:22 +00:00
gtk_widget_show ( menu_uncomment_line2 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_format2_menu ) , menu_uncomment_line2 ) ;
2006-12-12 12:12:20 +00:00
menu_toggle_line_commentation2 = gtk_menu_item_new_with_mnemonic ( _ ( " _Toggle Line Commentation " ) ) ;
2006-10-20 12:31:22 +00:00
gtk_widget_show ( menu_toggle_line_commentation2 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_format2_menu ) , menu_toggle_line_commentation2 ) ;
2006-11-13 22:26:55 +00:00
menu_duplicate_line2 = gtk_menu_item_new_with_mnemonic ( _ ( " Du_plicate Line or Selection " ) ) ;
2006-10-20 12:31:22 +00:00
gtk_widget_show ( menu_duplicate_line2 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_format2_menu ) , menu_duplicate_line2 ) ;
separator31 = gtk_separator_menu_item_new ( ) ;
gtk_widget_show ( separator31 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_format2_menu ) , separator31 ) ;
gtk_widget_set_sensitive ( separator31 , FALSE ) ;
menu_increase_indent2 = gtk_image_menu_item_new_with_mnemonic ( _ ( " _Increase Indent " ) ) ;
gtk_widget_show ( menu_increase_indent2 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_format2_menu ) , menu_increase_indent2 ) ;
2007-04-15 18:09:59 +00:00
image1693 = gtk_image_new_from_stock ( " gtk-indent " , GTK_ICON_SIZE_MENU ) ;
gtk_widget_show ( image1693 ) ;
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( menu_increase_indent2 ) , image1693 ) ;
2006-10-20 12:31:22 +00:00
menu_decrease_indent2 = gtk_image_menu_item_new_with_mnemonic ( _ ( " _Decrease Indent " ) ) ;
gtk_widget_show ( menu_decrease_indent2 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_format2_menu ) , menu_decrease_indent2 ) ;
2007-04-15 18:09:59 +00:00
image1694 = gtk_image_new_from_stock ( " gtk-unindent " , GTK_ICON_SIZE_MENU ) ;
gtk_widget_show ( image1694 ) ;
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( menu_decrease_indent2 ) , image1694 ) ;
2007-02-25 14:26:55 +00:00
separator38 = gtk_separator_menu_item_new ( ) ;
gtk_widget_show ( separator38 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_format2_menu ) , separator38 ) ;
gtk_widget_set_sensitive ( separator38 , FALSE ) ;
send_selection_to1 = gtk_menu_item_new_with_mnemonic ( _ ( " _Send Selection to " ) ) ;
gtk_widget_show ( send_selection_to1 ) ;
gtk_container_add ( GTK_CONTAINER ( menu_format2_menu ) , send_selection_to1 ) ;
send_selection_to1_menu = gtk_menu_new ( ) ;
gtk_menu_item_set_submenu ( GTK_MENU_ITEM ( send_selection_to1 ) , send_selection_to1_menu ) ;
invisible12 = gtk_menu_item_new_with_mnemonic ( _ ( " invisible " ) ) ;
gtk_container_add ( GTK_CONTAINER ( send_selection_to1_menu ) , invisible12 ) ;
2006-10-20 12:31:22 +00:00
separator17 = gtk_separator_menu_item_new ( ) ;
gtk_widget_show ( separator17 ) ;
gtk_container_add ( GTK_CONTAINER ( edit_menu1 ) , separator17 ) ;
gtk_widget_set_sensitive ( separator17 , FALSE ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2007-04-15 18:09:59 +00:00
image1695 = gtk_image_new_from_stock ( " gtk-add " , GTK_ICON_SIZE_MENU ) ;
gtk_widget_show ( image1695 ) ;
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( insert_include1 ) , image1695 ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2007-04-15 18:09:59 +00:00
image1696 = gtk_image_new_from_stock ( " gtk-add " , GTK_ICON_SIZE_MENU ) ;
gtk_widget_show ( image1696 ) ;
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( comments ) , image1696 ) ;
2005-11-22 12:26:26 +00:00
comments_menu = gtk_menu_new ( ) ;
gtk_menu_item_set_submenu ( GTK_MENU_ITEM ( comments ) , comments_menu ) ;
2006-12-12 12:12:20 +00:00
add_changelog_entry2 = gtk_menu_item_new_with_mnemonic ( _ ( " Insert ChangeLog Entry " ) ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( add_changelog_entry2 ) ;
gtk_container_add ( GTK_CONTAINER ( comments_menu ) , add_changelog_entry2 ) ;
2006-08-28 15:07:48 +00:00
gtk_tooltips_set_tip ( tooltips , add_changelog_entry2 , _ ( " Inserts a typical ChangeLog entry in the current file " ) , NULL ) ;
2005-11-22 12:26:26 +00:00
2006-12-12 12:12:20 +00:00
insert_file_header2 = gtk_menu_item_new_with_mnemonic ( _ ( " Insert File Header " ) ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( insert_file_header2 ) ;
gtk_container_add ( GTK_CONTAINER ( comments_menu ) , insert_file_header2 ) ;
2006-09-01 15:48:56 +00:00
gtk_tooltips_set_tip ( tooltips , insert_file_header2 , _ ( " Inserts a file header at the beginning of the file " ) , NULL ) ;
2005-11-22 12:26:26 +00:00
2006-12-12 12:12:20 +00:00
insert_function_description1 = gtk_menu_item_new_with_mnemonic ( _ ( " Insert Function Description " ) ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-12-12 12:12:20 +00:00
insert_multiline_comment1 = gtk_menu_item_new_with_mnemonic ( _ ( " Insert Multiline Comment " ) ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-12-12 12:12:20 +00:00
insert_gpl_notice1 = gtk_menu_item_new_with_mnemonic ( _ ( " Insert GPL Notice " ) ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2007-01-06 15:38:44 +00:00
insert_bsd_license_notice1 = gtk_menu_item_new_with_mnemonic ( _ ( " Insert BSD license Notice " ) ) ;
gtk_widget_show ( insert_bsd_license_notice1 ) ;
gtk_container_add ( GTK_CONTAINER ( comments_menu ) , insert_bsd_license_notice1 ) ;
2007-01-07 14:04:13 +00:00
gtk_tooltips_set_tip ( tooltips , insert_bsd_license_notice1 , _ ( " Inserts a BSD licence notice (should be done at the beginning of the file) " ) , NULL ) ;
2007-01-06 15:38:44 +00:00
2007-02-25 14:26:55 +00:00
insert_date2 = gtk_image_menu_item_new_with_mnemonic ( _ ( " Insert Dat_e " ) ) ;
2006-08-19 12:56:30 +00:00
gtk_widget_show ( insert_date2 ) ;
gtk_container_add ( GTK_CONTAINER ( edit_menu1 ) , insert_date2 ) ;
2007-04-15 18:09:59 +00:00
image1697 = gtk_image_new_from_stock ( " gtk-add " , GTK_ICON_SIZE_MENU ) ;
gtk_widget_show ( image1697 ) ;
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( insert_date2 ) , image1697 ) ;
2007-02-25 14:26:55 +00:00
2006-08-19 12:56:30 +00:00
insert_date2_menu = gtk_menu_new ( ) ;
gtk_menu_item_set_submenu ( GTK_MENU_ITEM ( insert_date2 ) , insert_date2_menu ) ;
invisible10 = gtk_menu_item_new_with_mnemonic ( _ ( " invisible " ) ) ;
gtk_container_add ( GTK_CONTAINER ( insert_date2_menu ) , invisible10 ) ;
2005-11-22 12:26:26 +00:00
separator7 = gtk_separator_menu_item_new ( ) ;
gtk_widget_show ( separator7 ) ;
gtk_container_add ( GTK_CONTAINER ( edit_menu1 ) , separator7 ) ;
gtk_widget_set_sensitive ( separator7 , FALSE ) ;
2006-12-12 12:12:20 +00:00
find_usage1 = gtk_image_menu_item_new_with_mnemonic ( _ ( " Find Usage " ) ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( find_usage1 ) ;
gtk_container_add ( GTK_CONTAINER ( edit_menu1 ) , find_usage1 ) ;
2007-04-15 18:09:59 +00:00
image1698 = gtk_image_new_from_stock ( " gtk-find " , GTK_ICON_SIZE_MENU ) ;
gtk_widget_show ( image1698 ) ;
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( find_usage1 ) , image1698 ) ;
2005-11-22 12:26:26 +00:00
2006-12-12 12:12:20 +00:00
goto_tag_definition1 = gtk_menu_item_new_with_mnemonic ( _ ( " Go to Tag Definition " ) ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( goto_tag_definition1 ) ;
gtk_container_add ( GTK_CONTAINER ( edit_menu1 ) , goto_tag_definition1 ) ;
2006-12-12 12:12:20 +00:00
goto_tag_declaration1 = gtk_menu_item_new_with_mnemonic ( _ ( " Go to Tag Declaration " ) ) ;
2006-06-18 16:18:05 +00:00
gtk_widget_show ( goto_tag_declaration1 ) ;
gtk_container_add ( GTK_CONTAINER ( edit_menu1 ) , goto_tag_declaration1 ) ;
2007-04-15 18:09:59 +00:00
context_action1 = gtk_menu_item_new_with_mnemonic ( _ ( " Context Action " ) ) ;
gtk_widget_show ( context_action1 ) ;
gtk_container_add ( GTK_CONTAINER ( edit_menu1 ) , context_action1 ) ;
2005-11-22 12:26:26 +00:00
separator15 = gtk_separator_menu_item_new ( ) ;
gtk_widget_show ( separator15 ) ;
gtk_container_add ( GTK_CONTAINER ( edit_menu1 ) , separator15 ) ;
gtk_widget_set_sensitive ( separator15 , FALSE ) ;
2006-12-12 12:12:20 +00:00
go_to_line = gtk_image_menu_item_new_with_mnemonic ( _ ( " Go to Line " ) ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2007-04-15 18:09:59 +00:00
image1699 = gtk_image_new_from_stock ( " gtk-jump-to " , GTK_ICON_SIZE_MENU ) ;
gtk_widget_show ( image1699 ) ;
gtk_image_menu_item_set_image ( GTK_IMAGE_MENU_ITEM ( go_to_line ) , image1699 ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-06-30 13:42:53 +00:00
g_signal_connect ( ( gpointer ) menu_select_all2 , " activate " ,
G_CALLBACK ( on_menu_select_all1_activate ) ,
NULL ) ;
2007-01-24 19:20:12 +00:00
g_signal_connect ( ( gpointer ) menu_open_selected_file2 , " activate " ,
G_CALLBACK ( on_menu_open_selected_file1_activate ) ,
2005-11-22 12:26:26 +00:00
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 ) ;
2006-08-01 10:35:32 +00:00
g_signal_connect ( ( gpointer ) menu_comment_line2 , " activate " ,
G_CALLBACK ( on_menu_comment_line1_activate ) ,
NULL ) ;
g_signal_connect ( ( gpointer ) menu_uncomment_line2 , " activate " ,
G_CALLBACK ( on_menu_uncomment_line1_activate ) ,
NULL ) ;
2006-09-12 08:32:52 +00:00
g_signal_connect ( ( gpointer ) menu_toggle_line_commentation2 , " activate " ,
G_CALLBACK ( on_menu_toggle_line_commentation1_activate ) ,
NULL ) ;
2006-08-01 10:35:32 +00:00
g_signal_connect ( ( gpointer ) menu_duplicate_line2 , " activate " ,
G_CALLBACK ( on_menu_duplicate_line1_activate ) ,
NULL ) ;
g_signal_connect ( ( gpointer ) menu_increase_indent2 , " activate " ,
G_CALLBACK ( on_menu_increase_indent1_activate ) ,
NULL ) ;
g_signal_connect ( ( gpointer ) menu_decrease_indent2 , " activate " ,
G_CALLBACK ( on_menu_decrease_indent1_activate ) ,
NULL ) ;
2006-10-20 12:31:22 +00:00
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 ) ;
2007-01-06 15:38:44 +00:00
g_signal_connect ( ( gpointer ) insert_bsd_license_notice1 , " activate " ,
G_CALLBACK ( on_comments_bsd_activate ) ,
NULL ) ;
2005-11-22 12:26:26 +00:00
g_signal_connect ( ( gpointer ) find_usage1 , " activate " ,
G_CALLBACK ( on_find_usage1_activate ) ,
NULL ) ;
2006-06-18 16:18:05 +00:00
g_signal_connect ( ( gpointer ) goto_tag_definition1 , " activate " ,
2005-11-22 12:26:26 +00:00
G_CALLBACK ( on_goto_tag_activate ) ,
NULL ) ;
2006-06-18 16:18:05 +00:00
g_signal_connect ( ( gpointer ) goto_tag_declaration1 , " activate " ,
2005-11-22 12:26:26 +00:00
G_CALLBACK ( on_goto_tag_activate ) ,
NULL ) ;
2007-04-15 18:09:59 +00:00
g_signal_connect ( ( gpointer ) context_action1 , " activate " ,
G_CALLBACK ( on_context_action1_activate ) ,
NULL ) ;
2005-11-22 12:26:26 +00:00
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 " ) ;
2006-06-30 13:42:53 +00:00
GLADE_HOOKUP_OBJECT ( edit_menu1 , menu_select_all2 , " menu_select_all2 " ) ;
GLADE_HOOKUP_OBJECT ( edit_menu1 , separator26 , " separator26 " ) ;
2007-01-24 19:20:12 +00:00
GLADE_HOOKUP_OBJECT ( edit_menu1 , menu_open_selected_file2 , " menu_open_selected_file2 " ) ;
GLADE_HOOKUP_OBJECT ( edit_menu1 , separator36 , " separator36 " ) ;
2006-10-20 12:31:22 +00:00
GLADE_HOOKUP_OBJECT ( edit_menu1 , menu_format2 , " menu_format2 " ) ;
GLADE_HOOKUP_OBJECT ( edit_menu1 , menu_format2_menu , " menu_format2_menu " ) ;
GLADE_HOOKUP_OBJECT ( edit_menu1 , to_lower_case1 , " to_lower_case1 " ) ;
GLADE_HOOKUP_OBJECT ( edit_menu1 , to_upper_case1 , " to_upper_case1 " ) ;
GLADE_HOOKUP_OBJECT ( edit_menu1 , separator30 , " separator30 " ) ;
GLADE_HOOKUP_OBJECT ( edit_menu1 , menu_comment_line2 , " menu_comment_line2 " ) ;
GLADE_HOOKUP_OBJECT ( edit_menu1 , menu_uncomment_line2 , " menu_uncomment_line2 " ) ;
GLADE_HOOKUP_OBJECT ( edit_menu1 , menu_toggle_line_commentation2 , " menu_toggle_line_commentation2 " ) ;
GLADE_HOOKUP_OBJECT ( edit_menu1 , menu_duplicate_line2 , " menu_duplicate_line2 " ) ;
GLADE_HOOKUP_OBJECT ( edit_menu1 , separator31 , " separator31 " ) ;
GLADE_HOOKUP_OBJECT ( edit_menu1 , menu_increase_indent2 , " menu_increase_indent2 " ) ;
2007-04-15 18:09:59 +00:00
GLADE_HOOKUP_OBJECT ( edit_menu1 , image1693 , " image1693 " ) ;
2006-10-20 12:31:22 +00:00
GLADE_HOOKUP_OBJECT ( edit_menu1 , menu_decrease_indent2 , " menu_decrease_indent2 " ) ;
2007-04-15 18:09:59 +00:00
GLADE_HOOKUP_OBJECT ( edit_menu1 , image1694 , " image1694 " ) ;
2007-02-25 14:26:55 +00:00
GLADE_HOOKUP_OBJECT ( edit_menu1 , separator38 , " separator38 " ) ;
GLADE_HOOKUP_OBJECT ( edit_menu1 , send_selection_to1 , " send_selection_to1 " ) ;
GLADE_HOOKUP_OBJECT ( edit_menu1 , send_selection_to1_menu , " send_selection_to1_menu " ) ;
GLADE_HOOKUP_OBJECT ( edit_menu1 , invisible12 , " invisible12 " ) ;
2006-10-20 12:31:22 +00:00
GLADE_HOOKUP_OBJECT ( edit_menu1 , separator17 , " separator17 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( edit_menu1 , insert_include1 , " insert_include1 " ) ;
2007-04-15 18:09:59 +00:00
GLADE_HOOKUP_OBJECT ( edit_menu1 , image1695 , " image1695 " ) ;
2005-11-22 12:26:26 +00:00
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 " ) ;
2007-04-15 18:09:59 +00:00
GLADE_HOOKUP_OBJECT ( edit_menu1 , image1696 , " image1696 " ) ;
2005-11-22 12:26:26 +00:00
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 " ) ;
2007-01-06 15:38:44 +00:00
GLADE_HOOKUP_OBJECT ( edit_menu1 , insert_bsd_license_notice1 , " insert_bsd_license_notice1 " ) ;
2006-08-19 12:56:30 +00:00
GLADE_HOOKUP_OBJECT ( edit_menu1 , insert_date2 , " insert_date2 " ) ;
2007-04-15 18:09:59 +00:00
GLADE_HOOKUP_OBJECT ( edit_menu1 , image1697 , " image1697 " ) ;
2006-08-19 12:56:30 +00:00
GLADE_HOOKUP_OBJECT ( edit_menu1 , insert_date2_menu , " insert_date2_menu " ) ;
GLADE_HOOKUP_OBJECT ( edit_menu1 , invisible10 , " invisible10 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( edit_menu1 , separator7 , " separator7 " ) ;
GLADE_HOOKUP_OBJECT ( edit_menu1 , find_usage1 , " find_usage1 " ) ;
2007-04-15 18:09:59 +00:00
GLADE_HOOKUP_OBJECT ( edit_menu1 , image1698 , " image1698 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( edit_menu1 , goto_tag_definition1 , " goto_tag_definition1 " ) ;
2006-06-18 16:18:05 +00:00
GLADE_HOOKUP_OBJECT ( edit_menu1 , goto_tag_declaration1 , " goto_tag_declaration1 " ) ;
2007-04-15 18:09:59 +00:00
GLADE_HOOKUP_OBJECT ( edit_menu1 , context_action1 , " context_action1 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( edit_menu1 , separator15 , " separator15 " ) ;
GLADE_HOOKUP_OBJECT ( edit_menu1 , go_to_line , " go_to_line " ) ;
2007-04-15 18:09:59 +00:00
GLADE_HOOKUP_OBJECT ( edit_menu1 , image1699 , " image1699 " ) ;
2005-11-22 12:26:26 +00:00
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 ;
2006-11-18 15:47:28 +00:00
GtkWidget * vbox20 ;
2006-07-02 16:21:35 +00:00
GtkWidget * frame10 ;
GtkWidget * alignment13 ;
2005-11-22 12:26:26 +00:00
GtkWidget * vbox4 ;
GtkWidget * check_load_session ;
GtkWidget * check_save_win_pos ;
2006-05-22 00:25:19 +00:00
GtkWidget * check_vte ;
2005-11-22 12:26:26 +00:00
GtkWidget * check_ask_for_quit ;
2006-07-02 16:21:35 +00:00
GtkWidget * label162 ;
2006-11-18 15:47:28 +00:00
GtkWidget * frame19 ;
GtkWidget * alignment22 ;
GtkWidget * vbox21 ;
GtkWidget * check_beep ;
GtkWidget * check_switch_pages ;
GtkWidget * check_ask_suppress_search_dialogs ;
GtkWidget * label178 ;
2007-04-15 18:09:59 +00:00
GtkWidget * frame24 ;
GtkWidget * alignment27 ;
GtkWidget * hbox8 ;
GtkWidget * label189 ;
GtkWidget * entry_contextaction ;
GtkWidget * label188 ;
2007-04-29 16:36:42 +00:00
GtkWidget * frame25 ;
GtkWidget * alignment28 ;
GtkWidget * table11 ;
GtkWidget * label191 ;
2007-05-23 13:44:25 +00:00
GtkWidget * startup_path_entry ;
GtkWidget * startup_path_button ;
GtkWidget * image1741 ;
GtkWidget * label192 ;
2007-04-29 16:36:42 +00:00
GtkWidget * project_file_path_entry ;
GtkWidget * project_file_path_button ;
2007-05-23 13:44:25 +00:00
GtkWidget * image1775 ;
2007-04-29 16:36:42 +00:00
GtkWidget * label190 ;
2006-07-02 16:21:35 +00:00
GtkWidget * label94 ;
GtkWidget * vbox14 ;
2005-12-11 02:16:02 +00:00
GtkWidget * frame7 ;
GtkWidget * alignment9 ;
GtkWidget * vbox11 ;
GtkWidget * check_list_symbol ;
GtkWidget * check_list_openfiles ;
GtkWidget * label146 ;
2005-11-22 12:26:26 +00:00
GtkWidget * frame4 ;
GtkWidget * alignment5 ;
GtkWidget * table2 ;
GtkWidget * label100 ;
GtkWidget * label101 ;
2006-11-18 15:47:28 +00:00
GtkWidget * label103 ;
2005-11-22 12:26:26 +00:00
GtkWidget * msgwin_font ;
GtkWidget * tagbar_font ;
2006-07-02 16:21:35 +00:00
GtkWidget * editor_font ;
2005-11-22 12:26:26 +00:00
GtkWidget * label99 ;
2006-07-02 16:21:35 +00:00
GtkWidget * frame9 ;
GtkWidget * alignment12 ;
GtkWidget * table8 ;
GtkWidget * label161 ;
2006-11-18 15:47:28 +00:00
GtkWidget * label160 ;
GtkWidget * label159 ;
GtkWidget * check_show_notebook_tabs ;
2006-07-02 16:21:35 +00:00
GtkWidget * combo_tab_msgwin ;
GtkWidget * combo_tab_sidebar ;
GtkWidget * combo_tab_editor ;
GtkWidget * label158 ;
2007-04-10 17:06:57 +00:00
GtkWidget * frame23 ;
GtkWidget * alignment26 ;
GtkWidget * vbox22 ;
GtkWidget * check_statusbar_visible ;
GtkWidget * label187 ;
2006-07-02 16:21:35 +00:00
GtkWidget * label157 ;
2006-07-11 14:15:56 +00:00
GtkWidget * vbox15 ;
GtkWidget * frame12 ;
GtkWidget * alignment15 ;
GtkWidget * check_toolbar_show ;
GtkWidget * label166 ;
GtkWidget * frame11 ;
GtkWidget * alignment14 ;
GtkWidget * vbox16 ;
2006-07-15 18:15:30 +00:00
GtkWidget * check_toolbar_fileops ;
2006-07-11 14:15:56 +00:00
GtkWidget * check_toolbar_compile ;
GtkWidget * check_toolbar_colour ;
GtkWidget * check_toolbar_zoom ;
GtkWidget * check_toolbar_undo ;
GtkWidget * check_toolbar_search ;
GtkWidget * check_toolbar_goto ;
2006-10-29 01:28:58 +00:00
GtkWidget * check_toolbar_quit ;
2006-07-11 14:15:56 +00:00
GtkWidget * label165 ;
GtkWidget * frame13 ;
GtkWidget * alignment16 ;
GtkWidget * table9 ;
2006-11-18 15:47:28 +00:00
GtkWidget * label169 ;
GtkWidget * label170 ;
2006-07-11 14:15:56 +00:00
GtkWidget * radio_toolbar_imagetext ;
GSList * radio_toolbar_imagetext_group = NULL ;
GtkWidget * radio_toolbar_small ;
2006-11-18 15:47:28 +00:00
GSList * radio_toolbar_small_group = NULL ;
GtkWidget * radio_toolbar_large ;
GtkWidget * radio_toolbar_text ;
GtkWidget * radio_toolbar_image ;
2006-07-11 14:15:56 +00:00
GtkWidget * label167 ;
GtkWidget * label164 ;
2006-11-18 15:47:28 +00:00
GtkWidget * vbox18 ;
2005-11-22 12:26:26 +00:00
GtkWidget * frame6 ;
GtkWidget * alignment7 ;
GtkWidget * vbox8 ;
2006-07-02 16:21:35 +00:00
GtkWidget * table5 ;
GtkWidget * label116 ;
2006-06-21 18:54:07 +00:00
GtkWidget * eventbox1 ;
GtkWidget * combo_encoding ;
2005-11-22 12:26:26 +00:00
GtkObject * spin_tab_width_adj ;
GtkWidget * spin_tab_width ;
2006-11-18 15:47:28 +00:00
GtkWidget * label153 ;
2005-11-22 12:26:26 +00:00
GtkWidget * label109 ;
GtkWidget * frame2 ;
GtkWidget * alignment3 ;
GtkWidget * vbox6 ;
GtkWidget * check_trailing_spaces ;
GtkWidget * check_new_line ;
2006-06-21 18:54:07 +00:00
GtkWidget * check_replace_tabs ;
2005-11-22 12:26:26 +00:00
GtkWidget * label19 ;
2006-11-18 15:47:28 +00:00
GtkWidget * frame17 ;
GtkWidget * alignment20 ;
GtkWidget * table10 ;
GtkWidget * label150 ;
GtkObject * spin_mru_adj ;
GtkWidget * spin_mru ;
GtkWidget * hbox3 ;
GtkWidget * radio_tab_left ;
GSList * radio_tab_left_group = NULL ;
GtkWidget * radio_tab_right ;
GtkWidget * label147 ;
GtkWidget * label176 ;
GtkWidget * label174 ;
GtkWidget * vbox5 ;
2005-11-22 12:26:26 +00:00
GtkWidget * frame5 ;
GtkWidget * alignment6 ;
2006-02-14 22:07:55 +00:00
GtkWidget * vbox12 ;
2006-12-13 16:51:09 +00:00
GtkWidget * checkbutton1 ;
2006-02-14 22:07:55 +00:00
GtkWidget * check_indent ;
GtkWidget * check_white_space ;
GtkWidget * check_line_end ;
2006-08-01 10:06:28 +00:00
GtkWidget * label102 ;
2006-11-18 15:47:28 +00:00
GtkWidget * frame8 ;
GtkWidget * alignment11 ;
GtkWidget * table7 ;
GtkWidget * label133 ;
GtkWidget * label134 ;
GtkWidget * label156 ;
GtkWidget * long_line_color ;
GtkObject * spin_long_line_adj ;
GtkWidget * spin_long_line ;
GtkWidget * hbox5 ;
GtkWidget * radio_long_line_line ;
GSList * radio_long_line_line_group = NULL ;
GtkWidget * radio_long_line_background ;
GtkWidget * radio_long_line_disabled ;
GtkWidget * label155 ;
2006-08-01 10:06:28 +00:00
GtkWidget * frame14 ;
GtkWidget * alignment17 ;
GtkWidget * vbox17 ;
2007-03-08 18:02:08 +00:00
GtkWidget * hbox7 ;
GtkWidget * label183 ;
GtkWidget * eventbox2 ;
GtkWidget * combo_auto_indent_mode ;
2006-08-01 10:06:28 +00:00
GtkWidget * check_line_wrapping ;
2006-02-26 18:19:28 +00:00
GtkWidget * check_folding ;
2006-12-03 22:33:46 +00:00
GtkWidget * check_unfold_children ;
2006-06-13 19:37:21 +00:00
GtkWidget * check_indicators ;
2007-01-13 20:50:36 +00:00
GtkWidget * check_disable_dnd ;
2007-01-14 17:09:17 +00:00
GtkWidget * check_use_tabs ;
2006-11-18 15:47:28 +00:00
GtkWidget * label172 ;
GtkWidget * frame18 ;
GtkWidget * alignment21 ;
GtkWidget * vbox19 ;
GtkWidget * check_auto_complete ;
GtkWidget * check_xmltag ;
2007-01-26 10:43:25 +00:00
GtkWidget * check_symbol_auto_completion ;
2006-08-13 15:04:30 +00:00
GtkWidget * hbox6 ;
2007-01-26 10:43:25 +00:00
GtkWidget * label182 ;
2006-08-13 15:04:30 +00:00
GtkWidget * label173 ;
GtkObject * spin_autocheight_adj ;
GtkWidget * spin_autocheight ;
2006-11-18 15:47:28 +00:00
GtkWidget * label177 ;
2005-11-22 12:26:26 +00:00
GtkWidget * label95 ;
2006-11-18 16:52:23 +00:00
GtkWidget * frame20 ;
GtkWidget * alignment23 ;
2005-11-22 12:26:26 +00:00
GtkWidget * vbox2 ;
GtkWidget * label17 ;
GtkWidget * table1 ;
GtkWidget * label11 ;
2006-05-19 17:18:06 +00:00
GtkWidget * label97 ;
2005-11-22 12:26:26 +00:00
GtkWidget * label117 ;
2006-05-19 17:18:06 +00:00
GtkWidget * entry_com_make ;
GtkWidget * entry_com_term ;
2005-11-22 12:26:26 +00:00
GtkWidget * entry_browser ;
GtkWidget * button_make ;
GtkWidget * image285 ;
GtkWidget * button_term ;
GtkWidget * image286 ;
GtkWidget * button_browser ;
GtkWidget * image287 ;
2006-06-29 17:14:52 +00:00
GtkWidget * label154 ;
GtkWidget * entry_print ;
GtkWidget * button_print ;
GtkWidget * image763 ;
2006-07-13 14:30:44 +00:00
GtkWidget * label171 ;
GtkWidget * entry_grep ;
GtkWidget * button_grep ;
GtkWidget * image808 ;
2006-11-18 16:52:23 +00:00
GtkWidget * label179 ;
2005-11-22 12:26:26 +00:00
GtkWidget * label96 ;
2006-11-18 16:52:23 +00:00
GtkWidget * frame21 ;
GtkWidget * alignment24 ;
2005-11-22 12:26:26 +00:00
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 ;
2006-11-18 16:52:23 +00:00
GtkWidget * label180 ;
2005-11-22 12:26:26 +00:00
GtkWidget * label119 ;
2006-11-18 16:52:23 +00:00
GtkWidget * frame22 ;
GtkWidget * alignment25 ;
2006-05-19 17:18:06 +00:00
GtkWidget * vbox13 ;
GtkWidget * label152 ;
GtkWidget * scrolledwindow8 ;
GtkWidget * treeview7 ;
GtkWidget * alignment10 ;
GtkWidget * button2 ;
2006-11-18 16:52:23 +00:00
GtkWidget * label181 ;
2006-05-19 17:18:06 +00:00
GtkWidget * label151 ;
2005-11-22 12:26:26 +00:00
GtkWidget * dialog_action_area3 ;
2006-10-29 01:28:58 +00:00
GtkWidget * button3 ;
GtkWidget * button4 ;
GtkWidget * button5 ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-08-01 10:06:28 +00:00
gtk_box_pack_start ( GTK_BOX ( dialog_vbox3 ) , notebook2 , TRUE , TRUE , 6 ) ;
2005-11-22 12:26:26 +00:00
GTK_WIDGET_UNSET_FLAGS ( notebook2 , GTK_CAN_FOCUS ) ;
2006-07-11 14:15:56 +00:00
gtk_notebook_set_tab_pos ( GTK_NOTEBOOK ( notebook2 ) , GTK_POS_LEFT ) ;
2005-11-22 12:26:26 +00:00
2006-11-18 15:47:28 +00:00
vbox20 = gtk_vbox_new ( FALSE , 10 ) ;
gtk_widget_show ( vbox20 ) ;
gtk_container_add ( GTK_CONTAINER ( notebook2 ) , vbox20 ) ;
2006-07-02 16:21:35 +00:00
frame10 = gtk_frame_new ( NULL ) ;
gtk_widget_show ( frame10 ) ;
2006-11-18 15:47:28 +00:00
gtk_box_pack_start ( GTK_BOX ( vbox20 ) , frame10 , FALSE , TRUE , 0 ) ;
2006-07-02 16:21:35 +00:00
gtk_frame_set_shadow_type ( GTK_FRAME ( frame10 ) , GTK_SHADOW_NONE ) ;
2005-11-22 12:26:26 +00:00
2006-07-02 16:21:35 +00:00
alignment13 = gtk_alignment_new ( 0.5 , 0.5 , 1 , 1 ) ;
gtk_widget_show ( alignment13 ) ;
gtk_container_add ( GTK_CONTAINER ( frame10 ) , alignment13 ) ;
gtk_alignment_set_padding ( GTK_ALIGNMENT ( alignment13 ) , 0 , 0 , 12 , 0 ) ;
2005-11-22 12:26:26 +00:00
2006-07-02 16:21:35 +00:00
vbox4 = gtk_vbox_new ( FALSE , 2 ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( vbox4 ) ;
2006-07-02 16:21:35 +00:00
gtk_container_add ( GTK_CONTAINER ( alignment13 ) , vbox4 ) ;
2005-12-12 02:23:51 +00:00
2005-11-22 12:26:26 +00:00
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 ) ;
2006-05-22 00:25:19 +00:00
check_vte = gtk_check_button_new_with_mnemonic ( _ ( " Load virtual terminal emulation at startup " ) ) ;
gtk_box_pack_start ( GTK_BOX ( vbox4 ) , check_vte , FALSE , FALSE , 0 ) ;
gtk_tooltips_set_tip ( tooltips , check_vte , _ ( " Whether the virtual terminal emulation(VTE) should be loaded at startup. Disable it if you do not need it. " ) , NULL ) ;
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_vte ) , FALSE ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2005-11-24 22:28:45 +00:00
gtk_tooltips_set_tip ( tooltips , check_ask_for_quit , _ ( " Shows a confirmation dialog on exit. " ) , NULL ) ;
2005-11-22 12:26:26 +00:00
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_ask_for_quit ) , FALSE ) ;
2006-11-18 15:47:28 +00:00
label162 = gtk_label_new ( _ ( " <b>Startup and shutdown</b> " ) ) ;
gtk_widget_show ( label162 ) ;
gtk_frame_set_label_widget ( GTK_FRAME ( frame10 ) , label162 ) ;
gtk_label_set_use_markup ( GTK_LABEL ( label162 ) , TRUE ) ;
2006-04-27 17:56:31 +00:00
2006-11-18 15:47:28 +00:00
frame19 = gtk_frame_new ( NULL ) ;
gtk_widget_show ( frame19 ) ;
gtk_box_pack_start ( GTK_BOX ( vbox20 ) , frame19 , FALSE , TRUE , 0 ) ;
gtk_frame_set_shadow_type ( GTK_FRAME ( frame19 ) , GTK_SHADOW_NONE ) ;
2006-04-27 17:56:31 +00:00
2006-11-18 15:47:28 +00:00
alignment22 = gtk_alignment_new ( 0.5 , 0.5 , 1 , 1 ) ;
gtk_widget_show ( alignment22 ) ;
gtk_container_add ( GTK_CONTAINER ( frame19 ) , alignment22 ) ;
gtk_alignment_set_padding ( GTK_ALIGNMENT ( alignment22 ) , 0 , 0 , 12 , 0 ) ;
2006-04-27 17:56:31 +00:00
2006-11-18 15:47:28 +00:00
vbox21 = gtk_vbox_new ( FALSE , 0 ) ;
gtk_widget_show ( vbox21 ) ;
gtk_container_add ( GTK_CONTAINER ( alignment22 ) , vbox21 ) ;
2006-10-29 01:28:58 +00:00
2006-11-18 15:47:28 +00:00
check_beep = gtk_check_button_new_with_mnemonic ( _ ( " Beep on errors or when compilation has finished " ) ) ;
gtk_widget_show ( check_beep ) ;
gtk_box_pack_start ( GTK_BOX ( vbox21 ) , check_beep , FALSE , FALSE , 0 ) ;
gtk_tooltips_set_tip ( tooltips , check_beep , _ ( " Whether to beep if an error occured or when the compilation process has finished. " ) , NULL ) ;
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_beep ) , FALSE ) ;
2006-10-29 01:28:58 +00:00
2006-11-18 15:47:28 +00:00
check_switch_pages = gtk_check_button_new_with_mnemonic ( _ ( " Switch to status message list at new message " ) ) ;
gtk_widget_show ( check_switch_pages ) ;
gtk_box_pack_start ( GTK_BOX ( vbox21 ) , check_switch_pages , FALSE , FALSE , 0 ) ;
gtk_tooltips_set_tip ( tooltips , check_switch_pages , _ ( " Switch to the status message tab (in the notebook window at the bottom) if a new status message arrives. " ) , NULL ) ;
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_switch_pages ) , FALSE ) ;
2006-10-29 01:28:58 +00:00
2006-11-18 15:47:28 +00:00
check_ask_suppress_search_dialogs = gtk_check_button_new_with_mnemonic ( _ ( " Always wrap search and hide the Find dialog " ) ) ;
gtk_widget_show ( check_ask_suppress_search_dialogs ) ;
gtk_box_pack_start ( GTK_BOX ( vbox21 ) , check_ask_suppress_search_dialogs , FALSE , FALSE , 0 ) ;
GTK_WIDGET_UNSET_FLAGS ( check_ask_suppress_search_dialogs , GTK_CAN_FOCUS ) ;
gtk_tooltips_set_tip ( tooltips , check_ask_suppress_search_dialogs , _ ( " Always wrap search around the document and hide the Find dialog after clicking Find Next/Previous " ) , NULL ) ;
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_ask_suppress_search_dialogs ) , FALSE ) ;
2006-10-29 01:28:58 +00:00
2006-11-18 15:47:28 +00:00
label178 = gtk_label_new ( _ ( " <b>Behaviour</b> " ) ) ;
gtk_widget_show ( label178 ) ;
gtk_frame_set_label_widget ( GTK_FRAME ( frame19 ) , label178 ) ;
gtk_label_set_use_markup ( GTK_LABEL ( label178 ) , TRUE ) ;
2005-11-22 12:26:26 +00:00
2007-04-15 18:09:59 +00:00
frame24 = gtk_frame_new ( NULL ) ;
gtk_widget_show ( frame24 ) ;
gtk_box_pack_start ( GTK_BOX ( vbox20 ) , frame24 , FALSE , TRUE , 0 ) ;
gtk_frame_set_shadow_type ( GTK_FRAME ( frame24 ) , GTK_SHADOW_NONE ) ;
alignment27 = gtk_alignment_new ( 0.5 , 0.5 , 1 , 1 ) ;
gtk_widget_show ( alignment27 ) ;
gtk_container_add ( GTK_CONTAINER ( frame24 ) , alignment27 ) ;
gtk_alignment_set_padding ( GTK_ALIGNMENT ( alignment27 ) , 0 , 0 , 12 , 0 ) ;
hbox8 = gtk_hbox_new ( FALSE , 0 ) ;
gtk_widget_show ( hbox8 ) ;
gtk_container_add ( GTK_CONTAINER ( alignment27 ) , hbox8 ) ;
label189 = gtk_label_new ( _ ( " Context Action command: " ) ) ;
gtk_widget_show ( label189 ) ;
2007-04-29 16:36:42 +00:00
gtk_box_pack_start ( GTK_BOX ( hbox8 ) , label189 , FALSE , FALSE , 6 ) ;
2007-04-15 18:09:59 +00:00
entry_contextaction = gtk_entry_new ( ) ;
gtk_widget_show ( entry_contextaction ) ;
gtk_box_pack_start ( GTK_BOX ( hbox8 ) , entry_contextaction , TRUE , TRUE , 0 ) ;
gtk_tooltips_set_tip ( tooltips , entry_contextaction , _ ( " Context action command. The current selected word can be used with %s. It can be everywhere in the given command and will be replaced before execution. " ) , NULL ) ;
gtk_entry_set_invisible_char ( GTK_ENTRY ( entry_contextaction ) , 9679 ) ;
label188 = gtk_label_new ( _ ( " <b>Context Action</b> " ) ) ;
gtk_widget_show ( label188 ) ;
gtk_frame_set_label_widget ( GTK_FRAME ( frame24 ) , label188 ) ;
gtk_label_set_use_markup ( GTK_LABEL ( label188 ) , TRUE ) ;
2007-04-29 16:36:42 +00:00
frame25 = gtk_frame_new ( NULL ) ;
gtk_widget_show ( frame25 ) ;
gtk_box_pack_start ( GTK_BOX ( vbox20 ) , frame25 , TRUE , TRUE , 0 ) ;
gtk_frame_set_shadow_type ( GTK_FRAME ( frame25 ) , GTK_SHADOW_NONE ) ;
alignment28 = gtk_alignment_new ( 0.5 , 0.5 , 1 , 1 ) ;
gtk_widget_show ( alignment28 ) ;
gtk_container_add ( GTK_CONTAINER ( frame25 ) , alignment28 ) ;
gtk_alignment_set_padding ( GTK_ALIGNMENT ( alignment28 ) , 0 , 0 , 12 , 0 ) ;
2007-05-23 13:44:25 +00:00
table11 = gtk_table_new ( 2 , 3 , FALSE ) ;
2007-04-29 16:36:42 +00:00
gtk_widget_show ( table11 ) ;
gtk_container_add ( GTK_CONTAINER ( alignment28 ) , table11 ) ;
gtk_table_set_col_spacings ( GTK_TABLE ( table11 ) , 6 ) ;
2007-05-23 13:44:25 +00:00
label191 = gtk_label_new ( _ ( " Startup path: " ) ) ;
2007-04-29 16:36:42 +00:00
gtk_widget_show ( label191 ) ;
gtk_table_attach ( GTK_TABLE ( table11 ) , label191 , 0 , 1 , 0 , 1 ,
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
gtk_misc_set_alignment ( GTK_MISC ( label191 ) , 0 , 0.5 ) ;
gtk_misc_set_padding ( GTK_MISC ( label191 ) , 6 , 0 ) ;
2007-05-23 13:44:25 +00:00
startup_path_entry = gtk_entry_new ( ) ;
gtk_widget_show ( startup_path_entry ) ;
gtk_table_attach ( GTK_TABLE ( table11 ) , startup_path_entry , 1 , 2 , 0 , 1 ,
( GtkAttachOptions ) ( GTK_EXPAND | GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
gtk_tooltips_set_tip ( tooltips , startup_path_entry , _ ( " Path to start when opening or saving files. Must be an absolute path. Leave blank to use the current working directory. " ) , NULL ) ;
gtk_entry_set_invisible_char ( GTK_ENTRY ( startup_path_entry ) , 8226 ) ;
startup_path_button = gtk_button_new ( ) ;
gtk_widget_show ( startup_path_button ) ;
gtk_table_attach ( GTK_TABLE ( table11 ) , startup_path_button , 2 , 3 , 0 , 1 ,
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
image1741 = gtk_image_new_from_stock ( " gtk-open " , GTK_ICON_SIZE_BUTTON ) ;
gtk_widget_show ( image1741 ) ;
gtk_container_add ( GTK_CONTAINER ( startup_path_button ) , image1741 ) ;
label192 = gtk_label_new ( _ ( " Project files: " ) ) ;
gtk_widget_show ( label192 ) ;
gtk_table_attach ( GTK_TABLE ( table11 ) , label192 , 0 , 1 , 1 , 2 ,
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
gtk_misc_set_alignment ( GTK_MISC ( label192 ) , 0 , 0.5 ) ;
gtk_misc_set_padding ( GTK_MISC ( label192 ) , 6 , 0 ) ;
2007-04-29 16:36:42 +00:00
project_file_path_entry = gtk_entry_new ( ) ;
gtk_widget_show ( project_file_path_entry ) ;
2007-05-23 13:44:25 +00:00
gtk_table_attach ( GTK_TABLE ( table11 ) , project_file_path_entry , 1 , 2 , 1 , 2 ,
2007-04-29 16:36:42 +00:00
( GtkAttachOptions ) ( GTK_EXPAND | GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
gtk_tooltips_set_tip ( tooltips , project_file_path_entry , _ ( " Path to start in when opening project files " ) , NULL ) ;
gtk_entry_set_invisible_char ( GTK_ENTRY ( project_file_path_entry ) , 8226 ) ;
project_file_path_button = gtk_button_new ( ) ;
gtk_widget_show ( project_file_path_button ) ;
2007-05-23 13:44:25 +00:00
gtk_table_attach ( GTK_TABLE ( table11 ) , project_file_path_button , 2 , 3 , 1 , 2 ,
2007-04-29 16:36:42 +00:00
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
2007-05-23 13:44:25 +00:00
image1775 = gtk_image_new_from_stock ( " gtk-open " , GTK_ICON_SIZE_BUTTON ) ;
gtk_widget_show ( image1775 ) ;
gtk_container_add ( GTK_CONTAINER ( project_file_path_button ) , image1775 ) ;
2007-04-29 16:36:42 +00:00
label190 = gtk_label_new ( _ ( " <b>Paths</b> " ) ) ;
gtk_widget_show ( label190 ) ;
gtk_frame_set_label_widget ( GTK_FRAME ( frame25 ) , label190 ) ;
gtk_label_set_use_markup ( GTK_LABEL ( label190 ) , TRUE ) ;
2006-07-02 16:21:35 +00:00
label94 = gtk_label_new ( _ ( " General " ) ) ;
gtk_widget_show ( label94 ) ;
gtk_notebook_set_tab_label ( GTK_NOTEBOOK ( notebook2 ) , gtk_notebook_get_nth_page ( GTK_NOTEBOOK ( notebook2 ) , 0 ) , label94 ) ;
vbox14 = gtk_vbox_new ( FALSE , 10 ) ;
gtk_widget_show ( vbox14 ) ;
gtk_container_add ( GTK_CONTAINER ( notebook2 ) , vbox14 ) ;
2005-11-22 12:26:26 +00:00
2005-12-11 02:16:02 +00:00
frame7 = gtk_frame_new ( NULL ) ;
gtk_widget_show ( frame7 ) ;
2006-11-18 15:47:28 +00:00
gtk_box_pack_start ( GTK_BOX ( vbox14 ) , frame7 , FALSE , TRUE , 0 ) ;
2005-12-11 02:16:02 +00:00
gtk_frame_set_shadow_type ( GTK_FRAME ( frame7 ) , GTK_SHADOW_NONE ) ;
alignment9 = gtk_alignment_new ( 0.5 , 0.5 , 1 , 1 ) ;
gtk_widget_show ( alignment9 ) ;
gtk_container_add ( GTK_CONTAINER ( frame7 ) , alignment9 ) ;
gtk_alignment_set_padding ( GTK_ALIGNMENT ( alignment9 ) , 0 , 0 , 12 , 0 ) ;
vbox11 = gtk_vbox_new ( FALSE , 0 ) ;
gtk_widget_show ( vbox11 ) ;
gtk_container_add ( GTK_CONTAINER ( alignment9 ) , vbox11 ) ;
check_list_symbol = gtk_check_button_new_with_mnemonic ( _ ( " Show symbol list " ) ) ;
gtk_widget_show ( check_list_symbol ) ;
gtk_box_pack_start ( GTK_BOX ( vbox11 ) , check_list_symbol , FALSE , FALSE , 0 ) ;
gtk_tooltips_set_tip ( tooltips , check_list_symbol , _ ( " Toggle the symbol list on and off " ) , NULL ) ;
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_list_symbol ) , FALSE ) ;
check_list_openfiles = gtk_check_button_new_with_mnemonic ( _ ( " Show open files list " ) ) ;
gtk_widget_show ( check_list_openfiles ) ;
gtk_box_pack_start ( GTK_BOX ( vbox11 ) , check_list_openfiles , FALSE , FALSE , 0 ) ;
2007-03-08 12:42:59 +00:00
gtk_tooltips_set_tip ( tooltips , check_list_openfiles , _ ( " Toggle the open files list on and off " ) , NULL ) ;
2005-12-11 02:16:02 +00:00
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_list_openfiles ) , FALSE ) ;
2006-04-27 17:56:31 +00:00
label146 = gtk_label_new ( _ ( " <b>Sidebar</b> " ) ) ;
2005-12-11 02:16:02 +00:00
gtk_widget_show ( label146 ) ;
gtk_frame_set_label_widget ( GTK_FRAME ( frame7 ) , label146 ) ;
gtk_label_set_use_markup ( GTK_LABEL ( label146 ) , TRUE ) ;
2005-11-22 12:26:26 +00:00
frame4 = gtk_frame_new ( NULL ) ;
gtk_widget_show ( frame4 ) ;
2006-11-18 15:47:28 +00:00
gtk_box_pack_start ( GTK_BOX ( vbox14 ) , frame4 , FALSE , TRUE , 0 ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2005-12-11 02:16:02 +00:00
gtk_alignment_set_padding ( GTK_ALIGNMENT ( alignment5 ) , 0 , 0 , 12 , 6 ) ;
2005-11-22 12:26:26 +00:00
2006-07-02 16:21:35 +00:00
table2 = gtk_table_new ( 3 , 2 , FALSE ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-11-18 15:47:28 +00:00
label100 = gtk_label_new ( _ ( " Symbol list: " ) ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( label100 ) ;
2006-11-18 15:47:28 +00:00
gtk_table_attach ( GTK_TABLE ( table2 ) , label100 , 0 , 1 , 1 , 2 ,
2005-11-22 12:26:26 +00:00
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
gtk_misc_set_alignment ( GTK_MISC ( label100 ) , 0 , 0.5 ) ;
2006-11-18 15:47:28 +00:00
label101 = gtk_label_new ( _ ( " Message window: " ) ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( label101 ) ;
2006-11-18 15:47:28 +00:00
gtk_table_attach ( GTK_TABLE ( table2 ) , label101 , 0 , 1 , 2 , 3 ,
2005-11-22 12:26:26 +00:00
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
gtk_misc_set_alignment ( GTK_MISC ( label101 ) , 0 , 0.5 ) ;
2006-11-18 15:47:28 +00:00
label103 = gtk_label_new ( _ ( " Editor: " ) ) ;
gtk_widget_show ( label103 ) ;
gtk_table_attach ( GTK_TABLE ( table2 ) , label103 , 0 , 1 , 0 , 1 ,
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
gtk_misc_set_alignment ( GTK_MISC ( label103 ) , 0 , 0.5 ) ;
2005-11-22 12:26:26 +00:00
msgwin_font = gtk_font_button_new ( ) ;
gtk_widget_show ( msgwin_font ) ;
2006-11-18 15:47:28 +00:00
gtk_table_attach ( GTK_TABLE ( table2 ) , msgwin_font , 1 , 2 , 2 , 3 ,
2005-11-22 12:26:26 +00:00
( 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 ) ;
2006-11-18 15:47:28 +00:00
gtk_table_attach ( GTK_TABLE ( table2 ) , tagbar_font , 1 , 2 , 1 , 2 ,
2005-11-22 12:26:26 +00:00
( GtkAttachOptions ) ( GTK_EXPAND | GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
2006-11-18 15:47:28 +00:00
gtk_tooltips_set_tip ( tooltips , tagbar_font , _ ( " Sets the font for the symbol list " ) , NULL ) ;
2005-11-22 12:26:26 +00:00
gtk_font_button_set_show_style ( GTK_FONT_BUTTON ( tagbar_font ) , FALSE ) ;
2006-07-02 16:21:35 +00:00
editor_font = gtk_font_button_new ( ) ;
gtk_widget_show ( editor_font ) ;
2006-11-18 15:47:28 +00:00
gtk_table_attach ( GTK_TABLE ( table2 ) , editor_font , 1 , 2 , 0 , 1 ,
2006-07-02 16:21:35 +00:00
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
2006-11-18 15:47:28 +00:00
gtk_tooltips_set_tip ( tooltips , editor_font , _ ( " Sets the editor font " ) , NULL ) ;
2006-07-02 16:21:35 +00:00
2005-11-22 12:26:26 +00:00
label99 = gtk_label_new ( _ ( " <b>Fonts</b> " ) ) ;
gtk_widget_show ( label99 ) ;
gtk_frame_set_label_widget ( GTK_FRAME ( frame4 ) , label99 ) ;
gtk_label_set_use_markup ( GTK_LABEL ( label99 ) , TRUE ) ;
2006-07-02 16:21:35 +00:00
frame9 = gtk_frame_new ( NULL ) ;
gtk_widget_show ( frame9 ) ;
2006-11-18 15:47:28 +00:00
gtk_box_pack_start ( GTK_BOX ( vbox14 ) , frame9 , FALSE , TRUE , 0 ) ;
2006-07-02 16:21:35 +00:00
gtk_frame_set_shadow_type ( GTK_FRAME ( frame9 ) , GTK_SHADOW_NONE ) ;
alignment12 = gtk_alignment_new ( 0.5 , 0.5 , 1 , 1 ) ;
gtk_widget_show ( alignment12 ) ;
gtk_container_add ( GTK_CONTAINER ( frame9 ) , alignment12 ) ;
gtk_alignment_set_padding ( GTK_ALIGNMENT ( alignment12 ) , 0 , 0 , 12 , 0 ) ;
2006-11-18 15:47:28 +00:00
table8 = gtk_table_new ( 4 , 2 , FALSE ) ;
2006-07-02 16:21:35 +00:00
gtk_widget_show ( table8 ) ;
gtk_container_add ( GTK_CONTAINER ( alignment12 ) , table8 ) ;
gtk_table_set_row_spacings ( GTK_TABLE ( table8 ) , 3 ) ;
gtk_table_set_col_spacings ( GTK_TABLE ( table8 ) , 25 ) ;
2006-11-18 15:47:28 +00:00
label161 = gtk_label_new ( _ ( " Sidebar: " ) ) ;
gtk_widget_show ( label161 ) ;
gtk_table_attach ( GTK_TABLE ( table8 ) , label161 , 0 , 1 , 2 , 3 ,
2006-07-02 16:21:35 +00:00
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
2006-11-18 15:47:28 +00:00
gtk_misc_set_alignment ( GTK_MISC ( label161 ) , 0 , 0.5 ) ;
2006-07-02 16:21:35 +00:00
2006-11-18 15:47:28 +00:00
label160 = gtk_label_new ( _ ( " Message window: " ) ) ;
2006-07-02 16:21:35 +00:00
gtk_widget_show ( label160 ) ;
2006-11-18 15:47:28 +00:00
gtk_table_attach ( GTK_TABLE ( table8 ) , label160 , 0 , 1 , 3 , 4 ,
2006-07-02 16:21:35 +00:00
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
gtk_misc_set_alignment ( GTK_MISC ( label160 ) , 0 , 0.5 ) ;
2006-11-18 15:47:28 +00:00
label159 = gtk_label_new ( _ ( " Editor: " ) ) ;
gtk_widget_show ( label159 ) ;
gtk_table_attach ( GTK_TABLE ( table8 ) , label159 , 0 , 1 , 1 , 2 ,
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
gtk_misc_set_alignment ( GTK_MISC ( label159 ) , 0 , 0.5 ) ;
check_show_notebook_tabs = gtk_check_button_new_with_mnemonic ( _ ( " Show editor tabs " ) ) ;
gtk_widget_show ( check_show_notebook_tabs ) ;
gtk_table_attach ( GTK_TABLE ( table8 ) , check_show_notebook_tabs , 0 , 2 , 0 , 1 ,
2006-07-02 16:21:35 +00:00
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
combo_tab_msgwin = gtk_combo_box_new_text ( ) ;
gtk_widget_show ( combo_tab_msgwin ) ;
2006-11-18 15:47:28 +00:00
gtk_table_attach ( GTK_TABLE ( table8 ) , combo_tab_msgwin , 1 , 2 , 3 , 4 ,
2006-07-02 16:21:35 +00:00
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( GTK_FILL ) , 0 , 0 ) ;
gtk_combo_box_append_text ( GTK_COMBO_BOX ( combo_tab_msgwin ) , _ ( " Left " ) ) ;
gtk_combo_box_append_text ( GTK_COMBO_BOX ( combo_tab_msgwin ) , _ ( " Right " ) ) ;
gtk_combo_box_append_text ( GTK_COMBO_BOX ( combo_tab_msgwin ) , _ ( " Top " ) ) ;
gtk_combo_box_append_text ( GTK_COMBO_BOX ( combo_tab_msgwin ) , _ ( " Bottom " ) ) ;
combo_tab_sidebar = gtk_combo_box_new_text ( ) ;
gtk_widget_show ( combo_tab_sidebar ) ;
gtk_table_attach ( GTK_TABLE ( table8 ) , combo_tab_sidebar , 1 , 2 , 2 , 3 ,
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( GTK_FILL ) , 0 , 0 ) ;
gtk_combo_box_append_text ( GTK_COMBO_BOX ( combo_tab_sidebar ) , _ ( " Left " ) ) ;
gtk_combo_box_append_text ( GTK_COMBO_BOX ( combo_tab_sidebar ) , _ ( " Right " ) ) ;
gtk_combo_box_append_text ( GTK_COMBO_BOX ( combo_tab_sidebar ) , _ ( " Top " ) ) ;
gtk_combo_box_append_text ( GTK_COMBO_BOX ( combo_tab_sidebar ) , _ ( " Bottom " ) ) ;
combo_tab_editor = gtk_combo_box_new_text ( ) ;
gtk_widget_show ( combo_tab_editor ) ;
2006-11-18 15:47:28 +00:00
gtk_table_attach ( GTK_TABLE ( table8 ) , combo_tab_editor , 1 , 2 , 1 , 2 ,
2006-07-02 16:21:35 +00:00
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( GTK_FILL ) , 0 , 0 ) ;
gtk_combo_box_append_text ( GTK_COMBO_BOX ( combo_tab_editor ) , _ ( " Left " ) ) ;
gtk_combo_box_append_text ( GTK_COMBO_BOX ( combo_tab_editor ) , _ ( " Right " ) ) ;
gtk_combo_box_append_text ( GTK_COMBO_BOX ( combo_tab_editor ) , _ ( " Top " ) ) ;
gtk_combo_box_append_text ( GTK_COMBO_BOX ( combo_tab_editor ) , _ ( " Bottom " ) ) ;
label158 = gtk_label_new ( _ ( " <b>Tab placement</b> " ) ) ;
gtk_widget_show ( label158 ) ;
gtk_frame_set_label_widget ( GTK_FRAME ( frame9 ) , label158 ) ;
gtk_label_set_use_markup ( GTK_LABEL ( label158 ) , TRUE ) ;
2007-04-10 17:06:57 +00:00
frame23 = gtk_frame_new ( NULL ) ;
gtk_widget_show ( frame23 ) ;
gtk_box_pack_start ( GTK_BOX ( vbox14 ) , frame23 , TRUE , TRUE , 0 ) ;
gtk_frame_set_shadow_type ( GTK_FRAME ( frame23 ) , GTK_SHADOW_NONE ) ;
alignment26 = gtk_alignment_new ( 0.5 , 0.5 , 1 , 1 ) ;
gtk_widget_show ( alignment26 ) ;
gtk_container_add ( GTK_CONTAINER ( frame23 ) , alignment26 ) ;
gtk_alignment_set_padding ( GTK_ALIGNMENT ( alignment26 ) , 0 , 0 , 12 , 0 ) ;
vbox22 = gtk_vbox_new ( FALSE , 0 ) ;
gtk_widget_show ( vbox22 ) ;
gtk_container_add ( GTK_CONTAINER ( alignment26 ) , vbox22 ) ;
check_statusbar_visible = gtk_check_button_new_with_mnemonic ( _ ( " Show statusbar " ) ) ;
gtk_widget_show ( check_statusbar_visible ) ;
gtk_box_pack_start ( GTK_BOX ( vbox22 ) , check_statusbar_visible , FALSE , FALSE , 0 ) ;
gtk_tooltips_set_tip ( tooltips , check_statusbar_visible , _ ( " Whether to show the status bar at the bottom of the main window. " ) , NULL ) ;
label187 = gtk_label_new ( _ ( " <b>Miscellaneous</b> " ) ) ;
gtk_widget_show ( label187 ) ;
gtk_frame_set_label_widget ( GTK_FRAME ( frame23 ) , label187 ) ;
gtk_label_set_use_markup ( GTK_LABEL ( label187 ) , TRUE ) ;
2006-07-02 16:21:35 +00:00
label157 = gtk_label_new ( _ ( " Interface " ) ) ;
gtk_widget_show ( label157 ) ;
gtk_notebook_set_tab_label ( GTK_NOTEBOOK ( notebook2 ) , gtk_notebook_get_nth_page ( GTK_NOTEBOOK ( notebook2 ) , 1 ) , label157 ) ;
2005-11-22 12:26:26 +00:00
2006-07-11 14:15:56 +00:00
vbox15 = gtk_vbox_new ( FALSE , 10 ) ;
gtk_widget_show ( vbox15 ) ;
gtk_container_add ( GTK_CONTAINER ( notebook2 ) , vbox15 ) ;
frame12 = gtk_frame_new ( NULL ) ;
gtk_widget_show ( frame12 ) ;
gtk_box_pack_start ( GTK_BOX ( vbox15 ) , frame12 , FALSE , FALSE , 0 ) ;
gtk_frame_set_label_align ( GTK_FRAME ( frame12 ) , 0.5 , 0.5 ) ;
gtk_frame_set_shadow_type ( GTK_FRAME ( frame12 ) , GTK_SHADOW_NONE ) ;
alignment15 = gtk_alignment_new ( 0.5 , 0.5 , 1 , 1 ) ;
gtk_widget_show ( alignment15 ) ;
gtk_container_add ( GTK_CONTAINER ( frame12 ) , alignment15 ) ;
gtk_alignment_set_padding ( GTK_ALIGNMENT ( alignment15 ) , 0 , 0 , 12 , 0 ) ;
check_toolbar_show = gtk_check_button_new_with_mnemonic ( _ ( " Show Toolbar " ) ) ;
gtk_widget_show ( check_toolbar_show ) ;
gtk_container_add ( GTK_CONTAINER ( alignment15 ) , check_toolbar_show ) ;
GTK_WIDGET_UNSET_FLAGS ( check_toolbar_show , GTK_CAN_FOCUS ) ;
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_toolbar_show ) , FALSE ) ;
label166 = gtk_label_new ( " " ) ;
gtk_widget_show ( label166 ) ;
gtk_frame_set_label_widget ( GTK_FRAME ( frame12 ) , label166 ) ;
gtk_label_set_use_markup ( GTK_LABEL ( label166 ) , TRUE ) ;
frame11 = gtk_frame_new ( NULL ) ;
gtk_widget_show ( frame11 ) ;
gtk_box_pack_start ( GTK_BOX ( vbox15 ) , frame11 , FALSE , FALSE , 0 ) ;
gtk_frame_set_shadow_type ( GTK_FRAME ( frame11 ) , GTK_SHADOW_NONE ) ;
alignment14 = gtk_alignment_new ( 0.5 , 0.5 , 1 , 1 ) ;
gtk_widget_show ( alignment14 ) ;
gtk_container_add ( GTK_CONTAINER ( frame11 ) , alignment14 ) ;
gtk_alignment_set_padding ( GTK_ALIGNMENT ( alignment14 ) , 0 , 0 , 12 , 0 ) ;
vbox16 = gtk_vbox_new ( FALSE , 0 ) ;
gtk_widget_show ( vbox16 ) ;
gtk_container_add ( GTK_CONTAINER ( alignment14 ) , vbox16 ) ;
2006-07-15 18:15:30 +00:00
check_toolbar_fileops = gtk_check_button_new_with_mnemonic ( _ ( " Show file operation buttons " ) ) ;
gtk_widget_show ( check_toolbar_fileops ) ;
gtk_box_pack_start ( GTK_BOX ( vbox16 ) , check_toolbar_fileops , FALSE , FALSE , 0 ) ;
GTK_WIDGET_UNSET_FLAGS ( check_toolbar_fileops , GTK_CAN_FOCUS ) ;
gtk_tooltips_set_tip ( tooltips , check_toolbar_fileops , _ ( " Display the New, Open, Close, Save and Reload buttons in the toolbar " ) , NULL ) ;
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_toolbar_fileops ) , FALSE ) ;
2006-07-11 14:15:56 +00:00
check_toolbar_compile = gtk_check_button_new_with_mnemonic ( _ ( " Show Compile and Run " ) ) ;
gtk_widget_show ( check_toolbar_compile ) ;
gtk_box_pack_start ( GTK_BOX ( vbox16 ) , check_toolbar_compile , FALSE , FALSE , 0 ) ;
GTK_WIDGET_UNSET_FLAGS ( check_toolbar_compile , GTK_CAN_FOCUS ) ;
gtk_tooltips_set_tip ( tooltips , check_toolbar_compile , _ ( " Display the Compile and Run buttons in the toolbar " ) , NULL ) ;
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_toolbar_compile ) , FALSE ) ;
check_toolbar_colour = gtk_check_button_new_with_mnemonic ( _ ( " Show Colour Chooser button " ) ) ;
gtk_widget_show ( check_toolbar_colour ) ;
gtk_box_pack_start ( GTK_BOX ( vbox16 ) , check_toolbar_colour , FALSE , FALSE , 0 ) ;
GTK_WIDGET_UNSET_FLAGS ( check_toolbar_colour , GTK_CAN_FOCUS ) ;
gtk_tooltips_set_tip ( tooltips , check_toolbar_colour , _ ( " Display the Colour Chooser button in the toolbar " ) , NULL ) ;
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_toolbar_colour ) , FALSE ) ;
check_toolbar_zoom = gtk_check_button_new_with_mnemonic ( _ ( " Show Zoom In and Zoom Out " ) ) ;
gtk_widget_show ( check_toolbar_zoom ) ;
gtk_box_pack_start ( GTK_BOX ( vbox16 ) , check_toolbar_zoom , FALSE , FALSE , 0 ) ;
GTK_WIDGET_UNSET_FLAGS ( check_toolbar_zoom , GTK_CAN_FOCUS ) ;
gtk_tooltips_set_tip ( tooltips , check_toolbar_zoom , _ ( " Display the Zoom In and Zoom Out buttons in the toolbar " ) , NULL ) ;
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_toolbar_zoom ) , FALSE ) ;
check_toolbar_undo = gtk_check_button_new_with_mnemonic ( _ ( " Show Redo and Undo buttons " ) ) ;
gtk_widget_show ( check_toolbar_undo ) ;
gtk_box_pack_start ( GTK_BOX ( vbox16 ) , check_toolbar_undo , FALSE , FALSE , 0 ) ;
GTK_WIDGET_UNSET_FLAGS ( check_toolbar_undo , GTK_CAN_FOCUS ) ;
gtk_tooltips_set_tip ( tooltips , check_toolbar_undo , _ ( " Display the Redo and Undo buttons in the toolbar " ) , NULL ) ;
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_toolbar_undo ) , FALSE ) ;
check_toolbar_search = gtk_check_button_new_with_mnemonic ( _ ( " Show Search field " ) ) ;
gtk_widget_show ( check_toolbar_search ) ;
gtk_box_pack_start ( GTK_BOX ( vbox16 ) , check_toolbar_search , FALSE , FALSE , 0 ) ;
GTK_WIDGET_UNSET_FLAGS ( check_toolbar_search , GTK_CAN_FOCUS ) ;
gtk_tooltips_set_tip ( tooltips , check_toolbar_search , _ ( " Display the search field and button in the toolbar " ) , NULL ) ;
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_toolbar_search ) , FALSE ) ;
check_toolbar_goto = gtk_check_button_new_with_mnemonic ( _ ( " Show Goto line field " ) ) ;
gtk_widget_show ( check_toolbar_goto ) ;
gtk_box_pack_start ( GTK_BOX ( vbox16 ) , check_toolbar_goto , FALSE , FALSE , 0 ) ;
GTK_WIDGET_UNSET_FLAGS ( check_toolbar_goto , GTK_CAN_FOCUS ) ;
gtk_tooltips_set_tip ( tooltips , check_toolbar_goto , _ ( " Display the line number field and button in the toolbar " ) , NULL ) ;
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_toolbar_goto ) , FALSE ) ;
2006-10-29 01:28:58 +00:00
check_toolbar_quit = gtk_check_button_new_with_mnemonic ( _ ( " Show Quit button " ) ) ;
gtk_widget_show ( check_toolbar_quit ) ;
gtk_box_pack_start ( GTK_BOX ( vbox16 ) , check_toolbar_quit , FALSE , FALSE , 0 ) ;
GTK_WIDGET_UNSET_FLAGS ( check_toolbar_quit , GTK_CAN_FOCUS ) ;
gtk_tooltips_set_tip ( tooltips , check_toolbar_quit , _ ( " Display the quit button in the toolbar " ) , NULL ) ;
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_toolbar_quit ) , FALSE ) ;
2006-07-11 14:15:56 +00:00
label165 = gtk_label_new ( _ ( " <b>Items</b> " ) ) ;
gtk_widget_show ( label165 ) ;
gtk_frame_set_label_widget ( GTK_FRAME ( frame11 ) , label165 ) ;
gtk_label_set_use_markup ( GTK_LABEL ( label165 ) , TRUE ) ;
frame13 = gtk_frame_new ( NULL ) ;
gtk_widget_show ( frame13 ) ;
gtk_box_pack_start ( GTK_BOX ( vbox15 ) , frame13 , FALSE , FALSE , 0 ) ;
gtk_frame_set_shadow_type ( GTK_FRAME ( frame13 ) , GTK_SHADOW_NONE ) ;
alignment16 = gtk_alignment_new ( 0.5 , 0.5 , 1 , 1 ) ;
gtk_widget_show ( alignment16 ) ;
gtk_container_add ( GTK_CONTAINER ( frame13 ) , alignment16 ) ;
gtk_alignment_set_padding ( GTK_ALIGNMENT ( alignment16 ) , 0 , 0 , 12 , 0 ) ;
table9 = gtk_table_new ( 2 , 4 , FALSE ) ;
gtk_widget_show ( table9 ) ;
gtk_container_add ( GTK_CONTAINER ( alignment16 ) , table9 ) ;
2006-11-18 15:47:28 +00:00
gtk_table_set_row_spacings ( GTK_TABLE ( table9 ) , 3 ) ;
gtk_table_set_col_spacings ( GTK_TABLE ( table9 ) , 12 ) ;
2006-07-11 14:15:56 +00:00
2006-11-18 15:47:28 +00:00
label169 = gtk_label_new ( _ ( " Icon style: " ) ) ;
gtk_widget_show ( label169 ) ;
gtk_table_attach ( GTK_TABLE ( table9 ) , label169 , 0 , 1 , 0 , 1 ,
2006-07-11 14:15:56 +00:00
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
2006-11-18 15:47:28 +00:00
gtk_misc_set_alignment ( GTK_MISC ( label169 ) , 0 , 0.5 ) ;
2006-07-11 14:15:56 +00:00
2006-11-18 15:47:28 +00:00
label170 = gtk_label_new ( _ ( " Icon size: " ) ) ;
gtk_widget_show ( label170 ) ;
gtk_table_attach ( GTK_TABLE ( table9 ) , label170 , 0 , 1 , 1 , 2 ,
2006-07-11 14:15:56 +00:00
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
2006-11-18 15:47:28 +00:00
gtk_misc_set_alignment ( GTK_MISC ( label170 ) , 0 , 0.5 ) ;
2006-07-11 14:15:56 +00:00
2006-11-18 15:47:28 +00:00
radio_toolbar_imagetext = gtk_radio_button_new_with_mnemonic ( NULL , _ ( " Images and text " ) ) ;
gtk_widget_show ( radio_toolbar_imagetext ) ;
gtk_table_attach ( GTK_TABLE ( table9 ) , radio_toolbar_imagetext , 1 , 2 , 0 , 1 ,
2006-07-11 14:15:56 +00:00
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
2006-11-18 15:47:28 +00:00
gtk_radio_button_set_group ( GTK_RADIO_BUTTON ( radio_toolbar_imagetext ) , radio_toolbar_imagetext_group ) ;
radio_toolbar_imagetext_group = gtk_radio_button_get_group ( GTK_RADIO_BUTTON ( radio_toolbar_imagetext ) ) ;
2006-07-11 14:15:56 +00:00
radio_toolbar_small = gtk_radio_button_new_with_mnemonic ( NULL , _ ( " Small icons " ) ) ;
gtk_widget_show ( radio_toolbar_small ) ;
gtk_table_attach ( GTK_TABLE ( table9 ) , radio_toolbar_small , 2 , 3 , 1 , 2 ,
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
2006-11-18 15:47:28 +00:00
gtk_radio_button_set_group ( GTK_RADIO_BUTTON ( radio_toolbar_small ) , radio_toolbar_small_group ) ;
radio_toolbar_small_group = gtk_radio_button_get_group ( GTK_RADIO_BUTTON ( radio_toolbar_small ) ) ;
radio_toolbar_large = gtk_radio_button_new_with_mnemonic ( NULL , _ ( " Large icons " ) ) ;
gtk_widget_show ( radio_toolbar_large ) ;
gtk_table_attach ( GTK_TABLE ( table9 ) , radio_toolbar_large , 1 , 2 , 1 , 2 ,
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
gtk_radio_button_set_group ( GTK_RADIO_BUTTON ( radio_toolbar_large ) , radio_toolbar_small_group ) ;
radio_toolbar_small_group = gtk_radio_button_get_group ( GTK_RADIO_BUTTON ( radio_toolbar_large ) ) ;
2006-07-11 14:15:56 +00:00
2006-11-18 15:47:28 +00:00
radio_toolbar_text = gtk_radio_button_new_with_mnemonic ( NULL , _ ( " Text only " ) ) ;
gtk_widget_show ( radio_toolbar_text ) ;
gtk_table_attach ( GTK_TABLE ( table9 ) , radio_toolbar_text , 3 , 4 , 0 , 1 ,
2006-07-11 14:15:56 +00:00
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
2006-11-18 15:47:28 +00:00
gtk_radio_button_set_group ( GTK_RADIO_BUTTON ( radio_toolbar_text ) , radio_toolbar_imagetext_group ) ;
radio_toolbar_imagetext_group = gtk_radio_button_get_group ( GTK_RADIO_BUTTON ( radio_toolbar_text ) ) ;
2006-07-11 14:15:56 +00:00
2006-11-18 15:47:28 +00:00
radio_toolbar_image = gtk_radio_button_new_with_mnemonic ( NULL , _ ( " Images only " ) ) ;
gtk_widget_show ( radio_toolbar_image ) ;
gtk_table_attach ( GTK_TABLE ( table9 ) , radio_toolbar_image , 2 , 3 , 0 , 1 ,
2006-07-11 14:15:56 +00:00
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
2006-11-18 15:47:28 +00:00
gtk_radio_button_set_group ( GTK_RADIO_BUTTON ( radio_toolbar_image ) , radio_toolbar_imagetext_group ) ;
radio_toolbar_imagetext_group = gtk_radio_button_get_group ( GTK_RADIO_BUTTON ( radio_toolbar_image ) ) ;
2006-07-11 14:15:56 +00:00
label167 = gtk_label_new ( _ ( " <b>Appearance</b> " ) ) ;
gtk_widget_show ( label167 ) ;
gtk_frame_set_label_widget ( GTK_FRAME ( frame13 ) , label167 ) ;
gtk_label_set_use_markup ( GTK_LABEL ( label167 ) , TRUE ) ;
label164 = gtk_label_new ( _ ( " Toolbar " ) ) ;
gtk_widget_show ( label164 ) ;
gtk_notebook_set_tab_label ( GTK_NOTEBOOK ( notebook2 ) , gtk_notebook_get_nth_page ( GTK_NOTEBOOK ( notebook2 ) , 2 ) , label164 ) ;
2006-11-18 15:47:28 +00:00
vbox18 = gtk_vbox_new ( FALSE , 10 ) ;
gtk_widget_show ( vbox18 ) ;
gtk_container_add ( GTK_CONTAINER ( notebook2 ) , vbox18 ) ;
2005-11-22 12:26:26 +00:00
frame6 = gtk_frame_new ( NULL ) ;
gtk_widget_show ( frame6 ) ;
2006-11-18 15:47:28 +00:00
gtk_box_pack_start ( GTK_BOX ( vbox18 ) , frame6 , FALSE , TRUE , 0 ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-06-21 18:54:07 +00:00
vbox8 = gtk_vbox_new ( FALSE , 3 ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( vbox8 ) ;
gtk_container_add ( GTK_CONTAINER ( alignment7 ) , vbox8 ) ;
2006-07-02 16:21:35 +00:00
table5 = gtk_table_new ( 2 , 2 , FALSE ) ;
gtk_widget_show ( table5 ) ;
gtk_box_pack_start ( GTK_BOX ( vbox8 ) , table5 , FALSE , TRUE , 0 ) ;
gtk_table_set_row_spacings ( GTK_TABLE ( table5 ) , 3 ) ;
gtk_table_set_col_spacings ( GTK_TABLE ( table5 ) , 25 ) ;
2006-08-13 15:04:30 +00:00
label116 = gtk_label_new ( _ ( " Tab Width: " ) ) ;
2006-07-02 16:21:35 +00:00
gtk_widget_show ( label116 ) ;
gtk_table_attach ( GTK_TABLE ( table5 ) , label116 , 0 , 1 , 1 , 2 ,
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
gtk_misc_set_alignment ( GTK_MISC ( label116 ) , 0 , 0.5 ) ;
2006-06-21 18:54:07 +00:00
eventbox1 = gtk_event_box_new ( ) ;
gtk_widget_show ( eventbox1 ) ;
2006-07-02 16:21:35 +00:00
gtk_table_attach ( GTK_TABLE ( table5 ) , eventbox1 , 1 , 2 , 0 , 1 ,
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( GTK_FILL ) , 0 , 0 ) ;
2006-06-21 18:54:07 +00:00
gtk_tooltips_set_tip ( tooltips , eventbox1 , _ ( " Sets the default encoding for newly created files. " ) , NULL ) ;
combo_encoding = gtk_combo_box_new_text ( ) ;
gtk_widget_show ( combo_encoding ) ;
gtk_container_add ( GTK_CONTAINER ( eventbox1 ) , combo_encoding ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-07-02 16:21:35 +00:00
gtk_table_attach ( GTK_TABLE ( table5 ) , spin_tab_width , 1 , 2 , 1 , 2 ,
2005-11-22 12:26:26 +00:00
( 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 ) ;
2006-11-18 15:47:28 +00:00
label153 = gtk_label_new ( _ ( " Default encoding: " ) ) ;
gtk_widget_show ( label153 ) ;
gtk_table_attach ( GTK_TABLE ( table5 ) , label153 , 0 , 1 , 0 , 1 ,
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
2005-11-22 12:26:26 +00:00
label109 = gtk_label_new ( _ ( " <b>New files</b> " ) ) ;
gtk_widget_show ( label109 ) ;
gtk_frame_set_label_widget ( GTK_FRAME ( frame6 ) , label109 ) ;
gtk_label_set_use_markup ( GTK_LABEL ( label109 ) , TRUE ) ;
frame2 = gtk_frame_new ( NULL ) ;
gtk_widget_show ( frame2 ) ;
2006-11-18 15:47:28 +00:00
gtk_box_pack_start ( GTK_BOX ( vbox18 ) , frame2 , FALSE , TRUE , 0 ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-06-21 18:54:07 +00:00
check_replace_tabs = gtk_check_button_new_with_mnemonic ( _ ( " Replace tabs by space " ) ) ;
gtk_widget_show ( check_replace_tabs ) ;
gtk_box_pack_start ( GTK_BOX ( vbox6 ) , check_replace_tabs , FALSE , FALSE , 0 ) ;
GTK_WIDGET_UNSET_FLAGS ( check_replace_tabs , GTK_CAN_FOCUS ) ;
gtk_tooltips_set_tip ( tooltips , check_replace_tabs , _ ( " Replaces all tabs in document by spaces. " ) , NULL ) ;
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_replace_tabs ) , FALSE ) ;
2005-11-22 12:26:26 +00:00
label19 = gtk_label_new ( _ ( " <b>Saving files</b> " ) ) ;
gtk_widget_show ( label19 ) ;
gtk_frame_set_label_widget ( GTK_FRAME ( frame2 ) , label19 ) ;
gtk_label_set_use_markup ( GTK_LABEL ( label19 ) , TRUE ) ;
2006-11-18 15:47:28 +00:00
frame17 = gtk_frame_new ( NULL ) ;
gtk_widget_show ( frame17 ) ;
gtk_box_pack_start ( GTK_BOX ( vbox18 ) , frame17 , FALSE , TRUE , 0 ) ;
gtk_frame_set_shadow_type ( GTK_FRAME ( frame17 ) , GTK_SHADOW_NONE ) ;
alignment20 = gtk_alignment_new ( 0.5 , 0.5 , 1 , 1 ) ;
gtk_widget_show ( alignment20 ) ;
gtk_container_add ( GTK_CONTAINER ( frame17 ) , alignment20 ) ;
gtk_alignment_set_padding ( GTK_ALIGNMENT ( alignment20 ) , 0 , 0 , 12 , 0 ) ;
table10 = gtk_table_new ( 2 , 2 , FALSE ) ;
gtk_widget_show ( table10 ) ;
gtk_container_add ( GTK_CONTAINER ( alignment20 ) , table10 ) ;
gtk_table_set_row_spacings ( GTK_TABLE ( table10 ) , 3 ) ;
gtk_table_set_col_spacings ( GTK_TABLE ( table10 ) , 25 ) ;
2006-11-18 16:52:23 +00:00
label150 = gtk_label_new ( _ ( " Placement of new file tabs: " ) ) ;
2006-11-18 15:47:28 +00:00
gtk_widget_show ( label150 ) ;
gtk_table_attach ( GTK_TABLE ( table10 ) , label150 , 0 , 1 , 0 , 1 ,
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
2006-11-18 16:52:23 +00:00
gtk_misc_set_alignment ( GTK_MISC ( label150 ) , 0 , 0.5 ) ;
2006-11-18 15:47:28 +00:00
spin_mru_adj = gtk_adjustment_new ( 4 , 1 , 50 , 1 , 10 , 10 ) ;
spin_mru = gtk_spin_button_new ( GTK_ADJUSTMENT ( spin_mru_adj ) , 1 , 0 ) ;
gtk_widget_show ( spin_mru ) ;
gtk_table_attach ( GTK_TABLE ( table10 ) , spin_mru , 1 , 2 , 1 , 2 ,
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
gtk_tooltips_set_tip ( tooltips , spin_mru , _ ( " Specifies the number of files which are stored in the Recent files list. " ) , NULL ) ;
gtk_spin_button_set_numeric ( GTK_SPIN_BUTTON ( spin_mru ) , TRUE ) ;
gtk_spin_button_set_wrap ( GTK_SPIN_BUTTON ( spin_mru ) , TRUE ) ;
hbox3 = gtk_hbox_new ( FALSE , 12 ) ;
gtk_widget_show ( hbox3 ) ;
gtk_table_attach ( GTK_TABLE ( table10 ) , hbox3 , 1 , 2 , 0 , 1 ,
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( GTK_FILL ) , 0 , 0 ) ;
radio_tab_left = gtk_radio_button_new_with_mnemonic ( NULL , _ ( " Left " ) ) ;
gtk_widget_show ( radio_tab_left ) ;
gtk_box_pack_start ( GTK_BOX ( hbox3 ) , radio_tab_left , FALSE , FALSE , 0 ) ;
gtk_tooltips_set_tip ( tooltips , radio_tab_left , _ ( " File tabs will be placed on the left of the notebook " ) , NULL ) ;
gtk_radio_button_set_group ( GTK_RADIO_BUTTON ( radio_tab_left ) , radio_tab_left_group ) ;
radio_tab_left_group = gtk_radio_button_get_group ( GTK_RADIO_BUTTON ( radio_tab_left ) ) ;
gtk_toggle_button_set_active ( GTK_TOGGLE_BUTTON ( radio_tab_left ) , TRUE ) ;
radio_tab_right = gtk_radio_button_new_with_mnemonic ( NULL , _ ( " Right " ) ) ;
gtk_widget_show ( radio_tab_right ) ;
gtk_box_pack_start ( GTK_BOX ( hbox3 ) , radio_tab_right , FALSE , FALSE , 0 ) ;
gtk_tooltips_set_tip ( tooltips , radio_tab_right , _ ( " File tabs will be placed on the right of the notebook " ) , NULL ) ;
gtk_radio_button_set_group ( GTK_RADIO_BUTTON ( radio_tab_right ) , radio_tab_left_group ) ;
radio_tab_left_group = gtk_radio_button_get_group ( GTK_RADIO_BUTTON ( radio_tab_right ) ) ;
label147 = gtk_label_new ( _ ( " Recent files list length: " ) ) ;
gtk_widget_show ( label147 ) ;
gtk_table_attach ( GTK_TABLE ( table10 ) , label147 , 0 , 1 , 1 , 2 ,
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
2006-11-18 16:52:23 +00:00
gtk_misc_set_alignment ( GTK_MISC ( label147 ) , 0 , 0.5 ) ;
2006-11-18 15:47:28 +00:00
gtk_misc_set_padding ( GTK_MISC ( label147 ) , 0 , 7 ) ;
label176 = gtk_label_new ( _ ( " <b>Misc.</b> " ) ) ;
gtk_widget_show ( label176 ) ;
gtk_frame_set_label_widget ( GTK_FRAME ( frame17 ) , label176 ) ;
gtk_label_set_use_markup ( GTK_LABEL ( label176 ) , TRUE ) ;
label174 = gtk_label_new ( _ ( " Files " ) ) ;
gtk_widget_show ( label174 ) ;
gtk_notebook_set_tab_label ( GTK_NOTEBOOK ( notebook2 ) , gtk_notebook_get_nth_page ( GTK_NOTEBOOK ( notebook2 ) , 3 ) , label174 ) ;
vbox5 = gtk_vbox_new ( FALSE , 10 ) ;
gtk_widget_show ( vbox5 ) ;
gtk_container_add ( GTK_CONTAINER ( notebook2 ) , vbox5 ) ;
2005-11-22 12:26:26 +00:00
frame5 = gtk_frame_new ( NULL ) ;
gtk_widget_show ( frame5 ) ;
2006-11-18 15:47:28 +00:00
gtk_box_pack_start ( GTK_BOX ( vbox5 ) , frame5 , FALSE , TRUE , 0 ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-06-30 14:28:32 +00:00
gtk_alignment_set_padding ( GTK_ALIGNMENT ( alignment6 ) , 0 , 5 , 12 , 6 ) ;
2005-11-22 12:26:26 +00:00
2006-02-14 22:07:55 +00:00
vbox12 = gtk_vbox_new ( FALSE , 0 ) ;
gtk_widget_show ( vbox12 ) ;
gtk_container_add ( GTK_CONTAINER ( alignment6 ) , vbox12 ) ;
2006-12-13 16:51:09 +00:00
checkbutton1 = gtk_check_button_new_with_mnemonic ( _ ( " Invert syntax highlighting colours " ) ) ;
gtk_box_pack_start ( GTK_BOX ( vbox12 ) , checkbutton1 , FALSE , FALSE , 0 ) ;
gtk_tooltips_set_tip ( tooltips , checkbutton1 , _ ( " Use white text on a black background. " ) , NULL ) ;
2006-06-18 16:18:05 +00:00
check_indent = gtk_check_button_new_with_mnemonic ( _ ( " Show indentation guides " ) ) ;
2006-02-14 22:07:55 +00:00
gtk_widget_show ( check_indent ) ;
gtk_box_pack_start ( GTK_BOX ( vbox12 ) , check_indent , FALSE , FALSE , 0 ) ;
2006-06-18 16:18:05 +00:00
gtk_tooltips_set_tip ( tooltips , check_indent , _ ( " Shows small dotted lines to help you to use the right indentation. " ) , NULL ) ;
2006-02-14 22:07:55 +00:00
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_indent ) , FALSE ) ;
check_white_space = gtk_check_button_new_with_mnemonic ( _ ( " Show white space " ) ) ;
gtk_widget_show ( check_white_space ) ;
gtk_box_pack_start ( GTK_BOX ( vbox12 ) , check_white_space , FALSE , FALSE , 0 ) ;
gtk_tooltips_set_tip ( tooltips , check_white_space , _ ( " Marks spaces with dots and tabs with arrows. " ) , NULL ) ;
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_white_space ) , FALSE ) ;
check_line_end = gtk_check_button_new_with_mnemonic ( _ ( " Show line endings " ) ) ;
gtk_widget_show ( check_line_end ) ;
gtk_box_pack_start ( GTK_BOX ( vbox12 ) , check_line_end , FALSE , FALSE , 0 ) ;
gtk_tooltips_set_tip ( tooltips , check_line_end , _ ( " Show the line ending character " ) , NULL ) ;
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_line_end ) , FALSE ) ;
2006-08-01 10:06:28 +00:00
label102 = gtk_label_new ( _ ( " <b>Display</b> " ) ) ;
gtk_widget_show ( label102 ) ;
gtk_frame_set_label_widget ( GTK_FRAME ( frame5 ) , label102 ) ;
gtk_label_set_use_markup ( GTK_LABEL ( label102 ) , TRUE ) ;
2006-11-18 15:47:28 +00:00
frame8 = gtk_frame_new ( NULL ) ;
gtk_widget_show ( frame8 ) ;
gtk_box_pack_start ( GTK_BOX ( vbox5 ) , frame8 , FALSE , TRUE , 0 ) ;
gtk_frame_set_shadow_type ( GTK_FRAME ( frame8 ) , GTK_SHADOW_NONE ) ;
alignment11 = gtk_alignment_new ( 0.5 , 0.5 , 1 , 1 ) ;
gtk_widget_show ( alignment11 ) ;
gtk_container_add ( GTK_CONTAINER ( frame8 ) , alignment11 ) ;
gtk_alignment_set_padding ( GTK_ALIGNMENT ( alignment11 ) , 0 , 0 , 12 , 0 ) ;
table7 = gtk_table_new ( 3 , 2 , FALSE ) ;
gtk_widget_show ( table7 ) ;
gtk_container_add ( GTK_CONTAINER ( alignment11 ) , table7 ) ;
gtk_table_set_row_spacings ( GTK_TABLE ( table7 ) , 3 ) ;
gtk_table_set_col_spacings ( GTK_TABLE ( table7 ) , 25 ) ;
label133 = gtk_label_new ( _ ( " Long line marker: " ) ) ;
gtk_widget_show ( label133 ) ;
gtk_table_attach ( GTK_TABLE ( table7 ) , label133 , 0 , 1 , 1 , 2 ,
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
gtk_misc_set_alignment ( GTK_MISC ( label133 ) , 0 , 0.5 ) ;
label134 = gtk_label_new ( _ ( " Long line marker color: " ) ) ;
gtk_widget_show ( label134 ) ;
gtk_table_attach ( GTK_TABLE ( table7 ) , label134 , 0 , 1 , 2 , 3 ,
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
gtk_misc_set_alignment ( GTK_MISC ( label134 ) , 0 , 0.5 ) ;
label156 = gtk_label_new ( _ ( " Type: " ) ) ;
gtk_widget_show ( label156 ) ;
gtk_table_attach ( GTK_TABLE ( table7 ) , label156 , 0 , 1 , 0 , 1 ,
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
gtk_misc_set_alignment ( GTK_MISC ( label156 ) , 0 , 0.5 ) ;
long_line_color = gtk_color_button_new ( ) ;
gtk_widget_show ( long_line_color ) ;
gtk_table_attach ( GTK_TABLE ( table7 ) , long_line_color , 1 , 2 , 2 , 3 ,
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
gtk_tooltips_set_tip ( tooltips , long_line_color , _ ( " Sets the color of the long line marker " ) , NULL ) ;
gtk_color_button_set_title ( GTK_COLOR_BUTTON ( long_line_color ) , _ ( " Color Chooser " ) ) ;
spin_long_line_adj = gtk_adjustment_new ( 72 , 0 , 1000 , 1 , 10 , 10 ) ;
spin_long_line = gtk_spin_button_new ( GTK_ADJUSTMENT ( spin_long_line_adj ) , 1 , 0 ) ;
gtk_widget_show ( spin_long_line ) ;
gtk_table_attach ( GTK_TABLE ( table7 ) , spin_long_line , 1 , 2 , 1 , 2 ,
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
gtk_tooltips_set_tip ( tooltips , spin_long_line , _ ( " The long line marker is a thin vertical line in the editor. It helps to mark long lines, or as a hint to break the line. Set this value to a value greater than 0 to specify the column where it should appear. " ) , NULL ) ;
gtk_spin_button_set_numeric ( GTK_SPIN_BUTTON ( spin_long_line ) , TRUE ) ;
gtk_spin_button_set_wrap ( GTK_SPIN_BUTTON ( spin_long_line ) , TRUE ) ;
hbox5 = gtk_hbox_new ( FALSE , 10 ) ;
gtk_widget_show ( hbox5 ) ;
gtk_table_attach ( GTK_TABLE ( table7 ) , hbox5 , 1 , 2 , 0 , 1 ,
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( GTK_FILL ) , 0 , 0 ) ;
radio_long_line_line = gtk_radio_button_new_with_mnemonic ( NULL , _ ( " Line " ) ) ;
gtk_widget_show ( radio_long_line_line ) ;
gtk_box_pack_start ( GTK_BOX ( hbox5 ) , radio_long_line_line , FALSE , FALSE , 0 ) ;
gtk_tooltips_set_tip ( tooltips , radio_long_line_line , _ ( " Prints a vertical line in the editor window at the given cursor position (see below). " ) , NULL ) ;
gtk_radio_button_set_group ( GTK_RADIO_BUTTON ( radio_long_line_line ) , radio_long_line_line_group ) ;
radio_long_line_line_group = gtk_radio_button_get_group ( GTK_RADIO_BUTTON ( radio_long_line_line ) ) ;
radio_long_line_background = gtk_radio_button_new_with_mnemonic ( NULL , _ ( " Background " ) ) ;
gtk_widget_show ( radio_long_line_background ) ;
gtk_box_pack_start ( GTK_BOX ( hbox5 ) , radio_long_line_background , FALSE , FALSE , 0 ) ;
gtk_tooltips_set_tip ( tooltips , radio_long_line_background , _ ( " The background colour of characters after the given cursor position (see below) changed to the colour set below. (This is recommended if you use proportional fonts) " ) , NULL ) ;
gtk_radio_button_set_group ( GTK_RADIO_BUTTON ( radio_long_line_background ) , radio_long_line_line_group ) ;
radio_long_line_line_group = gtk_radio_button_get_group ( GTK_RADIO_BUTTON ( radio_long_line_background ) ) ;
radio_long_line_disabled = gtk_radio_button_new_with_mnemonic ( NULL , _ ( " Disabled " ) ) ;
gtk_widget_show ( radio_long_line_disabled ) ;
gtk_box_pack_start ( GTK_BOX ( hbox5 ) , radio_long_line_disabled , FALSE , FALSE , 0 ) ;
gtk_radio_button_set_group ( GTK_RADIO_BUTTON ( radio_long_line_disabled ) , radio_long_line_line_group ) ;
radio_long_line_line_group = gtk_radio_button_get_group ( GTK_RADIO_BUTTON ( radio_long_line_disabled ) ) ;
label155 = gtk_label_new ( _ ( " <b>Long line marker</b> " ) ) ;
gtk_widget_show ( label155 ) ;
gtk_frame_set_label_widget ( GTK_FRAME ( frame8 ) , label155 ) ;
gtk_label_set_use_markup ( GTK_LABEL ( label155 ) , TRUE ) ;
2006-08-01 10:06:28 +00:00
frame14 = gtk_frame_new ( NULL ) ;
gtk_widget_show ( frame14 ) ;
2006-11-18 15:47:28 +00:00
gtk_box_pack_start ( GTK_BOX ( vbox5 ) , frame14 , FALSE , TRUE , 0 ) ;
2006-08-01 10:06:28 +00:00
gtk_frame_set_shadow_type ( GTK_FRAME ( frame14 ) , GTK_SHADOW_NONE ) ;
alignment17 = gtk_alignment_new ( 0.5 , 0.5 , 1 , 1 ) ;
gtk_widget_show ( alignment17 ) ;
gtk_container_add ( GTK_CONTAINER ( frame14 ) , alignment17 ) ;
gtk_alignment_set_padding ( GTK_ALIGNMENT ( alignment17 ) , 0 , 0 , 12 , 0 ) ;
vbox17 = gtk_vbox_new ( FALSE , 0 ) ;
gtk_widget_show ( vbox17 ) ;
gtk_container_add ( GTK_CONTAINER ( alignment17 ) , vbox17 ) ;
2007-03-08 18:02:08 +00:00
hbox7 = gtk_hbox_new ( FALSE , 0 ) ;
gtk_widget_show ( hbox7 ) ;
gtk_box_pack_start ( GTK_BOX ( vbox17 ) , hbox7 , FALSE , FALSE , 0 ) ;
2007-03-09 12:26:55 +00:00
label183 = gtk_label_new ( _ ( " Auto indentation mode: " ) ) ;
2007-03-08 18:02:08 +00:00
gtk_widget_show ( label183 ) ;
gtk_box_pack_start ( GTK_BOX ( hbox7 ) , label183 , FALSE , FALSE , 0 ) ;
eventbox2 = gtk_event_box_new ( ) ;
gtk_widget_show ( eventbox2 ) ;
gtk_box_pack_start ( GTK_BOX ( hbox7 ) , eventbox2 , FALSE , TRUE , 5 ) ;
2007-03-09 12:26:55 +00:00
gtk_tooltips_set_tip ( tooltips , eventbox2 , _ ( " Selects the indentation mode. Use None to disable auto indentation completely. Basic indents new lines with the same indentation as the previous line. Advanced does the same and indents also curly brackets. " ) , NULL ) ;
2007-03-08 18:02:08 +00:00
combo_auto_indent_mode = gtk_combo_box_new_text ( ) ;
gtk_widget_show ( combo_auto_indent_mode ) ;
gtk_container_add ( GTK_CONTAINER ( eventbox2 ) , combo_auto_indent_mode ) ;
gtk_combo_box_append_text ( GTK_COMBO_BOX ( combo_auto_indent_mode ) , _ ( " None " ) ) ;
gtk_combo_box_append_text ( GTK_COMBO_BOX ( combo_auto_indent_mode ) , _ ( " Basic " ) ) ;
gtk_combo_box_append_text ( GTK_COMBO_BOX ( combo_auto_indent_mode ) , _ ( " Advanced " ) ) ;
2006-08-01 10:06:28 +00:00
check_line_wrapping = gtk_check_button_new_with_mnemonic ( _ ( " Line wrapping " ) ) ;
gtk_widget_show ( check_line_wrapping ) ;
gtk_box_pack_start ( GTK_BOX ( vbox17 ) , check_line_wrapping , FALSE , FALSE , 0 ) ;
gtk_tooltips_set_tip ( tooltips , check_line_wrapping , _ ( " Wrap the line at the window border and continue it on the next line. Note: line wrapping has a high performance cost for large documents so should be disabled on slow machines. " ) , NULL ) ;
2006-02-14 22:07:55 +00:00
2006-02-26 18:19:28 +00:00
check_folding = gtk_check_button_new_with_mnemonic ( _ ( " Enable folding " ) ) ;
gtk_widget_show ( check_folding ) ;
2006-08-01 10:06:28 +00:00
gtk_box_pack_start ( GTK_BOX ( vbox17 ) , check_folding , FALSE , FALSE , 0 ) ;
2006-02-26 18:19:28 +00:00
gtk_tooltips_set_tip ( tooltips , check_folding , _ ( " Whether to enable folding the code " ) , NULL ) ;
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_folding ) , FALSE ) ;
2006-12-03 22:33:46 +00:00
check_unfold_children = gtk_check_button_new_with_mnemonic ( _ ( " Unfold all children of a fold point " ) ) ;
gtk_widget_show ( check_unfold_children ) ;
gtk_box_pack_start ( GTK_BOX ( vbox17 ) , check_unfold_children , FALSE , FALSE , 0 ) ;
gtk_tooltips_set_tip ( tooltips , check_unfold_children , _ ( " Unfold all children of a fold point when unfolding it. " ) , NULL ) ;
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_unfold_children ) , FALSE ) ;
2006-06-13 19:37:21 +00:00
check_indicators = gtk_check_button_new_with_mnemonic ( _ ( " Use indicators to show compile errors " ) ) ;
gtk_widget_show ( check_indicators ) ;
2006-08-01 10:06:28 +00:00
gtk_box_pack_start ( GTK_BOX ( vbox17 ) , check_indicators , FALSE , FALSE , 0 ) ;
gtk_tooltips_set_tip ( tooltips , check_indicators , _ ( " Whether to use indicators (a squiggly underline) to highlight the lines where the compiler found a warning or an error. " ) , NULL ) ;
2006-06-13 19:37:21 +00:00
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_indicators ) , FALSE ) ;
2007-01-13 20:50:36 +00:00
check_disable_dnd = gtk_check_button_new_with_mnemonic ( _ ( " Disable Drag and Drop " ) ) ;
gtk_widget_show ( check_disable_dnd ) ;
gtk_box_pack_start ( GTK_BOX ( vbox17 ) , check_disable_dnd , FALSE , FALSE , 0 ) ;
gtk_tooltips_set_tip ( tooltips , check_disable_dnd , _ ( " Disable drag and drop completely in the editor window so you can't drag and drop any selections within or outside of the editor window. " ) , NULL ) ;
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_disable_dnd ) , FALSE ) ;
2007-04-29 11:35:23 +00:00
check_use_tabs = gtk_check_button_new_with_mnemonic ( _ ( " Use tabs when inserting whitespace " ) ) ;
2007-01-14 17:09:17 +00:00
gtk_widget_show ( check_use_tabs ) ;
gtk_box_pack_start ( GTK_BOX ( vbox17 ) , check_use_tabs , FALSE , FALSE , 0 ) ;
2007-04-29 11:35:23 +00:00
gtk_tooltips_set_tip ( tooltips , check_use_tabs , _ ( " Whenever some whitespace is inserted by Geany it will use tabs when enabled otherwise Geany will use just spaces. " ) , NULL ) ;
2007-01-14 17:09:17 +00:00
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_use_tabs ) , FALSE ) ;
2006-11-18 15:47:28 +00:00
label172 = gtk_label_new ( _ ( " <b>Features</b> " ) ) ;
gtk_widget_show ( label172 ) ;
gtk_frame_set_label_widget ( GTK_FRAME ( frame14 ) , label172 ) ;
gtk_label_set_use_markup ( GTK_LABEL ( label172 ) , TRUE ) ;
frame18 = gtk_frame_new ( NULL ) ;
gtk_widget_show ( frame18 ) ;
gtk_box_pack_start ( GTK_BOX ( vbox5 ) , frame18 , TRUE , TRUE , 0 ) ;
gtk_frame_set_shadow_type ( GTK_FRAME ( frame18 ) , GTK_SHADOW_NONE ) ;
alignment21 = gtk_alignment_new ( 0.5 , 0.5 , 1 , 1 ) ;
gtk_widget_show ( alignment21 ) ;
gtk_container_add ( GTK_CONTAINER ( frame18 ) , alignment21 ) ;
gtk_alignment_set_padding ( GTK_ALIGNMENT ( alignment21 ) , 0 , 0 , 12 , 0 ) ;
vbox19 = gtk_vbox_new ( FALSE , 0 ) ;
gtk_widget_show ( vbox19 ) ;
gtk_container_add ( GTK_CONTAINER ( alignment21 ) , vbox19 ) ;
check_auto_complete = gtk_check_button_new_with_mnemonic ( _ ( " Construct autocompletion " ) ) ;
gtk_widget_show ( check_auto_complete ) ;
gtk_box_pack_start ( GTK_BOX ( vbox19 ) , check_auto_complete , FALSE , FALSE , 0 ) ;
gtk_tooltips_set_tip ( tooltips , check_auto_complete , _ ( " Automatic completion of often used constructs like if and for " ) , NULL ) ;
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_auto_complete ) , FALSE ) ;
check_xmltag = gtk_check_button_new_with_mnemonic ( _ ( " XML tag autocompletion " ) ) ;
gtk_widget_show ( check_xmltag ) ;
gtk_box_pack_start ( GTK_BOX ( vbox19 ) , check_xmltag , FALSE , FALSE , 0 ) ;
gtk_tooltips_set_tip ( tooltips , check_xmltag , _ ( " Automatic completion of open XML tags (includes HTML tags) " ) , NULL ) ;
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_xmltag ) , FALSE ) ;
2007-01-26 10:43:25 +00:00
check_symbol_auto_completion = gtk_check_button_new_with_mnemonic ( _ ( " Symbol autocompletion " ) ) ;
gtk_widget_show ( check_symbol_auto_completion ) ;
gtk_box_pack_start ( GTK_BOX ( vbox19 ) , check_symbol_auto_completion , FALSE , FALSE , 0 ) ;
2007-02-21 16:02:19 +00:00
gtk_tooltips_set_tip ( tooltips , check_symbol_auto_completion , _ ( " Automatic completion of known symbols in open files (function names, global variables, ...) " ) , NULL ) ;
2007-01-26 10:43:25 +00:00
gtk_button_set_focus_on_click ( GTK_BUTTON ( check_symbol_auto_completion ) , FALSE ) ;
2006-08-13 15:04:30 +00:00
hbox6 = gtk_hbox_new ( FALSE , 20 ) ;
gtk_widget_show ( hbox6 ) ;
2007-01-26 10:43:25 +00:00
gtk_box_pack_start ( GTK_BOX ( vbox19 ) , hbox6 , FALSE , FALSE , 0 ) ;
label182 = gtk_label_new ( " " ) ;
gtk_widget_show ( label182 ) ;
gtk_box_pack_start ( GTK_BOX ( hbox6 ) , label182 , FALSE , FALSE , 0 ) ;
2006-08-13 15:04:30 +00:00
2006-11-18 15:47:28 +00:00
label173 = gtk_label_new ( _ ( " Rows of autocompletion list: " ) ) ;
2006-08-13 15:04:30 +00:00
gtk_widget_show ( label173 ) ;
gtk_box_pack_start ( GTK_BOX ( hbox6 ) , label173 , FALSE , FALSE , 0 ) ;
2006-11-18 16:52:23 +00:00
gtk_misc_set_alignment ( GTK_MISC ( label173 ) , 0 , 0.5 ) ;
2006-08-13 15:04:30 +00:00
spin_autocheight_adj = gtk_adjustment_new ( 10 , 1 , 99 , 1 , 10 , 10 ) ;
spin_autocheight = gtk_spin_button_new ( GTK_ADJUSTMENT ( spin_autocheight_adj ) , 1 , 0 ) ;
gtk_widget_show ( spin_autocheight ) ;
2007-01-26 10:43:25 +00:00
gtk_box_pack_start ( GTK_BOX ( hbox6 ) , spin_autocheight , TRUE , TRUE , 0 ) ;
2006-11-18 15:47:28 +00:00
gtk_tooltips_set_tip ( tooltips , spin_autocheight , _ ( " Number of rows to display in the autocompletion list. " ) , NULL ) ;
2006-08-13 15:04:30 +00:00
gtk_spin_button_set_numeric ( GTK_SPIN_BUTTON ( spin_autocheight ) , TRUE ) ;
2006-11-18 15:47:28 +00:00
label177 = gtk_label_new ( _ ( " <b>Autocompletion</b> " ) ) ;
gtk_widget_show ( label177 ) ;
gtk_frame_set_label_widget ( GTK_FRAME ( frame18 ) , label177 ) ;
gtk_label_set_use_markup ( GTK_LABEL ( label177 ) , TRUE ) ;
2006-06-30 14:28:32 +00:00
2005-11-22 12:26:26 +00:00
label95 = gtk_label_new ( _ ( " Editor " ) ) ;
gtk_widget_show ( label95 ) ;
2006-11-18 15:47:28 +00:00
gtk_notebook_set_tab_label ( GTK_NOTEBOOK ( notebook2 ) , gtk_notebook_get_nth_page ( GTK_NOTEBOOK ( notebook2 ) , 4 ) , label95 ) ;
2005-11-22 12:26:26 +00:00
2006-11-18 16:52:23 +00:00
frame20 = gtk_frame_new ( NULL ) ;
gtk_widget_show ( frame20 ) ;
gtk_container_add ( GTK_CONTAINER ( notebook2 ) , frame20 ) ;
gtk_frame_set_shadow_type ( GTK_FRAME ( frame20 ) , GTK_SHADOW_NONE ) ;
alignment23 = gtk_alignment_new ( 0.5 , 0.5 , 1 , 1 ) ;
gtk_widget_show ( alignment23 ) ;
gtk_container_add ( GTK_CONTAINER ( frame20 ) , alignment23 ) ;
gtk_alignment_set_padding ( GTK_ALIGNMENT ( alignment23 ) , 0 , 0 , 12 , 0 ) ;
2006-11-18 15:47:28 +00:00
vbox2 = gtk_vbox_new ( FALSE , 12 ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( vbox2 ) ;
2006-11-18 16:52:23 +00:00
gtk_container_add ( GTK_CONTAINER ( alignment23 ) , vbox2 ) ;
2005-11-22 12:26:26 +00:00
2006-11-18 15:47:28 +00:00
label17 = gtk_label_new ( _ ( " Enter tool paths below. Tools you do not need can be left blank. " ) ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( label17 ) ;
gtk_box_pack_start ( GTK_BOX ( vbox2 ) , label17 , FALSE , FALSE , 0 ) ;
2006-11-18 16:52:23 +00:00
gtk_misc_set_alignment ( GTK_MISC ( label17 ) , 0 , 0.5 ) ;
2005-11-22 12:26:26 +00:00
gtk_misc_set_padding ( GTK_MISC ( label17 ) , 0 , 6 ) ;
2006-07-13 14:30:44 +00:00
table1 = gtk_table_new ( 5 , 3 , FALSE ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( table1 ) ;
2006-11-18 16:52:23 +00:00
gtk_box_pack_start ( GTK_BOX ( vbox2 ) , table1 , FALSE , TRUE , 0 ) ;
2005-11-22 12:26:26 +00:00
gtk_table_set_row_spacings ( GTK_TABLE ( table1 ) , 7 ) ;
gtk_table_set_col_spacings ( GTK_TABLE ( table1 ) , 5 ) ;
2006-11-18 15:47:28 +00:00
label11 = gtk_label_new ( _ ( " Make: " ) ) ;
2006-05-19 17:18:06 +00:00
gtk_widget_show ( label11 ) ;
gtk_table_attach ( GTK_TABLE ( table1 ) , label11 , 0 , 1 , 0 , 1 ,
2005-11-22 12:26:26 +00:00
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
2006-05-19 17:18:06 +00:00
gtk_misc_set_alignment ( GTK_MISC ( label11 ) , 0 , 0.5 ) ;
2005-11-22 12:26:26 +00:00
2006-11-18 15:47:28 +00:00
label97 = gtk_label_new ( _ ( " Terminal: " ) ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( label97 ) ;
2006-05-19 17:18:06 +00:00
gtk_table_attach ( GTK_TABLE ( table1 ) , label97 , 0 , 1 , 1 , 2 ,
2005-11-22 12:26:26 +00:00
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
gtk_misc_set_alignment ( GTK_MISC ( label97 ) , 0 , 0.5 ) ;
2006-11-18 15:47:28 +00:00
label117 = gtk_label_new ( _ ( " Browser: " ) ) ;
2006-05-19 17:18:06 +00:00
gtk_widget_show ( label117 ) ;
gtk_table_attach ( GTK_TABLE ( table1 ) , label117 , 0 , 1 , 2 , 3 ,
2005-11-22 12:26:26 +00:00
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
2006-05-19 17:18:06 +00:00
gtk_misc_set_alignment ( GTK_MISC ( label117 ) , 0 , 0.5 ) ;
2005-11-22 12:26:26 +00:00
entry_com_make = gtk_entry_new ( ) ;
gtk_widget_show ( entry_com_make ) ;
2006-05-19 17:18:06 +00:00
gtk_table_attach ( GTK_TABLE ( table1 ) , entry_com_make , 1 , 2 , 0 , 1 ,
2005-11-22 12:26:26 +00:00
( 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 ) ;
2006-05-19 17:18:06 +00:00
entry_com_term = gtk_entry_new ( ) ;
gtk_widget_show ( entry_com_term ) ;
gtk_table_attach ( GTK_TABLE ( table1 ) , entry_com_term , 1 , 2 , 1 , 2 ,
2005-11-22 12:26:26 +00:00
( GtkAttachOptions ) ( GTK_EXPAND | GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
2006-05-19 17:18:06 +00:00
gtk_tooltips_set_tip ( tooltips , entry_com_term , _ ( " A terminal emulator like xterm, gnome-terminal or konsole (should accept the -e argument) " ) , NULL ) ;
2005-11-22 12:26:26 +00:00
entry_browser = gtk_entry_new ( ) ;
gtk_widget_show ( entry_browser ) ;
2006-05-19 17:18:06 +00:00
gtk_table_attach ( GTK_TABLE ( table1 ) , entry_browser , 1 , 2 , 2 , 3 ,
2005-11-22 12:26:26 +00:00
( GtkAttachOptions ) ( GTK_EXPAND | GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
gtk_tooltips_set_tip ( tooltips , entry_browser , _ ( " Path (and possibly additional arguments) to your favorite browser " ) , NULL ) ;
button_make = gtk_button_new ( ) ;
gtk_widget_show ( button_make ) ;
2006-05-19 17:18:06 +00:00
gtk_table_attach ( GTK_TABLE ( table1 ) , button_make , 2 , 3 , 0 , 1 ,
2005-11-22 12:26:26 +00:00
( 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 ) ;
2006-05-19 17:18:06 +00:00
gtk_table_attach ( GTK_TABLE ( table1 ) , button_term , 2 , 3 , 1 , 2 ,
2005-11-22 12:26:26 +00:00
( 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 ) ;
2006-05-19 17:18:06 +00:00
gtk_table_attach ( GTK_TABLE ( table1 ) , button_browser , 2 , 3 , 2 , 3 ,
2005-11-22 12:26:26 +00:00
( 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 ) ;
2006-11-18 15:47:28 +00:00
label154 = gtk_label_new ( _ ( " Print command: " ) ) ;
2006-06-29 17:14:52 +00:00
gtk_widget_show ( label154 ) ;
gtk_table_attach ( GTK_TABLE ( table1 ) , label154 , 0 , 1 , 3 , 4 ,
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
gtk_misc_set_alignment ( GTK_MISC ( label154 ) , 0 , 0.5 ) ;
entry_print = gtk_entry_new ( ) ;
gtk_widget_show ( entry_print ) ;
gtk_table_attach ( GTK_TABLE ( table1 ) , entry_print , 1 , 2 , 3 , 4 ,
( GtkAttachOptions ) ( GTK_EXPAND | GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
2006-09-01 15:48:56 +00:00
gtk_tooltips_set_tip ( tooltips , entry_print , _ ( " Path to the command for printing files (use %f for the filename). " ) , NULL ) ;
2006-06-29 17:14:52 +00:00
button_print = gtk_button_new ( ) ;
gtk_widget_show ( button_print ) ;
gtk_table_attach ( GTK_TABLE ( table1 ) , button_print , 2 , 3 , 3 , 4 ,
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
image763 = gtk_image_new_from_stock ( " gtk-open " , GTK_ICON_SIZE_BUTTON ) ;
gtk_widget_show ( image763 ) ;
gtk_container_add ( GTK_CONTAINER ( button_print ) , image763 ) ;
2006-11-18 15:47:28 +00:00
label171 = gtk_label_new ( _ ( " Grep: " ) ) ;
2006-07-13 14:30:44 +00:00
gtk_widget_show ( label171 ) ;
gtk_table_attach ( GTK_TABLE ( table1 ) , label171 , 0 , 1 , 4 , 5 ,
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
gtk_misc_set_alignment ( GTK_MISC ( label171 ) , 0 , 0.5 ) ;
entry_grep = gtk_entry_new ( ) ;
gtk_widget_show ( entry_grep ) ;
gtk_table_attach ( GTK_TABLE ( table1 ) , entry_grep , 1 , 2 , 4 , 5 ,
( GtkAttachOptions ) ( GTK_EXPAND | GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
button_grep = gtk_button_new ( ) ;
gtk_widget_show ( button_grep ) ;
gtk_table_attach ( GTK_TABLE ( table1 ) , button_grep , 2 , 3 , 4 , 5 ,
( GtkAttachOptions ) ( GTK_FILL ) ,
( GtkAttachOptions ) ( 0 ) , 0 , 0 ) ;
2006-08-01 10:35:32 +00:00
image808 = gtk_image_new_from_stock ( " gtk-open " , GTK_ICON_SIZE_BUTTON ) ;
2006-07-13 14:30:44 +00:00
gtk_widget_show ( image808 ) ;
gtk_container_add ( GTK_CONTAINER ( button_grep ) , image808 ) ;
2006-11-18 16:52:23 +00:00
label179 = gtk_label_new ( _ ( " <b>Tool paths</b> " ) ) ;
gtk_widget_show ( label179 ) ;
gtk_frame_set_label_widget ( GTK_FRAME ( frame20 ) , label179 ) ;
gtk_label_set_use_markup ( GTK_LABEL ( label179 ) , TRUE ) ;
2005-11-22 12:26:26 +00:00
label96 = gtk_label_new ( _ ( " Tools " ) ) ;
gtk_widget_show ( label96 ) ;
2006-11-18 15:47:28 +00:00
gtk_notebook_set_tab_label ( GTK_NOTEBOOK ( notebook2 ) , gtk_notebook_get_nth_page ( GTK_NOTEBOOK ( notebook2 ) , 5 ) , label96 ) ;
2005-11-22 12:26:26 +00:00
2006-11-18 16:52:23 +00:00
frame21 = gtk_frame_new ( NULL ) ;
gtk_widget_show ( frame21 ) ;
gtk_container_add ( GTK_CONTAINER ( notebook2 ) , frame21 ) ;
gtk_frame_set_shadow_type ( GTK_FRAME ( frame21 ) , GTK_SHADOW_NONE ) ;
alignment24 = gtk_alignment_new ( 0.5 , 0.5 , 1 , 1 ) ;
gtk_widget_show ( alignment24 ) ;
gtk_container_add ( GTK_CONTAINER ( frame21 ) , alignment24 ) ;
gtk_alignment_set_padding ( GTK_ALIGNMENT ( alignment24 ) , 0 , 0 , 12 , 0 ) ;
vbox9 = gtk_vbox_new ( FALSE , 12 ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( vbox9 ) ;
2006-11-18 16:52:23 +00:00
gtk_container_add ( GTK_CONTAINER ( alignment24 ) , vbox9 ) ;
2005-11-22 12:26:26 +00:00
2006-11-18 16:52:23 +00:00
label120 = gtk_label_new ( _ ( " Set the information to be used in templates. See the documentation for details. " ) ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( label120 ) ;
gtk_box_pack_start ( GTK_BOX ( vbox9 ) , label120 , FALSE , FALSE , 0 ) ;
2006-11-18 16:52:23 +00:00
gtk_label_set_line_wrap ( GTK_LABEL ( label120 ) , TRUE ) ;
gtk_misc_set_alignment ( GTK_MISC ( label120 ) , 0 , 0.5 ) ;
2005-11-22 12:26:26 +00:00
gtk_misc_set_padding ( GTK_MISC ( label120 ) , 0 , 6 ) ;
2006-11-18 16:52:23 +00:00
table6 = gtk_table_new ( 5 , 2 , FALSE ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( table6 ) ;
2006-11-18 16:52:23 +00:00
gtk_box_pack_start ( GTK_BOX ( vbox9 ) , table6 , FALSE , TRUE , 0 ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-11-18 15:47:28 +00:00
label126 = gtk_label_new ( _ ( " Initial Version: " ) ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-11-18 15:47:28 +00:00
label129 = gtk_label_new ( _ ( " Developer: " ) ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-11-18 15:47:28 +00:00
label123 = gtk_label_new ( _ ( " Company: " ) ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-11-18 15:47:28 +00:00
label130 = gtk_label_new ( _ ( " Mail address: " ) ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-11-18 15:47:28 +00:00
label131 = gtk_label_new ( _ ( " Initials: " ) ) ;
2005-11-22 12:26:26 +00:00
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 ) ;
2006-11-18 16:52:23 +00:00
label132 = gtk_label_new ( _ ( " <i>Notice: For all changes you make here to take effect, you need to restart Geany.</i> " ) ) ;
2005-11-22 12:26:26 +00:00
gtk_widget_show ( label132 ) ;
gtk_box_pack_start ( GTK_BOX ( vbox9 ) , label132 , FALSE , FALSE , 0 ) ;
2006-11-18 15:47:28 +00:00
gtk_label_set_use_markup ( GTK_LABEL ( label132 ) , TRUE ) ;
2006-11-18 16:52:23 +00:00
gtk_label_set_line_wrap ( GTK_LABEL ( label132 ) , TRUE ) ;
gtk_misc_set_alignment ( GTK_MISC ( label132 ) , 0 , 0.5 ) ;
label180 = gtk_label_new ( _ ( " <b>Template data</b> " ) ) ;
gtk_widget_show ( label180 ) ;
gtk_frame_set_label_widget ( GTK_FRAME ( frame21 ) , label180 ) ;
gtk_label_set_use_markup ( GTK_LABEL ( label180 ) , TRUE ) ;
2005-11-22 12:26:26 +00:00
label119 = gtk_label_new ( _ ( " Templates " ) ) ;
gtk_widget_show ( label119 ) ;
2006-11-18 15:47:28 +00:00
gtk_notebook_set_tab_label ( GTK_NOTEBOOK ( notebook2 ) , gtk_notebook_get_nth_page ( GTK_NOTEBOOK ( notebook2 ) , 6 ) , label119 ) ;
2005-11-22 12:26:26 +00:00
2006-11-18 16:52:23 +00:00
frame22 = gtk_frame_new ( NULL ) ;
gtk_widget_show ( frame22 ) ;
gtk_container_add ( GTK_CONTAINER ( notebook2 ) , frame22 ) ;
gtk_frame_set_shadow_type ( GTK_FRAME ( frame22 ) , GTK_SHADOW_NONE ) ;
alignment25 = gtk_alignment_new ( 0.5 , 0.5 , 1 , 1 ) ;
gtk_widget_show ( alignment25 ) ;
gtk_container_add ( GTK_CONTAINER ( frame22 ) , alignment25 ) ;
gtk_alignment_set_padding ( GTK_ALIGNMENT ( alignment25 ) , 0 , 0 , 12 , 0 ) ;
2006-05-19 17:18:06 +00:00
vbox13 = gtk_vbox_new ( FALSE , 5 ) ;
gtk_widget_show ( vbox13 ) ;
2006-11-18 16:52:23 +00:00
gtk_container_add ( GTK_CONTAINER ( alignment25 ) , vbox13 ) ;
2006-05-19 17:18:06 +00:00
2006-11-18 15:47:28 +00:00
label152 = gtk_label_new ( _ ( " Here you can change keyboard shortcuts for various actions. Select one and press the Change button to enter a new shortcut, or double click on an action to edit the string representation of the shortcut directly. " ) ) ;
2006-05-19 17:18:06 +00:00
gtk_widget_show ( label152 ) ;
gtk_box_pack_start ( GTK_BOX ( vbox13 ) , label152 , FALSE , TRUE , 0 ) ;
gtk_label_set_justify ( GTK_LABEL ( label152 ) , GTK_JUSTIFY_FILL ) ;
gtk_label_set_line_wrap ( GTK_LABEL ( label152 ) , TRUE ) ;
2006-11-18 16:52:23 +00:00
gtk_misc_set_alignment ( GTK_MISC ( label152 ) , 0 , 0 ) ;
2006-05-19 17:18:06 +00:00
gtk_misc_set_padding ( GTK_MISC ( label152 ) , 0 , 5 ) ;
scrolledwindow8 = gtk_scrolled_window_new ( NULL , NULL ) ;
gtk_widget_show ( scrolledwindow8 ) ;
gtk_box_pack_start ( GTK_BOX ( vbox13 ) , scrolledwindow8 , TRUE , TRUE , 0 ) ;
gtk_scrolled_window_set_shadow_type ( GTK_SCROLLED_WINDOW ( scrolledwindow8 ) , GTK_SHADOW_IN ) ;
treeview7 = gtk_tree_view_new ( ) ;
gtk_widget_show ( treeview7 ) ;
gtk_container_add ( GTK_CONTAINER ( scrolledwindow8 ) , treeview7 ) ;
gtk_tree_view_set_enable_search ( GTK_TREE_VIEW ( treeview7 ) , FALSE ) ;
alignment10 = gtk_alignment_new ( 0.5 , 0.5 , 0.3 , 1 ) ;
gtk_widget_show ( alignment10 ) ;
gtk_box_pack_start ( GTK_BOX ( vbox13 ) , alignment10 , FALSE , FALSE , 0 ) ;
gtk_alignment_set_padding ( GTK_ALIGNMENT ( alignment10 ) , 0 , 5 , 0 , 0 ) ;
button2 = gtk_button_new_with_mnemonic ( _ ( " Change " ) ) ;
gtk_widget_show ( button2 ) ;
gtk_container_add ( GTK_CONTAINER ( alignment10 ) , button2 ) ;
2006-11-18 16:52:23 +00:00
label181 = gtk_label_new ( _ ( " <b>Keyboard shortcuts</b> " ) ) ;
gtk_widget_show ( label181 ) ;
gtk_frame_set_label_widget ( GTK_FRAME ( frame22 ) , label181 ) ;
gtk_label_set_use_markup ( GTK_LABEL ( label181 ) , TRUE ) ;
2006-05-19 17:18:06 +00:00
label151 = gtk_label_new ( _ ( " Keybindings " ) ) ;
gtk_widget_show ( label151 ) ;
2006-11-18 15:47:28 +00:00
gtk_notebook_set_tab_label ( GTK_NOTEBOOK ( notebook2 ) , gtk_notebook_get_nth_page ( GTK_NOTEBOOK ( notebook2 ) , 7 ) , label151 ) ;
2006-05-19 17:18:06 +00:00
2005-11-22 12:26:26 +00:00
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 ) ;
2006-10-29 01:28:58 +00:00
button3 = gtk_button_new_from_stock ( " gtk-apply " ) ;
gtk_widget_show ( button3 ) ;
gtk_dialog_add_action_widget ( GTK_DIALOG ( prefs_dialog ) , button3 , GTK_RESPONSE_APPLY ) ;
GTK_WIDGET_SET_FLAGS ( button3 , GTK_CAN_DEFAULT ) ;
button4 = gtk_button_new_from_stock ( " gtk-cancel " ) ;
gtk_widget_show ( button4 ) ;
gtk_dialog_add_action_widget ( GTK_DIALOG ( prefs_dialog ) , button4 , GTK_RESPONSE_CANCEL ) ;
GTK_WIDGET_SET_FLAGS ( button4 , GTK_CAN_DEFAULT ) ;
2005-11-22 12:26:26 +00:00
2006-10-29 01:28:58 +00:00
button5 = gtk_button_new_from_stock ( " gtk-ok " ) ;
gtk_widget_show ( button5 ) ;
gtk_dialog_add_action_widget ( GTK_DIALOG ( prefs_dialog ) , button5 , GTK_RESPONSE_OK ) ;
GTK_WIDGET_SET_FLAGS ( button5 , GTK_CAN_DEFAULT ) ;
2005-11-22 12:26:26 +00:00
/* 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 " ) ;
2006-11-18 15:47:28 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , vbox20 , " vbox20 " ) ;
2006-07-02 16:21:35 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , frame10 , " frame10 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , alignment13 , " alignment13 " ) ;
2005-11-22 12:26:26 +00:00
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 " ) ;
2006-05-22 00:25:19 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_vte , " check_vte " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_ask_for_quit , " check_ask_for_quit " ) ;
2006-07-02 16:21:35 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , label162 , " label162 " ) ;
2006-11-18 15:47:28 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , frame19 , " frame19 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , alignment22 , " alignment22 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , vbox21 , " vbox21 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_beep , " check_beep " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_switch_pages , " check_switch_pages " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_ask_suppress_search_dialogs , " check_ask_suppress_search_dialogs " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , label178 , " label178 " ) ;
2007-04-15 18:09:59 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , frame24 , " frame24 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , alignment27 , " alignment27 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , hbox8 , " hbox8 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , label189 , " label189 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , entry_contextaction , " entry_contextaction " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , label188 , " label188 " ) ;
2007-04-29 16:36:42 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , frame25 , " frame25 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , alignment28 , " alignment28 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , table11 , " table11 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , label191 , " label191 " ) ;
2007-05-23 13:44:25 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , startup_path_entry , " startup_path_entry " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , startup_path_button , " startup_path_button " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , image1741 , " image1741 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , label192 , " label192 " ) ;
2007-04-29 16:36:42 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , project_file_path_entry , " project_file_path_entry " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , project_file_path_button , " project_file_path_button " ) ;
2007-05-23 13:44:25 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , image1775 , " image1775 " ) ;
2007-04-29 16:36:42 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , label190 , " label190 " ) ;
2006-07-02 16:21:35 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , label94 , " label94 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , vbox14 , " vbox14 " ) ;
2005-12-11 02:16:02 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , frame7 , " frame7 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , alignment9 , " alignment9 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , vbox11 , " vbox11 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_list_symbol , " check_list_symbol " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_list_openfiles , " check_list_openfiles " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , label146 , " label146 " ) ;
2005-11-22 12:26:26 +00:00
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 " ) ;
2006-11-18 15:47:28 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , label103 , " label103 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , msgwin_font , " msgwin_font " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , tagbar_font , " tagbar_font " ) ;
2006-07-02 16:21:35 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , editor_font , " editor_font " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , label99 , " label99 " ) ;
2006-07-02 16:21:35 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , frame9 , " frame9 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , alignment12 , " alignment12 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , table8 , " table8 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , label161 , " label161 " ) ;
2006-11-18 15:47:28 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , label160 , " label160 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , label159 , " label159 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_show_notebook_tabs , " check_show_notebook_tabs " ) ;
2006-07-02 16:21:35 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , combo_tab_msgwin , " combo_tab_msgwin " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , combo_tab_sidebar , " combo_tab_sidebar " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , combo_tab_editor , " combo_tab_editor " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , label158 , " label158 " ) ;
2007-04-10 17:06:57 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , frame23 , " frame23 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , alignment26 , " alignment26 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , vbox22 , " vbox22 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_statusbar_visible , " check_statusbar_visible " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , label187 , " label187 " ) ;
2006-07-02 16:21:35 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , label157 , " label157 " ) ;
2006-07-11 14:15:56 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , vbox15 , " vbox15 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , frame12 , " frame12 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , alignment15 , " alignment15 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_toolbar_show , " check_toolbar_show " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , label166 , " label166 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , frame11 , " frame11 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , alignment14 , " alignment14 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , vbox16 , " vbox16 " ) ;
2006-07-15 18:15:30 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_toolbar_fileops , " check_toolbar_fileops " ) ;
2006-07-11 14:15:56 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_toolbar_compile , " check_toolbar_compile " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_toolbar_colour , " check_toolbar_colour " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_toolbar_zoom , " check_toolbar_zoom " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_toolbar_undo , " check_toolbar_undo " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_toolbar_search , " check_toolbar_search " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_toolbar_goto , " check_toolbar_goto " ) ;
2006-10-29 01:28:58 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_toolbar_quit , " check_toolbar_quit " ) ;
2006-07-11 14:15:56 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , label165 , " label165 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , frame13 , " frame13 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , alignment16 , " alignment16 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , table9 , " table9 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , label169 , " label169 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , label170 , " label170 " ) ;
2006-11-18 15:47:28 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , radio_toolbar_imagetext , " radio_toolbar_imagetext " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , radio_toolbar_small , " radio_toolbar_small " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , radio_toolbar_large , " radio_toolbar_large " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , radio_toolbar_text , " radio_toolbar_text " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , radio_toolbar_image , " radio_toolbar_image " ) ;
2006-07-11 14:15:56 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , label167 , " label167 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , label164 , " label164 " ) ;
2006-11-18 15:47:28 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , vbox18 , " vbox18 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , frame6 , " frame6 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , alignment7 , " alignment7 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , vbox8 , " vbox8 " ) ;
2006-07-02 16:21:35 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , table5 , " table5 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , label116 , " label116 " ) ;
2006-06-21 18:54:07 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , eventbox1 , " eventbox1 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , combo_encoding , " combo_encoding " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , spin_tab_width , " spin_tab_width " ) ;
2006-11-18 15:47:28 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , label153 , " label153 " ) ;
2005-11-22 12:26:26 +00:00
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 " ) ;
2006-06-21 18:54:07 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_replace_tabs , " check_replace_tabs " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , label19 , " label19 " ) ;
2006-11-18 15:47:28 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , frame17 , " frame17 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , alignment20 , " alignment20 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , table10 , " table10 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , label150 , " label150 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , spin_mru , " spin_mru " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , hbox3 , " hbox3 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , radio_tab_left , " radio_tab_left " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , radio_tab_right , " radio_tab_right " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , label147 , " label147 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , label176 , " label176 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , label174 , " label174 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , vbox5 , " vbox5 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , frame5 , " frame5 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , alignment6 , " alignment6 " ) ;
2006-02-14 22:07:55 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , vbox12 , " vbox12 " ) ;
2006-12-13 16:51:09 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , checkbutton1 , " checkbutton1 " ) ;
2006-02-14 22:07:55 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_indent , " check_indent " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_white_space , " check_white_space " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_line_end , " check_line_end " ) ;
2006-08-01 10:06:28 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , label102 , " label102 " ) ;
2006-11-18 15:47:28 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , frame8 , " frame8 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , alignment11 , " alignment11 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , table7 , " table7 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , label133 , " label133 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , label134 , " label134 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , label156 , " label156 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , long_line_color , " long_line_color " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , spin_long_line , " spin_long_line " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , hbox5 , " hbox5 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , radio_long_line_line , " radio_long_line_line " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , radio_long_line_background , " radio_long_line_background " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , radio_long_line_disabled , " radio_long_line_disabled " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , label155 , " label155 " ) ;
2006-08-01 10:06:28 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , frame14 , " frame14 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , alignment17 , " alignment17 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , vbox17 , " vbox17 " ) ;
2007-03-08 18:02:08 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , hbox7 , " hbox7 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , label183 , " label183 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , eventbox2 , " eventbox2 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , combo_auto_indent_mode , " combo_auto_indent_mode " ) ;
2006-08-01 10:06:28 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_line_wrapping , " check_line_wrapping " ) ;
2006-02-26 18:19:28 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_folding , " check_folding " ) ;
2006-12-03 22:33:46 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_unfold_children , " check_unfold_children " ) ;
2006-06-13 19:37:21 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_indicators , " check_indicators " ) ;
2007-01-13 20:50:36 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_disable_dnd , " check_disable_dnd " ) ;
2007-01-14 17:09:17 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_use_tabs , " check_use_tabs " ) ;
2006-11-18 15:47:28 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , label172 , " label172 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , frame18 , " frame18 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , alignment21 , " alignment21 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , vbox19 , " vbox19 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_auto_complete , " check_auto_complete " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_xmltag , " check_xmltag " ) ;
2007-01-26 10:43:25 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , check_symbol_auto_completion , " check_symbol_auto_completion " ) ;
2006-08-13 15:04:30 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , hbox6 , " hbox6 " ) ;
2007-01-26 10:43:25 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , label182 , " label182 " ) ;
2006-08-13 15:04:30 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , label173 , " label173 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , spin_autocheight , " spin_autocheight " ) ;
2006-11-18 15:47:28 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , label177 , " label177 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , label95 , " label95 " ) ;
2006-11-18 16:52:23 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , frame20 , " frame20 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , alignment23 , " alignment23 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , vbox2 , " vbox2 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , label17 , " label17 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , table1 , " table1 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , label11 , " label11 " ) ;
2006-05-19 17:18:06 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , label97 , " label97 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , label117 , " label117 " ) ;
2006-05-19 17:18:06 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , entry_com_make , " entry_com_make " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , entry_com_term , " entry_com_term " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , entry_browser , " entry_browser " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , button_make , " button_make " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , image285 , " image285 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , button_term , " button_term " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , image286 , " image286 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , button_browser , " button_browser " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , image287 , " image287 " ) ;
2006-06-29 17:14:52 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , label154 , " label154 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , entry_print , " entry_print " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , button_print , " button_print " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , image763 , " image763 " ) ;
2006-07-13 14:30:44 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , label171 , " label171 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , entry_grep , " entry_grep " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , button_grep , " button_grep " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , image808 , " image808 " ) ;
2006-11-18 16:52:23 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , label179 , " label179 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , label96 , " label96 " ) ;
2006-11-18 16:52:23 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , frame21 , " frame21 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , alignment24 , " alignment24 " ) ;
2005-11-22 12:26:26 +00:00
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 " ) ;
2006-11-18 16:52:23 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , label180 , " label180 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , label119 , " label119 " ) ;
2006-11-18 16:52:23 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , frame22 , " frame22 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , alignment25 , " alignment25 " ) ;
2006-05-19 17:18:06 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , vbox13 , " vbox13 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , label152 , " label152 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , scrolledwindow8 , " scrolledwindow8 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , treeview7 , " treeview7 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , alignment10 , " alignment10 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , button2 , " button2 " ) ;
2006-11-18 16:52:23 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , label181 , " label181 " ) ;
2006-05-19 17:18:06 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , label151 , " label151 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT_NO_REF ( prefs_dialog , dialog_action_area3 , " dialog_action_area3 " ) ;
2006-10-29 01:28:58 +00:00
GLADE_HOOKUP_OBJECT ( prefs_dialog , button3 , " button3 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , button4 , " button4 " ) ;
GLADE_HOOKUP_OBJECT ( prefs_dialog , button5 , " button5 " ) ;
2005-11-22 12:26:26 +00:00
GLADE_HOOKUP_OBJECT_NO_REF ( prefs_dialog , tooltips , " tooltips " ) ;
2006-10-29 01:28:58 +00:00
gtk_widget_grab_default ( button5 ) ;
2005-11-22 12:26:26 +00:00
return prefs_dialog ;
}