elm_panel: add "elm,state,hold" signal in _drawer_close() 00/167500/2
authorJaeun Choi <jaeun12.choi@samsung.com>
Thu, 18 Jan 2018 04:43:34 +0000 (13:43 +0900)
committerJaeun Choi <jaeun12.choi@samsung.com>
Thu, 18 Jan 2018 05:40:18 +0000 (05:40 +0000)
@tizen_only

Change-Id: I4cc2de3fad9775dd7526db354cafd392923c16b8

src/lib/elm_panel.c

index 174ae07..4411524 100644 (file)
@@ -467,6 +467,9 @@ _drawer_close(Evas_Object *obj, Evas_Coord w, Evas_Coord h, Eina_Bool anim)
                      (ELM_SCROLLER_MOVEMENT_BLOCK_VERTICAL));
              sd->freeze = EINA_TRUE;
              elm_layout_signal_emit(sd->scr_ly, "elm,state,content,hidden", "elm");
+             // TIZEN_ONLY(20180118): emit signal when panel is hidden
+             elm_object_signal_emit(obj, "elm,state,hold", "elm");
+             //
           }
 
         return;