'everything' module: added old keybindings again

SVN revision: 41902
This commit is contained in:
Hannes Janetzek 2009-08-21 00:07:27 +00:00
parent 2a25ed5351
commit d81170c78a
2 changed files with 20 additions and 5 deletions

View File

@ -1260,6 +1260,8 @@ _evry_cb_key_down(void *data __UNUSED__, int type __UNUSED__, void *event)
else if (_evry_view_key_press(s, ev))
goto end;
}
else if (_evry_view_key_press(s, ev))
goto end;
else if (!strcmp(key, "Right"))
_evry_browse_item(selector);
else if (!strcmp(key, "Left"))

View File

@ -573,12 +573,25 @@ _cb_key_down(const Evry_View *view, const Ecore_Event_Key *ev)
_list_plugin_next(v);
else if (!strcmp(key, "Prior"))
_list_plugin_prev(v);
else if ((!strcmp(key, "Left") && (ev->modifiers & ECORE_EVENT_MODIFIER_CTRL)))
_list_plugin_prev(v);
else if ((!strcmp(key, "Right") && (ev->modifiers & ECORE_EVENT_MODIFIER_CTRL)))
_list_plugin_prev(v);
else if (ev->modifiers & ECORE_EVENT_MODIFIER_SHIFT)
{
if (!strcmp(key, "Left"))
_list_plugin_prev(v);
else if (!strcmp(key, "Right"))
_list_plugin_next(v);
else return 0;
return 1;
}
else if (ev->modifiers & ECORE_EVENT_MODIFIER_CTRL)
_list_plugin_next_by_name(v, key);
{
if (!strcmp(key, "Left"))
_list_plugin_prev(v);
else if (!strcmp(key, "Right"))
_list_plugin_next(v);
else if (ev->compose)
_list_plugin_next_by_name(v, key);
}
else return 0;
return 1;