Make sure all menu items are translated.
2002-03-31 Johan Dahlin <jdahlin@telia.com> * src/menu.c (meta_window_menu_new): Make sure all menu items are translated.
This commit is contained in:
parent
4c323b8f33
commit
a500a7e668
@ -1,3 +1,8 @@
|
|||||||
|
2002-03-31 Johan Dahlin <jdahlin@telia.com>
|
||||||
|
|
||||||
|
* src/menu.c (meta_window_menu_new): Make sure all menu items are
|
||||||
|
translated.
|
||||||
|
|
||||||
2002-03-27 Havoc Pennington <hp@pobox.com>
|
2002-03-27 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* src/window.c (meta_window_free): remove
|
* src/window.c (meta_window_free): remove
|
||||||
|
@ -245,14 +245,14 @@ meta_window_menu_new (MetaFrames *frames,
|
|||||||
|
|
||||||
if (image)
|
if (image)
|
||||||
{
|
{
|
||||||
mi = gtk_image_menu_item_new_with_mnemonic (menuitems[i].label);
|
mi = gtk_image_menu_item_new_with_mnemonic (_(menuitems[i].label));
|
||||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi),
|
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mi),
|
||||||
image);
|
image);
|
||||||
gtk_widget_show (image);
|
gtk_widget_show (image);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
mi = gtk_menu_item_new_with_mnemonic (menuitems[i].label);
|
mi = gtk_menu_item_new_with_mnemonic (_(menuitems[i].label));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (insensitive & menuitems[i].op)
|
if (insensitive & menuitems[i].op)
|
||||||
|
Loading…
Reference in New Issue
Block a user