hermet pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=bf8e394d67079ba3959779e2cfbce0bdf23d4244

commit bf8e394d67079ba3959779e2cfbce0bdf23d4244
Author: ChunEon Park <[email protected]>
Date:   Thu Aug 21 20:09:58 2014 +0900

    Revert "notify: changed internal formatting for readability."
    
    This reverts commit a2afbe91e851f3d943736d2a1aae9e2721d1a0d5.
    
    definitely this will break compatibility.
    and as i mentioned, we should prevent as possible that
    until there are other methods.
---
 src/lib/elm_notify.c | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/src/lib/elm_notify.c b/src/lib/elm_notify.c
index 75ed4c2..62aa361 100644
--- a/src/lib/elm_notify.c
+++ b/src/lib/elm_notify.c
@@ -56,15 +56,12 @@ _notify_theme_apply(Evas_Object *obj)
         else
           position = "bottom";
      }
+   else if (ax <= 0.3)
+     position = "left";
+   else if (ax >= 0.7)
+     position = "right";
    else
-     {
-        if (ax <= 0.3)
-          position = "left";
-        else if (ax >= 0.7)
-          position = "right";
-        else
-          position = "center";
-     }
+     position = "center";
 
    elm_widget_theme_object_set(obj, sd->notify, "notify", position, style);
 }

-- 


Reply via email to