summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Michael <cpmichael1@comcast.net>2011-07-07 22:54:50 +0000
committerChristopher Michael <cpmichael1@comcast.net>2011-07-07 22:54:50 +0000
commit9c2ac959af2921cb9f98e6eebbbbd3a0f2d31213 (patch)
tree0fb65ccfb0676e71f9f394f3fef2d412927b7821
parent05cf6626b23c2d0604e3658a9325dec4ebb518aa (diff)
Empower: Set main elm window to use vkbd if available.
SVN revision: 61134
-rw-r--r--src/bin/elm/empower_gui_elm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/elm/empower_gui_elm.c b/src/bin/elm/empower_gui_elm.c
index 1f3b560..f192b2d 100644
--- a/src/bin/elm/empower_gui_elm.c
+++ b/src/bin/elm/empower_gui_elm.c
@@ -28,6 +28,7 @@ void setup_window()
28 elm_win_autodel_set(win, 1); 28 elm_win_autodel_set(win, 1);
29 elm_win_alpha_set(win,1); 29 elm_win_alpha_set(win,1);
30 elm_win_fullscreen_set(win, 1); 30 elm_win_fullscreen_set(win, 1);
31 elm_win_keyboard_mode_set(win, ELM_WIN_KEYBOARD_ON);
31 evas_object_event_callback_add(win, EVAS_CALLBACK_SHOW, win_show, win); 32 evas_object_event_callback_add(win, EVAS_CALLBACK_SHOW, win_show, win);
32 if(evas_object_key_grab(win, "Escape", 0, 0, 1)) 33 if(evas_object_key_grab(win, "Escape", 0, 0, 1))
33 evas_object_event_callback_add(win, EVAS_CALLBACK_KEY_DOWN, key_down_cb, NULL); 34 evas_object_event_callback_add(win, EVAS_CALLBACK_KEY_DOWN, key_down_cb, NULL);
@@ -70,7 +71,7 @@ void setup_window()
70 evas_object_size_hint_align_set(scrollerframe2, -1.0, 0.0); 71 evas_object_size_hint_align_set(scrollerframe2, -1.0, 0.0);
71 elm_object_style_set(scrollerframe2, "pad_small"); 72 elm_object_style_set(scrollerframe2, "pad_small");
72 elm_frame_content_set(scrollerframe2, exec); 73 elm_frame_content_set(scrollerframe2, exec);
73 74
74 execscroller = elm_scroller_add(win); 75 execscroller = elm_scroller_add(win);
75 evas_object_size_hint_weight_set(execscroller, 1.0, 1.0); 76 evas_object_size_hint_weight_set(execscroller, 1.0, 1.0);
76 evas_object_size_hint_align_set(execscroller, -1.0, 1.0); 77 evas_object_size_hint_align_set(execscroller, -1.0, 1.0);