[dali_1.2.35] Merge branch 'devel/master' 05/125005/1
authorUmar <m.umar@partner.samsung.com>
Thu, 13 Apr 2017 09:26:32 +0000 (10:26 +0100)
committerUmar <m.umar@partner.samsung.com>
Thu, 13 Apr 2017 09:26:32 +0000 (10:26 +0100)
Change-Id: I884ba8d0ca9f9d530ee66f778b4519838d652fde

examples/popup/popup-example.cpp
examples/size-negotiation/size-negotiation-example.cpp
packaging/com.samsung.dali-demo.spec

index a2427ea..49a15c9 100644 (file)
@@ -20,7 +20,6 @@
 #include <dali-toolkit/dali-toolkit.h>
 #include <dali-toolkit/devel-api/controls/buttons/button-devel.h>
 #include <dali-toolkit/devel-api/controls/popup/popup.h>
-#include <dali-toolkit/devel-api/focus-manager/keyinput-focus-manager.h>
 
 using namespace Dali;
 
@@ -117,11 +116,7 @@ public:
     Stage stage = Stage::GetCurrent();
 
     // Respond to key events if not handled
-    Toolkit::KeyInputFocusManager keyInputFocusManager = Toolkit::KeyInputFocusManager::Get();
-    if( keyInputFocusManager )
-    {
-      keyInputFocusManager.UnhandledKeyEventSignal().Connect( this, &PopupExample::OnKeyEvent );
-    }
+    stage.KeyEventSignal().Connect( this, &PopupExample::OnKeyEvent );
 
     // Creates a default view with a default tool bar.
     // The view is added to the stage.
index 7d2962a..4de690c 100644 (file)
@@ -114,11 +114,7 @@ public:
     Stage stage = Stage::GetCurrent();
 
     // Respond to key events if not handled
-    Toolkit::KeyInputFocusManager keyInputFocusManager = Toolkit::KeyInputFocusManager::Get();
-    if( keyInputFocusManager )
-    {
-      keyInputFocusManager.UnhandledKeyEventSignal().Connect(this, &SizeNegotiationController::OnKeyEvent);
-    }
+    stage.KeyEventSignal().Connect(this, &SizeNegotiationController::OnKeyEvent);
 
     // Creates a default view with a default tool bar.
     // The view is added to the stage.
index 80a4734..d0e24cc 100755 (executable)
@@ -2,7 +2,7 @@
 
 Name:       com.samsung.dali-demo
 Summary:    The OpenGLES Canvas Core Demo
-Version:    1.2.34
+Version:    1.2.35
 Release:    1
 Group:      System/Libraries
 License:    Apache-2.0