2012-01-26 Cedric Bail
* Add min: SOURCE, max: SOURCE.
+
+2012-02-03 Jihoon Kim
+
+ * Entry: Fix to work edje_object_part_text_input_panel_enabled_set/get well
+ even though ecore_imf doesn't exist or immodule isn't used.
Eina_Bool select_mod_start : 1;
Eina_Bool select_mod_end : 1;
Eina_Bool had_sel : 1;
+ Eina_Bool input_panel_enable : 1;
#ifdef HAVE_ECORE_IMF
Eina_Bool have_preedit : 1;
{
evas_object_show(en->cursor_bg);
evas_object_show(en->cursor_fg);
+ en->input_panel_enable = EINA_TRUE;
+
#ifdef HAVE_ECORE_IMF
ecore_imf_init();
Entry *en = rp->entry_data;
if (!en) return;
+ en->input_panel_enable = enabled;
#ifdef HAVE_ECORE_IMF
if (en->imf_context)
ecore_imf_context_input_panel_enabled_set(en->imf_context, enabled);
-#else
- (void) enabled;
#endif
}
{
Entry *en = rp->entry_data;
if (!en) return EINA_FALSE;
-#ifdef HAVE_ECORE_IMF
- if (en->imf_context)
- return ecore_imf_context_input_panel_enabled_get(en->imf_context);
-#endif
- return EINA_FALSE;
+ return en->input_panel_enable;
}
static Evas_Textblock_Cursor *