forked from enlightenment/enventor
parent
9f47246074
commit
ea715444ed
|
@ -281,7 +281,6 @@ config_init(const char *edc_path, const char *edj_path,
|
||||||
Eina_List *edc_img_path, Eina_List *edc_snd_path,
|
Eina_List *edc_img_path, Eina_List *edc_snd_path,
|
||||||
Eina_List *edc_fnt_path, Eina_List *edc_dat_path)
|
Eina_List *edc_fnt_path, Eina_List *edc_dat_path)
|
||||||
{
|
{
|
||||||
Eina_Stringshare *s;
|
|
||||||
eddc_init();
|
eddc_init();
|
||||||
|
|
||||||
config_data *cd = config_load();
|
config_data *cd = config_load();
|
||||||
|
|
|
@ -565,7 +565,7 @@ default_template_insert(app_data *ad)
|
||||||
}
|
}
|
||||||
|
|
||||||
static Eina_Bool
|
static Eina_Bool
|
||||||
alt_func(app_data *ad, Ecore_Event_Key *event)
|
alt_func(Ecore_Event_Key *event)
|
||||||
{
|
{
|
||||||
if (!(event->modifiers & ECORE_EVENT_MODIFIER_ALT))
|
if (!(event->modifiers & ECORE_EVENT_MODIFIER_ALT))
|
||||||
return EINA_FALSE;
|
return EINA_FALSE;
|
||||||
|
@ -722,7 +722,7 @@ main_key_down_cb(void *data, int type EINA_UNUSED, void *ev)
|
||||||
if (file_mgr_warning_is_opened()) return ECORE_CALLBACK_PASS_ON;
|
if (file_mgr_warning_is_opened()) return ECORE_CALLBACK_PASS_ON;
|
||||||
|
|
||||||
if (ctrl_func(ad, event)) return ECORE_CALLBACK_DONE;
|
if (ctrl_func(ad, event)) return ECORE_CALLBACK_DONE;
|
||||||
if (alt_func(ad, event)) return ECORE_CALLBACK_DONE;
|
if (alt_func(event)) return ECORE_CALLBACK_DONE;
|
||||||
|
|
||||||
//Control Key
|
//Control Key
|
||||||
if (!strcmp("Control_L", event->key))
|
if (!strcmp("Control_L", event->key))
|
||||||
|
|
Loading…
Reference in New Issue