forked from enlightenment/enlightenment
parent
220aa0e9c7
commit
805f47b085
|
@ -4012,11 +4012,11 @@ _e_fm2_icon_desktop_load(E_Fm2_Icon *ic)
|
||||||
snprintf(buf, sizeof(buf), "%s/%s", ic->sd->realpath, ic->info.file);
|
snprintf(buf, sizeof(buf), "%s/%s", ic->sd->realpath, ic->info.file);
|
||||||
|
|
||||||
desktop = efreet_desktop_get(buf);
|
desktop = efreet_desktop_get(buf);
|
||||||
printf("efreet_desktop_get(5s) = %p\n", buf, desktop);
|
printf("efreet_desktop_get(%s) = %p\n", buf, desktop);
|
||||||
if (!desktop) goto error;
|
if (!desktop) goto error;
|
||||||
// if (desktop->type != EFREET_DESKTOP_TYPE_LINK) goto error;
|
// if (desktop->type != EFREET_DESKTOP_TYPE_LINK) goto error;
|
||||||
|
|
||||||
printf(" mod time %lli\n", desktop->load_time);
|
printf(" mod time %f\n", desktop->load_time);
|
||||||
ic->info.removable = 0;
|
ic->info.removable = 0;
|
||||||
ic->info.removable_full = 0;
|
ic->info.removable_full = 0;
|
||||||
if (desktop->name) ic->info.label = evas_stringshare_add(desktop->name);
|
if (desktop->name) ic->info.label = evas_stringshare_add(desktop->name);
|
||||||
|
|
|
@ -152,9 +152,7 @@ e_fm2_custom_file_rename(const char *path, const char *new_path)
|
||||||
{
|
{
|
||||||
E_Fm2_Custom_File *cf, *cf2;
|
E_Fm2_Custom_File *cf, *cf2;
|
||||||
Evas_List *list, *l;
|
Evas_List *list, *l;
|
||||||
void *dat;
|
|
||||||
int size;
|
|
||||||
|
|
||||||
_e_fm2_custom_file_info_load();
|
_e_fm2_custom_file_info_load();
|
||||||
if (!_e_fm2_custom_file) return;
|
if (!_e_fm2_custom_file) return;
|
||||||
if (_e_fm2_flush_timer) e_fm2_custom_file_flush();
|
if (_e_fm2_flush_timer) e_fm2_custom_file_flush();
|
||||||
|
|
|
@ -182,7 +182,7 @@ _e_order_read(E_Order *eo)
|
||||||
f = fopen(eo->path, "rb");
|
f = fopen(eo->path, "rb");
|
||||||
if (f)
|
if (f)
|
||||||
{
|
{
|
||||||
char buf[4096], buf2[PATH_MAX];
|
char buf[4096];
|
||||||
|
|
||||||
while (fgets(buf, sizeof(buf), f))
|
while (fgets(buf, sizeof(buf), f))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue