From: Enlightenment S. <no-...@en...> - 2010-11-30 12:59:17
|
Log: elementary: Bugfix: Elm_Fileselector returns parent directory in folder select mode Author: acidx Date: 2010-11-30 04:59:08 -0800 (Tue, 30 Nov 2010) New Revision: 55085 Trac: http://trac.enlightenment.org/e/changeset/55085 Modified: trunk/TMP/st/elementary/src/lib/elc_fileselector.c Modified: trunk/TMP/st/elementary/src/lib/elc_fileselector.c =================================================================== --- trunk/TMP/st/elementary/src/lib/elc_fileselector.c 2010-11-30 12:59:05 UTC (rev 55084) +++ trunk/TMP/st/elementary/src/lib/elc_fileselector.c 2010-11-30 12:59:08 UTC (rev 55085) @@ -232,7 +232,7 @@ wd = elm_widget_data_get(sd->fs); path = sd->path; - if (ecore_file_is_dir(path)) + if ((!wd->only_folder) && ecore_file_is_dir(path)) { if (wd->expand) { |