From 835c6e9d3447139291458129c84451d112306969 Mon Sep 17 00:00:00 2001 From: Jihoon Kim Date: Mon, 29 Feb 2016 14:55:50 +0900 Subject: [PATCH] Show indicator in only mobile profile Change-Id: I7dc1e1a9f8a2a32d673f15dfabdb03b05af6e070 --- src/option.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/option.cpp b/src/option.cpp index cb942a8..5671e77 100644 --- a/src/option.cpp +++ b/src/option.cpp @@ -917,8 +917,12 @@ option_window_created(Evas_Object *window, SCLOptionWindowType type) set_option_values(); option_elements[type].option_window = window; +#ifdef _MOBILE elm_win_indicator_mode_set(window, ELM_WIN_INDICATOR_SHOW); elm_win_indicator_opacity_set(window, ELM_WIN_INDICATOR_OPAQUE); +#else + elm_win_indicator_mode_set(window, ELM_WIN_INDICATOR_HIDE); +#endif Evas_Object *conformant = elm_conformant_add(window); evas_object_size_hint_weight_set(conformant, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); @@ -927,11 +931,13 @@ option_window_created(Evas_Object *window, SCLOptionWindowType type) elm_win_conformant_set(window, EINA_TRUE); evas_object_show(conformant); +#ifdef _MOBILE /* Create header bg */ Evas_Object *bg = elm_bg_add(conformant); elm_object_style_set(bg, "indicator/headerbg"); elm_object_part_content_set(conformant, "elm.swallow.indicator_bg", bg); evas_object_show(bg); +#endif Evas_Object *naviframe = elm_naviframe_add(conformant); option_elements[type].naviframe = naviframe; -- 2.7.4