[Panel] initialize repeat_events when scrollable is set 57/118157/2
authorSungtaek Hong <sth253.hong@samsung.com>
Thu, 9 Mar 2017 05:05:13 +0000 (14:05 +0900)
committerSungtaek Hong <sth253.hong@samsung.com>
Fri, 10 Mar 2017 04:52:59 +0000 (20:52 -0800)
 - In Non-scrollable panel, repeat_events is changed
   during _panel_toggle, while scrollable panel is not.
 - elm_panel_scrollable_set() should initialize repeat_events

@tizen_fix

Change-Id: I336dbd14313859aa935d9fa7ad58ee6846127de6
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
src/lib/elm_panel.c

index bd9ca03e157f62a3343ecc5196fdd1fcc6c8162f..19a51deaeae5ab177767ed438bdf8b48e6afb47f 100644 (file)
@@ -1484,6 +1484,9 @@ _elm_panel_scrollable_set(Eo *obj, Elm_Panel_Data *sd, Eina_Bool scrollable)
 
    if (scrollable)
      {
+        // TIZEN_ONLY(20170309): initialize repeat_events when scrollable is set.
+        evas_object_repeat_events_set(obj, EINA_FALSE);
+        //
         elm_layout_content_unset(obj, "elm.swallow.content");
 
         elm_widget_resize_object_set(obj, NULL, EINA_TRUE);