summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJuWan Kim <juwan.kim@samsung.com>2015-02-26 15:56:23 +0900
committerJuWan Kim <juwan.kim@samsung.com>2015-02-26 15:56:23 +0900
commitdc77363ea103313afe22bd176051615816b244ba (patch)
tree3b58c115ddd6ddca058be7b468265e7ad63c4fd1 /src
parent6eba5b06a33e94b0c4cf91177d550eddbff0d7f9 (diff)
downloadsettings-dc77363ea103313afe22bd176051615816b244ba.tar.gz
settings-dc77363ea103313afe22bd176051615816b244ba.tar.bz2
settings-dc77363ea103313afe22bd176051615816b244ba.zip
Change-Id: Ic6c7c882b75741513b53fdca4d412c51649f0696 Signed-off-by: JuWan Kim <juwan.kim@samsung.com>
Diffstat (limited to 'src')
-rw-r--r--src/view_maincatalog.c6
-rw-r--r--src/view_need_pwd.c2
-rw-r--r--src/view_pwd_popup.c2
-rw-r--r--src/view_sublist.c2
-rw-r--r--src/view_system_clock.c2
5 files changed, 6 insertions, 8 deletions
diff --git a/src/view_maincatalog.c b/src/view_maincatalog.c
index 044dd1c..2fda8e7 100644
--- a/src/view_maincatalog.c
+++ b/src/view_maincatalog.c
@@ -117,8 +117,7 @@ static void _subitem_key_pressed_cb(void *data, Evas *e,
priv = data;
- if (!strcmp(ev->keyname, KEY_LEFT) ||
- !strcmp(ev->keyname, KEY_BACK)) {
+ if (!strcmp(ev->keyname, KEY_LEFT) || !strcmp(ev->keyname, KEY_BACK) || !strcmp(ev->keyname, KEY_BACK_REMOTE)) {
pb = evas_object_data_get(obj, PROGRESS_BAR_DATA);
if (pb)
elm_object_signal_emit(pb,
@@ -1343,8 +1342,7 @@ static void _main_setting_key_pressed_cb(void *data, Evas *e,
_draw_subitems(priv, name);
} else if (!strcmp(ev->keyname, KEY_RIGHT)) {
_move_from_main_item_to_subitem(priv, obj);
- } else if (!strcmp(ev->keyname, KEY_EXIT) ||
- !strcmp(ev->keyname, KEY_BACK)) {
+ } else if (!strcmp(ev->keyname, KEY_EXIT) || !strcmp(ev->keyname, KEY_BACK) || !strcmp(ev->keyname, KEY_BACK_REMOTE)) {
app_efl_exit();
}
}
diff --git a/src/view_need_pwd.c b/src/view_need_pwd.c
index 610b9a7..ca484a6 100644
--- a/src/view_need_pwd.c
+++ b/src/view_need_pwd.c
@@ -309,7 +309,7 @@ static void _key_down_cb(void *priv, Evas *e, Evas_Object *obj,
if (btn_num == -1)
return;
- if (!strncmp(keyname, KEY_BACK, strlen(keyname))) {
+ if (!strncmp(keyname, KEY_BACK, strlen(keyname)) || !strncmp(keyname, KEY_BACK_REMOTE, strlen(keyname))) {
settingmgr_view_pop(data->mgr);
} else if (!strncmp(keyname, KEY_DOWN, strlen(keyname))) {
elm_object_focus_set(data->cancel_btn, EINA_TRUE);
diff --git a/src/view_pwd_popup.c b/src/view_pwd_popup.c
index 0ac8192..4c60f04 100644
--- a/src/view_pwd_popup.c
+++ b/src/view_pwd_popup.c
@@ -484,7 +484,7 @@ static void _entry_keypress_cb(void *priv, Evas *e,
}
}
- if (!strncmp(keyname, KEY_BACK, strlen(keyname))) {
+ if (!strncmp(keyname, KEY_BACK, strlen(keyname)) || !strncmp(keyname, KEY_BACK_REMOTE, strlen(keyname))) {
settingmgr_view_pop(data->mgr);
} else if (!strncmp(keyname, KEY_DOWN, strlen(keyname))) {
elm_object_focus_set(data->cancel_btn, EINA_TRUE);
diff --git a/src/view_sublist.c b/src/view_sublist.c
index 6ace773..79ab5b9 100644
--- a/src/view_sublist.c
+++ b/src/view_sublist.c
@@ -373,7 +373,7 @@ static void _subitem_key_pressed_cb(void *data, Evas *e,
ev = ei;
priv = data;
- if (!strcmp(ev->keyname, KEY_BACK))
+ if (!strcmp(ev->keyname, KEY_BACK) || !strcmp(ev->keyname, KEY_BACK_REMOTE))
_exit_view(priv);
}
diff --git a/src/view_system_clock.c b/src/view_system_clock.c
index b3a1628..d43c344 100644
--- a/src/view_system_clock.c
+++ b/src/view_system_clock.c
@@ -344,7 +344,7 @@ static void _subitem_keypress_cb(void *priv, Evas *e,
if (!ev->keyname)
return;
- if (!strncmp(ev->keyname, KEY_BACK, BUF_SIZE))
+ if (!strncmp(ev->keyname, KEY_BACK, BUF_SIZE) || !strncmp(ev->keyname, KEY_BACK_REMOTE, BUF_SIZE))
_exit_view(data);
}