aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_win.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-07-12 18:03:54 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-07-12 18:06:13 +0900
commit2936834d3107a061b0a7bb3bf7ba19e3cea954a0 (patch)
treeca6c4bba20d03d11c63b573aa8c5753234b3dcc1 /src/lib/elementary/efl_ui_win.c
parentUi text: port more functionality to the test (diff)
downloadefl-2936834d3107a061b0a7bb3bf7ba19e3cea954a0.tar.gz
elementary - fix focus switching again after break
this fixes https://phab.enlightenment.org/T4053 this was due to everal widgets haveing changed their class names and are using the new names for mapping to keybinding config that used legacy names to match binding to widget.
Diffstat (limited to 'src/lib/elementary/efl_ui_win.c')
-rw-r--r--src/lib/elementary/efl_ui_win.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index ebe283e9b9..de74762666 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -21,8 +21,7 @@
#include "interfaces/efl_common_internal.h"
#define MY_CLASS EFL_UI_WIN_CLASS
-
-#define MY_CLASS_NAME "Efl_Ui_Win"
+#define MY_CLASS_NAME "Efl.Ui.Win"
#define MY_CLASS_NAME_LEGACY "elm_win"
static const Elm_Win_Trap *trap = NULL;
@@ -1653,7 +1652,7 @@ _efl_ui_win_elm_widget_event(Eo *obj, Efl_Ui_Win_Data *_pd EINA_UNUSED, Evas_Obj
if (elm_widget_disabled_get(obj)) return EINA_FALSE;
if (type != EVAS_CALLBACK_KEY_DOWN) return EINA_FALSE;
- if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME, ev, key_actions))
+ if (!_elm_config_key_binding_call(obj, MY_CLASS_NAME_LEGACY, ev, key_actions))
return EINA_FALSE;
ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD;