forked from enlightenment/enlightenment
tree-wide: fix typos all over the place
Fix some typos Differential Revision: https://phab.enlightenment.org/D11778
This commit is contained in:
parent
8d72d36246
commit
153f479d3f
|
@ -1146,7 +1146,7 @@ window_jump_to(const char *params)
|
||||||
/* Change the virtual desktop if the window isn't on the current virtual desktop */
|
/* Change the virtual desktop if the window isn't on the current virtual desktop */
|
||||||
e_desk_show(ec->desk);
|
e_desk_show(ec->desk);
|
||||||
|
|
||||||
/* A minimized window wont be focusable for key input, un-minimize it */
|
/* A minimized window won't be focusable for key input, un-minimize it */
|
||||||
if (!ec->lock_user_iconify)
|
if (!ec->lock_user_iconify)
|
||||||
e_client_uniconify(ec);
|
e_client_uniconify(ec);
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,7 @@ elm_main(int argc, char **argv)
|
||||||
/* as long as the string is unchanged. */
|
/* as long as the string is unchanged. */
|
||||||
if (!strncmp(argv[1], "Username", sizeof("Username") - 1))
|
if (!strncmp(argv[1], "Username", sizeof("Username") - 1))
|
||||||
askpass = EINA_FALSE;
|
askpass = EINA_FALSE;
|
||||||
/* Sudo prompt [sudo] at the begining of line */
|
/* Sudo prompt [sudo] at the beginning of line */
|
||||||
if (!strncmp(argv[1], SUDO_LBL, sizeof(SUDO_LBL) - 1))
|
if (!strncmp(argv[1], SUDO_LBL, sizeof(SUDO_LBL) - 1))
|
||||||
txt = &argv[1][sizeof(SUDO_LBL)];
|
txt = &argv[1][sizeof(SUDO_LBL)];
|
||||||
else
|
else
|
||||||
|
|
|
@ -473,7 +473,7 @@ _backlight_system_list_cb(void *data EINA_UNUSED, const char *params)
|
||||||
devnum++;
|
devnum++;
|
||||||
// XXX: find bed bl dev for screens not supporting randr
|
// XXX: find bed bl dev for screens not supporting randr
|
||||||
// note that this is a vallback and ddc should take precedence
|
// note that this is a vallback and ddc should take precedence
|
||||||
// it matched up to a screen over this, but randr shoule be
|
// it matched up to a screen over this, but randr should be
|
||||||
// the top priority if found
|
// the top priority if found
|
||||||
}
|
}
|
||||||
else break;
|
else break;
|
||||||
|
|
|
@ -288,7 +288,7 @@ _e_comp_canvas_screensaver_active(void *d EINA_UNUSED, Evas_Object *obj EINA_UNU
|
||||||
static Eina_Bool
|
static Eina_Bool
|
||||||
_e_comp_cb_timer_post_screensaver_lock(void *data EINA_UNUSED)
|
_e_comp_cb_timer_post_screensaver_lock(void *data EINA_UNUSED)
|
||||||
{
|
{
|
||||||
// XXX: the below should instntly show desklock and have no transition
|
// XXX: the below should instantly show desklock and have no transition
|
||||||
// or animation
|
// or animation
|
||||||
e_desklock_show_autolocked();
|
e_desklock_show_autolocked();
|
||||||
timer_post_screensaver_lock = NULL;
|
timer_post_screensaver_lock = NULL;
|
||||||
|
|
|
@ -1377,7 +1377,7 @@ _e_comp_intercept_layer_set(void *data, Evas_Object *obj, int layer)
|
||||||
E_Client *child;
|
E_Client *child;
|
||||||
Eina_List *list = eina_list_clone(cw->ec->transients);
|
Eina_List *list = eina_list_clone(cw->ec->transients);
|
||||||
|
|
||||||
/* We need to set raise to one, else the child wont
|
/* We need to set raise to one, else the child won't
|
||||||
* follow to the new layer. It should be like this,
|
* follow to the new layer. It should be like this,
|
||||||
* even if the user usually doesn't want to raise
|
* even if the user usually doesn't want to raise
|
||||||
* the transients.
|
* the transients.
|
||||||
|
@ -4083,7 +4083,7 @@ e_comp_object_dirty(Evas_Object *obj)
|
||||||
{
|
{
|
||||||
bxx = w - (bx + bxx), byy = h - (by + byy);
|
bxx = w - (bx + bxx), byy = h - (by + byy);
|
||||||
// XXX: FIXME: - keep at least ONE border > 0 to allow cutouts to work
|
// XXX: FIXME: - keep at least ONE border > 0 to allow cutouts to work
|
||||||
// evas doesnt have a good fix for this right now.... also
|
// evas doesn't have a good fix for this right now.... also
|
||||||
// we still BLEND the center bit anyway as we dont switch to non
|
// we still BLEND the center bit anyway as we dont switch to non
|
||||||
// blend ... so ugh. evas issue tho.
|
// blend ... so ugh. evas issue tho.
|
||||||
if (byy < 1) byy = 1;
|
if (byy < 1) byy = 1;
|
||||||
|
|
|
@ -4803,7 +4803,7 @@ _e_comp_x_hook_client_new(void *d EINA_UNUSED, E_Client *ec)
|
||||||
/* UGLY: round trip, but necessary to work around bad clients
|
/* UGLY: round trip, but necessary to work around bad clients
|
||||||
* positioning windows anyway AND libreoffice trying to hack
|
* positioning windows anyway AND libreoffice trying to hack
|
||||||
* getting its windows across multiple screens this way
|
* getting its windows across multiple screens this way
|
||||||
* which isnt really right either... */
|
* which isn't really right either... */
|
||||||
ecore_x_icccm_size_pos_hints_get(win,
|
ecore_x_icccm_size_pos_hints_get(win,
|
||||||
&request_pos,
|
&request_pos,
|
||||||
&ec->icccm.gravity,
|
&ec->icccm.gravity,
|
||||||
|
|
|
@ -666,7 +666,7 @@ e_comp_x_randr_config_apply(void)
|
||||||
// ignore the next batch of randr events - we caused them ourselves
|
// ignore the next batch of randr events - we caused them ourselves
|
||||||
// XXX: a problem. thew first time we configure the screen we may not
|
// XXX: a problem. thew first time we configure the screen we may not
|
||||||
// get any events back to clear the ignore flag below, so only apply
|
// get any events back to clear the ignore flag below, so only apply
|
||||||
// here if the randr config now doesnt match what we want to set up.
|
// here if the randr config now doesn't match what we want to set up.
|
||||||
// event_ignore = EINA_TRUE;
|
// event_ignore = EINA_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -430,7 +430,7 @@ struct _E_Config
|
||||||
* -zmike, 31 January 2013
|
* -zmike, 31 January 2013
|
||||||
*/
|
*/
|
||||||
const char *cur_layout; // whatever the current layout is
|
const char *cur_layout; // whatever the current layout is
|
||||||
const char *selected_layout; // whatever teh current layout that the user has selected is
|
const char *selected_layout; // whatever the current layout that the user has selected is
|
||||||
const char *desklock_layout;
|
const char *desklock_layout;
|
||||||
Eina_Bool use_cache;
|
Eina_Bool use_cache;
|
||||||
} xkb;
|
} xkb;
|
||||||
|
|
|
@ -14,7 +14,7 @@ _dia_del(void *data)
|
||||||
e_object_del(dia->data);
|
e_object_del(dia->data);
|
||||||
}
|
}
|
||||||
|
|
||||||
/********** externally accesible functions ****************/
|
/********** externally accessible functions ****************/
|
||||||
E_API E_Confirm_Dialog *
|
E_API E_Confirm_Dialog *
|
||||||
e_confirm_dialog_show(const char *title, const char *icon, const char *text,
|
e_confirm_dialog_show(const char *title, const char *icon, const char *text,
|
||||||
const char *button_text, const char *button2_text,
|
const char *button_text, const char *button2_text,
|
||||||
|
|
|
@ -8,7 +8,7 @@ static void _e_entry_dialog_cancel(void *data, E_Dialog *dia);
|
||||||
static void _e_entry_dialog_delete(E_Dialog *dia, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED);
|
static void _e_entry_dialog_delete(E_Dialog *dia, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED);
|
||||||
static void _e_entry_cb_key_down(void *data, Evas_Object *obj, void *event_info);
|
static void _e_entry_cb_key_down(void *data, Evas_Object *obj, void *event_info);
|
||||||
|
|
||||||
/* Externally accesible functions */
|
/* Externally accessible functions */
|
||||||
E_API E_Entry_Dialog *
|
E_API E_Entry_Dialog *
|
||||||
e_entry_dialog_show(const char *title, const char *icon, const char *text,
|
e_entry_dialog_show(const char *title, const char *icon, const char *text,
|
||||||
const char *initial_text,
|
const char *initial_text,
|
||||||
|
|
|
@ -60,7 +60,7 @@ struct _E_Fm2_Smart_Data
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
Evas_Coord w, h;
|
Evas_Coord w, h;
|
||||||
} max, pmax, min; /* min is actually teh size of the largest icon, updated each placement */
|
} max, pmax, min; /* min is actually the size of the largest icon, updated each placement */
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
Evas_Coord x, y;
|
Evas_Coord x, y;
|
||||||
|
|
|
@ -345,7 +345,7 @@ _e_fm_ipc_monitor_start_try(E_Fm_Task *task)
|
||||||
if (!ped)
|
if (!ped)
|
||||||
{
|
{
|
||||||
/* if no previous monitoring dir exists - this one
|
/* if no previous monitoring dir exists - this one
|
||||||
* becomes the master monitor enty */
|
* becomes the master monitor entry */
|
||||||
ed->mon = ecore_file_monitor_add(ed->dir, _e_fm_ipc_cb_file_monitor, ed);
|
ed->mon = ecore_file_monitor_add(ed->dir, _e_fm_ipc_cb_file_monitor, ed);
|
||||||
ed->mon_ref = 1;
|
ed->mon_ref = 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -564,7 +564,7 @@ _e_fm_op_stdin_data(void *data EINA_UNUSED, Ecore_Fd_Handler *fd_handler)
|
||||||
}
|
}
|
||||||
buf += sizeof(int);
|
buf += sizeof(int);
|
||||||
|
|
||||||
/* Read indentifying data. */
|
/* Read identifying data. */
|
||||||
memcpy(&identity, buf, sizeof(int));
|
memcpy(&identity, buf, sizeof(int));
|
||||||
buf += sizeof(int);
|
buf += sizeof(int);
|
||||||
|
|
||||||
|
|
|
@ -1791,7 +1791,7 @@ e_gadcon_client_util_menu_items_append(E_Gadcon_Client *gcc, E_Menu *menu_gadget
|
||||||
e_menu_item_callback_set(mi, _e_gadcon_client_cb_menu_edit, gcc);
|
e_menu_item_callback_set(mi, _e_gadcon_client_cb_menu_edit, gcc);
|
||||||
}
|
}
|
||||||
mi = e_menu_item_new(menu_gadget);
|
mi = e_menu_item_new(menu_gadget);
|
||||||
e_menu_item_label_set(mi, _("Resizeable"));
|
e_menu_item_label_set(mi, _("Resizable"));
|
||||||
e_util_menu_item_theme_icon_set(mi, "transform-scale");
|
e_util_menu_item_theme_icon_set(mi, "transform-scale");
|
||||||
e_menu_item_check_set(mi, 1);
|
e_menu_item_check_set(mi, 1);
|
||||||
if (gcc->resizable) e_menu_item_toggle_set(mi, 1);
|
if (gcc->resizable) e_menu_item_toggle_set(mi, 1);
|
||||||
|
@ -3235,7 +3235,7 @@ _e_gadcon_client_class_feature_check(const E_Gadcon_Client_Class *cc, const char
|
||||||
{
|
{
|
||||||
if (!feature)
|
if (!feature)
|
||||||
{
|
{
|
||||||
e_util_dialog_show(_("Insufficent gadcon support"),
|
e_util_dialog_show(_("Insufficient gadcon support"),
|
||||||
_("Module %s needs to support %s"),
|
_("Module %s needs to support %s"),
|
||||||
cc->name, name);
|
cc->name, name);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -827,7 +827,7 @@ _e_int_menus_app_finder(const char *exec)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This function initalises E_Int_Menu_Applications and adds
|
* This function initialises E_Int_Menu_Applications and adds
|
||||||
* our data.
|
* our data.
|
||||||
*/
|
*/
|
||||||
static E_Int_Menu_Applications*
|
static E_Int_Menu_Applications*
|
||||||
|
|
|
@ -630,7 +630,7 @@ e_intl_locale_parts_get(const char *locale)
|
||||||
unsigned int locale_idx;
|
unsigned int locale_idx;
|
||||||
int tmp_idx = 0;
|
int tmp_idx = 0;
|
||||||
|
|
||||||
/* Parse Loop - Seperators are _ . @ */
|
/* Parse Loop - Separators are _ . @ */
|
||||||
for (locale_idx = 0; locale_idx < strlen(locale); locale_idx++)
|
for (locale_idx = 0; locale_idx < strlen(locale); locale_idx++)
|
||||||
{
|
{
|
||||||
char locale_char;
|
char locale_char;
|
||||||
|
|
|
@ -766,7 +766,7 @@ main(int argc, char **argv)
|
||||||
TS("E_System Init");
|
TS("E_System Init");
|
||||||
if (!e_system_init())
|
if (!e_system_init())
|
||||||
{
|
{
|
||||||
e_error_message_show(_("Enlightenment cannot initialize the Privelege System access system.\n"));
|
e_error_message_show(_("Enlightenment cannot initialize the Privilege System access system.\n"));
|
||||||
_e_main_shutdown(-1);
|
_e_main_shutdown(-1);
|
||||||
}
|
}
|
||||||
TS("E_System Init Done");
|
TS("E_System Init Done");
|
||||||
|
|
|
@ -719,7 +719,7 @@ _cb_screen_change_delay(void *data EINA_UNUSED)
|
||||||
Eina_Bool change = EINA_FALSE;
|
Eina_Bool change = EINA_FALSE;
|
||||||
_screen_delay_timer = NULL;
|
_screen_delay_timer = NULL;
|
||||||
printf("RRR: ... %i %i\n", event_screen, event_ignore);
|
printf("RRR: ... %i %i\n", event_screen, event_ignore);
|
||||||
// if we had a screen plug/unplug etc. event and we shouldnt ignore it...
|
// if we had a screen plug/unplug etc. event and we shouldn't ignore it...
|
||||||
if ((event_screen) && (!event_ignore))
|
if ((event_screen) && (!event_ignore))
|
||||||
{
|
{
|
||||||
Eina_List *l;
|
Eina_List *l;
|
||||||
|
|
|
@ -154,7 +154,7 @@ e_screensaver_update(void)
|
||||||
// wake of the screen e.g. on lid open/close we have to toggle
|
// wake of the screen e.g. on lid open/close we have to toggle
|
||||||
// it for x to stop thinking the monitor is off when it's
|
// it for x to stop thinking the monitor is off when it's
|
||||||
// actually on and this causes later dpms issues where the
|
// actually on and this causes later dpms issues where the
|
||||||
// screen doesnt turn off at all because x thinks interanlly
|
// screen doesn't turn off at all because x thinks internally
|
||||||
// that the monitor is still off... so this is odd, but it's
|
// that the monitor is still off... so this is odd, but it's
|
||||||
// necessary on some hardware.
|
// necessary on some hardware.
|
||||||
if (!e_config->screensaver_dpms_off)
|
if (!e_config->screensaver_dpms_off)
|
||||||
|
|
|
@ -287,7 +287,7 @@ _e_shelf_hidden(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, v
|
||||||
static Eina_Bool
|
static Eina_Bool
|
||||||
_shelf_content_fix(void *data)
|
_shelf_content_fix(void *data)
|
||||||
{
|
{
|
||||||
// I really don't know how it gets here but objects and thier geometry are
|
// I really don't know how it gets here but objects and their geometry are
|
||||||
// wrong - something to do woith zoomap as well as geometry changing
|
// wrong - something to do woith zoomap as well as geometry changing
|
||||||
// at the same time so things going weird with child size and thus
|
// at the same time so things going weird with child size and thus
|
||||||
// position etc.
|
// position etc.
|
||||||
|
|
|
@ -152,7 +152,7 @@ _e_test_internal(void)
|
||||||
dia = e_dialog_new(c, "E", "_test");
|
dia = e_dialog_new(c, "E", "_test");
|
||||||
e_object_del_attach_func_set(E_OBJECT(dia), _e_test_dialog_del);
|
e_object_del_attach_func_set(E_OBJECT(dia), _e_test_dialog_del);
|
||||||
e_dialog_title_set(dia, "A Test Dialog");
|
e_dialog_title_set(dia, "A Test Dialog");
|
||||||
e_dialog_text_set(dia, "A Test Dialog<ps/>And another line<ps/><hilight>Hilighted Text</hilight>");
|
e_dialog_text_set(dia, "A Test Dialog<ps/>And another line<ps/><hilight>Highlighted Text</hilight>");
|
||||||
e_dialog_icon_set(dia, "preference-plugin", 64);
|
e_dialog_icon_set(dia, "preference-plugin", 64);
|
||||||
e_dialog_button_add(dia, "OK", NULL, NULL, NULL);
|
e_dialog_button_add(dia, "OK", NULL, NULL, NULL);
|
||||||
e_dialog_button_add(dia, "Apply", "system-restart", NULL, NULL);
|
e_dialog_button_add(dia, "Apply", "system-restart", NULL, NULL);
|
||||||
|
@ -413,7 +413,7 @@ _e_test_internal(void)
|
||||||
"<title>A title</title>"
|
"<title>A title</title>"
|
||||||
"This is some text<ps/>"
|
"This is some text<ps/>"
|
||||||
"Blah blah<ps/>"
|
"Blah blah<ps/>"
|
||||||
"<hilight>hilighted text</hilight><ps/>"
|
"<hilight>highlighted text</hilight><ps/>"
|
||||||
"<ps/>"
|
"<ps/>"
|
||||||
"More lines of text<ps/>"
|
"More lines of text<ps/>"
|
||||||
"And yet more lines of text<ps/>"
|
"And yet more lines of text<ps/>"
|
||||||
|
|
|
@ -1506,7 +1506,7 @@ e_util_exe_safe_run(const char *cmd, void *data)
|
||||||
flags |= ECORE_EXE_ISOLATE_IO;
|
flags |= ECORE_EXE_ISOLATE_IO;
|
||||||
#else
|
#else
|
||||||
flags |= 1024; // isolate_io is bit 10 .... it will be ignored if
|
flags |= 1024; // isolate_io is bit 10 .... it will be ignored if
|
||||||
// efl doesnt do it, so harmless
|
// efl doesn't do it, so harmless
|
||||||
#endif
|
#endif
|
||||||
return ecore_exe_pipe_run(cmd, flags, data);
|
return ecore_exe_pipe_run(cmd, flags, data);
|
||||||
}
|
}
|
||||||
|
|
|
@ -126,7 +126,7 @@ _e_wid_focus_steal(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED
|
||||||
* Creates a check box widget
|
* Creates a check box widget
|
||||||
*
|
*
|
||||||
* @param evas pointer
|
* @param evas pointer
|
||||||
* @param label the text to asign to check widget
|
* @param label the text to assign to check widget
|
||||||
* @param val pointer to int where changes are stored
|
* @param val pointer to int where changes are stored
|
||||||
* @return the newly created evas object
|
* @return the newly created evas object
|
||||||
*/
|
*/
|
||||||
|
@ -276,10 +276,10 @@ e_widget_check_widget_disable_on_unchecked_add(Evas_Object *check, Evas_Object *
|
||||||
* Creates a check box widget with icon
|
* Creates a check box widget with icon
|
||||||
*
|
*
|
||||||
* @param evas pointer
|
* @param evas pointer
|
||||||
* @param label the text to asign to check widget
|
* @param label the text to assign to check widget
|
||||||
* @param icon the path to the icon file
|
* @param icon the path to the icon file
|
||||||
* @param icon_w the minimum wdith of the icon
|
* @param icon_w the minimum wdith of the icon
|
||||||
* @param icon_h the minumum height of the icon
|
* @param icon_h the minimum height of the icon
|
||||||
* @param val pointer to int where changes are stored
|
* @param val pointer to int where changes are stored
|
||||||
* @return the newly created evas object
|
* @return the newly created evas object
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -518,7 +518,7 @@ EAPI Eina_Bool e_efx_queue_effect_attach(E_Efx_Queue_Data *eqd, E_Efx_Effect_Spe
|
||||||
* a "follower" object as @p obj will cause the object passed as @p follower
|
* a "follower" object as @p obj will cause the object passed as @p follower
|
||||||
* to be chained to the follower's top-most "owner" object.
|
* to be chained to the follower's top-most "owner" object.
|
||||||
*
|
*
|
||||||
* @note Effects from an "owner" object will supercede any similar effects
|
* @note Effects from an "owner" object will supersede any similar effects
|
||||||
* explicitly set on a "follower" object, and they will also probably
|
* explicitly set on a "follower" object, and they will also probably
|
||||||
* break each other. Don't chain owners to other owners unless you know
|
* break each other. Don't chain owners to other owners unless you know
|
||||||
* what you are doing.
|
* what you are doing.
|
||||||
|
|
|
@ -132,7 +132,7 @@ _light_add(const char *dev)
|
||||||
if (!lig) abort();
|
if (!lig) abort();
|
||||||
lig->dev = strdup(dev);
|
lig->dev = strdup(dev);
|
||||||
if (!lig->dev) abort();
|
if (!lig->dev) abort();
|
||||||
lig->val = -1; // uknown
|
lig->val = -1; // unknown
|
||||||
#ifdef HAVE_EEZE
|
#ifdef HAVE_EEZE
|
||||||
const char *s;
|
const char *s;
|
||||||
|
|
||||||
|
@ -173,7 +173,7 @@ _light_add(const char *dev)
|
||||||
#ifdef HAVE_EEZE
|
#ifdef HAVE_EEZE
|
||||||
static Eina_Bool
|
static Eina_Bool
|
||||||
_light_device_include(const char *dev)
|
_light_device_include(const char *dev)
|
||||||
{ // filter out known undesireable devices
|
{ // filter out known undesirable devices
|
||||||
if (strstr(dev, "::capslock")) return EINA_FALSE;
|
if (strstr(dev, "::capslock")) return EINA_FALSE;
|
||||||
if (strstr(dev, "::numlock")) return EINA_FALSE;
|
if (strstr(dev, "::numlock")) return EINA_FALSE;
|
||||||
if (strstr(dev, "::scrolllock")) return EINA_FALSE;
|
if (strstr(dev, "::scrolllock")) return EINA_FALSE;
|
||||||
|
|
|
@ -34,7 +34,7 @@ _etc_enlightenment_system_conf_check(const char *sys)
|
||||||
char type[32], usergroup[256], cmd[32], glob[256], buf[1024];
|
char type[32], usergroup[256], cmd[32], glob[256], buf[1024];
|
||||||
Eina_Bool in_usergroup;
|
Eina_Bool in_usergroup;
|
||||||
FILE *f = fopen("/etc/enlightenment/system.conf", "r");
|
FILE *f = fopen("/etc/enlightenment/system.conf", "r");
|
||||||
if (!f) return 1; // if the config doesnt exist - allow by policy
|
if (!f) return 1; // if the config doesn't exist - allow by policy
|
||||||
|
|
||||||
gn = getgroups(MAXGROUPS, gl);
|
gn = getgroups(MAXGROUPS, gl);
|
||||||
if (gn < 0)
|
if (gn < 0)
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
# include <ps/IOPowerSources.h>
|
# include <ps/IOPowerSources.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* supported batery system schemes - irrespective of OS */
|
/* supported battery system schemes - irrespective of OS */
|
||||||
#define CHECK_NONE 0
|
#define CHECK_NONE 0
|
||||||
#define CHECK_ACPI 1
|
#define CHECK_ACPI 1
|
||||||
#define CHECK_APM 2
|
#define CHECK_APM 2
|
||||||
|
|
|
@ -345,7 +345,7 @@ bz_obj_add(const char *path)
|
||||||
"PropertiesChanged",
|
"PropertiesChanged",
|
||||||
cb_obj_prop_changed, o);
|
cb_obj_prop_changed, o);
|
||||||
// disable the filter for discovery later
|
// disable the filter for discovery later
|
||||||
// XXX: this doesnt seem to exist on the bluez daemons i see
|
// XXX: this doesn't seem to exist on the bluez daemons I see
|
||||||
// so don't do this to avoid error noise and it's useless it seems
|
// so don't do this to avoid error noise and it's useless it seems
|
||||||
// eldbus_proxy_call
|
// eldbus_proxy_call
|
||||||
// (o->proxy, "SetDiscoveryFilter", cb_obj_discovery_filter, o, -1, "");
|
// (o->proxy, "SetDiscoveryFilter", cb_obj_discovery_filter, o, -1, "");
|
||||||
|
|
|
@ -933,7 +933,7 @@ _e_connman_system_name_owner_changed(void *data EINA_UNUSED,
|
||||||
* This will connect to ConnMan through DBus and watch for it going in and out.
|
* This will connect to ConnMan through DBus and watch for it going in and out.
|
||||||
*
|
*
|
||||||
* Interesting events are:
|
* Interesting events are:
|
||||||
* - E_CONNMAN_EVENT_MANAGER_IN: issued when connman is avaiable.
|
* - E_CONNMAN_EVENT_MANAGER_IN: issued when connman is available.
|
||||||
* - E_CONNMAN_EVENT_MANAGER_OUT: issued when connman connection is lost.
|
* - E_CONNMAN_EVENT_MANAGER_OUT: issued when connman connection is lost.
|
||||||
*/
|
*/
|
||||||
unsigned int
|
unsigned int
|
||||||
|
|
|
@ -324,7 +324,7 @@ _econnman_mod_manager_update_inst(E_Connman_Module_Context *ctxt EINA_UNUSED,
|
||||||
msg = malloc(sizeof(*msg) + sizeof(int));
|
msg = malloc(sizeof(*msg) + sizeof(int));
|
||||||
msg->count = 2;
|
msg->count = 2;
|
||||||
msg->val[0] = state;
|
msg->val[0] = state;
|
||||||
/* FIXME check if it's possible to receive strenght as props of cm */
|
/* FIXME check if it's possible to receive strength as props of cm */
|
||||||
if (type == -1)
|
if (type == -1)
|
||||||
msg->val[1] = 0;
|
msg->val[1] = 0;
|
||||||
else
|
else
|
||||||
|
|
|
@ -151,7 +151,7 @@ _fetch(Evry_Plugin *plugin, const char *input)
|
||||||
if (!strcmp(pp->name, "Actions"))
|
if (!strcmp(pp->name, "Actions"))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
/* items MUST only conatin plugins here ! */
|
/* items MUST only contain plugins here ! */
|
||||||
EINA_LIST_FOREACH (items, ll, pp2)
|
EINA_LIST_FOREACH (items, ll, pp2)
|
||||||
if (pp2->name == pp->name) break;
|
if (pp2->name == pp->name) break;
|
||||||
if (pp2)
|
if (pp2)
|
||||||
|
|
|
@ -162,7 +162,7 @@ struct _Evry_Plugin
|
||||||
results when not returning NULL.
|
results when not returning NULL.
|
||||||
The previous selectors 'item' is passed, i.e. a plugin registered
|
The previous selectors 'item' is passed, i.e. a plugin registered
|
||||||
as action receives the subject, a plugin registered as object
|
as action receives the subject, a plugin registered as object
|
||||||
receives the action item. here you can check wheter the plugin
|
receives the action item. here you can check whether the plugin
|
||||||
should be queried in given context (provided by item) */
|
should be queried in given context (provided by item) */
|
||||||
Evry_Plugin *(*begin) (Evry_Plugin *p, const Evry_Item *item);
|
Evry_Plugin *(*begin) (Evry_Plugin *p, const Evry_Item *item);
|
||||||
|
|
||||||
|
|
|
@ -1204,7 +1204,7 @@ _e_fwin_custom_file_path_eval(E_Fwin *fwin,
|
||||||
char buf[PATH_MAX];
|
char buf[PATH_MAX];
|
||||||
const char *res, *ret = NULL;
|
const char *res, *ret = NULL;
|
||||||
|
|
||||||
/* get a X-something custom tage from the .desktop for the dir */
|
/* get a X-something custom stage from the .desktop for the dir */
|
||||||
res = efreet_desktop_x_field_get(ef, key);
|
res = efreet_desktop_x_field_get(ef, key);
|
||||||
/* free the old path */
|
/* free the old path */
|
||||||
if (prev_path) eina_stringshare_del(prev_path);
|
if (prev_path) eina_stringshare_del(prev_path);
|
||||||
|
|
|
@ -176,7 +176,7 @@ _e_fileman_dbus_daemon_open_file_cb(const Eldbus_Service_Interface *iface EINA_U
|
||||||
const Eldbus_Message *msg)
|
const Eldbus_Message *msg)
|
||||||
{
|
{
|
||||||
Eina_List *handlers;
|
Eina_List *handlers;
|
||||||
const char *param_file = NULL, *mime, *errmsg = "unknow error";
|
const char *param_file = NULL, *mime, *errmsg = "unknown error";
|
||||||
char *real_file, *to_free = NULL;
|
char *real_file, *to_free = NULL;
|
||||||
E_Zone *zone;
|
E_Zone *zone;
|
||||||
|
|
||||||
|
|
|
@ -155,7 +155,7 @@ static inline const char *
|
||||||
_desktop_name_get(const Efreet_Desktop *desktop)
|
_desktop_name_get(const Efreet_Desktop *desktop)
|
||||||
{
|
{
|
||||||
if (!desktop) return NULL;
|
if (!desktop) return NULL;
|
||||||
return desktop->orig_path; //allways return the orig_path
|
return desktop->orig_path; //always return the orig_path
|
||||||
}
|
}
|
||||||
|
|
||||||
static IBar_Order *
|
static IBar_Order *
|
||||||
|
|
|
@ -117,7 +117,7 @@ elm_main(int argc, char **argv)
|
||||||
if (find_tmpfile(quality, buf, sizeof(buf)))
|
if (find_tmpfile(quality, buf, sizeof(buf)))
|
||||||
out_file = eina_stringshare_add(buf);
|
out_file = eina_stringshare_add(buf);
|
||||||
}
|
}
|
||||||
// open raw rgba data file which we willl mmap
|
// open raw rgba data file which we will mmap
|
||||||
infile = eina_file_open(rgba_file, EINA_FALSE);
|
infile = eina_file_open(rgba_file, EINA_FALSE);
|
||||||
if (!infile) return 2;
|
if (!infile) return 2;
|
||||||
fsize = eina_file_size_get(infile);
|
fsize = eina_file_size_get(infile);
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
# include <ps/IOPowerSources.h>
|
# include <ps/IOPowerSources.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* supported batery system schemes - irrespective of OS */
|
/* supported battery system schemes - irrespective of OS */
|
||||||
#define CHECK_NONE 0
|
#define CHECK_NONE 0
|
||||||
#define CHECK_ACPI 1
|
#define CHECK_ACPI 1
|
||||||
#define CHECK_APM 2
|
#define CHECK_APM 2
|
||||||
|
|
|
@ -140,7 +140,7 @@ static const E_Gadcon_Client_Class _gc_class =
|
||||||
/* }}} */
|
/* }}} */
|
||||||
/* Utils {{{ */
|
/* Utils {{{ */
|
||||||
|
|
||||||
/* I wonder why noone has implemented the following one yet? */
|
/* I wonder why no one has implemented the following one yet? */
|
||||||
static E_Desk *
|
static E_Desk *
|
||||||
get_current_desk(void)
|
get_current_desk(void)
|
||||||
{
|
{
|
||||||
|
@ -674,7 +674,7 @@ _calculate_position_preference(E_Client *ec)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_insert_client_prefered(E_Client *ec)
|
_insert_client_preferred(E_Client *ec)
|
||||||
{
|
{
|
||||||
Window_Tree *parent;
|
Window_Tree *parent;
|
||||||
Tiling_Split_Type type = TILING_SPLIT_VERTICAL;
|
Tiling_Split_Type type = TILING_SPLIT_VERTICAL;
|
||||||
|
@ -717,7 +717,7 @@ _insert_client(E_Client *ec, Tiling_Split_Type type)
|
||||||
|
|
||||||
if (ec_focused == ec)
|
if (ec_focused == ec)
|
||||||
{
|
{
|
||||||
_insert_client_prefered(ec);
|
_insert_client_preferred(ec);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -1743,7 +1743,7 @@ _client_drag_terminate(E_Client *ec)
|
||||||
//insert the client at the position where the up was
|
//insert the client at the position where the up was
|
||||||
if (desk_should_tile_check(get_current_desk()))
|
if (desk_should_tile_check(get_current_desk()))
|
||||||
{
|
{
|
||||||
_insert_client_prefered(ec);
|
_insert_client_preferred(ec);
|
||||||
extra->tiled = EINA_TRUE;
|
extra->tiled = EINA_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -106,7 +106,7 @@ wizard_page_show(E_Wizard_Page *pg EINA_UNUSED)
|
||||||
{
|
{
|
||||||
if (_next_timer) ecore_timer_del(_next_timer);
|
if (_next_timer) ecore_timer_del(_next_timer);
|
||||||
_next_timer = NULL;
|
_next_timer = NULL;
|
||||||
return 0; /* we didnt copy anything so advance anyway */
|
return 0; /* we didn't copy anything so advance anyway */
|
||||||
}
|
}
|
||||||
return 1; /* 1 == show ui, and wait for user, 0 == just continue */
|
return 1; /* 1 == show ui, and wait for user, 0 == just continue */
|
||||||
}
|
}
|
||||||
|
|
|
@ -430,7 +430,7 @@ _drm2_randr_create(void)
|
||||||
s->config.rotation = 270;
|
s->config.rotation = 270;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
printf("DRM2 RRR: caution - rotation flags empty - assum 0\n");
|
printf("DRM2 RRR: caution - rotation flags empty - assume 0\n");
|
||||||
s->config.rotation = 0;
|
s->config.rotation = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue