don't try to delete mount points from e_fm anymore

SVN revision: 74570
This commit is contained in:
Mike Blumenkrantz 2012-07-30 10:11:41 +00:00
parent caa9f1b42b
commit 80f17bbcff
1 changed files with 0 additions and 6 deletions

View File

@ -309,12 +309,6 @@ _e_fm_main_eeze_cb_vol_ejected(void *user_data __UNUSED__,
return ECORE_CALLBACK_RENEW;
}
INF("EJECT: %s from %s", v->udi, v->mount_point);
{
char rmbuf[PATH_MAX];
snprintf(rmbuf, sizeof(rmbuf), "/media%s", strrchr(v->udi, '/'));
if (v->mount_point && (!strcmp(v->mount_point, rmbuf)))
ecore_file_rmdir(v->mount_point);
}
size = strlen(v->udi) + 1 + strlen(v->mount_point) + 1;
buf = alloca(size);
strcpy(buf, v->udi);