/* user name */
if (p->gl_sending_user_item) {
elm_object_item_disabled_set(p->gl_sending_user_item, EINA_TRUE);
+ elm_entry_context_menu_disabled_set(p->entry_sending_username, EINA_TRUE);
}
/* password */
if (p->gl_sending_pw_item) {
elm_object_item_disabled_set(p->gl_sending_pw_item, EINA_TRUE);
+ elm_entry_context_menu_disabled_set(p->entry_sending_password, EINA_TRUE);
}
} else {
/* user name */
if (p->gl_sending_user_item) {
elm_object_item_disabled_set(p->gl_sending_user_item, EINA_FALSE);
+ elm_entry_context_menu_disabled_set(p->entry_sending_username, EINA_FALSE);
}
/* password */
if (p->gl_sending_pw_item) {
elm_object_item_disabled_set(p->gl_sending_pw_item, EINA_FALSE);
+ elm_entry_context_menu_disabled_set(p->entry_sending_password, EINA_FALSE);
}
}
}
debug_enter();
int index = (int)data;
- struct viewdata *vd = g_vd;
- struct priv_data *p = vd->priv;
email_account_t *account = account_data;
char buf[MAX_STR_LEN] = { 0, };
{
debug_enter();
- struct viewdata *vd = g_vd;
- struct priv_data *p = vd->priv;
email_account_t *account = account_data;
char buf[MAX_STR_LEN] = { 0, };
elm_entry_input_panel_return_key_disabled_set(p->entry_sending_username, EINA_TRUE);
elm_entry_cnp_mode_set(p->entry_sending_username, ELM_CNP_MODE_PLAINTEXT);
elm_entry_input_panel_layout_set(p->entry_sending_username, ELM_INPUT_PANEL_LAYOUT_EMAIL);
+ if (account_data->outgoing_server_use_same_authenticator) {
+ elm_entry_context_menu_disabled_set(p->entry_sending_username, EINA_TRUE);
+ } else {
+ elm_entry_context_menu_disabled_set(p->entry_sending_username, EINA_FALSE);
+ }
evas_object_smart_callback_add(p->entry_sending_username, "changed", _backup_input_cb, p->ef_sending_username);
evas_object_smart_callback_add(p->entry_sending_username, "focused", _entry_focused_cb, p->ef_sending_username);
elm_entry_password_set(p->entry_sending_password, 1);
elm_entry_cnp_mode_set(p->entry_sending_password, ELM_CNP_MODE_PLAINTEXT);
elm_entry_input_panel_layout_set(p->entry_sending_password, ELM_INPUT_PANEL_LAYOUT_EMAIL);
+ if (account_data->outgoing_server_use_same_authenticator) {
+ elm_entry_context_menu_disabled_set(p->entry_sending_password, EINA_TRUE);
+ } else {
+ elm_entry_context_menu_disabled_set(p->entry_sending_password, EINA_FALSE);
+ }
evas_object_smart_callback_add(p->entry_sending_password, "changed", _backup_input_cb, p->ef_sending_password);
evas_object_smart_callback_add(p->entry_sending_password, "focused", _entry_focused_cb, p->ef_sending_password);
/* user name */
if (p->gl_sending_user_item) {
elm_object_item_disabled_set(p->gl_sending_user_item, EINA_TRUE);
+ elm_entry_context_menu_disabled_set(p->entry_sending_username, EINA_TRUE);
}
/* password */
if (p->gl_sending_pw_item) {
elm_object_item_disabled_set(p->gl_sending_pw_item, EINA_TRUE);
+ elm_entry_context_menu_disabled_set(p->entry_sending_password, EINA_TRUE);
}
} else {
/* user name */
if (p->gl_sending_user_item) {
elm_object_item_disabled_set(p->gl_sending_user_item, EINA_FALSE);
+ elm_entry_context_menu_disabled_set(p->entry_sending_username, EINA_FALSE);
}
/* password */
if (p->gl_sending_pw_item) {
elm_object_item_disabled_set(p->gl_sending_pw_item, EINA_FALSE);
+ elm_entry_context_menu_disabled_set(p->entry_sending_password, EINA_FALSE);
}
}
break;
scale: 1;
description {
state: "default" 0.0;
- min: 720 80;
- max: 720 80;
+ min: 720 26;
+ max: 720 26;
fixed: 0 1;
rel1 { relative: 0 0; }
rel2 { relative: 1 0; }
description {
state: "default" 0.0;
fixed: 1 1;
- min: 720 80;
- max: 720 80;
+ min: 720 248;
+ max: 720 248;
rel1 { relative: 0 1.0; to_y: "top_padding"; }
align: 0.5 0;
color: 0 0 0 0;
max: 80 80;
rel1 { relative: 0 0; offset: 180 0; to: "bg_for_sp"; }
rel2 { relative: 0 1; offset: 260 0; to: "bg_for_sp"; }
- align: 0.5 0;
+ align: 0.5 0.5;
image.normal: "M02_email_list_icon_gmail.png";
}
}
max: 80 80;
rel1 { relative: 0 0; offset: 320 0; to: "bg_for_sp"; }
rel2 { relative: 0 1; offset: 400 0; to: "bg_for_sp"; }
- align: 0.5 0;
+ align: 0.5 0.5;
image.normal: "M02_email_list_icon_hotmail.png";
}
}
max: 80 80;
rel1 { relative: 0 0; offset: 460 0; to: "bg_for_sp"; }
rel2 { relative: 0 1; offset: 540 0; to: "bg_for_sp"; }
- align: 0.5 0;
+ align: 0.5 0.5;
image.normal: "M02_email_list_icon_AOL.png";
}
}
scale: 1;
description {
state: "default" 0.0;
- min: 720 50;
- max: 720 50;
+ min: 720 16;
+ max: 720 16;
fixed: 1 1;
align: 0.5 0;
rel1 { relative: 0 1.0; to_y: "bg_for_sp"; }
description {
state: "default" 0.0;
fixed: 1 1;
- min: 620 160;
- max: 620 160;
+ min: 620 114;
+ max: 620 114;
rel1 { relative: 0 1.0; to_y: "middle_padding2"; }
align: 0.5 0;
}
}
+
+ part {
+ name: "middle_padding3";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 720 16;
+ max: 720 16;
+ fixed: 1 1;
+ align: 0.5 0;
+ rel1 { relative: 0 1.0; to_y: "label"; }
+ rel2 { relative: 1 1.0; to_y: "label"; }
+ color: 0 0 0 0;
+ }
+ }
part {
name: "list";
scale: 1;
description {
state: "default" 0.0;
- rel1 { relative: 0 1.0; to_y: "label"; }
+ rel1 { relative: 0 1.0; to_y: "middle_padding3"; }
}
}
}
scale: 1;
description {
state: "default" 0.0;
- min: 720 80;
- max: 720 80;
+ min: 720 26;
+ max: 720 26;
fixed: 0 1;
rel1 { relative: 0 0; }
rel2 { relative: 1 0; }
description {
state: "default" 0.0;
fixed: 1 1;
- min: 720 80;
- max: 720 80;
+ min: 720 248;
+ max: 720 248;
rel1 { relative: 0 1.0; to_y: "top_padding"; }
align: 0.5 0;
color: 0 0 0 0;
max: 80 80;
rel1 { relative: 0 0; offset: 110 0; to: "bg_for_sp"; }
rel2 { relative: 0 1; offset: 190 0; to: "bg_for_sp"; }
- align: 0.5 0;
+ align: 0.5 0.5;
image.normal: "M02_email_list_icon_exchange.png";
}
}
max: 80 80;
rel1 { relative: 0 0; offset: 250 0; to: "bg_for_sp"; }
rel2 { relative: 0 1; offset: 330 0; to: "bg_for_sp"; }
- align: 0.5 0;
+ align: 0.5 0.5;
image.normal: "M02_email_list_icon_gmail.png";
}
}
max: 80 80;
rel1 { relative: 0 0; offset: 390 0; to: "bg_for_sp"; }
rel2 { relative: 0 1; offset: 470 0; to: "bg_for_sp"; }
- align: 0.5 0;
+ align: 0.5 0.5;
image.normal: "M02_email_list_icon_hotmail.png";
}
}
max: 80 80;
rel1 { relative: 0 0; offset: 530 0; to: "bg_for_sp"; }
rel2 { relative: 0 1; offset: 610 0; to: "bg_for_sp"; }
- align: 0.5 0;
+ align: 0.5 0.5;
image.normal: "M02_email_list_icon_AOL.png";
}
}
scale: 1;
description {
state: "default" 0.0;
- min: 720 50;
- max: 720 50;
+ min: 720 16;
+ max: 720 16;
fixed: 1 1;
align: 0.5 0;
rel1 { relative: 0 1.0; to_y: "bg_for_sp"; }
description {
state: "default" 0.0;
fixed: 1 1;
- min: 620 160;
- max: 620 160;
+ min: 620 114;
+ max: 620 114;
rel1 { relative: 0 1.0; to_y: "middle_padding2"; }
align: 0.5 0;
}
}
+
+ part {
+ name: "middle_padding3";
+ type: RECT;
+ scale: 1;
+ description {
+ state: "default" 0.0;
+ min: 720 16;
+ max: 720 16;
+ fixed: 1 1;
+ align: 0.5 0;
+ rel1 { relative: 0 1.0; to_y: "label"; }
+ rel2 { relative: 1 1.0; to_y: "label"; }
+ color: 0 0 0 0;
+ }
+ }
part {
name: "list";
scale: 1;
description {
state: "default" 0.0;
- rel1 { relative: 0 1.0; to_y: "label"; }
+ rel1 { relative: 0 1.0; to_y: "middle_padding3"; }
}
}
}