forked from enlightenment/efl
datetime, lable: use SIG_LANG_CHANGED instead of SIG_LANGUAGE_CHANGED for consistency.
This commit is contained in:
parent
99ed8edb84
commit
46d08b10f8
|
@ -62,10 +62,10 @@ static const char *ignore_separators = "()";
|
|||
static Datetime_Mod_Api *dt_mod = NULL;
|
||||
|
||||
static const char SIG_CHANGED[] = "changed";
|
||||
static const char SIG_LANGUAGE_CHANGED[] = "language,changed";
|
||||
static const char SIG_LANG_CHANGED[] = "language,changed";
|
||||
static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
||||
{SIG_CHANGED, ""},
|
||||
{SIG_LANGUAGE_CHANGED, ""},
|
||||
{SIG_LANG_CHANGED, ""},
|
||||
{NULL, NULL}
|
||||
};
|
||||
|
||||
|
@ -370,7 +370,7 @@ _elm_datetime_smart_translate(Eo *obj, void *_pd, va_list *list)
|
|||
if (!sd->user_format) _reload_format(obj);
|
||||
else _field_list_display(obj);
|
||||
|
||||
evas_object_smart_callback_call(obj, SIG_LANGUAGE_CHANGED, NULL);
|
||||
evas_object_smart_callback_call(obj, SIG_LANG_CHANGED, NULL);
|
||||
|
||||
if (ret) *ret = EINA_TRUE;
|
||||
}
|
||||
|
|
|
@ -15,10 +15,10 @@ EAPI Eo_Op ELM_OBJ_LABEL_BASE_ID = EO_NOOP;
|
|||
#define MY_CLASS_NAME "elm_label"
|
||||
|
||||
static const char SIG_SLIDE_END[] = "slide,end";
|
||||
static const char SIG_LANGUAGE_CHANGED[] = "language,changed";
|
||||
static const char SIG_LANG_CHANGED[] = "language,changed";
|
||||
|
||||
static const Evas_Smart_Cb_Description _smart_callbacks[] = {
|
||||
{SIG_LANGUAGE_CHANGED, ""},
|
||||
{SIG_LANG_CHANGED, ""},
|
||||
{SIG_SLIDE_END, ""},
|
||||
{NULL, NULL}
|
||||
};
|
||||
|
@ -347,7 +347,7 @@ static void
|
|||
_elm_label_smart_translate(Eo *obj, void *_pd EINA_UNUSED, va_list *list)
|
||||
{
|
||||
Eina_Bool *ret = va_arg(*list, Eina_Bool *);
|
||||
evas_object_smart_callback_call(obj, SIG_LANGUAGE_CHANGED, NULL);
|
||||
evas_object_smart_callback_call(obj, SIG_LANG_CHANGED, NULL);
|
||||
|
||||
if (ret) *ret = EINA_TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue