summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJehun Lim <jehun.lim@samsung.com>2015-12-08 12:40:27 (GMT)
committerJehun Lim <jehun.lim@samsung.com>2015-12-08 12:40:27 (GMT)
commit07ac2555104e8a5a8e46a63e730a0fa8dfdba605 (patch)
tree227a62b3c7b08e527e62a651d0cd32a13adbe399
parent1a5a0f308ea0bf0946c1c9c5085dc4905f55646d (diff)
downloadair_mediahub-07ac2555104e8a5a8e46a63e730a0fa8dfdba605.zip
air_mediahub-07ac2555104e8a5a8e46a63e730a0fa8dfdba605.tar.gz
air_mediahub-07ac2555104e8a5a8e46a63e730a0fa8dfdba605.tar.bz2
base: disable source buttonrefs/changes/61/53661/1
Change-Id: Icadc966c01a5925770c25d07dd01acd74494058e Signed-off-by: Jehun Lim <jehun.lim@samsung.com>
-rw-r--r--src/view/base.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/view/base.c b/src/view/base.c
index 38db48c..24ec536 100644
--- a/src/view/base.c
+++ b/src/view/base.c
@@ -722,11 +722,13 @@ static bool _draw_source_btn(struct _priv *priv)
elm_object_part_content_set(priv->base, PART_BASE_SOURCE, btn);
- priv->source_btn = btn;
-
elm_object_focus_next_object_set(btn, priv->view_btn, ELM_FOCUS_LEFT);
elm_object_focus_next_object_set(priv->view_btn, btn, ELM_FOCUS_RIGHT);
+ elm_object_disabled_set(btn, EINA_TRUE);
+
+ priv->source_btn = btn;
+
return true;
}