forked from enlightenment/efl
From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elementary - elc_fileselector Date: Sun, 26 Jun 2011 11:55:55 +0900 Dear elementary developers When I compiled svn elementary, it seems a define(HAVE_EIO) is omitted. I sending a patch, check about it please. Thanks. SVN revision: 60697
This commit is contained in:
parent
fb34d56912
commit
133cc990c3
|
@ -141,7 +141,9 @@ _del_hook(Evas_Object *obj)
|
||||||
wd = elm_widget_data_get(obj);
|
wd = elm_widget_data_get(obj);
|
||||||
if (!wd) return;
|
if (!wd) return;
|
||||||
|
|
||||||
|
#ifdef HAVE_EIO
|
||||||
eio_file_cancel(wd->current);
|
eio_file_cancel(wd->current);
|
||||||
|
#endif
|
||||||
|
|
||||||
wd->files_list = NULL;
|
wd->files_list = NULL;
|
||||||
wd->files_grid = NULL;
|
wd->files_grid = NULL;
|
||||||
|
@ -678,7 +680,9 @@ _done_cb(void *data, Eio_File *handler __UNUSED__)
|
||||||
|
|
||||||
_signal_first(wr);
|
_signal_first(wr);
|
||||||
|
|
||||||
|
#ifdef HAVE_EIO
|
||||||
wr->wd->current = NULL;
|
wr->wd->current = NULL;
|
||||||
|
#endif
|
||||||
_widget_request_cleanup(wr);
|
_widget_request_cleanup(wr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -687,8 +691,10 @@ _error_cb(void *data, Eio_File *handler, int error __UNUSED__)
|
||||||
{
|
{
|
||||||
Widget_Request *wr = data;
|
Widget_Request *wr = data;
|
||||||
|
|
||||||
|
#ifdef HAVE_EIO
|
||||||
if (wr->wd->current == handler)
|
if (wr->wd->current == handler)
|
||||||
wr->wd->current = NULL;
|
wr->wd->current = NULL;
|
||||||
|
#endif
|
||||||
_widget_request_cleanup(wr);
|
_widget_request_cleanup(wr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue