Revision: 2430 http://geany.svn.sourceforge.net/geany/?rev=2430&view=rev Author: ntrel Date: 2008-03-31 06:09:56 -0700 (Mon, 31 Mar 2008)
Log Message: ----------- Add missing mnemonics (except for 3 popup menu items, ran out of letters). Capitalize some menu items.
Modified Paths: -------------- trunk/ChangeLog trunk/geany.glade trunk/plugins/classbuilder.c trunk/plugins/export.c trunk/src/build.c trunk/src/interface.c trunk/src/vte.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2008-03-28 17:06:41 UTC (rev 2429) +++ trunk/ChangeLog 2008-03-31 13:09:56 UTC (rev 2430) @@ -1,3 +1,12 @@ +2008-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com> + + * src/build.c, src/interface.c, src/vte.c, plugins/export.c, + plugins/classbuilder.c, geany.glade: + Add missing mnemonics (except for 3 popup menu items, ran out of + letters). + Capitalize some menu items. + + 2008-03-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c:
Modified: trunk/geany.glade =================================================================== --- trunk/geany.glade 2008-03-28 17:06:41 UTC (rev 2429) +++ trunk/geany.glade 2008-03-31 13:09:56 UTC (rev 2430) @@ -588,7 +588,7 @@ <widget class="GtkMenuItem" id="menu_add_changelog_entry1"> <property name="visible">True</property> <property name="tooltip" translatable="yes">Inserts a typical ChangeLog entry in the current file</property> - <property name="label" translatable="yes">Insert ChangeLog Entry</property> + <property name="label" translatable="yes">Insert _ChangeLog Entry</property> <property name="use_underline">True</property> <signal name="activate" handler="on_comments_changelog_activate" last_modification_time="Sun, 02 Oct 2005 17:29:39 GMT"/> </widget> @@ -598,7 +598,7 @@ <widget class="GtkMenuItem" id="insert_file_header1"> <property name="visible">True</property> <property name="tooltip" translatable="yes">Inserts a file header at the beginning of the file</property> - <property name="label" translatable="yes">Insert File Header</property> + <property name="label" translatable="yes">Insert File _Header</property> <property name="use_underline">True</property> <signal name="activate" handler="on_comments_fileheader_activate" last_modification_time="Mon, 03 Oct 2005 17:33:08 GMT"/> </widget> @@ -608,7 +608,7 @@ <widget class="GtkMenuItem" id="insert_function_description2"> <property name="visible">True</property> <property name="tooltip" translatable="yes">Inserts a description before the current function</property> - <property name="label" translatable="yes">Insert Function Description</property> + <property name="label" translatable="yes">Insert _Function Description</property> <property name="use_underline">True</property> <signal name="activate" handler="on_comments_function_activate" last_modification_time="Sat, 01 Oct 2005 17:35:15 GMT"/> </widget> @@ -618,7 +618,7 @@ <widget class="GtkMenuItem" id="insert_multiline_comment2"> <property name="visible">True</property> <property name="tooltip" translatable="yes">Inserts a multiline comment</property> - <property name="label" translatable="yes">Insert Multiline Comment</property> + <property name="label" translatable="yes">Insert _Multiline Comment</property> <property name="use_underline">True</property> <signal name="activate" handler="on_menu_comments_multiline_activate" last_modification_time="Sun, 17 Dec 2006 19:01:32 GMT"/> </widget> @@ -628,7 +628,7 @@ <widget class="GtkMenuItem" id="insert_gpl_notice2"> <property name="visible">True</property> <property name="tooltip" translatable="yes">Inserts a GPL notice (should be done at the beginning of the file)</property> - <property name="label" translatable="yes">Insert GPL Notice</property> + <property name="label" translatable="yes">Insert _GPL Notice</property> <property name="use_underline">True</property> <signal name="activate" handler="on_menu_comments_gpl_activate" last_modification_time="Sun, 17 Dec 2006 19:01:32 GMT"/> </widget> @@ -638,7 +638,7 @@ <widget class="GtkMenuItem" id="insert_bsd_license_notice2"> <property name="visible">True</property> <property name="tooltip" translatable="yes">Inserts a BSD licence notice (should be done at the beginning of the file)</property> - <property name="label" translatable="yes">Insert BSD License Notice</property> + <property name="label" translatable="yes">Insert _BSD License Notice</property> <property name="use_underline">True</property> <signal name="activate" handler="on_menu_comments_bsd_activate" last_modification_time="Fri, 05 Jan 2007 13:29:27 GMT"/> </widget> @@ -1056,7 +1056,7 @@ <child> <widget class="GtkRadioMenuItem" id="tabs1"> <property name="visible">True</property> - <property name="label" translatable="yes">Tabs</property> + <property name="label" translatable="yes">_Tabs</property> <property name="use_underline">True</property> <property name="active">True</property> <signal name="activate" handler="on_tabs1_activate" last_modification_time="Thu, 04 Oct 2007 16:07:51 GMT"/> @@ -1066,7 +1066,7 @@ <child> <widget class="GtkRadioMenuItem" id="spaces1"> <property name="visible">True</property> - <property name="label" translatable="yes">Spaces</property> + <property name="label" translatable="yes">_Spaces</property> <property name="use_underline">True</property> <property name="active">True</property> <property name="group">tabs1</property> @@ -2490,7 +2490,7 @@ <child> <widget class="GtkRadioMenuItem" id="images_and_text2"> <property name="visible">True</property> - <property name="label" translatable="yes">Images and text</property> + <property name="label" translatable="yes">Images _and Text</property> <property name="use_underline">True</property> <property name="active">True</property> <signal name="activate" handler="on_images_and_text2_activate" last_modification_time="Sat, 30 Apr 2005 19:42:24 GMT"/> @@ -2500,7 +2500,7 @@ <child> <widget class="GtkRadioMenuItem" id="images_only2"> <property name="visible">True</property> - <property name="label" translatable="yes">Images only</property> + <property name="label" translatable="yes">_Images Only</property> <property name="use_underline">True</property> <property name="active">True</property> <property name="group">images_and_text2</property> @@ -2511,7 +2511,7 @@ <child> <widget class="GtkRadioMenuItem" id="text_only2"> <property name="visible">True</property> - <property name="label" translatable="yes">Text only</property> + <property name="label" translatable="yes">_Text Only</property> <property name="use_underline">True</property> <property name="active">True</property> <property name="group">images_and_text2</property> @@ -2528,7 +2528,7 @@ <child> <widget class="GtkRadioMenuItem" id="large_icons1"> <property name="visible">True</property> - <property name="label" translatable="yes">Large icons</property> + <property name="label" translatable="yes">_Large Icons</property> <property name="use_underline">True</property> <property name="active">False</property> <signal name="activate" handler="on_toolbar_large_icons1_activate" last_modification_time="Sat, 22 Oct 2005 11:52:26 GMT"/> @@ -2538,7 +2538,7 @@ <child> <widget class="GtkRadioMenuItem" id="small_icons1"> <property name="visible">True</property> - <property name="label" translatable="yes">Small icons</property> + <property name="label" translatable="yes">_Small Icons</property> <property name="use_underline">True</property> <property name="active">False</property> <property name="group">large_icons1</property> @@ -2555,7 +2555,7 @@ <child> <widget class="GtkImageMenuItem" id="hide_toolbar1"> <property name="visible">True</property> - <property name="label" translatable="yes">Hide toolbar</property> + <property name="label" translatable="yes">_Hide toolbar</property> <property name="use_underline">True</property> <signal name="activate" handler="on_hide_toolbar1_activate" last_modification_time="Sat, 30 Apr 2005 20:23:03 GMT"/>
@@ -2820,7 +2820,7 @@ <child> <widget class="GtkImageMenuItem" id="comments"> <property name="visible">True</property> - <property name="label" translatable="yes">Insert Comments</property> + <property name="label" translatable="yes">I_nsert Comments</property> <property name="use_underline">True</property>
<child internal-child="image"> @@ -2842,7 +2842,7 @@ <widget class="GtkMenuItem" id="add_changelog_entry2"> <property name="visible">True</property> <property name="tooltip" translatable="yes">Inserts a typical ChangeLog entry in the current file</property> - <property name="label" translatable="yes">Insert ChangeLog Entry</property> + <property name="label" translatable="yes">Insert _ChangeLog Entry</property> <property name="use_underline">True</property> <signal name="activate" handler="on_comments_changelog_activate" last_modification_time="Sun, 02 Oct 2005 17:30:10 GMT"/> </widget> @@ -2852,7 +2852,7 @@ <widget class="GtkMenuItem" id="insert_file_header2"> <property name="visible">True</property> <property name="tooltip" translatable="yes">Inserts a file header at the beginning of the file</property> - <property name="label" translatable="yes">Insert File Header</property> + <property name="label" translatable="yes">Insert File _Header</property> <property name="use_underline">True</property> <signal name="activate" handler="on_comments_fileheader_activate" last_modification_time="Mon, 03 Oct 2005 17:33:08 GMT"/> </widget> @@ -2862,7 +2862,7 @@ <widget class="GtkMenuItem" id="insert_function_description1"> <property name="visible">True</property> <property name="tooltip" translatable="yes">Inserts a description before the current function</property> - <property name="label" translatable="yes">Insert Function Description</property> + <property name="label" translatable="yes">Insert _Function Description</property> <property name="use_underline">True</property> <signal name="activate" handler="on_comments_function_activate" last_modification_time="Sat, 01 Oct 2005 17:28:26 GMT"/> </widget> @@ -2872,7 +2872,7 @@ <widget class="GtkMenuItem" id="insert_multiline_comment1"> <property name="visible">True</property> <property name="tooltip" translatable="yes">Inserts a multiline comment</property> - <property name="label" translatable="yes">Insert Multiline Comment</property> + <property name="label" translatable="yes">Insert _Multiline Comment</property> <property name="use_underline">True</property> <signal name="activate" handler="on_comments_multiline_activate" last_modification_time="Sat, 01 Oct 2005 17:28:26 GMT"/> </widget> @@ -2882,7 +2882,7 @@ <widget class="GtkMenuItem" id="insert_gpl_notice1"> <property name="visible">True</property> <property name="tooltip" translatable="yes">Inserts a GPL notice (should be done at the beginning of the file)</property> - <property name="label" translatable="yes">Insert GPL Notice</property> + <property name="label" translatable="yes">Insert _GPL Notice</property> <property name="use_underline">True</property> <signal name="activate" handler="on_comments_gpl_activate" last_modification_time="Sun, 02 Oct 2005 17:37:31 GMT"/> </widget> @@ -2892,7 +2892,7 @@ <widget class="GtkMenuItem" id="insert_bsd_license_notice1"> <property name="visible">True</property> <property name="tooltip" translatable="yes">Inserts a BSD licence notice (should be done at the beginning of the file)</property> - <property name="label" translatable="yes">Insert BSD License Notice</property> + <property name="label" translatable="yes">Insert _BSD License Notice</property> <property name="use_underline">True</property> <signal name="activate" handler="on_comments_bsd_activate" last_modification_time="Fri, 05 Jan 2007 13:32:16 GMT"/> </widget> @@ -2937,7 +2937,7 @@ <child> <widget class="GtkImageMenuItem" id="insert_include1"> <property name="visible">True</property> - <property name="label" translatable="yes">Insert "include <...>"</property> + <property name="label" translatable="yes">In_sert "include <...>"</property> <property name="use_underline">True</property>
<child internal-child="image"> @@ -3014,7 +3014,7 @@ <child> <widget class="GtkMenuItem" id="context_action1"> <property name="visible">True</property> - <property name="label" translatable="yes">Context Action</property> + <property name="label" translatable="yes">Conte_xt Action</property> <property name="use_underline">True</property> <signal name="activate" handler="on_context_action1_activate" last_modification_time="Fri, 13 Apr 2007 18:37:55 GMT"/> </widget> @@ -3030,7 +3030,7 @@ <widget class="GtkImageMenuItem" id="go_to_line"> <property name="visible">True</property> <property name="tooltip" translatable="yes">Go to the entered line</property> - <property name="label" translatable="yes">Go to Line</property> + <property name="label" translatable="yes">_Go to Line</property> <property name="use_underline">True</property> <signal name="activate" handler="on_go_to_line_activate" last_modification_time="Sat, 16 Jul 2005 11:20:32 GMT"/>
@@ -5088,7 +5088,7 @@ <widget class="GtkRadioButton" id="radio_toolbar_imagetext"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="label" translatable="yes">Images and text</property> + <property name="label" translatable="yes">Images _and Text</property> <property name="use_underline">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> <property name="focus_on_click">True</property> @@ -5110,7 +5110,7 @@ <widget class="GtkRadioButton" id="radio_toolbar_small"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="label" translatable="yes">Small icons</property> + <property name="label" translatable="yes">_Small Icons</property> <property name="use_underline">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> <property name="focus_on_click">True</property> @@ -5132,7 +5132,7 @@ <widget class="GtkRadioButton" id="radio_toolbar_large"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="label" translatable="yes">Large icons</property> + <property name="label" translatable="yes">_Large Icons</property> <property name="use_underline">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> <property name="focus_on_click">True</property> @@ -5155,7 +5155,7 @@ <widget class="GtkRadioButton" id="radio_toolbar_text"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="label" translatable="yes">Text only</property> + <property name="label" translatable="yes">_Text Only</property> <property name="use_underline">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> <property name="focus_on_click">True</property> @@ -5178,7 +5178,7 @@ <widget class="GtkRadioButton" id="radio_toolbar_image"> <property name="visible">True</property> <property name="can_focus">True</property> - <property name="label" translatable="yes">Images only</property> + <property name="label" translatable="yes">_Images Only</property> <property name="use_underline">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> <property name="focus_on_click">True</property> @@ -5848,7 +5848,7 @@ <property name="visible">True</property> <property name="tooltip" translatable="yes">Whether to use tabs or spaces when indentation is inserted.</property> <property name="can_focus">True</property> - <property name="label" translatable="yes">Tabs</property> + <property name="label" translatable="yes">_Tabs</property> <property name="use_underline">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> <property name="focus_on_click">True</property> @@ -5868,7 +5868,7 @@ <property name="visible">True</property> <property name="tooltip" translatable="yes">Whether to use tabs or spaces when indentation is inserted.</property> <property name="can_focus">True</property> - <property name="label" translatable="yes">Spaces</property> + <property name="label" translatable="yes">_Spaces</property> <property name="use_underline">True</property> <property name="relief">GTK_RELIEF_NORMAL</property> <property name="focus_on_click">True</property>
Modified: trunk/plugins/classbuilder.c =================================================================== --- trunk/plugins/classbuilder.c 2008-03-28 17:06:41 UTC (rev 2429) +++ trunk/plugins/classbuilder.c 2008-03-31 13:09:56 UTC (rev 2430) @@ -784,10 +784,10 @@ menu_create_class1_menu = gtk_menu_new (); gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_create_class1), menu_create_class1_menu);
- menu_create_cpp_class = gtk_menu_item_new_with_mnemonic (_("C++ Class")); + menu_create_cpp_class = gtk_menu_item_new_with_mnemonic (_("_C++ Class")); gtk_container_add (GTK_CONTAINER (menu_create_class1_menu), menu_create_cpp_class);
- menu_create_gtk_class = gtk_menu_item_new_with_mnemonic (_("GTK+ Class")); + menu_create_gtk_class = gtk_menu_item_new_with_mnemonic (_("_GTK+ Class")); gtk_container_add (GTK_CONTAINER (menu_create_class1_menu), menu_create_gtk_class);
g_signal_connect ((gpointer) menu_create_cpp_class, "activate",
Modified: trunk/plugins/export.c =================================================================== --- trunk/plugins/export.c 2008-03-28 17:06:41 UTC (rev 2429) +++ trunk/plugins/export.c 2008-03-31 13:09:56 UTC (rev 2430) @@ -716,14 +716,14 @@ gtk_menu_item_set_submenu(GTK_MENU_ITEM(menu_export), menu_export_menu);
/* HTML */ - menu_create_html = gtk_menu_item_new_with_mnemonic(_("As HTML")); + menu_create_html = gtk_menu_item_new_with_mnemonic(_("As _HTML")); gtk_container_add(GTK_CONTAINER (menu_export_menu), menu_create_html);
g_signal_connect((gpointer) menu_create_html, "activate", G_CALLBACK(on_menu_create_html_activate), NULL);
/* LaTeX */ - menu_create_latex = gtk_menu_item_new_with_mnemonic(_("As LaTeX")); + menu_create_latex = gtk_menu_item_new_with_mnemonic(_("As _LaTeX")); gtk_container_add(GTK_CONTAINER (menu_export_menu), menu_create_latex);
g_signal_connect((gpointer) menu_create_latex, "activate",
Modified: trunk/src/build.c =================================================================== --- trunk/src/build.c 2008-03-28 17:06:41 UTC (rev 2429) +++ trunk/src/build.c 2008-03-31 13:09:56 UTC (rev 2430) @@ -1157,7 +1157,7 @@ menu = gtk_menu_new();
/* DVI */ - item = gtk_image_menu_item_new_with_mnemonic(_("LaTeX -> DVI")); + item = gtk_image_menu_item_new_with_mnemonic(_("LaTeX -> _DVI")); gtk_widget_show(item); gtk_container_add(GTK_CONTAINER(menu), item); gtk_tooltips_set_tip(tooltips, item, _("Compiles the current file into a DVI file"), NULL); @@ -1170,7 +1170,7 @@ menu_items->item_compile = item;
/* PDF */ - item = gtk_image_menu_item_new_with_mnemonic(_("LaTeX -> PDF")); + item = gtk_image_menu_item_new_with_mnemonic(_("LaTeX -> _PDF")); gtk_widget_show(item); gtk_container_add(GTK_CONTAINER(menu), item); gtk_tooltips_set_tip(tooltips, item, _("Compiles the current file into a PDF file"), NULL); @@ -1225,7 +1225,7 @@ gtk_container_add(GTK_CONTAINER(menu), item);
/* DVI view */ -#define LATEX_VIEW_DVI_LABEL _("View DVI File") /* used later again */ +#define LATEX_VIEW_DVI_LABEL _("_View DVI File") /* used later again */ item = gtk_image_menu_item_new_with_mnemonic(LATEX_VIEW_DVI_LABEL); gtk_widget_show(item); gtk_container_add(GTK_CONTAINER(menu), item); @@ -1239,7 +1239,7 @@ menu_items->item_exec = item;
/* PDF view */ - item = gtk_image_menu_item_new_with_mnemonic(_("View PDF File")); + item = gtk_image_menu_item_new_with_mnemonic(_("V_iew PDF File")); gtk_widget_show(item); gtk_container_add(GTK_CONTAINER(menu), item); GEANY_ADD_WIDGET_ACCEL(GEANY_KEYS_BUILD_RUN2, item); @@ -1258,7 +1258,7 @@ gtk_widget_set_sensitive(separator, FALSE);
/* arguments */ - item = gtk_image_menu_item_new_with_mnemonic(_("Set Arguments")); + item = gtk_image_menu_item_new_with_mnemonic(_("_Set Arguments")); gtk_widget_show(item); GEANY_ADD_WIDGET_ACCEL(GEANY_KEYS_BUILD_OPTIONS, item); gtk_container_add(GTK_CONTAINER(menu), item);
Modified: trunk/src/interface.c =================================================================== --- trunk/src/interface.c 2008-03-28 17:06:41 UTC (rev 2429) +++ trunk/src/interface.c 2008-03-31 13:09:56 UTC (rev 2430) @@ -572,32 +572,32 @@ add_comments1_menu = gtk_menu_new (); gtk_menu_item_set_submenu (GTK_MENU_ITEM (add_comments1), add_comments1_menu);
- menu_add_changelog_entry1 = gtk_menu_item_new_with_mnemonic (_("Insert ChangeLog Entry")); + menu_add_changelog_entry1 = gtk_menu_item_new_with_mnemonic (_("Insert _ChangeLog Entry")); gtk_widget_show (menu_add_changelog_entry1); gtk_container_add (GTK_CONTAINER (add_comments1_menu), menu_add_changelog_entry1); gtk_tooltips_set_tip (tooltips, menu_add_changelog_entry1, _("Inserts a typical ChangeLog entry in the current file"), NULL);
- insert_file_header1 = gtk_menu_item_new_with_mnemonic (_("Insert File Header")); + insert_file_header1 = gtk_menu_item_new_with_mnemonic (_("Insert File _Header")); gtk_widget_show (insert_file_header1); gtk_container_add (GTK_CONTAINER (add_comments1_menu), insert_file_header1); gtk_tooltips_set_tip (tooltips, insert_file_header1, _("Inserts a file header at the beginning of the file"), NULL);
- insert_function_description2 = gtk_menu_item_new_with_mnemonic (_("Insert Function Description")); + insert_function_description2 = gtk_menu_item_new_with_mnemonic (_("Insert _Function Description")); gtk_widget_show (insert_function_description2); gtk_container_add (GTK_CONTAINER (add_comments1_menu), insert_function_description2); gtk_tooltips_set_tip (tooltips, insert_function_description2, _("Inserts a description before the current function"), NULL);
- insert_multiline_comment2 = gtk_menu_item_new_with_mnemonic (_("Insert Multiline Comment")); + insert_multiline_comment2 = gtk_menu_item_new_with_mnemonic (_("Insert _Multiline Comment")); gtk_widget_show (insert_multiline_comment2); gtk_container_add (GTK_CONTAINER (add_comments1_menu), insert_multiline_comment2); gtk_tooltips_set_tip (tooltips, insert_multiline_comment2, _("Inserts a multiline comment"), NULL);
- insert_gpl_notice2 = gtk_menu_item_new_with_mnemonic (_("Insert GPL Notice")); + insert_gpl_notice2 = gtk_menu_item_new_with_mnemonic (_("Insert _GPL Notice")); gtk_widget_show (insert_gpl_notice2); gtk_container_add (GTK_CONTAINER (add_comments1_menu), insert_gpl_notice2); gtk_tooltips_set_tip (tooltips, insert_gpl_notice2, _("Inserts a GPL notice (should be done at the beginning of the file)"), NULL);
- insert_bsd_license_notice2 = gtk_menu_item_new_with_mnemonic (_("Insert BSD License Notice")); + insert_bsd_license_notice2 = gtk_menu_item_new_with_mnemonic (_("Insert _BSD License Notice")); gtk_widget_show (insert_bsd_license_notice2); gtk_container_add (GTK_CONTAINER (add_comments1_menu), insert_bsd_license_notice2); gtk_tooltips_set_tip (tooltips, insert_bsd_license_notice2, _("Inserts a BSD licence notice (should be done at the beginning of the file)"), NULL); @@ -805,13 +805,13 @@ indent_type1_menu = gtk_menu_new (); gtk_menu_item_set_submenu (GTK_MENU_ITEM (indent_type1), indent_type1_menu);
- tabs1 = gtk_radio_menu_item_new_with_mnemonic (tabs1_group, _("Tabs")); + tabs1 = gtk_radio_menu_item_new_with_mnemonic (tabs1_group, _("_Tabs")); tabs1_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (tabs1)); gtk_widget_show (tabs1); gtk_container_add (GTK_CONTAINER (indent_type1_menu), tabs1); gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (tabs1), TRUE);
- spaces1 = gtk_radio_menu_item_new_with_mnemonic (tabs1_group, _("Spaces")); + spaces1 = gtk_radio_menu_item_new_with_mnemonic (tabs1_group, _("_Spaces")); tabs1_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (spaces1)); gtk_widget_show (spaces1); gtk_container_add (GTK_CONTAINER (indent_type1_menu), spaces1); @@ -1940,19 +1940,19 @@
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 = 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_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")); + 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); @@ -1963,12 +1963,12 @@ gtk_container_add (GTK_CONTAINER (toolbar_popup_menu1), separator1); gtk_widget_set_sensitive (separator1, FALSE);
- large_icons1 = gtk_radio_menu_item_new_with_mnemonic (large_icons1_group, _("Large icons")); + large_icons1 = gtk_radio_menu_item_new_with_mnemonic (large_icons1_group, _("_Large Icons")); large_icons1_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (large_icons1)); gtk_widget_show (large_icons1); gtk_container_add (GTK_CONTAINER (toolbar_popup_menu1), large_icons1);
- small_icons1 = gtk_radio_menu_item_new_with_mnemonic (large_icons1_group, _("Small icons")); + small_icons1 = gtk_radio_menu_item_new_with_mnemonic (large_icons1_group, _("_Small Icons")); large_icons1_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (small_icons1)); gtk_widget_show (small_icons1); gtk_container_add (GTK_CONTAINER (toolbar_popup_menu1), small_icons1); @@ -1978,7 +1978,7 @@ 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")); + 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);
@@ -2214,7 +2214,7 @@ gtk_container_add (GTK_CONTAINER (edit_menu1), separator17); gtk_widget_set_sensitive (separator17, FALSE);
- comments = gtk_image_menu_item_new_with_mnemonic (_("Insert Comments")); + comments = gtk_image_menu_item_new_with_mnemonic (_("I_nsert Comments")); gtk_widget_show (comments); gtk_container_add (GTK_CONTAINER (edit_menu1), comments);
@@ -2225,32 +2225,32 @@ comments_menu = gtk_menu_new (); gtk_menu_item_set_submenu (GTK_MENU_ITEM (comments), comments_menu);
- add_changelog_entry2 = gtk_menu_item_new_with_mnemonic (_("Insert ChangeLog Entry")); + add_changelog_entry2 = gtk_menu_item_new_with_mnemonic (_("Insert _ChangeLog Entry")); gtk_widget_show (add_changelog_entry2); gtk_container_add (GTK_CONTAINER (comments_menu), add_changelog_entry2); gtk_tooltips_set_tip (tooltips, add_changelog_entry2, _("Inserts a typical ChangeLog entry in the current file"), NULL);
- insert_file_header2 = gtk_menu_item_new_with_mnemonic (_("Insert File Header")); + insert_file_header2 = gtk_menu_item_new_with_mnemonic (_("Insert File _Header")); gtk_widget_show (insert_file_header2); gtk_container_add (GTK_CONTAINER (comments_menu), insert_file_header2); gtk_tooltips_set_tip (tooltips, insert_file_header2, _("Inserts a file header at the beginning of the file"), NULL);
- insert_function_description1 = gtk_menu_item_new_with_mnemonic (_("Insert Function Description")); + insert_function_description1 = gtk_menu_item_new_with_mnemonic (_("Insert _Function Description")); gtk_widget_show (insert_function_description1); gtk_container_add (GTK_CONTAINER (comments_menu), insert_function_description1); gtk_tooltips_set_tip (tooltips, insert_function_description1, _("Inserts a description before the current function"), NULL);
- insert_multiline_comment1 = gtk_menu_item_new_with_mnemonic (_("Insert Multiline Comment")); + insert_multiline_comment1 = gtk_menu_item_new_with_mnemonic (_("Insert _Multiline Comment")); gtk_widget_show (insert_multiline_comment1); gtk_container_add (GTK_CONTAINER (comments_menu), insert_multiline_comment1); gtk_tooltips_set_tip (tooltips, insert_multiline_comment1, _("Inserts a multiline comment"), NULL);
- insert_gpl_notice1 = gtk_menu_item_new_with_mnemonic (_("Insert GPL Notice")); + insert_gpl_notice1 = gtk_menu_item_new_with_mnemonic (_("Insert _GPL Notice")); gtk_widget_show (insert_gpl_notice1); gtk_container_add (GTK_CONTAINER (comments_menu), insert_gpl_notice1); gtk_tooltips_set_tip (tooltips, insert_gpl_notice1, _("Inserts a GPL notice (should be done at the beginning of the file)"), NULL);
- insert_bsd_license_notice1 = gtk_menu_item_new_with_mnemonic (_("Insert BSD License Notice")); + 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); gtk_tooltips_set_tip (tooltips, insert_bsd_license_notice1, _("Inserts a BSD licence notice (should be done at the beginning of the file)"), NULL); @@ -2269,7 +2269,7 @@ invisible10 = gtk_menu_item_new_with_mnemonic (_("invisible")); gtk_container_add (GTK_CONTAINER (insert_date2_menu), invisible10);
- insert_include1 = gtk_image_menu_item_new_with_mnemonic (_("Insert "include <...>"")); + insert_include1 = gtk_image_menu_item_new_with_mnemonic (_("In_sert "include <...>"")); gtk_widget_show (insert_include1); gtk_container_add (GTK_CONTAINER (edit_menu1), insert_include1);
@@ -2304,7 +2304,7 @@ gtk_widget_show (goto_tag_declaration1); gtk_container_add (GTK_CONTAINER (edit_menu1), goto_tag_declaration1);
- context_action1 = gtk_menu_item_new_with_mnemonic (_("Context Action")); + context_action1 = gtk_menu_item_new_with_mnemonic (_("Conte_xt Action")); gtk_widget_show (context_action1); gtk_container_add (GTK_CONTAINER (edit_menu1), context_action1);
@@ -2313,7 +2313,7 @@ gtk_container_add (GTK_CONTAINER (edit_menu1), separator15); gtk_widget_set_sensitive (separator15, FALSE);
- go_to_line = gtk_image_menu_item_new_with_mnemonic (_("Go to Line")); + go_to_line = gtk_image_menu_item_new_with_mnemonic (_("_Go to Line")); gtk_widget_show (go_to_line); gtk_container_add (GTK_CONTAINER (edit_menu1), go_to_line); gtk_tooltips_set_tip (tooltips, go_to_line, _("Go to the entered line"), NULL); @@ -3428,7 +3428,7 @@ (GtkAttachOptions) (0), 0, 0); gtk_misc_set_alignment (GTK_MISC (label170), 0, 0.5);
- radio_toolbar_imagetext = gtk_radio_button_new_with_mnemonic (NULL, _("Images and text")); + radio_toolbar_imagetext = gtk_radio_button_new_with_mnemonic (NULL, _("Images _and Text")); gtk_widget_show (radio_toolbar_imagetext); gtk_table_attach (GTK_TABLE (table9), radio_toolbar_imagetext, 1, 2, 0, 1, (GtkAttachOptions) (GTK_FILL), @@ -3436,7 +3436,7 @@ gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_toolbar_imagetext), radio_toolbar_imagetext_group); radio_toolbar_imagetext_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_toolbar_imagetext));
- radio_toolbar_small = gtk_radio_button_new_with_mnemonic (NULL, _("Small icons")); + 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), @@ -3444,7 +3444,7 @@ 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")); + 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), @@ -3452,7 +3452,7 @@ 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));
- radio_toolbar_text = gtk_radio_button_new_with_mnemonic (NULL, _("Text only")); + radio_toolbar_text = gtk_radio_button_new_with_mnemonic (NULL, _("_Text Only")); gtk_widget_show (radio_toolbar_text); gtk_table_attach (GTK_TABLE (table9), radio_toolbar_text, 3, 4, 0, 1, (GtkAttachOptions) (GTK_FILL), @@ -3460,7 +3460,7 @@ gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_toolbar_text), radio_toolbar_imagetext_group); radio_toolbar_imagetext_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_toolbar_text));
- radio_toolbar_image = gtk_radio_button_new_with_mnemonic (NULL, _("Images only")); + radio_toolbar_image = gtk_radio_button_new_with_mnemonic (NULL, _("_Images Only")); gtk_widget_show (radio_toolbar_image); gtk_table_attach (GTK_TABLE (table9), radio_toolbar_image, 2, 3, 0, 1, (GtkAttachOptions) (GTK_FILL), @@ -3676,14 +3676,14 @@ (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (GTK_EXPAND | GTK_FILL), 0, 0);
- radio_indent_tabs = gtk_radio_button_new_with_mnemonic (NULL, _("Tabs")); + radio_indent_tabs = gtk_radio_button_new_with_mnemonic (NULL, _("_Tabs")); gtk_widget_show (radio_indent_tabs); gtk_box_pack_start (GTK_BOX (hbox8), radio_indent_tabs, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, radio_indent_tabs, _("Whether to use tabs or spaces when indentation is inserted."), NULL); gtk_radio_button_set_group (GTK_RADIO_BUTTON (radio_indent_tabs), radio_indent_tabs_group); radio_indent_tabs_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (radio_indent_tabs));
- radio_indent_spaces = gtk_radio_button_new_with_mnemonic (NULL, _("Spaces")); + radio_indent_spaces = gtk_radio_button_new_with_mnemonic (NULL, _("_Spaces")); gtk_widget_show (radio_indent_spaces); gtk_box_pack_start (GTK_BOX (hbox8), radio_indent_spaces, FALSE, FALSE, 0); gtk_tooltips_set_tip (tooltips, radio_indent_spaces, _("Whether to use tabs or spaces when indentation is inserted."), NULL);
Modified: trunk/src/vte.c =================================================================== --- trunk/src/vte.c 2008-03-28 17:06:41 UTC (rev 2429) +++ trunk/src/vte.c 2008-03-31 13:09:56 UTC (rev 2430) @@ -480,12 +480,12 @@ gtk_widget_show(item); gtk_container_add(GTK_CONTAINER(menu), item);
- item = gtk_image_menu_item_new_with_label(_("Set Path From Document")); + item = gtk_image_menu_item_new_with_mnemonic(_("_Set Path From Document")); gtk_widget_show(item); gtk_container_add(GTK_CONTAINER(menu), item); g_signal_connect((gpointer)item, "activate", G_CALLBACK(vte_popup_menu_clicked), GINT_TO_POINTER(POPUP_CHANGEPATH));
- item = gtk_image_menu_item_new_with_label(_("Restart Terminal")); + item = gtk_image_menu_item_new_with_mnemonic(_("_Restart Terminal")); gtk_widget_show(item); gtk_container_add(GTK_CONTAINER(menu), item); g_signal_connect((gpointer)item, "activate", G_CALLBACK(vte_popup_menu_clicked), GINT_TO_POINTER(POPUP_RESTARTTERMINAL));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.