From: Enlightenment S. <no-...@en...> - 2012-03-15 05:37:27
|
Log: elementary/naviframe : Fix a focus bug. When popping, new top content should be focusable if it was set as unfocusable before by pushing item. Author: woohyun Date: 2012-03-14 22:37:17 -0700 (Wed, 14 Mar 2012) New Revision: 69354 Trac: http://trac.enlightenment.org/e/changeset/69354 Modified: trunk/elementary/src/lib/elc_naviframe.c Modified: trunk/elementary/src/lib/elc_naviframe.c =================================================================== --- trunk/elementary/src/lib/elc_naviframe.c 2012-03-15 05:23:06 UTC (rev 69353) +++ trunk/elementary/src/lib/elc_naviframe.c 2012-03-15 05:37:17 UTC (rev 69354) @@ -900,6 +900,11 @@ wd = elm_widget_data_get(WIDGET(it)); if (!wd) return; + // FIXME : If current top's content is unfocusable, it should be restored as focusable. + // Similar cases are should be checked and should call following function. + if (elm_widget_tree_unfocusable_get(it->content)) + elm_widget_tree_unfocusable_set(it->content, EINA_FALSE); + evas_object_smart_callback_call(WIDGET(it), SIG_TRANSITION_FINISHED, data); |