forked from enlightenment/enlightenment
working a bit more on the icon in file prop dialog - now it gets the props
right. SVN revision: 27851
This commit is contained in:
parent
231a5fc1a3
commit
ef98881bd1
|
@ -970,6 +970,7 @@ e_fm2_icon_get(Evas *evas, const char *realpath,
|
||||||
oic = edje_object_add(evas);
|
oic = edje_object_add(evas);
|
||||||
e_theme_edje_object_set(oic, "base/theme/fileman",
|
e_theme_edje_object_set(oic, "base/theme/fileman",
|
||||||
"e/icons/fileman/file");
|
"e/icons/fileman/file");
|
||||||
|
if (type_ret) *type_ret = "FILE_TYPE";
|
||||||
}
|
}
|
||||||
else if (!strcmp(icon, "THUMB"))
|
else if (!strcmp(icon, "THUMB"))
|
||||||
{
|
{
|
||||||
|
|
|
@ -276,7 +276,10 @@ _basic_create_widgets(E_Config_Dialog *cfd, Evas *evas, E_Config_Dialog_Data *cf
|
||||||
ob = e_widget_radio_add(evas, _("Custom"), 2, rg);
|
ob = e_widget_radio_add(evas, _("Custom"), 2, rg);
|
||||||
evas_object_smart_callback_add(ob, "changed", _cb_type, cfdata);
|
evas_object_smart_callback_add(ob, "changed", _cb_type, cfdata);
|
||||||
e_widget_frametable_object_append(ot, ob, 1, 2, 1, 1, 1, 1, 1, 1);
|
e_widget_frametable_object_append(ot, ob, 1, 2, 1, 1, 1, 1, 1, 1);
|
||||||
|
|
||||||
|
cfdata->icon_mime = 1;
|
||||||
|
if ((cfdata->fi->icon) || ((itype) && (!strcmp(itype, "DESKTOP"))))
|
||||||
|
cfdata->icon_mime = 0;
|
||||||
ob = e_widget_check_add(evas, _("Use this icon for all files of this type"), &(cfdata->icon_mime));
|
ob = e_widget_check_add(evas, _("Use this icon for all files of this type"), &(cfdata->icon_mime));
|
||||||
e_widget_frametable_object_append(ot, ob, 0, 3, 2, 1, 1, 1, 1, 1);
|
e_widget_frametable_object_append(ot, ob, 0, 3, 2, 1, 1, 1, 1, 1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue