summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjinwoo.shin <jw0227.shin@samsung.com>2015-08-03 21:18:25 +0900
committerjinwoo.shin <jw0227.shin@samsung.com>2015-08-03 21:19:05 +0900
commit67aa722c93d712cab61743f5017e0a866d637d49 (patch)
treeb309618d3ca0f544c9e135ef1d44552fd87b3f67
parent04041249787ff63b0aed9ce0906cc80964d0c481 (diff)
downloadair_infosquare-67aa722c93d712cab61743f5017e0a866d637d49.tar.gz
air_infosquare-67aa722c93d712cab61743f5017e0a866d637d49.tar.bz2
air_infosquare-67aa722c93d712cab61743f5017e0a866d637d49.zip
Change-Id: I117372a06953dc7733856ae6576a501b8a5b95c0 Signed-off-by: jinwoo.shin <jw0227.shin@samsung.com>
-rw-r--r--src/notification_view.c1
-rw-r--r--src/square_view.c8
2 files changed, 5 insertions, 4 deletions
diff --git a/src/notification_view.c b/src/notification_view.c
index ebec5bb..3224482 100644
--- a/src/notification_view.c
+++ b/src/notification_view.c
@@ -400,6 +400,7 @@ static Evas_Object *_create(Evas_Object *win, void *data)
elm_object_content_set(priv->base, scroller);
elm_scroller_step_size_set(scroller,
NOTIFICATION_CATEGORY_STEP_SIZE, 0);
+ elm_object_focus_allow_set(scroller, EINA_FALSE);
priv->category_container = elm_box_add(scroller);
elm_object_content_set(scroller, priv->category_container);
diff --git a/src/square_view.c b/src/square_view.c
index b34788a..8518e0f 100644
--- a/src/square_view.c
+++ b/src/square_view.c
@@ -79,7 +79,8 @@ static void _print_user_message(struct _priv *priv)
passwd = getpwuid(uid);
if (passwd) {
snprintf(buf, sizeof(buf),
- STR_DEFAULT_USER_MESSAGE, passwd->pw_name);
+ STR_DEFAULT_USER_MESSAGE,
+ passwd->pw_name);
message = buf;
}
}
@@ -391,9 +392,8 @@ static void _base_key_up_cb(int id, void *data, Evas *e, Evas_Object *obj,
Evas_Event_Key_Up *ev)
{
if (!strcmp(ev->keyname, KEY_BACK) ||
- !strcmp(ev->keyname, KEY_BACK_REMOTE)) {
- ui_app_exit();
- }
+ !strcmp(ev->keyname, KEY_BACK_REMOTE))
+ ui_app_exit();
}
static void _button_key_up_cb(int id, void *data, Evas *e,