summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-08-01 13:35:53 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-08-03 20:40:10 +0200
commit42bbe0e58ffcfda31d142dbaab9be99f7d84f1c7 (patch)
tree049968da0774b2bdc7b961c8725a2cc0baa403e3 /src/lib
parent755862095752db165db5c48faa2bf8cd1d53fcdf (diff)
efl_ui_spin_button: fix initial displaying of formatting string
spin_button should also implement formatted_apply, the label has a different part name then spin. ref T8097 Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D9474
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/elementary/efl_ui_spin_button.c7
-rw-r--r--src/lib/elementary/efl_ui_spin_button.eo1
2 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/elementary/efl_ui_spin_button.c b/src/lib/elementary/efl_ui_spin_button.c
index ef53137..0419022 100644
--- a/src/lib/elementary/efl_ui_spin_button.c
+++ b/src/lib/elementary/efl_ui_spin_button.c
@@ -805,6 +805,13 @@ _efl_ui_spin_button_efl_access_object_i18n_name_get(const Eo *obj, Efl_Ui_Spin_B
805 return ret; 805 return ret;
806} 806}
807 807
808EOLIAN static void
809_efl_ui_spin_button_efl_ui_format_apply_formatted_value(Eo *obj, Efl_Ui_Spin_Button_Data *sd EINA_UNUSED)
810{
811 _label_write(obj);
812 efl_canvas_group_change(obj);
813}
814
808// A11Y Accessibility - END 815// A11Y Accessibility - END
809 816
810#include "efl_ui_spin_button.eo.c" 817#include "efl_ui_spin_button.eo.c"
diff --git a/src/lib/elementary/efl_ui_spin_button.eo b/src/lib/elementary/efl_ui_spin_button.eo
index a4ec1c6..45b16b7 100644
--- a/src/lib/elementary/efl_ui_spin_button.eo
+++ b/src/lib/elementary/efl_ui_spin_button.eo
@@ -72,5 +72,6 @@ class @beta Efl.Ui.Spin_Button extends Efl.Ui.Spin implements Efl.Ui.Focus.Compo
72 Efl.Access.Value.range { get; } 72 Efl.Access.Value.range { get; }
73 Efl.Access.Value.increment { get; } 73 Efl.Access.Value.increment { get; }
74 Efl.Access.Widget.Action.elm_actions { get; } 74 Efl.Access.Widget.Action.elm_actions { get; }
75 Efl.Ui.Format.apply_formatted_value;
75 } 76 }
76} 77}