Update accessibility operation
authorSung-jae Park <nicesj.park@samsung.com>
Thu, 10 Oct 2013 09:02:24 +0000 (18:02 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Thu, 10 Oct 2013 09:02:24 +0000 (18:02 +0900)
Change-Id: Ic6ef07eecb1a9941c0234dddcdd1f8ccf28d0085

include/livebox.h
packaging/liblivebox.spec
src/virtual_window.c

index a3b8e12..b1e85a1 100644 (file)
@@ -171,6 +171,19 @@ extern const int LB_SYS_EVENT_MMC_STATUS_CHANGED;
 
 /*!
  * \brief
+ * Set highlight to given part
+ */
+#define LB_DESC_TYPE_ACCESS_OPERATION  "access,operation"
+
+#define LB_DESC_DATA_ACCESS_OPERATION_HL_SET "set,hl"
+#define LB_DESC_DATA_ACCESS_OPERATION_HL_UNSET "unset,hl"
+#define LB_DESC_DATA_ACCESS_OPERATION_HL_NEXT "next,hl"
+#define LB_DESC_DATA_ACCESS_OPERATION_HL_PREV "prev,hl"
+#define LB_DESC_OPTION_ACCESS_HL_LOOP "cycle"
+#define LB_DESC_OPTION_ACCESS_HL_NOLOOP "no,cycle"
+
+/*!
+ * \brief
  * Extra event informatino for livebox_content_event interface function
  */
 #ifndef __PROVIDER_H
index b5486d1..91cc315 100644 (file)
@@ -1,6 +1,6 @@
 Name: liblivebox
 Summary: Library for the development of a livebox 
-Version: 0.4.4
+Version: 0.4.5
 Release: 1
 Group: HomeTF/Livebox
 License: Flora License
index 785facc..26d6d2f 100644 (file)
@@ -115,7 +115,7 @@ static int event_handler_cb(struct livebox_buffer *handler, enum buffer_event ev
                action_info.y = iy;
                ret = elm_access_action(parent_elm, action_type, &action_info);
                if (ret == EINA_TRUE) {
-                       if (!get_highlighted_object(edje)) {
+                       if (!get_highlighted_object(parent_elm)) {
                                ErrPrint("Highlighted object is not found\n");
                                ret = LB_ACCESS_STATUS_ERROR;
                        } else {