* new translations require leading underscores for menu names

or the lookups fail when adding new menus.  In particular,
	  "_Actions", "_Toolbar", and "_Status Bar".


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7378 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2002-10-23 20:49:33 +00:00
parent 095a551936
commit dc86bf4a4c
4 changed files with 8 additions and 4 deletions

View File

@ -1,6 +1,10 @@
2002-10-23 Derek Atkins <derek@ihtfp.com>
* de.po: fix a string for Christian so it compiles.
* new translations require leading underscores for menu names
or the lookups fail when adding new menus. In particular,
"_Actions", "_Toolbar", and "_Status Bar".
2002-10-22 Derek Atkins <derek@ihtfp.com>
Fix a bunch of compiler warnings:
* Transaction-matcher.c: use "=" not "==" to set a variable

View File

@ -1341,7 +1341,7 @@ gnc_acct_tree_tweak_menu (GNCMDIChildInfo * mc)
gnome_app_insert_menus (mc->app, "File/New File", fileitems1);
gnome_app_insert_menus (mc->app, "File/Open...", fileitems2);
gnome_app_insert_menus (mc->app, "Edit/Paste", edititems);
gnome_app_insert_menus (mc->app, "Actions/Scheduled Transactions",
gnome_app_insert_menus (mc->app, "_Actions/Scheduled Transactions",
actionitems);
win = (GNCAcctTreeWin *)mc->user_data;

View File

@ -268,10 +268,10 @@ gnc_main_window_tweak_menus(GNCMDIChildInfo * mc)
{
GtkWidget *widget;
widget = gnc_mdi_child_find_menu_item(mc, "View/Toolbar");
widget = gnc_mdi_child_find_menu_item(mc, "View/_Toolbar");
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(widget), TRUE);
widget = gnc_mdi_child_find_menu_item(mc, "View/Status Bar");
widget = gnc_mdi_child_find_menu_item(mc, "View/_Status Bar");
gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(widget), TRUE);
widget = gnc_mdi_child_find_menu_item(mc, "View/Summary Bar");

View File

@ -92,7 +92,7 @@
;; since this menu gets added to every child window, we say it
;; comes after the "_Actions" menu.
(define menu (gnc:make-menu gnc:menuname-reports
(list gnc:window-name-main "Actions")))
(list gnc:window-name-main "_Actions")))
(define menu-namer (gnc:new-menu-namer))
(define tax-menu (gnc:make-menu gnc:menuname-taxes
(list gnc:window-name-main