forked from enlightenment/efl
elm: Fix typos fun!
This commit is contained in:
parent
d01380a4bd
commit
24797adcf5
|
@ -45,14 +45,14 @@ set_api_state(api_data *api)
|
|||
/* use elm_box_children_get() to get list of children */
|
||||
switch(api->state)
|
||||
{ /* Put all api-changes under switch */
|
||||
case BOX_PACK_START: /* Move last item to begining */
|
||||
case BOX_PACK_START: /* Move last item to beginning */
|
||||
elm_box_unpack(api->box, eina_list_data_get(eina_list_last(items)));
|
||||
elm_box_pack_start(api->box, eina_list_data_get(eina_list_last(items)));
|
||||
break;
|
||||
|
||||
case BOX_PACK_BEFORE:
|
||||
if (eina_list_count(items) > 1)
|
||||
{ /* Put last item before the one preceeding it */
|
||||
{ /* Put last item before the one preceding it */
|
||||
elm_box_unpack(api->box, eina_list_data_get(eina_list_last(items)));
|
||||
elm_box_pack_before(api->box,
|
||||
eina_list_data_get(eina_list_last(items)),
|
||||
|
|
|
@ -47,7 +47,7 @@ Scroll to end
|
|||
1 INSERT BEFORE
|
||||
Scroll to end
|
||||
2 INSERT AFTER
|
||||
3 INSERT SEPERATOR
|
||||
3 INSERT SEPARATOR
|
||||
Scroll to end
|
||||
4 ITEM DEL
|
||||
5 POLICY ON, BOUNCE_SET(TRUE, TRUE)
|
||||
|
|
|
@ -526,7 +526,7 @@ _load_mesh(void *data, Evas_Object *obj, void *event_info)
|
|||
free(a);
|
||||
tmp = NULL;
|
||||
a = NULL;
|
||||
/*Get extention of file*/
|
||||
/*Get extension of file*/
|
||||
tmp = strdup(event_info);
|
||||
a = strrchr(tmp,'.');
|
||||
format = malloc(sizeof (char) * (strlen(a) - 1));
|
||||
|
@ -591,7 +591,7 @@ EAPI_MAIN
|
|||
if (!elm_init(argc, argv)) return 1;
|
||||
|
||||
elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
|
||||
win = elm_win_add(NULL, "3D Perfomance", ELM_WIN_BASIC);
|
||||
win = elm_win_add(NULL, "3D Performance", ELM_WIN_BASIC);
|
||||
evas_object_resize(win, WIDTH, HEIGHT);
|
||||
elm_win_autodel_set(win, EINA_TRUE);
|
||||
evas_object_show(win);
|
||||
|
|
|
@ -199,7 +199,7 @@ elm_main(int argc, char **argv)
|
|||
|
||||
/* add an object that we are going to play with */
|
||||
/* this object isn't packed inside the box because we don't want it to have
|
||||
* its size, position, aspect or anything else controled by the container */
|
||||
* its size, position, aspect or anything else controlled by the container */
|
||||
obj = elm_button_add(win);
|
||||
elm_object_text_set(obj, "Transformed object!");
|
||||
icon = elm_icon_add(win);
|
||||
|
|
|
@ -970,7 +970,7 @@ _on_show(void *data EINA_UNUSED,
|
|||
* XXX: Giving focus to the list when it has nothing selected makes
|
||||
* it select the first of its items, which makes the popup in
|
||||
* Terminology never open and instead just trigger the first option.
|
||||
* I'll let as an excercise to the reader to figure out why that
|
||||
* I'll let as an exercise to the reader to figure out why that
|
||||
* is so fucking annoying. Extra points for noting why this is my
|
||||
* choice of a "fix" instead of fixing the actual focus/select issue
|
||||
* that seems to be spread all over Elementary.
|
||||
|
|
|
@ -946,7 +946,7 @@ static Eina_Bool
|
|||
_on_item_back_btn_clicked(void *data,
|
||||
Eo *obj EINA_UNUSED, const Eo_Event_Description *desc EINA_UNUSED, void *event_info EINA_UNUSED)
|
||||
{
|
||||
/* Since edje has the event queue, clicked event could be happend
|
||||
/* Since edje has the event queue, clicked event could be happened
|
||||
multiple times on some heavy environment. This callback del will
|
||||
prevent those scenario and guarantee only one clicked for it's own
|
||||
page. */
|
||||
|
|
|
@ -2442,7 +2442,7 @@ _collection_iter_match_rule_get(Eldbus_Message_Iter *iter, struct collection_mat
|
|||
if (!eldbus_message_iter_fixed_array_get(states_iter, 'i', &array, &array_count))
|
||||
return EINA_FALSE;
|
||||
|
||||
//Roles according to libatspi impementation are transfered in 2-int element fixed bit array
|
||||
//Roles according to libatspi impementation are transferred in 2-int element fixed bit array
|
||||
if (array_count != 2)
|
||||
{
|
||||
ERR("Unexpected states array size");
|
||||
|
@ -2451,7 +2451,7 @@ _collection_iter_match_rule_get(Eldbus_Message_Iter *iter, struct collection_mat
|
|||
uint64_t states = ((uint64_t)array[0] | ((uint64_t)array[1] << 32));
|
||||
rule->states = _atspi_state_set_to_elm_atspi_state_set(states);
|
||||
|
||||
//Roles according to libatspi impementation are transfered in 4-int element fixed bit array
|
||||
//Roles according to libatspi impementation are transferred in 4-int element fixed bit array
|
||||
if (!eldbus_message_iter_fixed_array_get(role_iter, 'i', &array, &array_count))
|
||||
return EINA_FALSE;
|
||||
|
||||
|
|
|
@ -3550,7 +3550,7 @@ _local_elm_cnp_selection_loss_callback_set(Evas_Object *obj EINA_UNUSED,
|
|||
const void *data EINA_UNUSED)
|
||||
{
|
||||
_local_elm_cnp_init();
|
||||
// this doesnt need to do anything as we never lose selection to anyone
|
||||
// this doesn't need to do anything as we never lose selection to anyone
|
||||
// as thisis local
|
||||
}
|
||||
|
||||
|
|
|
@ -536,7 +536,7 @@ _identical_item_check(Elm_Diskselector_Item_Data *it,
|
|||
|
||||
if (sd->round)
|
||||
{
|
||||
// Get index from indentical item from round items
|
||||
// Get index from identical item from round items
|
||||
EINA_LIST_FOREACH(sd->r_items, l, dit)
|
||||
{
|
||||
if (it == dit) break;
|
||||
|
|
|
@ -3891,7 +3891,7 @@ _elm_entry_is_empty(const Eo *obj EINA_UNUSED, Elm_Entry_Data *sd)
|
|||
Evas_Textblock_Cursor *cur;
|
||||
|
||||
/* It's a hack until we get the support suggested above. We just
|
||||
* create a cursor, point it to the begining, and then try to
|
||||
* create a cursor, point it to the beginning, and then try to
|
||||
* advance it, if it can advance, the tb is not empty, otherwise it
|
||||
* is. */
|
||||
tb = edje_object_part_object_get(sd->entry_edje, "elm.text");
|
||||
|
|
|
@ -1394,7 +1394,7 @@ _inside(Evas_Coord xx1,
|
|||
{
|
||||
w >>= 1; /* Use half the distance, from center to all directions */
|
||||
if (!w) /* use system default instead */
|
||||
w = elm_config_finger_size_get() >> 1; /* Finger size devided by 2 */
|
||||
w = elm_config_finger_size_get() >> 1; /* Finger size divided by 2 */
|
||||
|
||||
if (xx1 < (xx2 - w))
|
||||
return EINA_FALSE;
|
||||
|
@ -1660,7 +1660,7 @@ static Eina_Bool
|
|||
_tap_gesture_check_finish(Gesture_Info *gesture, Evas_Coord tap_finger_size)
|
||||
{
|
||||
/* Here we check if taps-gesture was completed successfuly */
|
||||
/* Count how many taps were recieved on each device then */
|
||||
/* Count how many taps were received on each device then */
|
||||
/* determine if it matches n_taps_needed defined on START */
|
||||
unsigned int i;
|
||||
Taps_Type *st = gesture->data;
|
||||
|
|
|
@ -165,7 +165,7 @@ struct _Elm_Prefs_Item_Iface
|
|||
|
||||
Eina_Bool (*editable_get)(Evas_Object *obj); /**< function to retrieve whether an item widget is editable or not */
|
||||
|
||||
Eina_Bool (*expand_want)(Evas_Object *obj); /**< function to get wether the item implementation needs to be expanded in the page's longitudinal axis or not */
|
||||
Eina_Bool (*expand_want)(Evas_Object *obj); /**< function to get whether the item implementation needs to be expanded in the page's longitudinal axis or not */
|
||||
};
|
||||
|
||||
typedef struct _Elm_Prefs_Item_Iface_Info Elm_Prefs_Item_Iface_Info;
|
||||
|
|
|
@ -486,7 +486,7 @@ _elm_store_new(size_t size)
|
|||
eina_magic_string_set(ELM_STORE_MAGIC, "Elm_Store");
|
||||
eina_magic_string_set(ELM_STORE_FILESYSTEM_MAGIC, "Elm_Store_Filesystem");
|
||||
eina_magic_string_set(ELM_STORE_ITEM_MAGIC, "Elm_Store_Item");
|
||||
// setup default item class (always the same) if list cb doesnt provide one
|
||||
// setup default item class (always the same) if list cb doesn't provide one
|
||||
_store_item_class.item_style = "default";
|
||||
_store_item_class.func.text_get = _store_item_text_get;
|
||||
_store_item_class.func.content_get = _store_item_content_get;
|
||||
|
|
|
@ -228,7 +228,7 @@ struct _Overlay_Circle
|
|||
{
|
||||
Elm_Map_Data *wsd;
|
||||
double lon, lat;
|
||||
double radius; // Intial pixel in intial view
|
||||
double radius; // Initial pixel in initial view
|
||||
double ratio; // initial-radius/map-size
|
||||
Evas_Object *obj;
|
||||
};
|
||||
|
|
|
@ -2978,7 +2978,7 @@ _elm_win_frame_add(Elm_Win_Data *sd,
|
|||
#endif
|
||||
|
||||
/* NB: Do NOT remove these calls !! Needed to calculate proper
|
||||
* framespace on inital show of the window */
|
||||
* framespace on initial show of the window */
|
||||
edje_object_size_min_calc(sd->frame_obj, &mw, &mh);
|
||||
evas_object_move(sd->frame_obj, 0, 0);
|
||||
evas_object_resize(sd->frame_obj, mw, mh);
|
||||
|
@ -5562,7 +5562,7 @@ _on_atspi_bus_connected(void *data EINA_UNUSED, Eo *obj EINA_UNUSED, const Eo_Ev
|
|||
/**
|
||||
* Reemit accessibility events when AT-SPI2 connection is begin
|
||||
* established. This assures that Assistive Technology clients will
|
||||
* recieve all org.a11y.window events and could keep track of active
|
||||
* receive all org.a11y.window events and could keep track of active
|
||||
* windows whithin system.
|
||||
*/
|
||||
elm_interface_atspi_window_created_signal_emit(win);
|
||||
|
|
|
@ -209,7 +209,7 @@ START_TEST (elm_atspi_description_set)
|
|||
}
|
||||
END_TEST
|
||||
|
||||
/* Test if intial description value is NULL */
|
||||
/* Test if initial description value is NULL */
|
||||
START_TEST (elm_atspi_description_get)
|
||||
{
|
||||
elm_init(0, NULL);
|
||||
|
|
Loading…
Reference in New Issue