summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaejin Woo <tt.woo@samsung.com>2016-10-04 14:31:06 +0900
committerTaejin Woo <tt.woo@samsung.com>2016-10-04 15:19:23 +0900
commit5d708f70ba6cb2737e56148e12a86edfe77cc5f0 (patch)
treebf8ec7157d1df840c7240fcb1a3a0b50955f82b9
parentb2cbbd84c2a69ee85eeea90364f9994cf03b7dd5 (diff)
downloadbluetooth-5d708f70ba6cb2737e56148e12a86edfe77cc5f0.tar.gz
bluetooth-5d708f70ba6cb2737e56148e12a86edfe77cc5f0.tar.bz2
bluetooth-5d708f70ba6cb2737e56148e12a86edfe77cc5f0.zip
Change-Id: I00437a5d32af1d31bf5d85ffb41f68b9973be3c1 Signed-off-by: Taejin Woo <tt.woo@samsung.com>
-rw-r--r--src/bt-main-view.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bt-main-view.c b/src/bt-main-view.c
index 28e7085..ae92338 100644
--- a/src/bt-main-view.c
+++ b/src/bt-main-view.c
@@ -470,8 +470,10 @@ static char *__bt_search_title_text_get(void *data, Evas_Object *obj,
static char *__bt_scanning_text_get(void *data, Evas_Object *obj,
const char *part)
{
- retv_if(g_strcmp0(part, "elm.text") != 0, NULL);
- return g_strdup_printf("<align=center>%s</align>", BT_STR_SCANNING);
+ if (g_strcmp0(part, "elm.text") == 0)
+ return g_strdup(BT_STR_SCANNING);
+
+ return NULL;
}
static char *__bt_gl_main_title_label_get(void *data, Evas_Object *obj, const char *part)