Ok. Thanks for reminding me about feature freeze period. I just reverted. On Friday, January 3, 2014, Daniel Juyung Seo wrote:
> Oops we're in a feature freeze and stabilization period. > This needs to be reverted. > https://phab.enlightenment.org/w/efl_and_elementary_1_9/ > > Thanks. > > Daniel Juyung seo (SeoZ) > > > > On Fri, Jan 3, 2014 at 6:55 PM, Jihoon Kim <[email protected]> wrote: > > > jihoon pushed a commit to branch master. > > > > > > > http://git.enlightenment.org/core/elementary.git/commit/?id=c8f021ba302279a91666ddda04f0247b3a2931f6 > > > > commit c8f021ba302279a91666ddda04f0247b3a2931f6 > > Author: Jihoon Kim <[email protected]> > > Date: Fri Jan 3 18:51:38 2014 +0900 > > > > entry: Add elm_entry_input_panel_show_on_demand_set/get API > > > > This API sets the attribute to show the input panel in case of only > an > > user's explicit Mouse Up event. > > It doesn't request to show the input panel even though it has focus. > > --- > > src/lib/elm_entry.c | 61 > > +++++++++++++++++++++++++++++++++++++++++++++- > > src/lib/elm_entry_eo.h | 30 +++++++++++++++++++++++ > > src/lib/elm_entry_legacy.h | 24 ++++++++++++++++++ > > src/lib/elm_widget_entry.h | 1 + > > 4 files changed, 115 insertions(+), 1 deletion(-) > > > > diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c > > index 81a35db..cc155c3 100644 > > --- a/src/lib/elm_entry.c > > +++ b/src/lib/elm_entry.c > > @@ -594,6 +594,8 @@ _elm_entry_smart_theme(Eo *obj, void *_pd, va_list > > *list) > > (sd->entry_edje, "elm.text", > > (Edje_Input_Panel_Return_Key_Type)sd->input_panel_return_key_type); > > edje_object_part_text_input_panel_return_key_disabled_set > > (sd->entry_edje, "elm.text", sd->input_panel_return_key_disabled); > > + edje_object_part_text_input_panel_show_on_demand_set > > + (sd->entry_edje, "elm.text", sd->input_panel_show_on_demand); > > > > // elm_entry_cursor_pos_set -> cursor,changed -> > widget_show_region_set > > // -> smart_objects_calculate will call all smart calculate > functions, > > @@ -918,7 +920,7 @@ _elm_entry_smart_on_focus(Eo *obj, void *_pd > > EINA_UNUSED, va_list *list) > > { > > evas_object_focus_set(sd->entry_edje, EINA_TRUE); > > edje_object_signal_emit(sd->entry_edje, "elm,action,focus", > > "elm"); > > - if (top && top_is_win && sd->input_panel_enable && > > + if (top && top_is_win && sd->input_panel_enable && > > !sd->input_panel_show_on_demand && > > !edje_object_part_text_imf_context_get(sd->entry_edje, > > "elm.text")) > > elm_win_keyboard_mode_set(top, ELM_WIN_KEYBOARD_ON); > > evas_object_smart_callback_call(obj, SIG_FOCUSED, NULL); > > @@ -1576,6 +1578,8 @@ _mouse_up_cb(void *data, > > void *event_info) > > { > > Evas_Event_Mouse_Up *ev = event_info; > > + Eina_Bool top_is_win = EINA_FALSE; > > + Evas_Object *top; > > > > ELM_ENTRY_DATA_GET(data, sd); > > > > @@ -1588,6 +1592,19 @@ _mouse_up_cb(void *data, > > _magnifier_hide(data); > > _menu_call(data); > > } > > + else > > + { > > + top = elm_widget_top_get(data); > > + if (top) > > + { > > + if (!strcmp(evas_object_type_get(top), "elm_win")) > > + top_is_win = EINA_TRUE; > > + > > + if (top_is_win && sd->input_panel_enable && > > > sd------------------------------------------------------------------------------- > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > enlightenment-devel mailing list > [email protected] <javascript:;> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
