[baobab] Add missing mnemonics
- From: Piotr DrÄg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [baobab] Add missing mnemonics
- Date: Sun, 15 Jul 2012 16:14:55 +0000 (UTC)
commit 906bd37cfc6dbd60297eae1684ee1bc8da107c50
Author: Leandro Toledo de Souza <leandrotoledodesouza gmail com>
Date: Sun Jul 15 18:13:37 2012 +0200
Add missing mnemonics
Add missing mnemonics to strings in chart.
Basically I replaced gtk_image_menu_item_new_with_label with
gtk_image_menu_item_new_with_mnemonic and added an _ to do
a mnemonic.
https://bugzilla.gnome.org/show_bug.cgi?id=670670
src/baobab-chart.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/baobab-chart.c b/src/baobab-chart.c
index 864dcd4..aca23e8 100644
--- a/src/baobab-chart.c
+++ b/src/baobab-chart.c
@@ -895,15 +895,15 @@ do_popup_menu (BaobabChart *chart,
gtk_menu_attach_to_widget (GTK_MENU (menu), GTK_WIDGET (chart), popup_menu_detach);
- up_item = gtk_image_menu_item_new_with_label (_("Move to parent folder"));
+ up_item = gtk_image_menu_item_new_with_mnemonic (_("_Move to parent folder"));
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (up_item),
gtk_image_new_from_stock(GTK_STOCK_GO_UP, GTK_ICON_SIZE_MENU));
- zoom_in_item = gtk_image_menu_item_new_with_label (_("Zoom in")) ;
+ zoom_in_item = gtk_image_menu_item_new_with_mnemonic (_("Zoom _in")) ;
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (zoom_in_item),
gtk_image_new_from_stock(GTK_STOCK_ADD, GTK_ICON_SIZE_MENU));
- zoom_out_item = gtk_image_menu_item_new_with_label (_("Zoom out"));
+ zoom_out_item = gtk_image_menu_item_new_with_mnemonic (_("Zoom _out"));
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (zoom_out_item),
gtk_image_new_from_stock(GTK_STOCK_REMOVE, GTK_ICON_SIZE_MENU));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]