[Elm_Tickernoti] modifed as per gerrit comment.
authorPrince Kr Dubey <prince.dubey@samsung.com>
Wed, 29 Dec 2010 09:25:15 +0000 (14:55 +0530)
committerPrince Kr Dubey <prince.dubey@samsung.com>
Wed, 29 Dec 2010 09:25:15 +0000 (14:55 +0530)
Change-Id: I345821a85d8e8130abecac3285b49a7c3ad1ba50

src/lib/elm_tickernoti.c

index 25c67c4..d6df451 100644 (file)
@@ -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