summaryrefslogtreecommitdiff
path: root/daemon/main.c
diff options
context:
space:
mode:
authorEunyoung Lee <ey928.lee@samsung.com>2016-01-06 17:37:16 +0900
committerEunyoung Lee <ey928.lee@samsung.com>2016-01-06 17:37:16 +0900
commit69788126ff44ec62b0ab5cde297b1817db617f26 (patch)
tree6b30dbd4a7e2ad1cd27202f2990f3573945b564f /daemon/main.c
parentb5f70e132a8084ffd4e8420eedee5dc15207ba70 (diff)
downloadindicator-win-69788126ff44ec62b0ab5cde297b1817db617f26.tar.gz
indicator-win-69788126ff44ec62b0ab5cde297b1817db617f26.tar.bz2
indicator-win-69788126ff44ec62b0ab5cde297b1817db617f26.zip
Change-Id: I05e4c65d62a4e546f5c4df031027676b610a7c55
Diffstat (limited to 'daemon/main.c')
-rw-r--r--daemon/main.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/daemon/main.c b/daemon/main.c
index 9aab38d..188f349 100644
--- a/daemon/main.c
+++ b/daemon/main.c
@@ -702,6 +702,7 @@ static Eina_Bool _indicator_listen_timer_cb(void* data)
}
}
+#define INDICATOR_HEIGHT_TM1 52
static void _create_window(struct appdata *ad)
{
Evas_Object *dummy_win = NULL;
@@ -738,11 +739,13 @@ static void _create_window(struct appdata *ad)
evas_object_size_hint_fill_set(ad->win.win , EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(ad->win.win , 1.0, 0.5);
+ evas_object_resize(ad->win.win, ad->win.port_w, INDICATOR_HEIGHT_TM1);
+ _D("w,h(%d,%d)", ad->win.port_w, INDICATOR_HEIGHT_TM1);
+
evas_object_show(ad->win.win);
}
-#define INDICATOR_HEIGHT_TM1 52
static void _create_base_gui(void* data)
{
struct appdata *ad = data;
@@ -763,13 +766,11 @@ static void _create_base_gui(void* data)
ad->win.w = ad->win.port_w;
ad->win.evas = evas_object_evas_get(ad->win.win);
- //_D("win_size = Original(%d, %d), Scaled(%lf, %lf)", ad->win.port_w, ad->win.h, ELM_SCALE_SIZE(ad->win.port_w), ELM_SCALE_SIZE(ad->win.h));
+ _D("win_size = Original(%d, %d), Scaled(%lf, %lf)", ad->win.port_w, ad->win.h, ELM_SCALE_SIZE(ad->win.port_w), ELM_SCALE_SIZE(ad->win.h));
_create_layout(ad, EDJ_FILE, GRP_NAME);
-
_create_box(&(ad->win));
- ad->win.data = data;
#if 0 /* For test */
Evas_Object *rect = evas_object_rectangle_add(ad->win.evas);
@@ -779,6 +780,7 @@ static void _create_base_gui(void* data)
evas_object_show(rect);
evas_object_layer_set(rect, -256);
#endif
+ ad->win.data = data;
return;
}