aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-11-02 09:09:01 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-11-02 09:09:01 +0000
commitc3a97e3965dc7449a843784c9cfcbca52676da62 (patch)
tree509f51f43d05e10e5c5678c7c284945f7647919c /src
parentoverhaul and fix custom bg+overlay setting/unsetting in efm (diff)
downloadenlightenment-c3a97e3965dc7449a843784c9cfcbca52676da62.tar.gz
filepreview now uses preview as container for video previews
SVN revision: 78845
Diffstat (limited to 'src')
-rw-r--r--src/bin/e_widget_filepreview.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/e_widget_filepreview.c b/src/bin/e_widget_filepreview.c
index 22cce12c7..a35ba59d5 100644
--- a/src/bin/e_widget_filepreview.c
+++ b/src/bin/e_widget_filepreview.c
@@ -228,8 +228,8 @@ _e_wid_fprev_preview_video_widgets(E_Widget_Data *wd)
emotion_object_file_set(o, wd->path);
emotion_object_play_set(o, EINA_TRUE);
evas_object_size_hint_aspect_set(o, EVAS_ASPECT_CONTROL_BOTH, wd->w, wd->h);
- /* this works through sheer because e_icon doesn't fail */
- wd->o_preview_preview = e_widget_image_add_from_object(evas, o, wd->w, wd->h);
+ wd->o_preview_preview = e_widget_preview_add(evas, wd->w, wd->h);
+ e_widget_preview_extern_object_set(wd->o_preview_preview, o);
e_widget_table_object_append(wd->o_preview_properties_table,
wd->o_preview_preview, 0, 0, 2, 2, 1, 1, 1, 1);