{
if((!ext_mod) || (!data)) return;
- ext_mod->selectall(data,obj,event_info);
+ ext_mod->selectall(data, obj, event_info);
_ctxpopup_hide(obj);
}
{
if((!ext_mod) || (!data)) return;
- ext_mod->select(data,obj,event_info);
+ ext_mod->select(data, obj, event_info);
_ctxpopup_hide(obj);
}
{
if((!ext_mod) || (!data)) return;
- ext_mod->paste(data,obj,event_info);
+ ext_mod->paste(data, obj, event_info);
_ctxpopup_hide(obj);
}
{
if((!ext_mod) || (!data)) return;
- ext_mod->cut(data,obj,event_info);
+ ext_mod->cut(data, obj, event_info);
_ctxpopup_hide(obj);
//elm_object_scroll_freeze_pop(ext_mod->popup);
{
if((!ext_mod) || (!data)) return;
- ext_mod->copy(data,obj,event_info);
+ ext_mod->copy(data, obj, event_info);
_ctxpopup_hide(obj);
//elm_object_scroll_freeze_pop(ext_mod->popup);
{
if((!ext_mod) || (!data)) return;
- ext_mod->cancel(data,obj,event_info);
+ ext_mod->cancel(data, obj, event_info);
_ctxpopup_hide(obj);
//elm_object_scroll_freeze_pop(ext_mod->popup);
}
static void
-_search_menu(void *data, Evas_Object *obj, void *event_info)
+_search_menu(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
{
if(!ext_mod) return;
- int ret;
bundle *b = bundle_create();
if (!b)
{
}
static void
-_clipboard_menu(void *data, Evas_Object *obj, void *event_info)
+_clipboard_menu(void *data, Evas_Object *obj, void *event_info __UNUSED__)
{
if(!ext_mod) return;
}
static void
-_item_clicked(void *data, Evas_Object *obj, void *event_info)
+_item_clicked(void *data, Evas_Object *obj, void *event_info __UNUSED__)
{
Elm_Entry_Context_Menu_Item *it = data;
Evas_Object *obj2 = it->obj;
// module api funcs needed
EAPI int
-elm_modapi_init(void *m)
+elm_modapi_init(void *m __UNUSED__)
{
return 1; // succeed always
}
EAPI int
-elm_modapi_shutdown(void *m)
+elm_modapi_shutdown(void *m __UNUSED__)
{
return 1; // succeed always
}
{
ext_mod = ELM_NEW(Elm_Entry_Extension_data);
if (!ext_mod) return;
- elm_entry_extension_module_data_get(obj,ext_mod);
+ elm_entry_extension_module_data_get(obj, ext_mod);
}
}
EAPI void
-obj_unhook(Evas_Object *obj)
+obj_unhook(Evas_Object *obj __UNUSED__)
{
_mod_hook_count--;
if(_mod_hook_count > 0) return;
Elm_Object_Item *added_item = NULL;
/*update*/
- elm_entry_extension_module_data_get(obj,ext_mod);
+ elm_entry_extension_module_data_get(obj, ext_mod);
if (ext_mod->context_menu)
{
#ifdef HAVE_ELEMENTARY_X
ext_mod->caller = NULL;
return;
}
- elm_object_style_set(ext_mod->popup,"copypaste");
+ elm_object_style_set(ext_mod->popup, "copypaste");
context_menu_orientation = edje_object_data_get
(ext_mod->ent, "context_menu_orientation");
{
icon = elm_icon_add(ext_mod->popup);
snprintf(buf, sizeof(buf), "%s/images/copy&paste_icon_search.png", PACKAGE_DATA_DIR);
- elm_icon_file_set(icon, buf, NULL);
+ elm_image_file_set(icon, buf, NULL);
added_item = elm_ctxpopup_item_append(ext_mod->popup, NULL, icon, _search_menu, obj); // Search
}
}
{
icon = elm_icon_add(ext_mod->popup);
snprintf(buf, sizeof(buf), "%s/images/copy&paste_icon_search.png", PACKAGE_DATA_DIR);
- elm_icon_file_set(icon, buf, NULL);
+ elm_image_file_set(icon, buf, NULL);
added_item = elm_ctxpopup_item_append(ext_mod->popup, NULL, icon, _search_menu, obj); // Search
}
}