From: Prince Kr Dubey Date: Wed, 29 Dec 2010 09:25:15 +0000 (+0530) Subject: [Elm_Tickernoti] modifed as per gerrit comment. X-Git-Tag: REL_I9200_20110603-1~542 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fda4725fc4137da17ebe8418747f7a918e65c8a1;p=framework%2Fuifw%2Felementary.git [Elm_Tickernoti] modifed as per gerrit comment. Change-Id: I345821a85d8e8130abecac3285b49a7c3ad1ba50 --- diff --git a/src/lib/elm_tickernoti.c b/src/lib/elm_tickernoti.c index 25c67c4..d6df451 100644 --- a/src/lib/elm_tickernoti.c +++ b/src/lib/elm_tickernoti.c @@ -101,20 +101,16 @@ _make_notification_window (Evas_Object *obj) /* elm_win_xwindow_get() must call after elm_win_alpha_set() */ xwin = elm_win_xwindow_get (obj); ecore_x_netwm_window_type_set (xwin, ECORE_X_WINDOW_TYPE_NOTIFICATION); - if (wd->mode == ELM_TICKERNOTI_DEFAULT) - { - ecore_x_icccm_hints_set(xwin, 0, ECORE_X_WINDOW_STATE_HINT_NONE, 0, 0, 0, 0, 0); + ecore_x_icccm_hints_set(xwin, 0, ECORE_X_WINDOW_STATE_HINT_NONE, 0, 0, 0, 0, 0); - /* Create atom for notification level */ - _notification_level_atom = ecore_x_atom_get ("_E_ILLUME_NOTIFICATION_LEVEL"); + /* Create atom for notification level */ + _notification_level_atom = ecore_x_atom_get ("_E_ILLUME_NOTIFICATION_LEVEL"); - /* HIGH:150, NORMAL:100, LOW:50 */ - level = 100; - - /* Set notification level of the window */ - ecore_x_window_prop_property_set (xwin, _notification_level_atom, ECORE_X_ATOM_CARDINAL, 32, &level, 1); - } + /* HIGH:150, NORMAL:100, LOW:50 */ + level = 100; + /* Set notification level of the window */ + ecore_x_window_prop_property_set (xwin, _notification_level_atom, ECORE_X_ATOM_CARDINAL, 32, &level, 1); } #endif