dear all, hello

datetime items which have format and visibility are retrieved for the
elm_widget_focus_list_next_get();

FYI.. datetime field(item) has type such as YEAR, MONTH, DATE(?), HOUR,
MINUTE, and one more.
and each types have different location according to its format. in
elementary_test, the datetime types has location as following

YEAR(type): 4 (location)
MONTH(type): 0 (location)
DATE(type) 1(location)
HOUR(type): 2(location)
MINUTE(type): 3(location)

then, it comes as below.. (you can check this on the elementary_test()

- Aug 19 2012
- 15 : 20
- Aug 19 15 : 20 2012

the location looks like priority to display the field.

anyhow problem is..
datetime _datetime_items_get() just counts the number of item which have
format and visibility.
and the counting number is used to compare with item location.

in the second case (15:20), the counting number is '2', and datetime just
check YEAR and MONTH whether its location is equal to the counting number.
so.. the 15(HOUR) and 20(MINUTE) cannot be a member of focus_list.

please check the attached patch to resolve this issue and give feedback.
thanks.

cordially,
shinwoo kim.

Attachment: datetime.fix.items.get.diff
Description: Binary data

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to