Fix minor issues 04/45204/1 accepted/tizen/tv/20150804.011709 submit/tizen/20150804.005619
authorjinwoo.shin <jw0227.shin@samsung.com>
Mon, 3 Aug 2015 12:18:25 +0000 (21:18 +0900)
committerjinwoo.shin <jw0227.shin@samsung.com>
Mon, 3 Aug 2015 12:19:05 +0000 (21:19 +0900)
Change-Id: I117372a06953dc7733856ae6576a501b8a5b95c0
Signed-off-by: jinwoo.shin <jw0227.shin@samsung.com>
src/notification_view.c
src/square_view.c

index ebec5bb..3224482 100644 (file)
@@ -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);
index b34788a..8518e0f 100644 (file)
@@ -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,