seoz pushed a commit to branch master.

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

commit a2afbe91e851f3d943736d2a1aae9e2721d1a0d5
Author: Daniel Juyung Seo <[email protected]>
Date:   Thu Aug 21 01:19:11 2014 +0900

    notify: changed internal formatting for readability.
---
 src/lib/elm_notify.c | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

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

-- 


Reply via email to