thumbs - add more mime types that can thumbnail and have e_thumb do it right

devs/sachiel/e19
Carsten Haitzler 9 years ago
parent e3b65f1cbb
commit 7ccf40fc7b
  1. 44
      config/mobile/e.src
  2. 44
      config/standard/e.src
  3. 6
      src/bin/e_thumb_main.c

@ -816,6 +816,50 @@ group "E_Config" struct {
value "mime" string: "application/x-desktop";
value "icon" string: "DESKTOP";
}
group "E_Config_Mime_Icon" struct {
value "mime" string: "application/vnd.oasis.opendocument.presentation";
value "icon" string: "THUMB";
}
group "E_Config_Mime_Icon" struct {
value "mime" string: "application/vnd.ms-excel";
value "icon" string: "THUMB";
}
group "E_Config_Mime_Icon" struct {
value "mime" string: "application/vnd.ms-powerpoint";
value "icon" string: "THUMB";
}
group "E_Config_Mime_Icon" struct {
value "mime" string: "application/vnd.ms-word";
value "icon" string: "THUMB";
}
group "E_Config_Mime_Icon" struct {
value "mime" string: "application/vnd.oasis.opendocument.spreadsheet";
value "icon" string: "THUMB";
}
group "E_Config_Mime_Icon" struct {
value "mime" string: "application/vnd.oasis.opendocument.text";
value "icon" string: "THUMB";
}
group "E_Config_Mime_Icon" struct {
value "mime" string: "application/vnd.openxmlformats-officedocument.presentationml.presentation";
value "icon" string: "THUMB";
}
group "E_Config_Mime_Icon" struct {
value "mime" string: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
value "icon" string: "THUMB";
}
group "E_Config_Mime_Icon" struct {
value "mime" string: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
value "icon" string: "THUMB";
}
group "E_Config_Mime_Icon" struct {
value "mime" string: "text/richtext";
value "icon" string: "THUMB";
}
group "E_Config_Mime_Icon" struct {
value "mime" string: "application/msword";
value "icon" string: "THUMB";
}
}
group "xkb.used_layouts" list {
group "E_Config_XKB_Layout" struct {

@ -548,6 +548,50 @@ group "E_Config" struct {
value "mime" string: "application/x-desktop";
value "icon" string: "DESKTOP";
}
group "E_Config_Mime_Icon" struct {
value "mime" string: "application/vnd.oasis.opendocument.presentation";
value "icon" string: "THUMB";
}
group "E_Config_Mime_Icon" struct {
value "mime" string: "application/vnd.ms-excel";
value "icon" string: "THUMB";
}
group "E_Config_Mime_Icon" struct {
value "mime" string: "application/vnd.ms-powerpoint";
value "icon" string: "THUMB";
}
group "E_Config_Mime_Icon" struct {
value "mime" string: "application/vnd.ms-word";
value "icon" string: "THUMB";
}
group "E_Config_Mime_Icon" struct {
value "mime" string: "application/vnd.oasis.opendocument.spreadsheet";
value "icon" string: "THUMB";
}
group "E_Config_Mime_Icon" struct {
value "mime" string: "application/vnd.oasis.opendocument.text";
value "icon" string: "THUMB";
}
group "E_Config_Mime_Icon" struct {
value "mime" string: "application/vnd.openxmlformats-officedocument.presentationml.presentation";
value "icon" string: "THUMB";
}
group "E_Config_Mime_Icon" struct {
value "mime" string: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
value "icon" string: "THUMB";
}
group "E_Config_Mime_Icon" struct {
value "mime" string: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
value "icon" string: "THUMB";
}
group "E_Config_Mime_Icon" struct {
value "mime" string: "text/richtext";
value "icon" string: "THUMB";
}
group "E_Config_Mime_Icon" struct {
value "mime" string: "application/msword";
value "icon" string: "THUMB";
}
}
group "shelves" list {
group "E_Config_Shelf" struct {

@ -420,7 +420,7 @@ _e_thumb_generate(E_Thumb *eth)
evas_object_resize(im2, tw, th);
evas_object_show(im2);
}
else if (evas_object_image_extension_can_load_get(ext))
else// if (evas_object_image_extension_can_load_get(ext))
{
im = evas_object_image_add(evas);
evas_object_image_load_size_set(im, eth->w, eth->h);
@ -443,8 +443,8 @@ _e_thumb_generate(E_Thumb *eth)
evas_object_resize(im, ww, hh);
sortkey = EINA_TRUE;
}
else
goto end;
// else
// goto end;
ecore_evas_alpha_set(ee, alpha);
ecore_evas_resize(ee, ww, hh);

Loading…
Cancel
Save