m_pRecipPanel->update(m_ThreadId);
m_pRecipPanel->showMbe(!m_pRecipPanel->isMbeEmpty());
m_pRecipPanel->showEntry(true);
- m_pRecipPanel->setFocus(true); // TODO: Not bad to remove from here
+ m_pRecipPanel->setEntryFocus(true); // TODO: Not bad to remove from here
}
void Conversation::setConversationMode()
else if(duplicateRecip != 0)
appendStatusHandler(MbeRecipients::DuplicatedStatus);
- setEntryFocus(true); //FIXME: appending of two contacts breaks focus handle.
+ setEntryFocus(true);
}
void ConvRecipientsPanel::onPopupBtnClicked(Popup &popup, int buttonId)
m_pEntryLayout = elm_layout_add(m_pLayout);
elm_layout_theme_set(m_pEntryLayout, "layout", "searchfield", "singleline");
+ evas_object_show(m_pEntryLayout);
elm_object_part_content_set(m_pEntryLayout, "elm.swallow.button", createClearButton(m_pEntryLayout));
elm_object_part_content_set(m_pLayout, "swl.entry", m_pEntryLayout);
elm_entry_autocapital_type_set(m_pEntry, ELM_AUTOCAPITAL_TYPE_NONE);
elm_entry_input_panel_return_key_type_set(m_pEntry, ELM_INPUT_PANEL_RETURN_KEY_TYPE_NEXT);
setText(m_pEntry, msgt("IDS_MSGF_BODY_RECIPIENTS"), "elm.guide");
+ processSignal(m_pEntry);
Elm_Entry_Filter_Limit_Size limitFilter = {};
limitFilter.max_char_count = m_EntryMaxCharCount;
evas_object_event_callback_add(m_pEntry, EVAS_CALLBACK_KEY_DOWN, EVAS_EVENT_CALLBACK(ConvRecipientsPanelView, onKeyDown), this);
addGeometryChangedCb(m_pEntry);
elm_object_content_set(m_pEntryLayout, m_pEntry);
+ processSignal(m_pEntryLayout);
+
return m_pEntryLayout;
}