Fix misspellings in E's files.

Summary: Fix misspellings and spaces in E's files.

Reviewers: zmike

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2676
This commit is contained in:
Yomi 2015-06-16 16:10:21 -04:00 committed by Mike Blumenkrantz
parent ad7b4ecc43
commit 0dc33a5aeb
32 changed files with 69 additions and 69 deletions

View File

@ -252,7 +252,7 @@ _e_acpi_cb_server_data(void *data EINA_UNUSED, int type EINA_UNUSED, void *event
/* write out actual acpi received data to stdout for debugging /* write out actual acpi received data to stdout for debugging
res = fwrite(ev->data, ev->size, 1, stdout); res = fwrite(ev->data, ev->size, 1, stdout);
*/ */
/* data from a server isnt a string - its not 0 byte terminated. it's just /* data from a server isn't a string - its not 0 byte terminated. it's just
* a blob of data. copy to string and 0 byte terminate it so it can be * a blob of data. copy to string and 0 byte terminate it so it can be
* string-swizzled/parsed etc. */ * string-swizzled/parsed etc. */
if (!acpibuf) acpibuf = eina_strbuf_new(); if (!acpibuf) acpibuf = eina_strbuf_new();

View File

@ -66,7 +66,7 @@ main(int argc, char **argv)
const char *tmp; const char *tmp;
int i = 0; int i = 0;
/* XCB is not avaibale when running in wayland only mode. No need to start anything here */ /* XCB is not available when running in wayland only mode. No need to start anything here */
#ifdef HAVE_WAYLAND_ONLY #ifdef HAVE_WAYLAND_ONLY
printf("E Alert is not suitable to be used with E in wayland only mode\n"); printf("E Alert is not suitable to be used with E in wayland only mode\n");
exit(0); exit(0);

View File

@ -1506,7 +1506,7 @@ _e_client_cb_evas_restack(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA
E_LIST_REVERSE_FREE(list, child) E_LIST_REVERSE_FREE(list, child)
{ {
/* Don't stack iconic transients. If the user wants these shown, /* Don't stack iconic transients. If the user wants these shown,
* thats another option. * that's another option.
*/ */
if (child->iconic) continue; if (child->iconic) continue;
if (below) if (below)
@ -2864,7 +2864,7 @@ e_client_mouse_up(E_Client *ec, int button, Evas_Point *output, E_Binding_Event_
} }
ec->mouse.current.mx = output->x; ec->mouse.current.mx = output->x;
ec->mouse.current.my = output->y; ec->mouse.current.my = output->y;
/* also we dont pass the same params that went in - then again that */ /* also we don't pass the same params that went in - then again that */
/* should be ok as we are just ending the action if it has an end */ /* should be ok as we are just ending the action if it has an end */
if (ec->cur_mouse_action) if (ec->cur_mouse_action)
{ {

View File

@ -26,12 +26,12 @@ e_client_util_move_without_frame(E_Client *ec, int x, int y)
/** /**
* Resize window to values that do not account client decorations yet. * Resize window to values that do not account client decorations yet.
* *
* This call will consider given size does not account client * This call will consider given size and does not for account client
* decoration, so these values (e_comp_object_frame) will be * decoration, so these values (e_comp_object_frame) will be
* accounted automatically. This is specially useful when it is a new * accounted for automatically. This is specially useful when it is a new
* client and has not be evaluated yet, in this case * client and has not been evaluated yet, in this case
* e_comp_object_frame will be zeroed and no information is known. It * e_comp_object_frame will be zeroed and no information is known. It
* will mark pending requests so client will be accounted on * will mark pending requests so the client will be accounted for on
* evalutation phase. * evalutation phase.
* *
* @parm w horizontal window size. * @parm w horizontal window size.
@ -48,7 +48,7 @@ e_client_util_resize_without_frame(E_Client *ec, int w, int h)
} }
/** /**
* Move and resize window to values that do not account client decorations yet. * Move and resize window to values that do not account for client decorations yet.
* *
* This call will consider given values already accounts client * This call will consider given values already accounts client
* decorations, so it will not be considered later. This will just * decorations, so it will not be considered later. This will just

View File

@ -97,7 +97,7 @@ typedef struct _E_Comp_Object
unsigned int animating; // it's busy animating unsigned int animating; // it's busy animating
unsigned int failures; //number of consecutive e_pixmap_image_draw() failures unsigned int failures; //number of consecutive e_pixmap_image_draw() failures
Eina_Bool delete_pending : 1; // delete pendig Eina_Bool delete_pending : 1; // delete pending
Eina_Bool defer_hide : 1; // flag to get hide to work on deferred hide Eina_Bool defer_hide : 1; // flag to get hide to work on deferred hide
Eina_Bool showing : 1; // object is currently in "show" animation Eina_Bool showing : 1; // object is currently in "show" animation
Eina_Bool visible : 1; // is visible Eina_Bool visible : 1; // is visible
@ -1503,7 +1503,7 @@ _e_comp_intercept_focus(void *data, Evas_Object *obj, Eina_Bool focus)
ec = cw->ec; ec = cw->ec;
/* note: this is here as it seems there are enough apps that do not even /* note: this is here as it seems there are enough apps that do not even
* expect us to emulate a look of focus but not actually set x input * expect us to emulate a look of focus but not actually set x input
* focus as we do - so simply abort any focuse set on such windows */ * focus as we do - so simply abort any focus set on such windows */
/* be strict about accepting focus hint */ /* be strict about accepting focus hint */
if (e_pixmap_is_x(ec->pixmap)) if (e_pixmap_is_x(ec->pixmap))
{ {
@ -1525,7 +1525,7 @@ _e_comp_intercept_focus(void *data, Evas_Object *obj, Eina_Bool focus)
} }
if ((ec->iconic) && (!ec->deskshow)) if ((ec->iconic) && (!ec->deskshow))
{ {
/* dont focus an iconified window. that's silly! */ /* don't focus an iconified window. that's silly! */
e_client_uniconify(ec); e_client_uniconify(ec);
if (e_client_focus_track_enabled()) if (e_client_focus_track_enabled())
e_client_focus_latest_set(ec); e_client_focus_latest_set(ec);
@ -1724,7 +1724,7 @@ _e_comp_object_shade_animator(void *data)
if (!cw->ec->shaded) cw->shade.val = 1.0 - cw->shade.val; if (!cw->ec->shaded) cw->shade.val = 1.0 - cw->shade.val;
} }
/* due to M_PI's innacuracy, cos(M_PI/2) != 0.0, so we need this */ /* due to M_PI's inaccuracy, cos(M_PI/2) != 0.0, so we need this */
if (cw->shade.val < 0.001) cw->shade.val = 0.0; if (cw->shade.val < 0.001) cw->shade.val = 0.0;
else if (cw->shade.val > .999) else if (cw->shade.val > .999)
cw->shade.val = 1.0; cw->shade.val = 1.0;
@ -3237,7 +3237,7 @@ e_comp_object_shape_apply(Evas_Object *obj)
evas_object_image_data_set(o, pix); evas_object_image_data_set(o, pix);
evas_object_image_data_update_add(o, 0, 0, w, h); evas_object_image_data_update_add(o, 0, 0, w, h);
} }
// dont need to fix alpha chanel as blending // don't need to fix alpha chanel as blending
// should be totally off here regardless of // should be totally off here regardless of
// alpha channel content // alpha channel content
} }

View File

@ -2785,7 +2785,7 @@ e_comp_wl_buffer_reference(E_Comp_Wl_Buffer_Ref *ref, E_Comp_Wl_Buffer *buffer)
* Get the buffer for a given resource. * Get the buffer for a given resource.
* *
* Retrieves the Wayland SHM buffer for the resource and * Retrieves the Wayland SHM buffer for the resource and
* uses it to create a new E_Comp_Wl_Buffer object. This * uses it to create a new E_Comp_Wl_Buffer object. This
* buffer will be freed when the resource is destroyed. * buffer will be freed when the resource is destroyed.
* *
* @param resource that owns the desired buffer * @param resource that owns the desired buffer

View File

@ -408,7 +408,7 @@ _pri_adj(int pid, int set, int adj, Eina_Bool use_adj, Eina_Bool adj_children, E
if (use_adj) newpri = getpriority(PRIO_PROCESS, pid) + adj; if (use_adj) newpri = getpriority(PRIO_PROCESS, pid) + adj;
setpriority(PRIO_PROCESS, pid, newpri); setpriority(PRIO_PROCESS, pid, newpri);
// shouldnt need to do this as default ionice class is "none" (0), and // shouldn't need to do this as default ionice class is "none" (0), and
// this inherits io priority FROM nice level // this inherits io priority FROM nice level
// ioprio_set(IOPRIO_WHO_PROCESS, pid, // ioprio_set(IOPRIO_WHO_PROCESS, pid,
// IOPRIO_PRIO_VALUE(2, 5)); // IOPRIO_PRIO_VALUE(2, 5));
@ -1590,7 +1590,7 @@ _e_comp_x_configure_request(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore
} }
} }
/* FIXME: need to send synthetic stacking event too as well as move/resize */ /* FIXME: need to send synthetic stacking event to, as well as move/resize */
if ((((ec->maximized & E_MAXIMIZE_TYPE) != E_MAXIMIZE_NONE) && (move || resize)) || if ((((ec->maximized & E_MAXIMIZE_TYPE) != E_MAXIMIZE_NONE) && (move || resize)) ||
((!move) && (!resize))) ((!move) && (!resize)))
_e_comp_x_client_move_resize_send(ec); _e_comp_x_client_move_resize_send(ec);
@ -2481,7 +2481,7 @@ _e_comp_x_focus_in(void *data EINA_UNUSED, int type EINA_UNUSED, Ecore_X_Event_W
/* if (!ec->icccm.take_focus) /* if (!ec->icccm.take_focus)
* return ECORE_CALLBACK_PASS_ON; */ * return ECORE_CALLBACK_PASS_ON; */
/* should be equal, maybe some clients dont reply with the proper timestamp ? */ /* should be equal, maybe some clients don't reply with the proper timestamp ? */
if (ev->time >= focus_time) if (ev->time >= focus_time)
evas_object_focus_set(ec->frame, 1); evas_object_focus_set(ec->frame, 1);
return ECORE_CALLBACK_PASS_ON; return ECORE_CALLBACK_PASS_ON;
@ -3875,7 +3875,7 @@ _e_comp_x_hook_client_fetch(void *d EINA_UNUSED, E_Client *ec)
} }
} }
/* It's ok not to have fetch flag, should only be set on startup /* It's ok not to have fetch flag, should only be set on startup
* * and not changed. */ * and not changed. */
if (!ecore_x_netwm_pid_get(win, &ec->netwm.pid)) if (!ecore_x_netwm_pid_get(win, &ec->netwm.pid))
{ {
if (ec->icccm.client_leader) if (ec->icccm.client_leader)

View File

@ -107,7 +107,7 @@ e_configure_registry_item_params_add(const char *path, int pri, const char *labe
} }
/** /**
*Delete an item in the configuration panel. *Delete an item in the configuration panel.
* *
*@param path location the item to delete *@param path location the item to delete
*/ */

View File

@ -1055,7 +1055,7 @@ _e_desktop_editor_icon_update(E_Config_Dialog_Data *cfdata)
if (!cfdata->editor->img_widget) return; if (!cfdata->editor->img_widget) return;
o = e_util_icon_theme_icon_add(cfdata->icon, 128, cfdata->editor->evas); o = e_util_icon_theme_icon_add(cfdata->icon, 128, cfdata->editor->evas);
/* NB this takes care of freeing any previous icon object */ /* NB: this takes care of freeing any previous icon object */
e_widget_button_icon_set(cfdata->editor->img_widget, o); e_widget_button_icon_set(cfdata->editor->img_widget, o);
e_widget_change(cfdata->editor->img_widget); e_widget_change(cfdata->editor->img_widget);
} }

View File

@ -476,7 +476,7 @@ _e_exec_cb_exec(void *data, Efreet_Desktop *desktop, char *exec, int remaining)
snprintf(buf, sizeof(buf), "E_START|%i", startup_id); snprintf(buf, sizeof(buf), "E_START|%i", startup_id);
e_util_env_set("DESKTOP_STARTUP_ID", buf); e_util_env_set("DESKTOP_STARTUP_ID", buf);
// dont set vsync for clients - maybe inherited from compositore. fixme: // don't set vsync for clients - maybe inherited from compositor. fixme:
// need a way to still inherit from parent env of wm. // need a way to still inherit from parent env of wm.
e_util_env_set("__GL_SYNC_TO_VBLANK", NULL); e_util_env_set("__GL_SYNC_TO_VBLANK", NULL);

View File

@ -1027,7 +1027,7 @@ e_fm2_path_set(Evas_Object *obj, const char *dev, const char *path)
const char *real_path; const char *real_path;
EFM_SMART_CHECK(); EFM_SMART_CHECK();
/* internal config for now - don't see a pont making this configurable */ /* internal config for now - don't see a point making this configurable */
sd->regions.member_max = 64; sd->regions.member_max = 64;
if (!sd->config) if (!sd->config)
@ -2383,7 +2383,7 @@ _e_fm2_client_get(void)
E_Fm2_Client *cl, *cl_chosen = NULL; E_Fm2_Client *cl, *cl_chosen = NULL;
int min_req = 0x7fffffff; int min_req = 0x7fffffff;
/* if we don't have a slave - spane one */ /* if we don't have a slave - spawn one */
if (!_e_fm2_client_list) if (!_e_fm2_client_list)
{ {
_e_fm2_client_spawn(); _e_fm2_client_spawn();
@ -3299,7 +3299,7 @@ _e_fm2_dev_path_map(E_Fm2_Smart_Data *sd, const char *dev, const char *path)
/* this is a virtual device - it's where your favorites list is /* this is a virtual device - it's where your favorites list is
* stored - a dir with * stored - a dir with
.desktop files or symlinks (in fact anything .desktop files or symlinks (in fact anything
* you like * you like).
*/ */
if (e_user_dir_concat_static(buf, "fileman/favorites") >= sizeof(buf)) if (e_user_dir_concat_static(buf, "fileman/favorites") >= sizeof(buf))
return NULL; return NULL;
@ -3311,7 +3311,7 @@ _e_fm2_dev_path_map(E_Fm2_Smart_Data *sd, const char *dev, const char *path)
/* this is a virtual device - it's where your favorites list is /* this is a virtual device - it's where your favorites list is
* stored - a dir with * stored - a dir with
.desktop files or symlinks (in fact anything .desktop files or symlinks (in fact anything
* you like * you like).
*/ */
if ((!path) || (!path[0]) || (!strcmp(path, "/"))) if ((!path) || (!path[0]) || (!strcmp(path, "/")))
{ {
@ -7237,7 +7237,7 @@ _e_fm2_mouse_1_handler(E_Fm2_Icon *ic, int up, void *evas_event)
} }
/* /*
* On mouse up, check if we want to do inplace open * On mouse up, check if we want to do in place open
*/ */
if ((eu) && if ((eu) &&
(!multi_sel) && (!multi_sel) &&

View File

@ -6,12 +6,12 @@ typedef enum _E_Fm2_View_Mode
{ {
E_FM2_VIEW_MODE_ICONS, /* regular layout row by row like text */ E_FM2_VIEW_MODE_ICONS, /* regular layout row by row like text */
E_FM2_VIEW_MODE_GRID_ICONS, /* regular grid layout */ E_FM2_VIEW_MODE_GRID_ICONS, /* regular grid layout */
E_FM2_VIEW_MODE_CUSTOM_ICONS, /* icons go anywhere u drop them (desktop) */ E_FM2_VIEW_MODE_CUSTOM_ICONS, /* icons go anywhere you drop them (desktop) */
/* FIXME: not going to implement this at this stage */ /* FIXME: not going to implement this at this stage */
E_FM2_VIEW_MODE_CUSTOM_GRID_ICONS, /* icons go anywhere u drop them but align to a grid */ E_FM2_VIEW_MODE_CUSTOM_GRID_ICONS, /* icons go anywhere you drop them but align to a grid */
/* FIXME: not going to implement this at this stage */ /* FIXME: not going to implement this at this stage */
E_FM2_VIEW_MODE_CUSTOM_SMART_GRID_ICONS, /* icons go anywhere u drop them but try align to icons nearby */ E_FM2_VIEW_MODE_CUSTOM_SMART_GRID_ICONS, /* icons go anywhere you drop them but try align to icons nearby */
/* FIXME: not going to implement this at this stage */ /* FIXME: not going to implement this at this stage */
E_FM2_VIEW_MODE_LIST /* vertical fileselector list */ E_FM2_VIEW_MODE_LIST /* vertical fileselector list */
} E_Fm2_View_Mode; } E_Fm2_View_Mode;

View File

@ -708,7 +708,7 @@ _e_fm_op_idler_handle_error(int *mark, Eina_List **queue, Eina_List **node, E_Fm
*node = NULL; *node = NULL;
*mark = 0; *mark = 0;
/* Do not clean out _e_fm_op_error_response. This way when another error /* Do not clean out _e_fm_op_error_response. This way when another error
* occures, it would be handled automatically. */ * occurs, it would be handled automatically. */
return 1; return 1;
} }
} }
@ -718,7 +718,7 @@ _e_fm_op_idler_handle_error(int *mark, Eina_List **queue, Eina_List **node, E_Fm
return 0; return 0;
} }
/* This works very simple. Take a task from queue and run appropriate _atom() on it. /* This works in a simple way. Take a task from queue and run appropriate _atom() on it.
* If after _atom() is done, task->finished is 1 remove the task from queue. Otherwise, * If after _atom() is done, task->finished is 1 remove the task from queue. Otherwise,
* run _atom() on the same task on next call. * run _atom() on the same task on next call.
* *
@ -1878,7 +1878,7 @@ _e_fm_op_make_copy_name(const char *abs, char *buf, size_t buf_size)
file_len = strlen(buf); file_len = strlen(buf);
/* TODO: need to make a policy regarding copy postfix: /* TODO: need to make a policy regarding copy postfix:
* currently attach " (copy)" continuasly * currently attach " (copy)" continuously.
* *
* TODO: i18n */ * TODO: i18n */
copy_str = "(copy)"; copy_str = "(copy)";

View File

@ -1041,7 +1041,7 @@ e_gadcon_drag_finished_cb(E_Drag *drag, int dropped)
* @param gc gadcon pointer * @param gc gadcon pointer
* @param name to use for gadget * @param name to use for gadget
* @param id assigned to gadget * @param id assigned to gadget
* @param style to for gadget * @param style to for gadget
* @param base_obj the evas object that will show up in the shelf or gadget module * @param base_obj the evas object that will show up in the shelf or gadget module
* @return returns pointer to created gadget, on failure returns null * @return returns pointer to created gadget, on failure returns null
*/ */

View File

@ -1137,7 +1137,7 @@ _e_icon_cache_icon_try_next(Cache_Item *ci)
if (!ci->objs) if (!ci->objs)
{ {
/* no more e_icon wait for this object to bet loaded */ /* no more e_icon wait for this object to be loaded */
_cache->load_queue = eina_list_remove(_cache->load_queue, ci); _cache->load_queue = eina_list_remove(_cache->load_queue, ci);
_e_icon_cache_item_free(ci); _e_icon_cache_item_free(ci);
return; return;

View File

@ -8,7 +8,7 @@ static int _advanced_apply_data(E_Config_Dialog *cfd, E_Config_Dialog_D
static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata); static Evas_Object *_basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata);
static Evas_Object *_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata); static Evas_Object *_advanced_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cfdata);
/* Actual config data we will be playing with whil the dialog is active */ /* Actual config data we will be playing with while the dialog is active */
struct _E_Config_Dialog_Data struct _E_Config_Dialog_Data
{ {
E_Client *client; E_Client *client;

View File

@ -694,7 +694,7 @@ _e_int_menus_app_finder(const char *exec)
} }
/* /*
* This function initalises E_Int_Menu_Applications and add * This function initalises E_Int_Menu_Applications and adds
* our data. * our data.
*/ */
static E_Int_Menu_Applications* static E_Int_Menu_Applications*

View File

@ -1459,7 +1459,7 @@ no_submenu_item:
} }
//if (o) evas_object_pass_events_set(o, 1); //if (o) evas_object_pass_events_set(o, 1);
/* FIXME: Not sure why there are two different tries to get the icon size, surely only the last one si needed. */ /* FIXME: Not sure why there are two different tries to get the icon size, surely only the last one is needed. */
/* FIXME: Do it this way later, when e_app_icon_add() just registers a request for an icon to be filled in when it's ready. /* FIXME: Do it this way later, when e_app_icon_add() just registers a request for an icon to be filled in when it's ready.
if (mi->app) if (mi->app)
{ {
@ -2762,7 +2762,7 @@ _e_menu_cb_mouse_up(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
if (_e_menu_activate_dragging) if (_e_menu_activate_dragging)
{ {
/* FIXME: This is a drop, which is not allowed for now. /* FIXME: This is a drop, which is not allowed for now.
* Once dragging is working, this will be subject to some experimenattion. * Once dragging is working, this will be subject to some experimentation.
*/ */
} }
else else

View File

@ -3,7 +3,7 @@
/* TODO List: /* TODO List:
* *
* * add module types/classes * * add module types/classes
* * add list of exclusions that a module can't work withApi * * add list of exclusions that a module can't work with Api
* *
*/ */

View File

@ -2,7 +2,7 @@
/* Object safety/debugging checks */ /* Object safety/debugging checks */
/* */ /* */
/* OBJECT_PARANOIA_CHECK is paranoid and checkes pointers and traps segv's */ /* OBJECT_PARANOIA_CHECK is paranoid and checks pointers and traps segv's */
/* in case they dont work... very paranoid and slow. NB for backtrace to */ /* in case they dont work... very paranoid and slow. NB for backtrace to */
/* work you need gcc, glibc and you need to compile with compile options of */ /* work you need gcc, glibc and you need to compile with compile options of */
/* -g -rdynamic and link with them too */ /* -g -rdynamic and link with them too */

View File

@ -303,7 +303,7 @@ e_remember_match_update(E_Remember *rem)
{ {
/* The number of matches for this remember has changed so we /* The number of matches for this remember has changed so we
* need to remove from list and insert back into the appropriate * need to remove from list and insert back into the appropriate
* loction. */ * location. */
Eina_List *l = NULL; Eina_List *l = NULL;
E_Remember *r; E_Remember *r;

View File

@ -97,9 +97,9 @@ e_sigseg_act(int x EINA_UNUSED, siginfo_t *info EINA_UNUSED, void *data EINA_UNU
E_API void E_API void
e_sigill_act(int x EINA_UNUSED, siginfo_t *info EINA_UNUSED, void *data EINA_UNUSED) e_sigill_act(int x EINA_UNUSED, siginfo_t *info EINA_UNUSED, void *data EINA_UNUSED)
{ {
// In case of a sigill in Enlightenment, Enlightenment start will catch the sigill and continue, // In case of a SIGILL in Enlightenment, Enlightenment start will catch the SIGILL and continue,
// because evas cpu detection use that behaviour. But if we get a SIGILL after that, we endup in // because evas cpu detection use that behaviour. But if we get a SIGILL after that, we end up in
// this sig handler. So E start remember the SIGILL, and we will commit succide with a USR1, followed // this sig handler. So E start remember the SIGILL, and we will commit suicide with a USR1, followed
// by a SEGV. // by a SEGV.
kill(getpid(), SIGUSR1); kill(getpid(), SIGUSR1);
kill(getpid(), SIGSEGV); kill(getpid(), SIGSEGV);

View File

@ -201,7 +201,7 @@ _env_path_prepend(const char *env, const char *path)
if (p) if (p)
{ {
len = strlen(p); len = strlen(p);
// path already there at the start. dont prepend. :) // path already there at the start. don't prepend. :)
if ((!strcmp(p, p2)) || if ((!strcmp(p, p2)) ||
((len > len2) && ((len > len2) &&
(!strncmp(p, p2, len2)) && (!strncmp(p, p2, len2)) &&
@ -238,7 +238,7 @@ _env_path_append(const char *env, const char *path)
if (p) if (p)
{ {
len = strlen(p); len = strlen(p);
// path already there at the end. dont append. :) // path already there at the end. don't append. :)
if ((!strcmp(p, p2)) || if ((!strcmp(p, p2)) ||
((len > len2) && ((len > len2) &&
(!strcmp((p + len - len2), p2)) && (!strcmp((p + len - len2), p2)) &&
@ -426,7 +426,7 @@ _e_start_child(char **args, Eina_Bool really_know)
{ {
_e_ptrace_traceme(really_know); _e_ptrace_traceme(really_know);
execv(args[0], args); execv(args[0], args);
/* We failed, 0 mean normal exit from E with no restart or crash so let exit */ /* We failed, 0 mean normal exit from E with no restart or crash so let's exit */
return 0; return 0;
} }

View File

@ -811,26 +811,26 @@ _e_sys_current_action(void)
case E_SYS_HALT: case E_SYS_HALT:
case E_SYS_HALT_NOW: case E_SYS_HALT_NOW:
e_dialog_text_set(dia, _("Powering off.<br>" e_dialog_text_set(dia, _("Powering off.<br>"
"You cannot do any other system actions<br>" "You cannot perform any other system actions<br>"
"once a shutdown has been started.")); "once a shutdown has been started."));
break; break;
case E_SYS_REBOOT: case E_SYS_REBOOT:
e_dialog_text_set(dia, _("Resetting.<br>" e_dialog_text_set(dia, _("Resetting.<br>"
"You cannot do any other system actions<br>" "You cannot perform any other system actions<br>"
"once a reboot has begun.")); "once a reboot has begun."));
break; break;
case E_SYS_SUSPEND: case E_SYS_SUSPEND:
e_dialog_text_set(dia, _("Suspending.<br>" e_dialog_text_set(dia, _("Suspending.<br>"
"Until suspend is complete you cannot perform<br>" "You cannot perform any other system actions<br>"
"any other system actions.")); "until suspend is complete."));
break; break;
case E_SYS_HIBERNATE: case E_SYS_HIBERNATE:
e_dialog_text_set(dia, _("Hibernating.<br>" e_dialog_text_set(dia, _("Hibernating.<br>"
"You cannot perform any other system actions<br>" "You cannot perform any other system actions<br>"
"until this is complete.")); "until hibernation is complete."));
break; break;
default: default:
@ -903,7 +903,7 @@ _e_sys_action_do(E_Sys_Action a, char *param EINA_UNUSED, Eina_Bool raw)
case E_SYS_RESTART: case E_SYS_RESTART:
// XXX TODO: check for e_fm_op_registry entries and confirm // XXX TODO: check for e_fm_op_registry entries and confirm
// FIXME: we dont share out immortal info to restarted e. :( // FIXME: we don't share out immortal info to restarted e. :(
// if (!e_util_immortal_check()) // if (!e_util_immortal_check())
{ {
restart = 1; restart = 1;

View File

@ -195,10 +195,10 @@ _e_ipc_cb_server_data(void *data EINA_UNUSED,
if (e->data) if (e->data)
{ {
/* begin thumb */ /* begin thumb */
/* don't check stuff. since this connects TO e17 it is connecting */ /* don't check stuff. since this connects TO E it is connecting */
/* TO a trusted process that WILL send this message properly */ /* TO a trusted process that WILL send this message properly */
/* formatted. if the thumbnailer dies anyway - it's not a big loss */ /* formatted. if the thumbnailer dies anyway - it's not a big loss */
/* but it is a sign of a bug in e formattign messages maybe */ /* but it is a sign of a bug in e formatting messages maybe */
file = e->data; file = e->data;
key = file + strlen(file) + 1; key = file + strlen(file) + 1;
if (!key[0]) key = NULL; if (!key[0]) key = NULL;

View File

@ -1143,7 +1143,7 @@ e_util_terminal_desktop_get(void)
tdesktop = l->data; tdesktop = l->data;
EINA_LIST_FREE(l, td) EINA_LIST_FREE(l, td)
{ {
// free/unref the desktosp we are not going to use // free/unref the desktops we are not going to use
if (td != tdesktop) efreet_desktop_free(td); if (td != tdesktop) efreet_desktop_free(td);
} }
} }

View File

@ -499,14 +499,14 @@ _e_wid_fprev_preview_file(E_Widget_Data *wd)
Eina_Bool is_fs = EINA_FALSE; Eina_Bool is_fs = EINA_FALSE;
if (stat(wd->path, &st) < 0) return; if (stat(wd->path, &st) < 0) return;
// if its a desktop file treat is spcially // if its a desktop file treat is specially
if (((wd->mime) && (!strcasecmp(wd->mime, "application/x-desktop"))) || if (((wd->mime) && (!strcasecmp(wd->mime, "application/x-desktop"))) ||
(eina_str_has_extension(wd->path, "desktop"))) (eina_str_has_extension(wd->path, "desktop")))
{ {
Efreet_Desktop *desktop; Efreet_Desktop *desktop;
const char *type, *file; const char *type, *file;
// load it and if its a specual removable or mount point // load it and if its a special removable or mount point
// desktop file for e, then we want to do something special // desktop file for e, then we want to do something special
desktop = efreet_desktop_new(wd->path); desktop = efreet_desktop_new(wd->path);
if ((desktop) && (desktop->url) && if ((desktop) && (desktop->url) &&

View File

@ -721,7 +721,7 @@ e_widget_ilist_nth_value_get(Evas_Object *obj, int n)
* Return if the given item returned by e_widget_ilist_items_get() * Return if the given item returned by e_widget_ilist_items_get()
* is a header. * is a header.
* *
* This avoid expensive lookups to the nth element, however it's not * This avoids expensive lookups to the nth element, however it's not
* able to check any validity on the given pointer and may crash. Be * able to check any validity on the given pointer and may crash. Be
* sure to use only with valid return of e_widget_ilist_items_get(). * sure to use only with valid return of e_widget_ilist_items_get().
*/ */
@ -734,7 +734,7 @@ e_widget_ilist_item_is_header(const E_Ilist_Item *it)
/** /**
* Return the label of given item returned by e_widget_ilist_items_get(). * Return the label of given item returned by e_widget_ilist_items_get().
* *
* This avoid expensive lookups to the nth element, however it's not * This avoids expensive lookups to the nth element, however it's not
* able to check any validity on the given pointer and may crash. Be * able to check any validity on the given pointer and may crash. Be
* sure to use only with valid return of e_widget_ilist_items_get(). * sure to use only with valid return of e_widget_ilist_items_get().
*/ */
@ -747,7 +747,7 @@ e_widget_ilist_item_label_get(const E_Ilist_Item *it)
/** /**
* Return the icon of given item returned by e_widget_ilist_items_get(). * Return the icon of given item returned by e_widget_ilist_items_get().
* *
* This avoid expensive lookups to the nth element, however it's not * This avoids expensive lookups to the nth element, however it's not
* able to check any validity on the given pointer and may crash. Be * able to check any validity on the given pointer and may crash. Be
* sure to use only with valid return of e_widget_ilist_items_get(). * sure to use only with valid return of e_widget_ilist_items_get().
* *
@ -762,7 +762,7 @@ e_widget_ilist_item_icon_get(const E_Ilist_Item *it)
/** /**
* Return the end of given item returned by e_widget_ilist_items_get(). * Return the end of given item returned by e_widget_ilist_items_get().
* *
* This avoid expensive lookups to the nth element, however it's not * This avoids expensive lookups to the nth element, however it's not
* able to check any validity on the given pointer and may crash. Be * able to check any validity on the given pointer and may crash. Be
* sure to use only with valid return of e_widget_ilist_items_get(). * sure to use only with valid return of e_widget_ilist_items_get().
* *
@ -777,7 +777,7 @@ e_widget_ilist_item_end_get(const E_Ilist_Item *it)
/** /**
* Return the data of given item returned by e_widget_ilist_items_get(). * Return the data of given item returned by e_widget_ilist_items_get().
* *
* This avoid expensive lookups to the nth element, however it's not * This avoids expensive lookups to the nth element, however it's not
* able to check any validity on the given pointer and may crash. Be * able to check any validity on the given pointer and may crash. Be
* sure to use only with valid return of e_widget_ilist_items_get(). * sure to use only with valid return of e_widget_ilist_items_get().
* *

View File

@ -15,7 +15,7 @@ static void _e_wid_del_hook(Evas_Object *obj);
* Creates a new list widget * Creates a new list widget
* *
* @param evas the evas pointer * @param evas the evas pointer
* @param homogenous should widgets append to the list be evenly spaced out * @param homogenous should widgets append to the list be evenly spaced out
* @param horiz the direction the list should be displayed * @param horiz the direction the list should be displayed
* @return the new list wdiget * @return the new list wdiget
*/ */

View File

@ -63,7 +63,7 @@ e_widget_slider_add(Evas *evas, int horiz, int rev, const char *fmt, double min,
/** /**
* Set the double value for the slider. This will also move the slider to * Set the double value for the slider. This will also move the slider to
* the correct position and update the text indecator. Will not do anything * the correct position and update the text indicator. Will not do anything
* if the slider was not created with a double value. * if the slider was not created with a double value.
* *
* @param slider pointer to the slider to be modified * @param slider pointer to the slider to be modified
@ -84,7 +84,7 @@ e_widget_slider_value_double_set(Evas_Object *slider, double dval)
/** /**
* Set the integer value for the slider. This will also move the slider to * Set the integer value for the slider. This will also move the slider to
* the correct position and update the text indecator. Will not do anything * the correct position and update the text indicator. Will not do anything
* if the slider was not created with an integer value. * if the slider was not created with an integer value.
* *
* @param slider pointer to the slider to be modified * @param slider pointer to the slider to be modified

View File

@ -109,7 +109,7 @@ _e_xinerama_update(void)
/* calculate pixel area */ /* calculate pixel area */
sz = scr->w * scr->h; sz = scr->w * scr->h;
sz2 = scr2->w * scr2->h; sz2 = scr2->w * scr2->h;
/* if the one we already have is bigger, DONT add the new */ /* if the one we already have is bigger, DON'T add the new */
if (sz > sz2) if (sz > sz2)
removes = eina_list_append(removes, scr2); removes = eina_list_append(removes, scr2);
/* add the old to a list to remove */ /* add the old to a list to remove */

View File

@ -675,7 +675,7 @@ e_zone_desk_count_set(E_Zone *zone,
} }
} }
/* catch windoes that have fallen off the end if we got smaller */ /* catch windows that have fallen off the end if we got smaller */
if (xx < zone->desk_x_count) if (xx < zone->desk_x_count)
{ {
for (y = 0; y < zone->desk_y_count; y++) for (y = 0; y < zone->desk_y_count; y++)