fix typebuf in efm to properly handle relative directory switching from arbitrary devices

SVN revision: 74354
This commit is contained in:
Mike Blumenkrantz 2012-07-24 11:37:02 +00:00
parent a88fbfacec
commit 904e298809
1 changed files with 2 additions and 2 deletions

View File

@ -5687,7 +5687,7 @@ _e_fm2_typebuf_char_append(Evas_Object *obj, const char *ch)
if (e_util_strcmp(sd->dev, "desktop") && e_util_strcmp(sd->dev, "favorites") && ecore_file_is_dir(buf))
{
sd->typebuf.setting = EINA_TRUE;
e_fm2_path_set(obj, sd->dev, buf);
e_fm2_path_set(obj, "/", buf);
sd->typebuf.setting = EINA_FALSE;
}
}
@ -5751,7 +5751,7 @@ _e_fm2_typebuf_char_backspace(Evas_Object *obj)
if (e_util_strcmp(sd->dev, "desktop") && e_util_strcmp(sd->dev, "favorites") && ecore_file_is_dir(buf))
{
sd->typebuf.setting = EINA_TRUE;
e_fm2_path_set(obj, sd->dev, buf);
e_fm2_path_set(obj, "/", buf);
sd->typebuf.setting = EINA_FALSE;
}
}