elementary/fileselector - fixed a wrong change caused when gengrid API changes.

SVN revision: 67627
This commit is contained in:
ChunEon Park 2012-01-31 05:13:59 +00:00
parent d504333c4d
commit 7fd3d1fe88
1 changed files with 3 additions and 2 deletions

View File

@ -419,14 +419,15 @@ _sel(void *data,
Widget_Data *wd;
void *old_sd;
char *dir;
Elm_Object_Item *gg_it = event_info;
//This event_info could be a list or gengrid item
Elm_Object_Item *it = event_info;
wd = elm_widget_data_get(data);
if (!wd) return;
sd = malloc(sizeof(*sd));
sd->fs = data;
sd->path = wd->mode == elm_object_item_data_get(gg_it);
sd->path = elm_object_item_data_get(it);
if (!sd->path)
{