garik pushed a commit to branch master.

commit abfe4e1b69856271a4e73a4a54d7fba19ac7f88a
Author: Igor Murzov <[email protected]>
Date:   Sun May 12 01:46:47 2013 +0400

    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 4d8df86..0a76337 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 d02264b..97aa0d9 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");

-- 

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may

Reply via email to