summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Murzov <e-mail@date.by>2013-05-12 01:46:47 +0400
committerIgor Murzov <e-mail@date.by>2013-05-12 02:02:26 +0400
commitabfe4e1b69856271a4e73a4a54d7fba19ac7f88a (patch)
tree87a7437e1506b7c4cd7219b24ea2e610bb894cf1
parente1ce46676b227a338b23d0e818faffbe3efeefae (diff)
downloadenlightenment-abfe4e1b69856271a4e73a4a54d7fba19ac7f88a.tar.gz
Make gadcon locations translatable
-rw-r--r--src/bin/e_toolbar.c2
-rw-r--r--src/modules/gadman/e_mod_gadman.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/e_toolbar.c b/src/bin/e_toolbar.c
index 4d8df86c70..0a763379fa 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 d02264b485..97aa0d9bda 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");