Add Remove Markers item to the Document menu.

Remove Error Indicators no longer removes current tag marker.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1302 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Nick Treleaven 2007-02-17 18:06:08 +00:00
parent fd2de222be
commit 6ca53610ba
6 changed files with 145 additions and 99 deletions

View File

@ -5,6 +5,10 @@
or Next Message. or Next Message.
* src/search.c: * src/search.c:
Add Mark button as a Find All option in the Find dialog. Add Mark button as a Find All option in the Find dialog.
* src/interface.c, src/callbacks.c, src/callbacks.h, src/document.c,
geany.glade:
Add Remove Markers item to the Document menu.
Remove Error Indicators no longer removes current tag marker.
2007-02-16 Nick Treleaven <nick.treleaven@btinternet.com> 2007-02-16 Nick Treleaven <nick.treleaven@btinternet.com>

View File

@ -57,7 +57,7 @@
<property name="use_underline">True</property> <property name="use_underline">True</property>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image1500"> <widget class="GtkImage" id="image1537">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-new</property> <property name="stock">gtk-new</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -147,7 +147,7 @@
<signal name="activate" handler="on_save_all1_activate" last_modification_time="Thu, 02 Jun 2005 14:15:30 GMT"/> <signal name="activate" handler="on_save_all1_activate" last_modification_time="Thu, 02 Jun 2005 14:15:30 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image1501"> <widget class="GtkImage" id="image1538">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-save</property> <property name="stock">gtk-save</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -168,7 +168,7 @@
<signal name="activate" handler="on_toolbutton23_clicked" last_modification_time="Mon, 24 Jul 2006 19:26:04 GMT"/> <signal name="activate" handler="on_toolbutton23_clicked" last_modification_time="Mon, 24 Jul 2006 19:26:04 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image1502"> <widget class="GtkImage" id="image1539">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-revert-to-saved</property> <property name="stock">gtk-revert-to-saved</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -188,7 +188,7 @@
<property name="use_underline">True</property> <property name="use_underline">True</property>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image1503"> <widget class="GtkImage" id="image1540">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-revert-to-saved</property> <property name="stock">gtk-revert-to-saved</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -268,7 +268,7 @@
<signal name="activate" handler="on_close_all1_activate" last_modification_time="Thu, 02 Jun 2005 14:15:30 GMT"/> <signal name="activate" handler="on_close_all1_activate" last_modification_time="Thu, 02 Jun 2005 14:15:30 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image1504"> <widget class="GtkImage" id="image1541">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-close</property> <property name="stock">gtk-close</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -476,7 +476,7 @@
<signal name="activate" handler="on_menu_increase_indent1_activate" last_modification_time="Tue, 01 Aug 2006 10:28:54 GMT"/> <signal name="activate" handler="on_menu_increase_indent1_activate" last_modification_time="Tue, 01 Aug 2006 10:28:54 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image1505"> <widget class="GtkImage" id="image1542">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-indent</property> <property name="stock">gtk-indent</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -497,7 +497,7 @@
<signal name="activate" handler="on_menu_decrease_indent1_activate" last_modification_time="Tue, 01 Aug 2006 10:28:54 GMT"/> <signal name="activate" handler="on_menu_decrease_indent1_activate" last_modification_time="Tue, 01 Aug 2006 10:28:54 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image1506"> <widget class="GtkImage" id="image1543">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-unindent</property> <property name="stock">gtk-unindent</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -527,7 +527,7 @@
<property name="use_underline">True</property> <property name="use_underline">True</property>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image1507"> <widget class="GtkImage" id="image1544">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-add</property> <property name="stock">gtk-add</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -559,7 +559,7 @@
<property name="use_underline">True</property> <property name="use_underline">True</property>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image1508"> <widget class="GtkImage" id="image1545">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-add</property> <property name="stock">gtk-add</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -729,7 +729,7 @@
<signal name="activate" handler="on_replace1_activate" last_modification_time="Sun, 23 Oct 2005 13:22:36 GMT"/> <signal name="activate" handler="on_replace1_activate" last_modification_time="Sun, 23 Oct 2005 13:22:36 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image1509"> <widget class="GtkImage" id="image1546">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-find-and-replace</property> <property name="stock">gtk-find-and-replace</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -795,7 +795,7 @@
<signal name="activate" handler="on_go_to_line1_activate" last_modification_time="Tue, 23 May 2006 17:10:49 GMT"/> <signal name="activate" handler="on_go_to_line1_activate" last_modification_time="Tue, 23 May 2006 17:10:49 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image1510"> <widget class="GtkImage" id="image1547">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-jump-to</property> <property name="stock">gtk-jump-to</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -830,7 +830,7 @@
<signal name="activate" handler="on_change_font1_activate" last_modification_time="Fri, 22 Apr 2005 18:58:45 GMT"/> <signal name="activate" handler="on_change_font1_activate" last_modification_time="Fri, 22 Apr 2005 18:58:45 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image1511"> <widget class="GtkImage" id="image1548">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-select-font</property> <property name="stock">gtk-select-font</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -1140,6 +1140,15 @@
</widget> </widget>
</child> </child>
<child>
<widget class="GtkMenuItem" id="remove_markers1">
<property name="visible">True</property>
<property name="label" translatable="yes">Remove _Markers</property>
<property name="use_underline">True</property>
<signal name="activate" handler="on_remove_markers1_activate" last_modification_time="Sat, 17 Feb 2007 17:43:05 GMT"/>
</widget>
</child>
<child> <child>
<widget class="GtkMenuItem" id="menu_remove_indicators1"> <widget class="GtkMenuItem" id="menu_remove_indicators1">
<property name="visible">True</property> <property name="visible">True</property>
@ -1172,7 +1181,7 @@
<signal name="activate" handler="on_project_new1_activate" last_modification_time="Thu, 18 Jan 2007 22:16:24 GMT"/> <signal name="activate" handler="on_project_new1_activate" last_modification_time="Thu, 18 Jan 2007 22:16:24 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image1512"> <widget class="GtkImage" id="image1549">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-new</property> <property name="stock">gtk-new</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -1193,7 +1202,7 @@
<signal name="activate" handler="on_project_open1_activate" last_modification_time="Mon, 15 Jan 2007 17:34:17 GMT"/> <signal name="activate" handler="on_project_open1_activate" last_modification_time="Mon, 15 Jan 2007 17:34:17 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image1513"> <widget class="GtkImage" id="image1550">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-open</property> <property name="stock">gtk-open</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -1214,7 +1223,7 @@
<signal name="activate" handler="on_project_close1_activate" last_modification_time="Mon, 15 Jan 2007 17:34:17 GMT"/> <signal name="activate" handler="on_project_close1_activate" last_modification_time="Mon, 15 Jan 2007 17:34:17 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image1514"> <widget class="GtkImage" id="image1551">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-close</property> <property name="stock">gtk-close</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -1272,7 +1281,7 @@
<signal name="activate" handler="on_show_color_chooser1_activate" last_modification_time="Wed, 22 Jun 2005 18:10:21 GMT"/> <signal name="activate" handler="on_show_color_chooser1_activate" last_modification_time="Wed, 22 Jun 2005 18:10:21 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image1515"> <widget class="GtkImage" id="image1552">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-select-color</property> <property name="stock">gtk-select-color</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>

View File

@ -1845,6 +1845,9 @@ on_menu_remove_indicators1_activate (GtkMenuItem *menuitem,
gpointer user_data) gpointer user_data)
{ {
gint idx = document_get_cur_idx(); gint idx = document_get_cur_idx();
if (! DOC_IDX_VALID(idx))
return;
document_clear_indicators(idx); document_clear_indicators(idx);
} }
@ -2201,3 +2204,18 @@ on_menu_open_selected_file1_activate (GtkMenuItem *menuitem,
g_free(locale_filename); g_free(locale_filename);
} }
} }
void
on_remove_markers1_activate (GtkMenuItem *menuitem,
gpointer user_data)
{
gint idx = document_get_cur_idx();
if (! DOC_IDX_VALID(idx))
return;
sci_marker_delete_all(doc_list[idx].sci, 0); // delete the yellow tag marker
sci_marker_delete_all(doc_list[idx].sci, 1); // delete user markers
}

View File

@ -601,3 +601,7 @@ on_menu_project1_activate (GtkMenuItem *menuitem,
void void
on_menu_open_selected_file1_activate (GtkMenuItem *menuitem, on_menu_open_selected_file1_activate (GtkMenuItem *menuitem,
gpointer user_data); gpointer user_data);
void
on_remove_markers1_activate (GtkMenuItem *menuitem,
gpointer user_data);

View File

@ -1520,14 +1520,16 @@ void document_fold_all(gint idx)
void document_clear_indicators(gint idx) void document_clear_indicators(gint idx)
{ {
glong last_pos = sci_get_length(doc_list[idx].sci); glong last_pos;
g_return_if_fail(DOC_IDX_VALID(idx));
last_pos = sci_get_length(doc_list[idx].sci);
if (last_pos > 0) if (last_pos > 0)
{ {
sci_start_styling(doc_list[idx].sci, 0, INDIC2_MASK); sci_start_styling(doc_list[idx].sci, 0, INDIC2_MASK);
sci_set_styling(doc_list[idx].sci, last_pos, 0); sci_set_styling(doc_list[idx].sci, last_pos, 0);
} }
// delete the yellow marker if still set
if (! app->show_markers_margin) sci_marker_delete_all(doc_list[idx].sci, 0);
} }

View File

@ -37,7 +37,7 @@ create_window1 (void)
GtkWidget *menuitem1_menu; GtkWidget *menuitem1_menu;
GtkWidget *menu_new1; GtkWidget *menu_new1;
GtkWidget *menu_new_with_template1; GtkWidget *menu_new_with_template1;
GtkWidget *image1500; GtkWidget *image1537;
GtkWidget *menu_new_with_template1_menu; GtkWidget *menu_new_with_template1_menu;
GtkWidget *invisible2; GtkWidget *invisible2;
GtkWidget *separator12; GtkWidget *separator12;
@ -48,11 +48,11 @@ create_window1 (void)
GtkWidget *menu_save1; GtkWidget *menu_save1;
GtkWidget *menu_save_as1; GtkWidget *menu_save_as1;
GtkWidget *menu_save_all1; GtkWidget *menu_save_all1;
GtkWidget *image1501; GtkWidget *image1538;
GtkWidget *menu_reload1; GtkWidget *menu_reload1;
GtkWidget *image1502; GtkWidget *image1539;
GtkWidget *menu_reload_as1; GtkWidget *menu_reload_as1;
GtkWidget *image1503; GtkWidget *image1540;
GtkWidget *menu_reload_as1_menu; GtkWidget *menu_reload_as1_menu;
GtkWidget *invisible7; GtkWidget *invisible7;
GtkWidget *separator21; GtkWidget *separator21;
@ -62,7 +62,7 @@ create_window1 (void)
GtkWidget *separator14; GtkWidget *separator14;
GtkWidget *menu_close1; GtkWidget *menu_close1;
GtkWidget *menu_close_all1; GtkWidget *menu_close_all1;
GtkWidget *image1504; GtkWidget *image1541;
GtkWidget *menu_separatormenuitem1; GtkWidget *menu_separatormenuitem1;
GtkWidget *menu_quit1; GtkWidget *menu_quit1;
GtkWidget *edit1; GtkWidget *edit1;
@ -88,16 +88,16 @@ create_window1 (void)
GtkWidget *menu_duplicate_line1; GtkWidget *menu_duplicate_line1;
GtkWidget *separator29; GtkWidget *separator29;
GtkWidget *menu_increase_indent1; GtkWidget *menu_increase_indent1;
GtkWidget *image1505; GtkWidget *image1542;
GtkWidget *menu_decrease_indent1; GtkWidget *menu_decrease_indent1;
GtkWidget *image1506; GtkWidget *image1543;
GtkWidget *separator18; GtkWidget *separator18;
GtkWidget *insert_include2; GtkWidget *insert_include2;
GtkWidget *image1507; GtkWidget *image1544;
GtkWidget *insert_include2_menu; GtkWidget *insert_include2_menu;
GtkWidget *invisible4; GtkWidget *invisible4;
GtkWidget *add_comments1; GtkWidget *add_comments1;
GtkWidget *image1508; GtkWidget *image1545;
GtkWidget *add_comments1_menu; GtkWidget *add_comments1_menu;
GtkWidget *menu_add_changelog_entry1; GtkWidget *menu_add_changelog_entry1;
GtkWidget *insert_file_header1; GtkWidget *insert_file_header1;
@ -117,7 +117,7 @@ create_window1 (void)
GtkWidget *find_previous1; GtkWidget *find_previous1;
GtkWidget *find_in_files1; GtkWidget *find_in_files1;
GtkWidget *replace1; GtkWidget *replace1;
GtkWidget *image1509; GtkWidget *image1546;
GtkWidget *separator33; GtkWidget *separator33;
GtkWidget *find_nextsel1; GtkWidget *find_nextsel1;
GtkWidget *find_prevsel1; GtkWidget *find_prevsel1;
@ -125,11 +125,11 @@ create_window1 (void)
GtkWidget *next_message1; GtkWidget *next_message1;
GtkWidget *separator32; GtkWidget *separator32;
GtkWidget *go_to_line1; GtkWidget *go_to_line1;
GtkWidget *image1510; GtkWidget *image1547;
GtkWidget *menuitem3; GtkWidget *menuitem3;
GtkWidget *menuitem3_menu; GtkWidget *menuitem3_menu;
GtkWidget *menu_change_font1; GtkWidget *menu_change_font1;
GtkWidget *image1511; GtkWidget *image1548;
GtkWidget *menu_separator4; GtkWidget *menu_separator4;
GtkWidget *menu_fullscreen1; GtkWidget *menu_fullscreen1;
GtkWidget *menu_show_messages_window1; GtkWidget *menu_show_messages_window1;
@ -166,22 +166,23 @@ create_window1 (void)
GtkWidget *menu_fold_all1; GtkWidget *menu_fold_all1;
GtkWidget *menu_unfold_all1; GtkWidget *menu_unfold_all1;
GtkWidget *separator23; GtkWidget *separator23;
GtkWidget *remove_markers1;
GtkWidget *menu_remove_indicators1; GtkWidget *menu_remove_indicators1;
GtkWidget *menu_project1; GtkWidget *menu_project1;
GtkWidget *menu_project1_menu; GtkWidget *menu_project1_menu;
GtkWidget *project_new1; GtkWidget *project_new1;
GtkWidget *image1512; GtkWidget *image1549;
GtkWidget *project_open1; GtkWidget *project_open1;
GtkWidget *image1513; GtkWidget *image1550;
GtkWidget *project_close1; GtkWidget *project_close1;
GtkWidget *image1514; GtkWidget *image1551;
GtkWidget *separator34; GtkWidget *separator34;
GtkWidget *project_properties1; GtkWidget *project_properties1;
GtkWidget *menu_build1; GtkWidget *menu_build1;
GtkWidget *tools1; GtkWidget *tools1;
GtkWidget *tools1_menu; GtkWidget *tools1_menu;
GtkWidget *menu_choose_color1; GtkWidget *menu_choose_color1;
GtkWidget *image1515; GtkWidget *image1552;
GtkWidget *menu_count_words1; GtkWidget *menu_count_words1;
GtkWidget *menu_insert_special_chars1; GtkWidget *menu_insert_special_chars1;
GtkWidget *menu_item5; GtkWidget *menu_item5;
@ -282,9 +283,9 @@ create_window1 (void)
gtk_widget_show (menu_new_with_template1); gtk_widget_show (menu_new_with_template1);
gtk_container_add (GTK_CONTAINER (menuitem1_menu), menu_new_with_template1); gtk_container_add (GTK_CONTAINER (menuitem1_menu), menu_new_with_template1);
image1500 = gtk_image_new_from_stock ("gtk-new", GTK_ICON_SIZE_MENU); image1537 = gtk_image_new_from_stock ("gtk-new", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1500); gtk_widget_show (image1537);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_new_with_template1), image1500); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_new_with_template1), image1537);
menu_new_with_template1_menu = gtk_menu_new (); 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); gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_new_with_template1), menu_new_with_template1_menu);
@ -327,25 +328,25 @@ create_window1 (void)
gtk_container_add (GTK_CONTAINER (menuitem1_menu), menu_save_all1); gtk_container_add (GTK_CONTAINER (menuitem1_menu), menu_save_all1);
gtk_tooltips_set_tip (tooltips, menu_save_all1, _("Saves all open files"), NULL); gtk_tooltips_set_tip (tooltips, menu_save_all1, _("Saves all open files"), NULL);
image1501 = gtk_image_new_from_stock ("gtk-save", GTK_ICON_SIZE_MENU); image1538 = gtk_image_new_from_stock ("gtk-save", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1501); gtk_widget_show (image1538);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_save_all1), image1501); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_save_all1), image1538);
menu_reload1 = gtk_image_menu_item_new_with_mnemonic (_("_Reload")); menu_reload1 = gtk_image_menu_item_new_with_mnemonic (_("_Reload"));
gtk_widget_show (menu_reload1); gtk_widget_show (menu_reload1);
gtk_container_add (GTK_CONTAINER (menuitem1_menu), menu_reload1); gtk_container_add (GTK_CONTAINER (menuitem1_menu), menu_reload1);
image1502 = gtk_image_new_from_stock ("gtk-revert-to-saved", GTK_ICON_SIZE_MENU); image1539 = gtk_image_new_from_stock ("gtk-revert-to-saved", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1502); gtk_widget_show (image1539);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_reload1), image1502); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_reload1), image1539);
menu_reload_as1 = gtk_image_menu_item_new_with_mnemonic (_("R_eload As")); menu_reload_as1 = gtk_image_menu_item_new_with_mnemonic (_("R_eload As"));
gtk_widget_show (menu_reload_as1); gtk_widget_show (menu_reload_as1);
gtk_container_add (GTK_CONTAINER (menuitem1_menu), menu_reload_as1); gtk_container_add (GTK_CONTAINER (menuitem1_menu), menu_reload_as1);
image1503 = gtk_image_new_from_stock ("gtk-revert-to-saved", GTK_ICON_SIZE_MENU); image1540 = gtk_image_new_from_stock ("gtk-revert-to-saved", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1503); gtk_widget_show (image1540);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_reload_as1), image1503); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_reload_as1), image1540);
menu_reload_as1_menu = gtk_menu_new (); menu_reload_as1_menu = gtk_menu_new ();
gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_reload_as1), menu_reload_as1_menu); gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_reload_as1), menu_reload_as1_menu);
@ -386,9 +387,9 @@ create_window1 (void)
gtk_container_add (GTK_CONTAINER (menuitem1_menu), menu_close_all1); gtk_container_add (GTK_CONTAINER (menuitem1_menu), menu_close_all1);
gtk_tooltips_set_tip (tooltips, menu_close_all1, _("Closes all open files"), NULL); gtk_tooltips_set_tip (tooltips, menu_close_all1, _("Closes all open files"), NULL);
image1504 = gtk_image_new_from_stock ("gtk-close", GTK_ICON_SIZE_MENU); image1541 = gtk_image_new_from_stock ("gtk-close", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1504); gtk_widget_show (image1541);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_close_all1), image1504); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_close_all1), image1541);
menu_separatormenuitem1 = gtk_separator_menu_item_new (); menu_separatormenuitem1 = gtk_separator_menu_item_new ();
gtk_widget_show (menu_separatormenuitem1); gtk_widget_show (menu_separatormenuitem1);
@ -496,17 +497,17 @@ create_window1 (void)
gtk_widget_show (menu_increase_indent1); gtk_widget_show (menu_increase_indent1);
gtk_container_add (GTK_CONTAINER (menu_format1_menu), menu_increase_indent1); gtk_container_add (GTK_CONTAINER (menu_format1_menu), menu_increase_indent1);
image1505 = gtk_image_new_from_stock ("gtk-indent", GTK_ICON_SIZE_MENU); image1542 = gtk_image_new_from_stock ("gtk-indent", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1505); gtk_widget_show (image1542);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_increase_indent1), image1505); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_increase_indent1), image1542);
menu_decrease_indent1 = gtk_image_menu_item_new_with_mnemonic (_("_Decrease Indent")); menu_decrease_indent1 = gtk_image_menu_item_new_with_mnemonic (_("_Decrease Indent"));
gtk_widget_show (menu_decrease_indent1); gtk_widget_show (menu_decrease_indent1);
gtk_container_add (GTK_CONTAINER (menu_format1_menu), menu_decrease_indent1); gtk_container_add (GTK_CONTAINER (menu_format1_menu), menu_decrease_indent1);
image1506 = gtk_image_new_from_stock ("gtk-unindent", GTK_ICON_SIZE_MENU); image1543 = gtk_image_new_from_stock ("gtk-unindent", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1506); gtk_widget_show (image1543);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_decrease_indent1), image1506); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_decrease_indent1), image1543);
separator18 = gtk_separator_menu_item_new (); separator18 = gtk_separator_menu_item_new ();
gtk_widget_show (separator18); gtk_widget_show (separator18);
@ -517,9 +518,9 @@ create_window1 (void)
gtk_widget_show (insert_include2); gtk_widget_show (insert_include2);
gtk_container_add (GTK_CONTAINER (edit1_menu), insert_include2); gtk_container_add (GTK_CONTAINER (edit1_menu), insert_include2);
image1507 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU); image1544 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1507); gtk_widget_show (image1544);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (insert_include2), image1507); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (insert_include2), image1544);
insert_include2_menu = gtk_menu_new (); insert_include2_menu = gtk_menu_new ();
gtk_menu_item_set_submenu (GTK_MENU_ITEM (insert_include2), insert_include2_menu); gtk_menu_item_set_submenu (GTK_MENU_ITEM (insert_include2), insert_include2_menu);
@ -531,9 +532,9 @@ create_window1 (void)
gtk_widget_show (add_comments1); gtk_widget_show (add_comments1);
gtk_container_add (GTK_CONTAINER (edit1_menu), add_comments1); gtk_container_add (GTK_CONTAINER (edit1_menu), add_comments1);
image1508 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU); image1545 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1508); gtk_widget_show (image1545);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (add_comments1), image1508); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (add_comments1), image1545);
add_comments1_menu = gtk_menu_new (); add_comments1_menu = gtk_menu_new ();
gtk_menu_item_set_submenu (GTK_MENU_ITEM (add_comments1), add_comments1_menu); gtk_menu_item_set_submenu (GTK_MENU_ITEM (add_comments1), add_comments1_menu);
@ -614,9 +615,9 @@ create_window1 (void)
gtk_widget_show (replace1); gtk_widget_show (replace1);
gtk_container_add (GTK_CONTAINER (search1_menu), replace1); gtk_container_add (GTK_CONTAINER (search1_menu), replace1);
image1509 = gtk_image_new_from_stock ("gtk-find-and-replace", GTK_ICON_SIZE_MENU); image1546 = gtk_image_new_from_stock ("gtk-find-and-replace", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1509); gtk_widget_show (image1546);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (replace1), image1509); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (replace1), image1546);
separator33 = gtk_separator_menu_item_new (); separator33 = gtk_separator_menu_item_new ();
gtk_widget_show (separator33); gtk_widget_show (separator33);
@ -649,9 +650,9 @@ create_window1 (void)
gtk_widget_show (go_to_line1); gtk_widget_show (go_to_line1);
gtk_container_add (GTK_CONTAINER (search1_menu), go_to_line1); gtk_container_add (GTK_CONTAINER (search1_menu), go_to_line1);
image1510 = gtk_image_new_from_stock ("gtk-jump-to", GTK_ICON_SIZE_MENU); image1547 = gtk_image_new_from_stock ("gtk-jump-to", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1510); gtk_widget_show (image1547);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (go_to_line1), image1510); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (go_to_line1), image1547);
menuitem3 = gtk_menu_item_new_with_mnemonic (_("_View")); menuitem3 = gtk_menu_item_new_with_mnemonic (_("_View"));
gtk_widget_show (menuitem3); gtk_widget_show (menuitem3);
@ -665,9 +666,9 @@ create_window1 (void)
gtk_container_add (GTK_CONTAINER (menuitem3_menu), 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); gtk_tooltips_set_tip (tooltips, menu_change_font1, _("Change the default font"), NULL);
image1511 = gtk_image_new_from_stock ("gtk-select-font", GTK_ICON_SIZE_MENU); image1548 = gtk_image_new_from_stock ("gtk-select-font", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1511); gtk_widget_show (image1548);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_change_font1), image1511); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_change_font1), image1548);
menu_separator4 = gtk_separator_menu_item_new (); menu_separator4 = gtk_separator_menu_item_new ();
gtk_widget_show (menu_separator4); gtk_widget_show (menu_separator4);
@ -831,6 +832,10 @@ create_window1 (void)
gtk_container_add (GTK_CONTAINER (menu_item4_menu), separator23); gtk_container_add (GTK_CONTAINER (menu_item4_menu), separator23);
gtk_widget_set_sensitive (separator23, FALSE); gtk_widget_set_sensitive (separator23, FALSE);
remove_markers1 = gtk_menu_item_new_with_mnemonic (_("Remove _Markers"));
gtk_widget_show (remove_markers1);
gtk_container_add (GTK_CONTAINER (menu_item4_menu), remove_markers1);
menu_remove_indicators1 = gtk_menu_item_new_with_mnemonic (_("Remove Error _Indicators")); menu_remove_indicators1 = gtk_menu_item_new_with_mnemonic (_("Remove Error _Indicators"));
gtk_widget_show (menu_remove_indicators1); gtk_widget_show (menu_remove_indicators1);
gtk_container_add (GTK_CONTAINER (menu_item4_menu), menu_remove_indicators1); gtk_container_add (GTK_CONTAINER (menu_item4_menu), menu_remove_indicators1);
@ -847,25 +852,25 @@ create_window1 (void)
gtk_widget_show (project_new1); gtk_widget_show (project_new1);
gtk_container_add (GTK_CONTAINER (menu_project1_menu), project_new1); gtk_container_add (GTK_CONTAINER (menu_project1_menu), project_new1);
image1512 = gtk_image_new_from_stock ("gtk-new", GTK_ICON_SIZE_MENU); image1549 = gtk_image_new_from_stock ("gtk-new", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1512); gtk_widget_show (image1549);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (project_new1), image1512); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (project_new1), image1549);
project_open1 = gtk_image_menu_item_new_with_mnemonic (_("_Open")); project_open1 = gtk_image_menu_item_new_with_mnemonic (_("_Open"));
gtk_widget_show (project_open1); gtk_widget_show (project_open1);
gtk_container_add (GTK_CONTAINER (menu_project1_menu), project_open1); gtk_container_add (GTK_CONTAINER (menu_project1_menu), project_open1);
image1513 = gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_MENU); image1550 = gtk_image_new_from_stock ("gtk-open", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1513); gtk_widget_show (image1550);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (project_open1), image1513); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (project_open1), image1550);
project_close1 = gtk_image_menu_item_new_with_mnemonic (_("_Close")); project_close1 = gtk_image_menu_item_new_with_mnemonic (_("_Close"));
gtk_widget_show (project_close1); gtk_widget_show (project_close1);
gtk_container_add (GTK_CONTAINER (menu_project1_menu), project_close1); gtk_container_add (GTK_CONTAINER (menu_project1_menu), project_close1);
image1514 = gtk_image_new_from_stock ("gtk-close", GTK_ICON_SIZE_MENU); image1551 = gtk_image_new_from_stock ("gtk-close", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1514); gtk_widget_show (image1551);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (project_close1), image1514); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (project_close1), image1551);
separator34 = gtk_separator_menu_item_new (); separator34 = gtk_separator_menu_item_new ();
gtk_widget_show (separator34); gtk_widget_show (separator34);
@ -892,9 +897,9 @@ create_window1 (void)
gtk_container_add (GTK_CONTAINER (tools1_menu), 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); gtk_tooltips_set_tip (tooltips, menu_choose_color1, _("Open a color chooser dialog, to interactively pick colors from a palette."), NULL);
image1515 = gtk_image_new_from_stock ("gtk-select-color", GTK_ICON_SIZE_MENU); image1552 = gtk_image_new_from_stock ("gtk-select-color", GTK_ICON_SIZE_MENU);
gtk_widget_show (image1515); gtk_widget_show (image1552);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_choose_color1), image1515); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_choose_color1), image1552);
menu_count_words1 = gtk_menu_item_new_with_mnemonic (_("_Word Count")); menu_count_words1 = gtk_menu_item_new_with_mnemonic (_("_Word Count"));
gtk_widget_show (menu_count_words1); gtk_widget_show (menu_count_words1);
@ -1398,6 +1403,9 @@ create_window1 (void)
g_signal_connect ((gpointer) menu_unfold_all1, "activate", g_signal_connect ((gpointer) menu_unfold_all1, "activate",
G_CALLBACK (on_menu_unfold_all1_activate), G_CALLBACK (on_menu_unfold_all1_activate),
NULL); NULL);
g_signal_connect ((gpointer) remove_markers1, "activate",
G_CALLBACK (on_remove_markers1_activate),
NULL);
g_signal_connect ((gpointer) menu_remove_indicators1, "activate", g_signal_connect ((gpointer) menu_remove_indicators1, "activate",
G_CALLBACK (on_menu_remove_indicators1_activate), G_CALLBACK (on_menu_remove_indicators1_activate),
NULL); NULL);
@ -1516,7 +1524,7 @@ create_window1 (void)
GLADE_HOOKUP_OBJECT (window1, menuitem1_menu, "menuitem1_menu"); GLADE_HOOKUP_OBJECT (window1, menuitem1_menu, "menuitem1_menu");
GLADE_HOOKUP_OBJECT (window1, menu_new1, "menu_new1"); GLADE_HOOKUP_OBJECT (window1, menu_new1, "menu_new1");
GLADE_HOOKUP_OBJECT (window1, menu_new_with_template1, "menu_new_with_template1"); GLADE_HOOKUP_OBJECT (window1, menu_new_with_template1, "menu_new_with_template1");
GLADE_HOOKUP_OBJECT (window1, image1500, "image1500"); GLADE_HOOKUP_OBJECT (window1, image1537, "image1537");
GLADE_HOOKUP_OBJECT (window1, menu_new_with_template1_menu, "menu_new_with_template1_menu"); GLADE_HOOKUP_OBJECT (window1, menu_new_with_template1_menu, "menu_new_with_template1_menu");
GLADE_HOOKUP_OBJECT (window1, invisible2, "invisible2"); GLADE_HOOKUP_OBJECT (window1, invisible2, "invisible2");
GLADE_HOOKUP_OBJECT (window1, separator12, "separator12"); GLADE_HOOKUP_OBJECT (window1, separator12, "separator12");
@ -1527,11 +1535,11 @@ create_window1 (void)
GLADE_HOOKUP_OBJECT (window1, menu_save1, "menu_save1"); GLADE_HOOKUP_OBJECT (window1, menu_save1, "menu_save1");
GLADE_HOOKUP_OBJECT (window1, menu_save_as1, "menu_save_as1"); GLADE_HOOKUP_OBJECT (window1, menu_save_as1, "menu_save_as1");
GLADE_HOOKUP_OBJECT (window1, menu_save_all1, "menu_save_all1"); GLADE_HOOKUP_OBJECT (window1, menu_save_all1, "menu_save_all1");
GLADE_HOOKUP_OBJECT (window1, image1501, "image1501"); GLADE_HOOKUP_OBJECT (window1, image1538, "image1538");
GLADE_HOOKUP_OBJECT (window1, menu_reload1, "menu_reload1"); GLADE_HOOKUP_OBJECT (window1, menu_reload1, "menu_reload1");
GLADE_HOOKUP_OBJECT (window1, image1502, "image1502"); GLADE_HOOKUP_OBJECT (window1, image1539, "image1539");
GLADE_HOOKUP_OBJECT (window1, menu_reload_as1, "menu_reload_as1"); GLADE_HOOKUP_OBJECT (window1, menu_reload_as1, "menu_reload_as1");
GLADE_HOOKUP_OBJECT (window1, image1503, "image1503"); GLADE_HOOKUP_OBJECT (window1, image1540, "image1540");
GLADE_HOOKUP_OBJECT (window1, menu_reload_as1_menu, "menu_reload_as1_menu"); GLADE_HOOKUP_OBJECT (window1, menu_reload_as1_menu, "menu_reload_as1_menu");
GLADE_HOOKUP_OBJECT (window1, invisible7, "invisible7"); GLADE_HOOKUP_OBJECT (window1, invisible7, "invisible7");
GLADE_HOOKUP_OBJECT (window1, separator21, "separator21"); GLADE_HOOKUP_OBJECT (window1, separator21, "separator21");
@ -1541,7 +1549,7 @@ create_window1 (void)
GLADE_HOOKUP_OBJECT (window1, separator14, "separator14"); GLADE_HOOKUP_OBJECT (window1, separator14, "separator14");
GLADE_HOOKUP_OBJECT (window1, menu_close1, "menu_close1"); GLADE_HOOKUP_OBJECT (window1, menu_close1, "menu_close1");
GLADE_HOOKUP_OBJECT (window1, menu_close_all1, "menu_close_all1"); GLADE_HOOKUP_OBJECT (window1, menu_close_all1, "menu_close_all1");
GLADE_HOOKUP_OBJECT (window1, image1504, "image1504"); GLADE_HOOKUP_OBJECT (window1, image1541, "image1541");
GLADE_HOOKUP_OBJECT (window1, menu_separatormenuitem1, "menu_separatormenuitem1"); GLADE_HOOKUP_OBJECT (window1, menu_separatormenuitem1, "menu_separatormenuitem1");
GLADE_HOOKUP_OBJECT (window1, menu_quit1, "menu_quit1"); GLADE_HOOKUP_OBJECT (window1, menu_quit1, "menu_quit1");
GLADE_HOOKUP_OBJECT (window1, edit1, "edit1"); GLADE_HOOKUP_OBJECT (window1, edit1, "edit1");
@ -1567,16 +1575,16 @@ create_window1 (void)
GLADE_HOOKUP_OBJECT (window1, menu_duplicate_line1, "menu_duplicate_line1"); GLADE_HOOKUP_OBJECT (window1, menu_duplicate_line1, "menu_duplicate_line1");
GLADE_HOOKUP_OBJECT (window1, separator29, "separator29"); GLADE_HOOKUP_OBJECT (window1, separator29, "separator29");
GLADE_HOOKUP_OBJECT (window1, menu_increase_indent1, "menu_increase_indent1"); GLADE_HOOKUP_OBJECT (window1, menu_increase_indent1, "menu_increase_indent1");
GLADE_HOOKUP_OBJECT (window1, image1505, "image1505"); GLADE_HOOKUP_OBJECT (window1, image1542, "image1542");
GLADE_HOOKUP_OBJECT (window1, menu_decrease_indent1, "menu_decrease_indent1"); GLADE_HOOKUP_OBJECT (window1, menu_decrease_indent1, "menu_decrease_indent1");
GLADE_HOOKUP_OBJECT (window1, image1506, "image1506"); GLADE_HOOKUP_OBJECT (window1, image1543, "image1543");
GLADE_HOOKUP_OBJECT (window1, separator18, "separator18"); GLADE_HOOKUP_OBJECT (window1, separator18, "separator18");
GLADE_HOOKUP_OBJECT (window1, insert_include2, "insert_include2"); GLADE_HOOKUP_OBJECT (window1, insert_include2, "insert_include2");
GLADE_HOOKUP_OBJECT (window1, image1507, "image1507"); GLADE_HOOKUP_OBJECT (window1, image1544, "image1544");
GLADE_HOOKUP_OBJECT (window1, insert_include2_menu, "insert_include2_menu"); GLADE_HOOKUP_OBJECT (window1, insert_include2_menu, "insert_include2_menu");
GLADE_HOOKUP_OBJECT (window1, invisible4, "invisible4"); GLADE_HOOKUP_OBJECT (window1, invisible4, "invisible4");
GLADE_HOOKUP_OBJECT (window1, add_comments1, "add_comments1"); GLADE_HOOKUP_OBJECT (window1, add_comments1, "add_comments1");
GLADE_HOOKUP_OBJECT (window1, image1508, "image1508"); GLADE_HOOKUP_OBJECT (window1, image1545, "image1545");
GLADE_HOOKUP_OBJECT (window1, add_comments1_menu, "add_comments1_menu"); 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, menu_add_changelog_entry1, "menu_add_changelog_entry1");
GLADE_HOOKUP_OBJECT (window1, insert_file_header1, "insert_file_header1"); GLADE_HOOKUP_OBJECT (window1, insert_file_header1, "insert_file_header1");
@ -1596,7 +1604,7 @@ create_window1 (void)
GLADE_HOOKUP_OBJECT (window1, find_previous1, "find_previous1"); GLADE_HOOKUP_OBJECT (window1, find_previous1, "find_previous1");
GLADE_HOOKUP_OBJECT (window1, find_in_files1, "find_in_files1"); GLADE_HOOKUP_OBJECT (window1, find_in_files1, "find_in_files1");
GLADE_HOOKUP_OBJECT (window1, replace1, "replace1"); GLADE_HOOKUP_OBJECT (window1, replace1, "replace1");
GLADE_HOOKUP_OBJECT (window1, image1509, "image1509"); GLADE_HOOKUP_OBJECT (window1, image1546, "image1546");
GLADE_HOOKUP_OBJECT (window1, separator33, "separator33"); GLADE_HOOKUP_OBJECT (window1, separator33, "separator33");
GLADE_HOOKUP_OBJECT (window1, find_nextsel1, "find_nextsel1"); GLADE_HOOKUP_OBJECT (window1, find_nextsel1, "find_nextsel1");
GLADE_HOOKUP_OBJECT (window1, find_prevsel1, "find_prevsel1"); GLADE_HOOKUP_OBJECT (window1, find_prevsel1, "find_prevsel1");
@ -1604,11 +1612,11 @@ create_window1 (void)
GLADE_HOOKUP_OBJECT (window1, next_message1, "next_message1"); GLADE_HOOKUP_OBJECT (window1, next_message1, "next_message1");
GLADE_HOOKUP_OBJECT (window1, separator32, "separator32"); GLADE_HOOKUP_OBJECT (window1, separator32, "separator32");
GLADE_HOOKUP_OBJECT (window1, go_to_line1, "go_to_line1"); GLADE_HOOKUP_OBJECT (window1, go_to_line1, "go_to_line1");
GLADE_HOOKUP_OBJECT (window1, image1510, "image1510"); GLADE_HOOKUP_OBJECT (window1, image1547, "image1547");
GLADE_HOOKUP_OBJECT (window1, menuitem3, "menuitem3"); GLADE_HOOKUP_OBJECT (window1, menuitem3, "menuitem3");
GLADE_HOOKUP_OBJECT (window1, menuitem3_menu, "menuitem3_menu"); GLADE_HOOKUP_OBJECT (window1, menuitem3_menu, "menuitem3_menu");
GLADE_HOOKUP_OBJECT (window1, menu_change_font1, "menu_change_font1"); GLADE_HOOKUP_OBJECT (window1, menu_change_font1, "menu_change_font1");
GLADE_HOOKUP_OBJECT (window1, image1511, "image1511"); GLADE_HOOKUP_OBJECT (window1, image1548, "image1548");
GLADE_HOOKUP_OBJECT (window1, menu_separator4, "menu_separator4"); GLADE_HOOKUP_OBJECT (window1, menu_separator4, "menu_separator4");
GLADE_HOOKUP_OBJECT (window1, menu_fullscreen1, "menu_fullscreen1"); 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_messages_window1, "menu_show_messages_window1");
@ -1644,22 +1652,23 @@ create_window1 (void)
GLADE_HOOKUP_OBJECT (window1, menu_fold_all1, "menu_fold_all1"); GLADE_HOOKUP_OBJECT (window1, menu_fold_all1, "menu_fold_all1");
GLADE_HOOKUP_OBJECT (window1, menu_unfold_all1, "menu_unfold_all1"); GLADE_HOOKUP_OBJECT (window1, menu_unfold_all1, "menu_unfold_all1");
GLADE_HOOKUP_OBJECT (window1, separator23, "separator23"); GLADE_HOOKUP_OBJECT (window1, separator23, "separator23");
GLADE_HOOKUP_OBJECT (window1, remove_markers1, "remove_markers1");
GLADE_HOOKUP_OBJECT (window1, menu_remove_indicators1, "menu_remove_indicators1"); GLADE_HOOKUP_OBJECT (window1, menu_remove_indicators1, "menu_remove_indicators1");
GLADE_HOOKUP_OBJECT (window1, menu_project1, "menu_project1"); GLADE_HOOKUP_OBJECT (window1, menu_project1, "menu_project1");
GLADE_HOOKUP_OBJECT (window1, menu_project1_menu, "menu_project1_menu"); GLADE_HOOKUP_OBJECT (window1, menu_project1_menu, "menu_project1_menu");
GLADE_HOOKUP_OBJECT (window1, project_new1, "project_new1"); GLADE_HOOKUP_OBJECT (window1, project_new1, "project_new1");
GLADE_HOOKUP_OBJECT (window1, image1512, "image1512"); GLADE_HOOKUP_OBJECT (window1, image1549, "image1549");
GLADE_HOOKUP_OBJECT (window1, project_open1, "project_open1"); GLADE_HOOKUP_OBJECT (window1, project_open1, "project_open1");
GLADE_HOOKUP_OBJECT (window1, image1513, "image1513"); GLADE_HOOKUP_OBJECT (window1, image1550, "image1550");
GLADE_HOOKUP_OBJECT (window1, project_close1, "project_close1"); GLADE_HOOKUP_OBJECT (window1, project_close1, "project_close1");
GLADE_HOOKUP_OBJECT (window1, image1514, "image1514"); GLADE_HOOKUP_OBJECT (window1, image1551, "image1551");
GLADE_HOOKUP_OBJECT (window1, separator34, "separator34"); GLADE_HOOKUP_OBJECT (window1, separator34, "separator34");
GLADE_HOOKUP_OBJECT (window1, project_properties1, "project_properties1"); GLADE_HOOKUP_OBJECT (window1, project_properties1, "project_properties1");
GLADE_HOOKUP_OBJECT (window1, menu_build1, "menu_build1"); GLADE_HOOKUP_OBJECT (window1, menu_build1, "menu_build1");
GLADE_HOOKUP_OBJECT (window1, tools1, "tools1"); GLADE_HOOKUP_OBJECT (window1, tools1, "tools1");
GLADE_HOOKUP_OBJECT (window1, tools1_menu, "tools1_menu"); GLADE_HOOKUP_OBJECT (window1, tools1_menu, "tools1_menu");
GLADE_HOOKUP_OBJECT (window1, menu_choose_color1, "menu_choose_color1"); GLADE_HOOKUP_OBJECT (window1, menu_choose_color1, "menu_choose_color1");
GLADE_HOOKUP_OBJECT (window1, image1515, "image1515"); GLADE_HOOKUP_OBJECT (window1, image1552, "image1552");
GLADE_HOOKUP_OBJECT (window1, menu_count_words1, "menu_count_words1"); GLADE_HOOKUP_OBJECT (window1, menu_count_words1, "menu_count_words1");
GLADE_HOOKUP_OBJECT (window1, menu_insert_special_chars1, "menu_insert_special_chars1"); GLADE_HOOKUP_OBJECT (window1, menu_insert_special_chars1, "menu_insert_special_chars1");
GLADE_HOOKUP_OBJECT (window1, menu_item5, "menu_item5"); GLADE_HOOKUP_OBJECT (window1, menu_item5, "menu_item5");