summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJehun Lim <jehun.lim@samsung.com>2015-12-22 19:21:36 +0900
committerJehun Lim <jehun.lim@samsung.com>2015-12-22 19:21:36 +0900
commit0463b1dea1f37ac058dd900a78e7412be3cde4fb (patch)
tree11038306108dd6a92676449ca3fb891b53d28e6b
parentfc94dfd0f7ccfd1dd296dc04ee23b61350e5bfe9 (diff)
downloadair_mediahub-0463b1dea1f37ac058dd900a78e7412be3cde4fb.tar.gz
air_mediahub-0463b1dea1f37ac058dd900a78e7412be3cde4fb.tar.bz2
air_mediahub-0463b1dea1f37ac058dd900a78e7412be3cde4fb.zip
base: hide "no contents" text as default
Change-Id: I10280208eb5366c47abcc24d26c40bdfef11e3c4 Signed-off-by: Jehun Lim <jehun.lim@samsung.com>
-rw-r--r--src/layout/gallery.c2
-rw-r--r--src/layout/movie.c2
-rw-r--r--src/layout/music.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/src/layout/gallery.c b/src/layout/gallery.c
index 2d80734..d1fba82 100644
--- a/src/layout/gallery.c
+++ b/src/layout/gallery.c
@@ -145,6 +145,8 @@ static void _update_content_list(struct _priv *priv)
if (priv->media_list)
return;
+ elm_object_part_text_set(priv->layout, PART_NOCONTENT, "");
+
priv->gdata = get_gallery_grid_data(priv->view_mode);
if (!priv->gdata) {
elm_object_part_text_set(priv->layout,
diff --git a/src/layout/movie.c b/src/layout/movie.c
index a70376c..d242db9 100644
--- a/src/layout/movie.c
+++ b/src/layout/movie.c
@@ -400,6 +400,8 @@ static void _update_content_list(struct _priv *priv)
if (priv->media_list)
return;
+ elm_object_part_text_set(priv->layout, PART_NOCONTENT, "");
+
priv->gdata = get_movie_grid_data(priv->view_mode);
if (!priv->gdata) {
elm_object_part_text_set(priv->layout,
diff --git a/src/layout/music.c b/src/layout/music.c
index 4234f9b..7e68bd2 100644
--- a/src/layout/music.c
+++ b/src/layout/music.c
@@ -347,6 +347,8 @@ static void _update_content_list(struct _priv *priv)
if (priv->media_list)
return;
+ elm_object_part_text_set(priv->layout, PART_NOCONTENT, "");
+
priv->gdata = get_music_grid_data(priv->view_mode);
if (!priv->gdata) {
elm_object_part_text_set(priv->layout,