Elementary thumb: Added ethumb check routine.

SVN revision: 58982
This commit is contained in:
Daniel Juyung Seo 2011-04-28 02:01:13 +00:00
parent 4fc323297f
commit a42dba4f42
1 changed files with 3 additions and 1 deletions

View File

@ -35,7 +35,9 @@ struct _Widget_Data
int id;
const char *file;
const char *key;
#ifdef HAVE_ELEMENTARY_ETHUMB
Ethumb_Exists *exists;
#endif
} thumb;
Ecore_Event_Handler *eeh;
Elm_Thumb_Animation_Setting anim_setting;
@ -473,12 +475,12 @@ elm_thumb_add(Evas_Object *parent)
wd->key = NULL;
wd->eeh = NULL;
wd->thumb.id = -1;
wd->thumb.exists = NULL;
wd->on_hold = EINA_FALSE;
wd->is_video = EINA_FALSE;
wd->was_video = EINA_FALSE;
#ifdef HAVE_ELEMENTARY_ETHUMB
wd->thumb.exists = NULL;
evas_object_event_callback_add(obj, EVAS_CALLBACK_MOUSE_DOWN,
_mouse_down_cb, wd);
evas_object_event_callback_add(obj, EVAS_CALLBACK_MOUSE_UP,