q66 pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=07e810c5cc9ca622eb8f0dfc43c47846e7f09e42

commit 07e810c5cc9ca622eb8f0dfc43c47846e7f09e42
Author: Mike Blumenkrantz <zm...@samsung.com>
Date:   Wed Aug 14 19:25:53 2019 +0200

    efl_ui/layout: implement unimplemented methods
    
    Summary:
    add redirects to internal layout objects for these methods
    Depends on D9561
    
    Reviewers: q66
    
    Reviewed By: q66
    
    Subscribers: cedric, #reviewers, #committers
    
    Tags: #efl
    
    Differential Revision: https://phab.enlightenment.org/D9562
---
 src/lib/elementary/efl_ui_layout.c       | 28 ++++++++++++++++++++++++++++
 src/lib/elementary/efl_ui_layout_base.eo |  2 ++
 2 files changed, 30 insertions(+)

diff --git a/src/lib/elementary/efl_ui_layout.c 
b/src/lib/elementary/efl_ui_layout.c
index 8dd0879dbc..600ebdb41d 100644
--- a/src/lib/elementary/efl_ui_layout.c
+++ b/src/lib/elementary/efl_ui_layout.c
@@ -2515,6 +2515,34 @@ _efl_ui_layout_base_efl_ui_factory_bind_factory_bind(Eo 
*obj EINA_UNUSED, Efl_Ui
    _efl_ui_layout_view_model_content_update(pd, tracking, ss_key);
 }
 
+EOLIAN void
+_efl_ui_layout_base_efl_ui_i18n_language_set(Eo *obj, Efl_Ui_Layout_Data *sd 
EINA_UNUSED, const char *locale)
+{
+   ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
+   efl_ui_language_set(wd->resize_obj, locale);
+}
+
+EOLIAN const char *
+_efl_ui_layout_base_efl_ui_i18n_language_get(const Eo *obj, Efl_Ui_Layout_Data 
*sd EINA_UNUSED)
+{
+   ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, NULL);
+   return efl_ui_language_get(wd->resize_obj);
+}
+
+EOLIAN static void
+_efl_ui_layout_base_efl_ui_l10n_l10n_text_set(Eo *obj, Efl_Ui_Layout_Data *sd 
EINA_UNUSED, const char *label, const char *domain)
+{
+   ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
+   efl_ui_l10n_text_set(efl_part(obj, 
efl_ui_widget_default_text_part_get(obj)), label, domain);
+}
+
+EOLIAN static const char *
+_efl_ui_layout_base_efl_ui_l10n_l10n_text_get(const Eo *obj, 
Efl_Ui_Layout_Data *sd EINA_UNUSED, const char **domain)
+{
+  ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, NULL);
+  return efl_ui_l10n_text_get(efl_part(obj, 
efl_ui_widget_default_text_part_get(obj)), domain);
+}
+
 EOLIAN static Eo *
 _efl_ui_layout_efl_object_constructor(Eo *obj, void *_pd EINA_UNUSED)
 {
diff --git a/src/lib/elementary/efl_ui_layout_base.eo 
b/src/lib/elementary/efl_ui_layout_base.eo
index b66095f87b..4f4624744a 100644
--- a/src/lib/elementary/efl_ui_layout_base.eo
+++ b/src/lib/elementary/efl_ui_layout_base.eo
@@ -107,6 +107,8 @@ abstract Efl.Ui.Layout_Base extends Efl.Ui.Widget 
implements Efl.Container,
       Efl.Part.part_get;
       Efl.Ui.Property_Bind.property_bind;
       Efl.Ui.Factory_Bind.factory_bind;
+      Efl.Ui.L10n.l10n_text { get; set; }
+      Efl.Ui.I18n.language { get; set; }
    }
    events {
       theme,changed: void; [[Called when theme changed]]

-- 


Reply via email to