summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Juyung Seo <seojuyung2@gmail.com>2014-08-21 01:19:11 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-08-21 01:19:17 +0900
commita2afbe91e851f3d943736d2a1aae9e2721d1a0d5 (patch)
tree1f6e9cfa8f4779334a96c9d129e29395d2e4a3ca
parent0ca13c33cd1e89c85793b1d3f5245d86459e051c (diff)
notify: changed internal formatting for readability.
-rw-r--r--src/lib/elm_notify.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/lib/elm_notify.c b/src/lib/elm_notify.c
index 62aa361ad..75ed4c288 100644
--- a/src/lib/elm_notify.c
+++ b/src/lib/elm_notify.c
@@ -56,12 +56,15 @@ _notify_theme_apply(Evas_Object *obj)
56 else 56 else
57 position = "bottom"; 57 position = "bottom";
58 } 58 }
59 else if (ax <= 0.3)
60 position = "left";
61 else if (ax >= 0.7)
62 position = "right";
63 else 59 else
64 position = "center"; 60 {
61 if (ax <= 0.3)
62 position = "left";
63 else if (ax >= 0.7)
64 position = "right";
65 else
66 position = "center";
67 }
65 68
66 elm_widget_theme_object_set(obj, sd->notify, "notify", position, style); 69 elm_widget_theme_object_set(obj, sd->notify, "notify", position, style);
67} 70}