diff --git a/data/themes/default/images.edc b/data/themes/default/images.edc index 1a1c194..e8fbf17 100644 --- a/data/themes/default/images.edc +++ b/data/themes/default/images.edc @@ -39,6 +39,10 @@ images { image: "navi_play.png" COMP; image: "navi_stop.png" COMP; image: "refresh.png" COMP; + image: "brows_logo.png" COMP; + image: "brows_image.png" COMP; + image: "brows_sound.png" COMP; + image: "brows_font.png" COMP; } #define ICON_GROUP(_group_name, _image_path) \ @@ -91,5 +95,9 @@ ICON_GROUP("navi_unknown", "navi_unknown.png") ICON_GROUP("navi_play", "navi_play.png") ICON_GROUP("navi_stop", "navi_stop.png") ICON_GROUP("refresh", "refresh.png") +ICON_GROUP("brows_logo", "brows_logo.png") +ICON_GROUP("brows_image", "brows_image.png") +ICON_GROUP("brows_sound", "brows_sound.png") +ICON_GROUP("brows_font", "brows_font.png") #undef ICON_GROUP diff --git a/data/themes/default/images/Makefile.am b/data/themes/default/images/Makefile.am index 5e2aa58..5c86475 100644 --- a/data/themes/default/images/Makefile.am +++ b/data/themes/default/images/Makefile.am @@ -87,4 +87,8 @@ EXTRA_DIST = \ navi_play.png \ navi_stop.png \ bg_demo.png \ - refresh.png + refresh.png \ + brows_logo.png \ + brows_image.png \ + brows_sound.png \ + brows_font.png diff --git a/data/themes/default/images/brows_font.png b/data/themes/default/images/brows_font.png new file mode 100644 index 0000000..55a49a8 Binary files /dev/null and b/data/themes/default/images/brows_font.png differ diff --git a/data/themes/default/images/brows_image.png b/data/themes/default/images/brows_image.png new file mode 100644 index 0000000..0503019 Binary files /dev/null and b/data/themes/default/images/brows_image.png differ diff --git a/data/themes/default/images/brows_logo.png b/data/themes/default/images/brows_logo.png new file mode 100644 index 0000000..85a6b4c Binary files /dev/null and b/data/themes/default/images/brows_logo.png differ diff --git a/data/themes/default/images/brows_sound.png b/data/themes/default/images/brows_sound.png new file mode 100644 index 0000000..a49c99f Binary files /dev/null and b/data/themes/default/images/brows_sound.png differ diff --git a/src/bin/file_browser.c b/src/bin/file_browser.c index 46a7a1e..8302fc9 100644 --- a/src/bin/file_browser.c +++ b/src/bin/file_browser.c @@ -95,8 +95,16 @@ gl_file_content_get_cb(void *data, Evas_Object *obj, const char *part) { Evas_Object *img = elm_image_add(obj); - if (ecore_file_is_dir(file->path)) + if (file->type == FILE_BROWSER_FILE_TYPE_DIR) elm_image_file_set(img, EDJE_PATH, "folder"); + else if (file->type == FILE_BROWSER_FILE_TYPE_EDC) + elm_image_file_set(img, EDJE_PATH, "brows_logo"); + else if (file->type == FILE_BROWSER_FILE_TYPE_IMAGE) + elm_image_file_set(img, EDJE_PATH, "brows_image"); + else if (file->type == FILE_BROWSER_FILE_TYPE_SOUND) + elm_image_file_set(img, EDJE_PATH, "brows_sound"); + else if (file->type == FILE_BROWSER_FILE_TYPE_FONT) + elm_image_file_set(img, EDJE_PATH, "brows_font"); else elm_image_file_set(img, EDJE_PATH, "file");