fix super old, but mostly harmless bug where already-mounted volumes would not be correctly detected and set up during e startup; fixes move source option from previous commit

SVN revision: 76418
This commit is contained in:
Mike Blumenkrantz 2012-09-10 16:28:55 +00:00
parent 7c16c33ed5
commit 6588ae2d08
1 changed files with 3 additions and 1 deletions

View File

@ -2862,7 +2862,9 @@ e_fm2_client_data(Ecore_Ipc_Event_Client_Data *e)
{
e_config->device_detect_mode = v->efm_mode;
e_fm2_device_volume_add(v);
if (e_config->device_auto_mount && !v->mounted && !v->first_time)
if (v->mounted)
e_fm2_device_mount(v, NULL, NULL, NULL, NULL, NULL);
else if (e_config->device_auto_mount && !v->mounted && !v->first_time)
_e_fm2_client_mount(v->udi, v->mount_point);
v->first_time = 0;
}