forked from enlightenment/efl
fix some typos in comment and description
This commit is contained in:
parent
47073aaf58
commit
54ec084e76
|
@ -258,7 +258,7 @@ _base_geometry_calc(Evas_Object *obj,
|
||||||
base_size.x = min_size.x;
|
base_size.x = min_size.x;
|
||||||
|
|
||||||
//Check the Which direction is available.
|
//Check the Which direction is available.
|
||||||
//If find a avaialble direction, it adjusts position and size.
|
//If find a available direction, it adjusts position and size.
|
||||||
for (idx = 0; idx < 4; idx++)
|
for (idx = 0; idx < 4; idx++)
|
||||||
{
|
{
|
||||||
switch (sd->dir_priority[idx])
|
switch (sd->dir_priority[idx])
|
||||||
|
|
|
@ -1808,7 +1808,7 @@ static const Eo_Op_Description op_desc[] = {
|
||||||
EO_OP_DESCRIPTION(ELM_OBJ_IMAGE_SUB_ID_FILE_SET, "Set the file that will be used as the image's source."),
|
EO_OP_DESCRIPTION(ELM_OBJ_IMAGE_SUB_ID_FILE_SET, "Set the file that will be used as the image's source."),
|
||||||
EO_OP_DESCRIPTION(ELM_OBJ_IMAGE_SUB_ID_FILE_GET, "Get the file that will be used as image."),
|
EO_OP_DESCRIPTION(ELM_OBJ_IMAGE_SUB_ID_FILE_GET, "Get the file that will be used as image."),
|
||||||
|
|
||||||
EO_OP_DESCRIPTION(ELM_OBJ_IMAGE_SUB_ID_SIZING_EVAL, "'Virtual' function on evalutating the object's final geometry."),
|
EO_OP_DESCRIPTION(ELM_OBJ_IMAGE_SUB_ID_SIZING_EVAL, "'Virtual' function on evaluating the object's final geometry."),
|
||||||
|
|
||||||
EO_OP_DESCRIPTION(ELM_OBJ_IMAGE_SUB_ID_SMOOTH_SCALE_SET, "'Virtual' function on setting whether the object's image should be scaled smoothly or not."),
|
EO_OP_DESCRIPTION(ELM_OBJ_IMAGE_SUB_ID_SMOOTH_SCALE_SET, "'Virtual' function on setting whether the object's image should be scaled smoothly or not."),
|
||||||
EO_OP_DESCRIPTION(ELM_OBJ_IMAGE_SUB_ID_SMOOTH_SCALE_GET, "'Virtual' function on retrieving whether the object's image is to scaled smoothly or not."),
|
EO_OP_DESCRIPTION(ELM_OBJ_IMAGE_SUB_ID_SMOOTH_SCALE_GET, "'Virtual' function on retrieving whether the object's image is to scaled smoothly or not."),
|
||||||
|
|
|
@ -1089,7 +1089,7 @@ _zoom_do(Elm_Map_Smart_Data *sd,
|
||||||
sd->size.h = sd->size.w;
|
sd->size.h = sd->size.w;
|
||||||
|
|
||||||
// Fix to zooming with (viewport center vx, vy) as the center to prevent
|
// Fix to zooming with (viewport center vx, vy) as the center to prevent
|
||||||
// from zooming with (0,0) as the cetner. (scroller default behavior)
|
// from zooming with (0,0) as the center. (scroller default behavior)
|
||||||
_viewport_coord_get(sd, &vx, &vy, &vw, &vh);
|
_viewport_coord_get(sd, &vx, &vy, &vw, &vh);
|
||||||
if ((vw > 0) && (vh > 0) && (ow > 0) && (oh > 0))
|
if ((vw > 0) && (vh > 0) && (ow > 0) && (oh > 0))
|
||||||
{
|
{
|
||||||
|
@ -1375,7 +1375,7 @@ _icon_dup(Evas_Object *icon,
|
||||||
if (!icon || !parent) return NULL;
|
if (!icon || !parent) return NULL;
|
||||||
dupp = evas_object_image_filled_add(evas_object_evas_get(parent));
|
dupp = evas_object_image_filled_add(evas_object_evas_get(parent));
|
||||||
evas_object_image_source_set(dupp, icon);
|
evas_object_image_source_set(dupp, icon);
|
||||||
// Set size as origin' sizse for proxy
|
// Set size as origin' size for proxy
|
||||||
evas_object_geometry_get(icon, NULL, NULL, &w, &h);
|
evas_object_geometry_get(icon, NULL, NULL, &w, &h);
|
||||||
if (w <= 0 || h <= 0)
|
if (w <= 0 || h <= 0)
|
||||||
{
|
{
|
||||||
|
@ -2581,7 +2581,7 @@ _overlay_place(Elm_Map_Smart_Data *sd)
|
||||||
_overlay_bubble_coord_update(overlay->ovl);
|
_overlay_bubble_coord_update(overlay->ovl);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Classify into group boss or follwer
|
// Classify into group boss or follower
|
||||||
EINA_LIST_FOREACH(sd->overlays, l, overlay)
|
EINA_LIST_FOREACH(sd->overlays, l, overlay)
|
||||||
{
|
{
|
||||||
Elm_Map_Overlay *boss;
|
Elm_Map_Overlay *boss;
|
||||||
|
|
|
@ -144,7 +144,7 @@ _store_genlist_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED
|
||||||
////// **** WARNING ***********************************************************
|
////// **** WARNING ***********************************************************
|
||||||
//// * This function runs inside a thread outside efl mainloop. Be careful! *
|
//// * This function runs inside a thread outside efl mainloop. Be careful! *
|
||||||
// ************************************************************************
|
// ************************************************************************
|
||||||
/* TODO: refactor lock part into core? this does not depend on filesystm part */
|
/* TODO: refactor lock part into core? this does not depend on filesystem part */
|
||||||
static void
|
static void
|
||||||
_store_filesystem_fetch_do(void *data, Ecore_Thread *th EINA_UNUSED)
|
_store_filesystem_fetch_do(void *data, Ecore_Thread *th EINA_UNUSED)
|
||||||
{
|
{
|
||||||
|
@ -169,7 +169,7 @@ _store_filesystem_fetch_do(void *data, Ecore_Thread *th EINA_UNUSED)
|
||||||
// ************************************************************************
|
// ************************************************************************
|
||||||
//// * End of separate thread function. *
|
//// * End of separate thread function. *
|
||||||
////// ************************************************************************
|
////// ************************************************************************
|
||||||
/* TODO: refactor lock part into core? this does not depend on filesystm part */
|
/* TODO: refactor lock part into core? this does not depend on filesystem part */
|
||||||
static void
|
static void
|
||||||
_store_filesystem_fetch_end(void *data, Ecore_Thread *th)
|
_store_filesystem_fetch_end(void *data, Ecore_Thread *th)
|
||||||
{
|
{
|
||||||
|
@ -180,7 +180,7 @@ _store_filesystem_fetch_end(void *data, Ecore_Thread *th)
|
||||||
if (th == sti->fetch_th) sti->fetch_th = NULL;
|
if (th == sti->fetch_th) sti->fetch_th = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TODO: refactor lock part into core? this does not depend on filesystm part */
|
/* TODO: refactor lock part into core? this does not depend on filesystem part */
|
||||||
static void
|
static void
|
||||||
_store_filesystem_fetch_cancel(void *data, Ecore_Thread *th)
|
_store_filesystem_fetch_cancel(void *data, Ecore_Thread *th)
|
||||||
{
|
{
|
||||||
|
|
|
@ -546,7 +546,7 @@ _resize_job(void *data)
|
||||||
|
|
||||||
evas_object_resize(sd->bx, w, h);
|
evas_object_resize(sd->bx, w, h);
|
||||||
|
|
||||||
// Remove the first or last separator since it is not neccessary
|
// Remove the first or last separator since it is not necessary
|
||||||
list = evas_object_box_children_get(sd->bx_more);
|
list = evas_object_box_children_get(sd->bx_more);
|
||||||
EINA_INLIST_FOREACH(sd->items, it)
|
EINA_INLIST_FOREACH(sd->items, it)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue