'everything' module: changed zoom in thumb mode to ctrl+plus

SVN revision: 41983
This commit is contained in:
Hannes Janetzek 2009-08-25 21:01:38 +00:00
parent 1a807b6a60
commit cc9d39a388
2 changed files with 3 additions and 5 deletions

View File

@ -259,13 +259,11 @@ _tabs_key_down(Tab_View *v, const Ecore_Event_Key *ev)
_plugin_next(v); _plugin_next(v);
return 1; return 1;
} }
else if (ev->compose) else if (ev->compose && isalpha(*ev->compose))
{ {
_plugin_next_by_name(v, key); _plugin_next_by_name(v, key);
return 1; return 1;
} }
} }
return 0; return 0;

View File

@ -867,8 +867,8 @@ _cb_key_down(Evry_View *view, const Ecore_Event_Key *ev)
} }
goto end; goto end;
} }
else if (!strcmp(ev->key, "plus") || else if ((ev->modifiers & ECORE_EVENT_MODIFIER_CTRL) &&
((ev->modifiers & ECORE_EVENT_MODIFIER_ALT) && ((!strcmp(ev->key, "plus")) ||
(!strcmp(ev->key, "z")))) (!strcmp(ev->key, "z"))))
{ {
sd->zoom++; sd->zoom++;