diff options
author | Jehun Lim <jehun.lim@samsung.com> | 2015-12-22 19:21:36 +0900 |
---|---|---|
committer | Jehun Lim <jehun.lim@samsung.com> | 2015-12-22 19:21:36 +0900 |
commit | 0463b1dea1f37ac058dd900a78e7412be3cde4fb (patch) | |
tree | 11038306108dd6a92676449ca3fb891b53d28e6b | |
parent | fc94dfd0f7ccfd1dd296dc04ee23b61350e5bfe9 (diff) | |
download | air_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.c | 2 | ||||
-rw-r--r-- | src/layout/movie.c | 2 | ||||
-rw-r--r-- | src/layout/music.c | 2 |
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, |