_paste, data);
}
// start for cbhm
- if (!wd->password)
+ if ((!wd->password) && (wd->editable))
elm_hoversel_item_add(wd->hoversel, "More", NULL, ELM_ICON_NONE,
_clipboard_menu, data);
// end for cbhm
elm_hoversel_item_add(wd->hoversel, "Cancel", NULL, ELM_ICON_NONE,
_cancel, data);
// start for cbhm
- elm_hoversel_item_add(wd->hoversel, "More", NULL, ELM_ICON_NONE,
- _clipboard_menu, data);
+ if (wd->editable)
+ elm_hoversel_item_add(wd->hoversel, "More", NULL, ELM_ICON_NONE,
+ _clipboard_menu, data);
// end for cbhm
}
}
}
// elm_ctxpopup_item_append(wd->ctxpopup, NULL, "Selectall",_select_all, obj );
// start for cbhm
- if (!ext_mod->password)
+ if ((!ext_mod->password) && (ext_mod->editable))
{
icon = elm_icon_add(ext_mod->popup);
snprintf(buf, sizeof(buf), "%s/images/copypaste_icon_clipboard.png", PACKAGE_DATA_DIR);
}
}
// start for cbhm
- icon = elm_icon_add(ext_mod->popup);
- snprintf(buf, sizeof(buf), "%s/images/copypaste_icon_clipboard.png", PACKAGE_DATA_DIR);
- elm_icon_file_set(icon, buf, NULL);
- elm_ctxpopup_item_append(ext_mod->popup, NULL, icon, _clipboard_menu, obj);
- //elm_ctxpopup_item_append(ext_mod->popup, "More", NULL, _clipboard_menu, obj );
+ if (ext_mod->editable)
+ {
+ icon = elm_icon_add(ext_mod->popup);
+ snprintf(buf, sizeof(buf), "%s/images/copypaste_icon_clipboard.png", PACKAGE_DATA_DIR);
+ elm_icon_file_set(icon, buf, NULL);
+ elm_ctxpopup_item_append(ext_mod->popup, NULL, icon, _clipboard_menu, obj);
+ //elm_ctxpopup_item_append(ext_mod->popup, "More", NULL, _clipboard_menu, obj );
+ }
// end for cbhm
}
}
elm_ctxpopup_item_append(ext_mod->popup, "Paste", NULL, _paste, obj );
}
// start for cbhm
- if (!ext_mod->password)
+ if ((!ext_mod->password) && (ext_mod->editable))
{
icon = elm_icon_add(ext_mod->popup);
snprintf(buf, sizeof(buf), "%s/images/copypaste_icon_clipboard.png", PACKAGE_DATA_DIR);
}
}
// start for cbhm
- icon = elm_icon_add(ext_mod->popup);
- snprintf(buf, sizeof(buf), "%s/images/copypaste_icon_clipboard.png", PACKAGE_DATA_DIR);
- elm_icon_file_set(icon, buf, NULL);
- elm_ctxpopup_item_append(ext_mod->popup, NULL, icon, _clipboard_menu, obj);
+ if (ext_mod->editable)
+ {
+ icon = elm_icon_add(ext_mod->popup);
+ snprintf(buf, sizeof(buf), "%s/images/copypaste_icon_clipboard.png", PACKAGE_DATA_DIR);
+ elm_icon_file_set(icon, buf, NULL);
+ elm_ctxpopup_item_append(ext_mod->popup, NULL, icon, _clipboard_menu, obj);
+ }
// end for cbhm
}
}
}
// elm_ctxpopup_item_add(wd->ctxpopup, NULL, "Selectall",_select_all, obj );
// start for cbhm
- if (!ext_mod->password)
+ if ((!ext_mod->password) && (ext_mod->editable))
elm_list_item_append(list, "More", NULL, NULL,_clipboard_menu, obj);
// end for cbhm
}
}
}
// start for cbhm
- elm_list_item_append(list, "More", NULL, NULL,_clipboard_menu, obj);
+ if (ext_mod->editable)
+ elm_list_item_append(list, "More", NULL, NULL,_clipboard_menu, obj);
// end for cbhm
}
}