hermet pushed a commit to branch master.

commit ad036e949071d9dc8b5eaf57725b688c689a2548
Author: ChunEon Park <[email protected]>
Date:   Mon Jun 10 13:33:00 2013 +0900

    elementary/conformant - remove the keyboard area in the conformant if the 
keyboard state is off.
---
 ChangeLog             | 4 ++++
 NEWS                  | 1 +
 src/lib/elm_conform.c | 2 ++
 3 files changed, 7 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index b123bc8..97e8c70 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1398,3 +1398,7 @@
 2013-06-07 Thiep Ha
 
         * Add magnifier to entry.
+
+2013-06-10 ChunEon Park (Hermet)
+
+        * Remove the keyboard area in the conformant if the keyboard state is 
off.
diff --git a/NEWS b/NEWS
index 4757161..d07bc2e 100644
--- a/NEWS
+++ b/NEWS
@@ -240,6 +240,7 @@ Fixes:
    * Fix elm_colorselector does not update color bar when picker changed color.
    * Fix navifame to recover the focus for the prev page when top item is 
deleted.
    * Up/down step of hour decimal of elm_clock is changed to 12 not to touch 
hour unit at editing mode.
+   * Remove the keyboard area in the conformant if the keyboard state is off.
 
 Removals:
 
diff --git a/src/lib/elm_conform.c b/src/lib/elm_conform.c
index 0d95b3b..1a2a6d0 100644
--- a/src/lib/elm_conform.c
+++ b/src/lib/elm_conform.c
@@ -779,6 +779,8 @@ _virtualkeypad_state_change(Evas_Object *obj, 
Ecore_X_Event_Window_Property *ev)
    if (state == ECORE_X_VIRTUAL_KEYBOARD_STATE_OFF)
      {
         DBG("[KEYPAD]:ECORE_X_VIRTUAL_KEYBOARD_STATE_OFF");
+        evas_object_size_hint_min_set(sd->virtualkeypad, -1, 0);
+        evas_object_size_hint_max_set(sd->virtualkeypad, -1, 0);
         _conformant_part_sizing_eval(obj, ELM_CONFORMANT_VIRTUAL_KEYPAD_PART);
         elm_widget_display_mode_set(obj, EVAS_DISPLAY_MODE_NONE);
         evas_object_smart_callback_call(obj, SIG_VIRTUALKEYPAD_STATE_OFF, 
NULL);

-- 

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j

Reply via email to