From 118bc66babb49f0becc71f082c765ea060ddd3ca Mon Sep 17 00:00:00 2001 From: Daniel Juyung Seo Date: Thu, 4 Sep 2014 19:45:34 +0900 Subject: [PATCH] conform, inwin, progressbar, radio: Fixed wrong part_alias_description implementations and documentations. @fix --- legacy/elementary/src/lib/elm_conform.c | 3 ++- legacy/elementary/src/lib/elm_inwin.h | 3 +++ legacy/elementary/src/lib/elm_progressbar.h | 6 +++--- legacy/elementary/src/lib/elm_radio.h | 6 +++--- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/legacy/elementary/src/lib/elm_conform.c b/legacy/elementary/src/lib/elm_conform.c index 55ee5a8e28..0f9ae8a14a 100644 --- a/legacy/elementary/src/lib/elm_conform.c +++ b/legacy/elementary/src/lib/elm_conform.c @@ -45,7 +45,8 @@ static const Evas_Smart_Cb_Description _smart_callbacks[] = { static const Elm_Layout_Part_Alias_Description _content_aliases[] = { - {"icon", "elm.swallow.content"}, + {"default", "elm.swallow.content"}, + {"icon", "elm.swallow.content"}, // TODO: deprecate this in elm 2.0 {NULL, NULL} }; diff --git a/legacy/elementary/src/lib/elm_inwin.h b/legacy/elementary/src/lib/elm_inwin.h index cd77649f90..85335ab427 100644 --- a/legacy/elementary/src/lib/elm_inwin.h +++ b/legacy/elementary/src/lib/elm_inwin.h @@ -35,6 +35,9 @@ * functions acting on it also work for inner windown objects. It also * emits the signals inherited from @ref Layout. * + * Default content parts of the inwin that you can use for are: + * @li "default" A content of the inwin + * * Some examples of Inwin can be found in the following: * @li @ref inwin_example_01 * diff --git a/legacy/elementary/src/lib/elm_progressbar.h b/legacy/elementary/src/lib/elm_progressbar.h index d9482a096c..288090c353 100644 --- a/legacy/elementary/src/lib/elm_progressbar.h +++ b/legacy/elementary/src/lib/elm_progressbar.h @@ -45,12 +45,12 @@ * - @c "wheel" (simple style, no text, no progression, only * "pulse" effect is available) * - * Default text parts of the progressbar widget that you can use for are: - * @li "default" - Label of the progressbar - * * Default content parts of the progressbar widget that you can use for are: * @li "icon" - An icon of the progressbar * + * Default text parts of the progressbar widget that you can use for are: + * @li "default" - Label of the progressbar + * * Supported elm_object common APIs. * @li @ref elm_object_part_text_set * @li @ref elm_object_part_text_get diff --git a/legacy/elementary/src/lib/elm_radio.h b/legacy/elementary/src/lib/elm_radio.h index a7407f4ebf..55080dfbb4 100644 --- a/legacy/elementary/src/lib/elm_radio.h +++ b/legacy/elementary/src/lib/elm_radio.h @@ -44,12 +44,12 @@ * @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 - * * Default content parts of the radio widget that you can use for are: * @li "icon" - An icon of the radio * + * Default text parts of the radio widget that you can use for are: + * @li "default" - Label of the radio + * * Supported elm_object common APIs. * @li @ref elm_object_part_text_set * @li @ref elm_object_part_text_get