From abfe4e1b69856271a4e73a4a54d7fba19ac7f88a Mon Sep 17 00:00:00 2001 From: Igor Murzov Date: Sun, 12 May 2013 01:46:47 +0400 Subject: [PATCH] Make gadcon locations translatable --- src/bin/e_toolbar.c | 2 +- src/modules/gadman/e_mod_gadman.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/e_toolbar.c b/src/bin/e_toolbar.c index 4d8df86c7..0a763379f 100644 --- a/src/bin/e_toolbar.c +++ b/src/bin/e_toolbar.c @@ -125,7 +125,7 @@ _e_toolbar_gadget_add(void *data EINA_UNUSED, E_Gadcon_Client *gcc, const E_Gadc EINTERN int e_toolbar_init(void) { - tb_location = e_gadcon_location_new("EFM Toolbar", E_GADCON_SITE_EFM_TOOLBAR, + tb_location = e_gadcon_location_new(_("EFM Toolbar"), E_GADCON_SITE_EFM_TOOLBAR, _e_toolbar_gadget_add, NULL, _e_toolbar_gadget_remove, NULL); e_gadcon_location_set_icon_name(tb_location, "configure-toolbars"); diff --git a/src/modules/gadman/e_mod_gadman.c b/src/modules/gadman/e_mod_gadman.c index d02264b48..97aa0d9bd 100644 --- a/src/modules/gadman/e_mod_gadman.c +++ b/src/modules/gadman/e_mod_gadman.c @@ -114,14 +114,14 @@ gadman_init(E_Module *m) e_container_shape_change_callback_add(Man->container, on_shape_change, NULL); /* create and register "desktop" location */ - location = Man->location[GADMAN_LAYER_BG] = e_gadcon_location_new("Desktop", E_GADCON_SITE_DESKTOP, + location = Man->location[GADMAN_LAYER_BG] = e_gadcon_location_new(_("Desktop"), E_GADCON_SITE_DESKTOP, _e_gadman_client_add, NULL, _e_gadman_client_remove, NULL); e_gadcon_location_set_icon_name(location, "preferences-desktop"); e_gadcon_location_register(location); /* create and register "desktop hover" location */ - location = Man->location[GADMAN_LAYER_TOP] = e_gadcon_location_new("Desktop Hover", E_GADCON_SITE_DESKTOP, + location = Man->location[GADMAN_LAYER_TOP] = e_gadcon_location_new(_("Desktop Hover"), E_GADCON_SITE_DESKTOP, _e_gadman_client_add, NULL, _e_gadman_client_remove, NULL); e_gadcon_location_set_icon_name(location, "preferences-desktop");