From 036d995401fcebc6dbc5903931a77665da3cac4a Mon Sep 17 00:00:00 2001 From: Hannes Janetzek Date: Wed, 23 Mar 2011 00:18:15 +0000 Subject: [PATCH] e17: use non-translateable string for gadcon client shelf menu item. as before. SVN revision: 58006 --- src/bin/e_shelf.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/bin/e_shelf.c b/src/bin/e_shelf.c index 3565247..a02aea4 100644 --- a/src/bin/e_shelf.c +++ b/src/bin/e_shelf.c @@ -1164,12 +1164,17 @@ _e_shelf_menu_append(E_Shelf *es, E_Menu *mn) { E_Menu_Item *mi; E_Menu *subm; + const char *name; + char buf[256]; + + name = e_shelf_orient_string_get (es); + snprintf(buf, sizeof(buf), "Shelf %s", name); e_shelf_locked_set(es, 1); subm = e_menu_new(); mi = e_menu_item_new(mn); - e_menu_item_label_set(mi, _("Shelf Settings")); + e_menu_item_label_set(mi, buf); e_util_menu_item_theme_icon_set(mi, "preferences-desktop-shelf"); e_menu_pre_activate_callback_set(subm, _e_shelf_menu_pre_cb, es); e_object_free_attach_func_set(E_OBJECT(mi), _e_shelf_menu_item_free); -- 2.7.4