From 39ad0e358ec64b41ee125c47a876f994e1b82a49 Mon Sep 17 00:00:00 2001 From: ChunEon Park Date: Thu, 23 Jan 2014 20:07:20 +0900 Subject: [PATCH] elementary - support language changed callback from a few widgets. support a language,changed callback if a widget has the text part in default. --- legacy/elementary/src/lib/elc_hoversel.c | 1 + legacy/elementary/src/lib/elc_hoversel.h | 1 + legacy/elementary/src/lib/elc_naviframe.c | 1 + legacy/elementary/src/lib/elc_naviframe.h | 1 + legacy/elementary/src/lib/elc_player.c | 1 + legacy/elementary/src/lib/elm_actionslider.c | 1 + legacy/elementary/src/lib/elm_actionslider.h | 1 + legacy/elementary/src/lib/elm_calendar.c | 1 + legacy/elementary/src/lib/elm_calendar.h | 1 + legacy/elementary/src/lib/elm_check.c | 1 + legacy/elementary/src/lib/elm_check.h | 1 + legacy/elementary/src/lib/elm_clock.c | 1 + legacy/elementary/src/lib/elm_clock.h | 1 + legacy/elementary/src/lib/elm_colorselector.c | 1 + legacy/elementary/src/lib/elm_colorselector.h | 1 + legacy/elementary/src/lib/elm_diskselector.c | 1 + legacy/elementary/src/lib/elm_diskselector.h | 1 + legacy/elementary/src/lib/elm_flipselector.c | 1 + legacy/elementary/src/lib/elm_flipselector.h | 1 + legacy/elementary/src/lib/elm_frame.c | 1 + legacy/elementary/src/lib/elm_frame.h | 1 + legacy/elementary/src/lib/elm_layout.c | 2 +- legacy/elementary/src/lib/elm_menu.c | 1 + legacy/elementary/src/lib/elm_menu.h | 1 + legacy/elementary/src/lib/elm_progressbar.c | 1 + legacy/elementary/src/lib/elm_progressbar.h | 1 + legacy/elementary/src/lib/elm_radio.c | 1 + legacy/elementary/src/lib/elm_radio.h | 1 + legacy/elementary/src/lib/elm_segment_control.c | 1 + legacy/elementary/src/lib/elm_segment_control.h | 1 + legacy/elementary/src/lib/elm_slider.c | 1 + legacy/elementary/src/lib/elm_slider.h | 1 + legacy/elementary/src/lib/elm_slideshow.c | 1 + legacy/elementary/src/lib/elm_slideshow.h | 1 + 34 files changed, 34 insertions(+), 1 deletion(-) diff --git a/legacy/elementary/src/lib/elc_hoversel.c b/legacy/elementary/src/lib/elc_hoversel.c index d0321a99f0..462c34fe33 100644 --- a/legacy/elementary/src/lib/elc_hoversel.c +++ b/legacy/elementary/src/lib/elc_hoversel.c @@ -21,6 +21,7 @@ static const Evas_Smart_Cb_Description _smart_callbacks[] = { {SIG_DISMISSED, ""}, {SIG_EXPANDED, ""}, {"clicked", ""}, /**< handled by parent button class */ + {SIG_WIDGET_LANG_CHANGED, ""}, /**< handled by elm_widget */ {NULL, NULL} }; diff --git a/legacy/elementary/src/lib/elc_hoversel.h b/legacy/elementary/src/lib/elc_hoversel.h index cf9740ed5a..c037c2ff30 100644 --- a/legacy/elementary/src/lib/elc_hoversel.h +++ b/legacy/elementary/src/lib/elc_hoversel.h @@ -26,6 +26,7 @@ * is the selected item * - @c "dismissed" - the hover is dismissed * - @c "expanded" - This is called on clicking hoversel and elm_hoversel_hover_begin(). + * - @c "language,changed" - the program's language changed (since 1.9) * * Default content parts of the hoversel widget that you can use for are: * @li "icon" - An icon of the hoversel diff --git a/legacy/elementary/src/lib/elc_naviframe.c b/legacy/elementary/src/lib/elc_naviframe.c index d248346658..3c1ed672d0 100644 --- a/legacy/elementary/src/lib/elc_naviframe.c +++ b/legacy/elementary/src/lib/elc_naviframe.c @@ -30,6 +30,7 @@ static const Evas_Smart_Cb_Description _smart_callbacks[] = { {SIG_TRANSITION_FINISHED, ""}, {SIG_TITLE_TRANSITION_FINISHED, ""}, {SIG_TITLE_CLICKED, ""}, + {SIG_WIDGET_LANG_CHANGED, ""}, /**< handled by elm_widget */ {SIG_WIDGET_FOCUSED, ""}, /**< handled by elm_widget */ {SIG_WIDGET_UNFOCUSED, ""}, /**< handled by elm_widget */ {NULL, NULL} diff --git a/legacy/elementary/src/lib/elc_naviframe.h b/legacy/elementary/src/lib/elc_naviframe.h index 2d44a42b2a..07be8ef9e5 100644 --- a/legacy/elementary/src/lib/elc_naviframe.h +++ b/legacy/elementary/src/lib/elc_naviframe.h @@ -65,6 +65,7 @@ * @li @c "title,clicked" - User clicked title area * @li @c "focused" - When the naviframe has received focus. (since 1.8) * @li @c "unfocused" - When the naviframe has lost focus. (since 1.8) + * @li @c "language,changed" - the program's language changed (since 1.9) * * All the parts, for content and text, described here will also be * reachable by naviframe @b items direct calls: diff --git a/legacy/elementary/src/lib/elc_player.c b/legacy/elementary/src/lib/elc_player.c index 8e4dcdaa46..136af9ece3 100644 --- a/legacy/elementary/src/lib/elc_player.c +++ b/legacy/elementary/src/lib/elc_player.c @@ -50,6 +50,7 @@ static const Evas_Smart_Cb_Description _smart_callbacks[] = { { SIG_EJECT_CLICKED, "" }, { SIG_VOLUME_CLICKED, "" }, { SIG_MUTE_CLICKED, "" }, + { SIG_WIDGET_LANG_CHANGED, ""}, /**< handled by elm_widget */ { SIG_WIDGET_FOCUSED, ""}, /**< handled by elm_widget */ { SIG_WIDGET_UNFOCUSED, ""}, /**< handled by elm_widget */ { NULL, NULL } diff --git a/legacy/elementary/src/lib/elm_actionslider.c b/legacy/elementary/src/lib/elm_actionslider.c index 8106f15e83..33ec051552 100644 --- a/legacy/elementary/src/lib/elm_actionslider.c +++ b/legacy/elementary/src/lib/elm_actionslider.c @@ -33,6 +33,7 @@ ELM_PRIV_ACTIONSLIDER_SIGNALS(ELM_PRIV_STATIC_VARIABLE_DECLARE); static const Evas_Smart_Cb_Description _smart_callbacks[] = { ELM_PRIV_ACTIONSLIDER_SIGNALS(ELM_PRIV_SMART_CALLBACKS_DESC) + {SIG_WIDGET_LANG_CHANGED, ""}, /**< handled by elm_widget */ {NULL, NULL} }; #undef ELM_PRIV_ACTIONSLIDER_SIGNALS diff --git a/legacy/elementary/src/lib/elm_actionslider.h b/legacy/elementary/src/lib/elm_actionslider.h index d6b871881a..ed7bd5444c 100644 --- a/legacy/elementary/src/lib/elm_actionslider.h +++ b/legacy/elementary/src/lib/elm_actionslider.h @@ -34,6 +34,7 @@ * label is passed as event info). * @li @c "pos_changed" - when the indicator reaches any of the * positions("left", "right" or "center"). + * @li @c "language,changed" - the program's language changed (since 1.9) * * Default text parts of the actionslider widget that you can use for are: * @li "indicator" - An indicator label of the actionslider diff --git a/legacy/elementary/src/lib/elm_calendar.c b/legacy/elementary/src/lib/elm_calendar.c index 6da468d8e2..c32028c481 100644 --- a/legacy/elementary/src/lib/elm_calendar.c +++ b/legacy/elementary/src/lib/elm_calendar.c @@ -19,6 +19,7 @@ static const char SIG_DISPLAY_CHANGED[] = "display,changed"; static const Evas_Smart_Cb_Description _smart_callbacks[] = { {SIG_CHANGED, ""}, {SIG_DISPLAY_CHANGED, ""}, + {SIG_WIDGET_LANG_CHANGED, ""}, /**< handled by elm_widget */ {SIG_WIDGET_FOCUSED, ""}, /**< handled by elm_widget */ {SIG_WIDGET_UNFOCUSED, ""}, /**< handled by elm_widget */ {NULL, NULL} diff --git a/legacy/elementary/src/lib/elm_calendar.h b/legacy/elementary/src/lib/elm_calendar.h index fcd4532044..4f1e00e71c 100644 --- a/legacy/elementary/src/lib/elm_calendar.h +++ b/legacy/elementary/src/lib/elm_calendar.h @@ -27,6 +27,7 @@ * calendar is changed. * - @c "focused" - When the calendar has received focus. (since 1.8) * - @c "unfocused" - When the calendar has lost focus. (since 1.8) + * - @c "language,changed" - the program's language changed (since 1.9) * * Supported elm_object common APIs. * @li @ref elm_object_signal_emit diff --git a/legacy/elementary/src/lib/elm_check.c b/legacy/elementary/src/lib/elm_check.c index 0ceecdea2a..5147b9eadf 100644 --- a/legacy/elementary/src/lib/elm_check.c +++ b/legacy/elementary/src/lib/elm_check.c @@ -33,6 +33,7 @@ static const char SIG_CHANGED[] = "changed"; /* smart callbacks coming from elm check objects: */ static const Evas_Smart_Cb_Description _smart_callbacks[] = { {SIG_CHANGED, ""}, + {SIG_WIDGET_LANG_CHANGED, ""}, /**< handled by elm_widget */ {SIG_WIDGET_FOCUSED, ""}, /**< handled by elm_widget */ {SIG_WIDGET_UNFOCUSED, ""}, /**< handled by elm_widget */ {NULL, NULL} diff --git a/legacy/elementary/src/lib/elm_check.h b/legacy/elementary/src/lib/elm_check.h index 9b16179202..2451b53829 100644 --- a/legacy/elementary/src/lib/elm_check.h +++ b/legacy/elementary/src/lib/elm_check.h @@ -32,6 +32,7 @@ * the check objects (@c event_info is always @c NULL). * - @c "focused" - When the check has received focus. (since 1.8) * - @c "unfocused" - When the check has lost focus. (since 1.8) + * - @c "language,changed" - the program's language changed (since 1.9) * * Default content parts of the check widget that you can use for are: * @li "icon" - An icon of the check diff --git a/legacy/elementary/src/lib/elm_clock.c b/legacy/elementary/src/lib/elm_clock.c index 5aec5b2340..806374984d 100644 --- a/legacy/elementary/src/lib/elm_clock.c +++ b/legacy/elementary/src/lib/elm_clock.c @@ -20,6 +20,7 @@ static const char SIG_CHANGED[] = "changed"; static const Evas_Smart_Cb_Description _smart_callbacks[] = { {SIG_CHANGED, ""}, + {SIG_WIDGET_LANG_CHANGED, ""}, /**< handled by elm_widget */ {SIG_WIDGET_FOCUSED, ""}, /**< handled by elm_widget */ {SIG_WIDGET_UNFOCUSED, ""}, /**< handled by elm_widget */ {NULL, NULL} diff --git a/legacy/elementary/src/lib/elm_clock.h b/legacy/elementary/src/lib/elm_clock.h index f8f6708550..04633cd8fd 100644 --- a/legacy/elementary/src/lib/elm_clock.h +++ b/legacy/elementary/src/lib/elm_clock.h @@ -41,6 +41,7 @@ * - @c "changed" - the clock's user changed the time * - @c "focused" - When the clock ehas received focus. (since 1.8) * - @c "unfocused" - When the clock has lost focus. (since 1.8) + * - @c "language,changed" - the program's language changed (since 1.9) * * Supported elm_object common APIs. * @li @ref elm_object_signal_emit diff --git a/legacy/elementary/src/lib/elm_colorselector.c b/legacy/elementary/src/lib/elm_colorselector.c index bf454129ba..3aa84d1301 100644 --- a/legacy/elementary/src/lib/elm_colorselector.c +++ b/legacy/elementary/src/lib/elm_colorselector.c @@ -29,6 +29,7 @@ static const Evas_Smart_Cb_Description _smart_callbacks[] = {SIG_COLOR_ITEM_SELECTED, ""}, {SIG_COLOR_ITEM_LONGPRESSED, ""}, {SIG_CHANGED, ""}, + {SIG_WIDGET_LANG_CHANGED, ""}, /**< handled by elm_widget */ {SIG_WIDGET_FOCUSED, ""}, /**< handled by elm_widget */ {SIG_WIDGET_UNFOCUSED, ""}, /**< handled by elm_widget */ {NULL, NULL} diff --git a/legacy/elementary/src/lib/elm_colorselector.h b/legacy/elementary/src/lib/elm_colorselector.h index c5d4b5f041..b98f4146ac 100644 --- a/legacy/elementary/src/lib/elm_colorselector.h +++ b/legacy/elementary/src/lib/elm_colorselector.h @@ -30,6 +30,7 @@ * color item. * - @c "focused" - When the colorselector has received focus. (since 1.8) * - @c "unfocused" - When the colorselector has lost focus. (since 1.8) + * - @c "language,changed" - the program's language changed (since 1.9) * * See @ref tutorial_colorselector. * @{ diff --git a/legacy/elementary/src/lib/elm_diskselector.c b/legacy/elementary/src/lib/elm_diskselector.c index 44cf9c4323..8a30f36a96 100644 --- a/legacy/elementary/src/lib/elm_diskselector.c +++ b/legacy/elementary/src/lib/elm_diskselector.c @@ -38,6 +38,7 @@ static const Evas_Smart_Cb_Description _smart_callbacks[] = { {SIG_SCROLL_ANIM_STOP, ""}, {SIG_SCROLL_DRAG_START, ""}, {SIG_SCROLL_DRAG_STOP, ""}, + {SIG_WIDGET_LANG_CHANGED, ""}, /**< handled by elm_widget */ {SIG_WIDGET_FOCUSED, ""}, /**< handled by elm_widget */ {SIG_WIDGET_UNFOCUSED, ""}, /**< handled by elm_widget */ {NULL, NULL} diff --git a/legacy/elementary/src/lib/elm_diskselector.h b/legacy/elementary/src/lib/elm_diskselector.h index 6035b8ebc6..c912c19568 100644 --- a/legacy/elementary/src/lib/elm_diskselector.h +++ b/legacy/elementary/src/lib/elm_diskselector.h @@ -35,6 +35,7 @@ * @li @c "scroll,drag,stop" - dragging the diskselector has stopped * @li @c "focused" - When the diskselector has received focus. (since 1.8) * @li @c "unfocused" - When the diskselector has lost focus. (since 1.8) + * @li @c "language,changed" - the program's language changed (since 1.9) * * @note The "scroll,anim,*" and "scroll,drag,*" signals are only emitted by * user intervention. diff --git a/legacy/elementary/src/lib/elm_flipselector.c b/legacy/elementary/src/lib/elm_flipselector.c index ce51c207d6..b8667f3cb2 100644 --- a/legacy/elementary/src/lib/elm_flipselector.c +++ b/legacy/elementary/src/lib/elm_flipselector.c @@ -42,6 +42,7 @@ static const Evas_Smart_Cb_Description _smart_callbacks[] = { {SIG_SELECTED, ""}, {SIG_UNDERFLOWED, ""}, {SIG_OVERFLOWED, ""}, + {SIG_WIDGET_LANG_CHANGED, ""}, /**< handled by elm_widget */ {SIG_WIDGET_FOCUSED, ""}, /**< handled by elm_widget */ {SIG_WIDGET_UNFOCUSED, ""}, /**< handled by elm_widget */ {NULL, NULL} diff --git a/legacy/elementary/src/lib/elm_flipselector.h b/legacy/elementary/src/lib/elm_flipselector.h index 68d120dc0e..a2bd9675a3 100644 --- a/legacy/elementary/src/lib/elm_flipselector.h +++ b/legacy/elementary/src/lib/elm_flipselector.h @@ -32,6 +32,7 @@ * from the last item in its list to the first * - @c "focused" - When the flip selector has received focus. (since 1.8) * - @c "unfocused" - When the flip selector has lost focus. (since 1.8) + * - @c "language,changed" - the program's language changed (since 1.9) * * Available styles for it: * - @c "default" diff --git a/legacy/elementary/src/lib/elm_frame.c b/legacy/elementary/src/lib/elm_frame.c index a0e3528138..2aa2d3fec9 100644 --- a/legacy/elementary/src/lib/elm_frame.c +++ b/legacy/elementary/src/lib/elm_frame.c @@ -18,6 +18,7 @@ static const char SIG_CLICKED[] = "clicked"; static const Evas_Smart_Cb_Description _smart_callbacks[] = { {SIG_CLICKED, ""}, + {SIG_WIDGET_LANG_CHANGED, ""}, /**< handled by elm_widget */ {NULL, NULL} }; diff --git a/legacy/elementary/src/lib/elm_frame.h b/legacy/elementary/src/lib/elm_frame.h index 30c5b43762..93b18a61a4 100644 --- a/legacy/elementary/src/lib/elm_frame.h +++ b/legacy/elementary/src/lib/elm_frame.h @@ -28,6 +28,7 @@ * This widget emits the following signals, besides the ones sent from * @ref Layout: * - @c "clicked" - The user has clicked the frame's label + * - @c "language,changed" - the program's language changed (since 1.9) * * Default content parts of the frame widget that you can use for are: * @li "default" - A content of the frame diff --git a/legacy/elementary/src/lib/elm_layout.c b/legacy/elementary/src/lib/elm_layout.c index e6cf2158a0..4e3fbdc220 100644 --- a/legacy/elementary/src/lib/elm_layout.c +++ b/legacy/elementary/src/lib/elm_layout.c @@ -19,7 +19,7 @@ static const char SIG_THEME_CHANGED[] = "theme,changed"; /* smart callbacks coming from elm layout objects: */ static const Evas_Smart_Cb_Description _smart_callbacks[] = { {SIG_THEME_CHANGED, ""}, - {SIG_WIDGET_LANG_CHANGED, ""}, + {SIG_WIDGET_LANG_CHANGED, ""}, /**< handled by elm_widget */ {NULL, NULL} }; diff --git a/legacy/elementary/src/lib/elm_menu.c b/legacy/elementary/src/lib/elm_menu.c index f41b75c5ae..0b94ff3b55 100644 --- a/legacy/elementary/src/lib/elm_menu.c +++ b/legacy/elementary/src/lib/elm_menu.c @@ -22,6 +22,7 @@ ELM_PRIV_MENU_SIGNALS(ELM_PRIV_STATIC_VARIABLE_DECLARE); static const Evas_Smart_Cb_Description _smart_callbacks[] = { ELM_PRIV_MENU_SIGNALS(ELM_PRIV_SMART_CALLBACKS_DESC) + {SIG_WIDGET_LANG_CHANGED, ""}, /**< handled by elm_widget */ {NULL, NULL} }; #undef ELM_PRIV_MENU_SIGNALS diff --git a/legacy/elementary/src/lib/elm_menu.h b/legacy/elementary/src/lib/elm_menu.h index 10cddde617..7eeb6aef0a 100644 --- a/legacy/elementary/src/lib/elm_menu.h +++ b/legacy/elementary/src/lib/elm_menu.h @@ -16,6 +16,7 @@ * Signals that you can add callbacks for are: * @li @c "clicked" - the user clicked the empty space in the menu to dismiss. * @li @c "dismissed" - the user clicked the empty space in the menu to dismiss (since 1.8) + * @li @c "language,changed" - the program's language changed (since 1.9) * * Default content parts of the menu items that you can use for are: * @li @c "default" - A main content of the menu item diff --git a/legacy/elementary/src/lib/elm_progressbar.c b/legacy/elementary/src/lib/elm_progressbar.c index 3df94d3c89..4915f47a99 100644 --- a/legacy/elementary/src/lib/elm_progressbar.c +++ b/legacy/elementary/src/lib/elm_progressbar.c @@ -24,6 +24,7 @@ static const char SIG_CHANGED[] = "changed"; * ones coming from elm layout): */ static const Evas_Smart_Cb_Description _smart_callbacks[] = { {SIG_CHANGED, ""}, + {SIG_WIDGET_LANG_CHANGED, ""}, /**< handled by elm_widget */ {SIG_WIDGET_FOCUSED, ""}, /**< handled by elm_widget */ {SIG_WIDGET_UNFOCUSED, ""}, /**< handled by elm_widget */ {NULL, NULL} diff --git a/legacy/elementary/src/lib/elm_progressbar.h b/legacy/elementary/src/lib/elm_progressbar.h index 19b98658b2..e44caea732 100644 --- a/legacy/elementary/src/lib/elm_progressbar.h +++ b/legacy/elementary/src/lib/elm_progressbar.h @@ -38,6 +38,7 @@ * @li @c "changed" - when the value is changed (since 1.7) * @li @c "focused" - When the progressbar has received focus. (since 1.8) * @li @c "unfocused" - When the progressbar has lost focus. (since 1.8) + * @li @c "language,changed" - the program's language changed (since 1.9) * * This widget has the following styles: * - @c "default" diff --git a/legacy/elementary/src/lib/elm_radio.c b/legacy/elementary/src/lib/elm_radio.c index fbe03c9f19..a4f7594f5c 100644 --- a/legacy/elementary/src/lib/elm_radio.c +++ b/legacy/elementary/src/lib/elm_radio.c @@ -30,6 +30,7 @@ static const Elm_Layout_Part_Alias_Description _text_aliases[] = static const char SIG_CHANGED[] = "changed"; static const Evas_Smart_Cb_Description _smart_callbacks[] = { {SIG_CHANGED, ""}, + {SIG_WIDGET_LANG_CHANGED, ""}, /**< handled by elm_widget */ {SIG_WIDGET_FOCUSED, ""}, /**< handled by elm_widget */ {SIG_WIDGET_UNFOCUSED, ""}, /**< handled by elm_widget */ {NULL, NULL} diff --git a/legacy/elementary/src/lib/elm_radio.h b/legacy/elementary/src/lib/elm_radio.h index c7fa3a6ab3..9a3b0c5156 100644 --- a/legacy/elementary/src/lib/elm_radio.h +++ b/legacy/elementary/src/lib/elm_radio.h @@ -42,6 +42,7 @@ * the radio objects within the group of radio objects that work together. * @li @c "focused" - When the radio has received focus. (since 1.8) * @li @c "unfocused" - When the radio has lost focus. (since 1.8) + * @li @c "language,changed" - the program's language changed (since 1.9) * * Default text parts of the radio widget that you can use for are: * @li "default" - Label of the radio diff --git a/legacy/elementary/src/lib/elm_segment_control.c b/legacy/elementary/src/lib/elm_segment_control.c index 2d46089b35..7c624d5f32 100644 --- a/legacy/elementary/src/lib/elm_segment_control.c +++ b/legacy/elementary/src/lib/elm_segment_control.c @@ -17,6 +17,7 @@ EAPI Eo_Op ELM_OBJ_SEGMENT_CONTROL_BASE_ID = EO_NOOP; static const char SIG_CHANGED[] = "changed"; static const Evas_Smart_Cb_Description _smart_callbacks[] = { {SIG_CHANGED, ""}, + {SIG_WIDGET_LANG_CHANGED, ""}, /**< handled by elm_widget */ {NULL, NULL} }; diff --git a/legacy/elementary/src/lib/elm_segment_control.h b/legacy/elementary/src/lib/elm_segment_control.h index 38044ac67b..91da2d1673 100644 --- a/legacy/elementary/src/lib/elm_segment_control.h +++ b/legacy/elementary/src/lib/elm_segment_control.h @@ -29,6 +29,7 @@ * - @c "changed" - When the user clicks on a segment item which is not * previously selected and get selected. The event_info parameter is the * segment item pointer. + * - @c "language,changed" - the program's language changed (since 1.9) * * Available styles for it: * - @c "default" diff --git a/legacy/elementary/src/lib/elm_slider.c b/legacy/elementary/src/lib/elm_slider.c index 2b3583ade6..ff9627aba8 100644 --- a/legacy/elementary/src/lib/elm_slider.c +++ b/legacy/elementary/src/lib/elm_slider.c @@ -39,6 +39,7 @@ static const Evas_Smart_Cb_Description _smart_callbacks[] = { {SIG_DELAY_CHANGED, ""}, {SIG_DRAG_START, ""}, {SIG_DRAG_STOP, ""}, + {SIG_WIDGET_LANG_CHANGED, ""}, /**< handled by elm_widget */ {SIG_WIDGET_FOCUSED, ""}, /**< handled by elm_widget */ {SIG_WIDGET_UNFOCUSED, ""}, /**< handled by elm_widget */ {NULL, NULL} diff --git a/legacy/elementary/src/lib/elm_slider.h b/legacy/elementary/src/lib/elm_slider.h index ee8ed13842..dd667a071d 100644 --- a/legacy/elementary/src/lib/elm_slider.h +++ b/legacy/elementary/src/lib/elm_slider.h @@ -44,6 +44,7 @@ * the value change. * - @c "focused" - When the slider has received focus. (since 1.8) * - @c "unfocused" - When the slider has lost focus. (since 1.8) + * - @c "language,changed" - the program's language changed (since 1.9) * * Available styles for it: * - @c "default" diff --git a/legacy/elementary/src/lib/elm_slideshow.c b/legacy/elementary/src/lib/elm_slideshow.c index 3331d0917e..35fdd52a9f 100644 --- a/legacy/elementary/src/lib/elm_slideshow.c +++ b/legacy/elementary/src/lib/elm_slideshow.c @@ -20,6 +20,7 @@ static const char SIG_TRANSITION_END[] = "transition,end"; static const Evas_Smart_Cb_Description _smart_callbacks[] = { {SIG_CHANGED, ""}, {SIG_TRANSITION_END, ""}, + {SIG_WIDGET_LANG_CHANGED, ""}, /**< handled by elm_widget */ {SIG_WIDGET_FOCUSED, ""}, /**< handled by elm_widget */ {SIG_WIDGET_UNFOCUSED, ""}, /**< handled by elm_widget */ {NULL, NULL} diff --git a/legacy/elementary/src/lib/elm_slideshow.h b/legacy/elementary/src/lib/elm_slideshow.h index 355227fce6..c601878d92 100644 --- a/legacy/elementary/src/lib/elm_slideshow.h +++ b/legacy/elementary/src/lib/elm_slideshow.h @@ -59,6 +59,7 @@ * in callback contains the current visible item * - @c "focused" - When the slideshow has received focus. (since 1.8) * - @c "unfocused" - When the slideshow has lost focus. (since 1.8) + * - @c "language,changed" - the program's language changed (since 1.9) * * Supported @c elm_object_item common APIs. * @li @ref elm_object_item_del