Fix that slideshow doesn't work in video list view 2.0alpha master 2.0_alpha submit/master/20120920.150944
authorJiansong Jin <jiansong.jin@samsung.com>
Fri, 7 Sep 2012 08:53:27 +0000 (17:53 +0900)
committerJiansong Jin <jiansong.jin@samsung.com>
Fri, 7 Sep 2012 08:53:27 +0000 (17:53 +0900)
Change-Id: I98e4b927e2c2d0a67e750715d988841c90016373

src/data/gl-data.c
src/util/gl-ui-util.c

index 2a50709..feb244f 100755 (executable)
@@ -949,8 +949,7 @@ int _gl_data_get_first_item(void *data, media_content_type_e type,
        int i = 0;\r
        gl_item *gitem = NULL;\r
 \r
-       if (type == MEDIA_CONTENT_TYPE_IMAGE ||\r
-           type == MEDIA_CONTENT_TYPE_VIDEO) {\r
+       if (type == MEDIA_CONTENT_TYPE_OTHERS) {\r
                _gl_data_get_item_by_index(ad, 1, false, &gitem);\r
                *fitem = gitem;\r
                return 0;\r
index 0040d7c..de2cd50 100755 (executable)
@@ -1337,7 +1337,7 @@ static void __gl_ui_slideshow_btn_cb(void *data, Evas_Object *obj, void *event_i
        gl_appdata *ad = (gl_appdata *)data;
        gl_item *cur_item = NULL;
 
-       media_content_type_e type = MEDIA_CONTENT_TYPE_IMAGE;
+       media_content_type_e type = MEDIA_CONTENT_TYPE_OTHERS;
 
        if (ad->maininfo.seg_mode == GL_CTRL_SEG_VIDEOS)
                type = MEDIA_CONTENT_TYPE_VIDEO;