summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhome/include/util.h1
-rwxr-xr-xhome/src/add-viewer.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/home/include/util.h b/home/include/util.h
index a7a8c2c..38bdff5 100755
--- a/home/include/util.h
+++ b/home/include/util.h
@@ -145,6 +145,7 @@
#define INDICATOR_UNIT_SIZE 19
#define INDICATOR_UNIT_ANGLE 6.7
#define CLOCK_UNIT_SIZE 22
+#define PADDING_W 43
/* VCONF */
diff --git a/home/src/add-viewer.c b/home/src/add-viewer.c
index 7911820..ab0c596 100755
--- a/home/src/add-viewer.c
+++ b/home/src/add-viewer.c
@@ -210,7 +210,7 @@ cancel:
} else {
eina_list_free(l);
/* TODO: "No content" hide */
- append_padding(container, 46);
+ append_padding(container, PADDING_W);
}
return ECORE_CALLBACK_CANCEL;
@@ -245,7 +245,7 @@ static int reload_list_cb(struct add_viewer_package *package, void *data)
(void)evas_object_data_del(container, "list");
}
- append_padding(container, 46);
+ append_padding(container, PADDING_W);
while (normal_loader_cb(widget_data, container) == ECORE_CALLBACK_RENEW);
children = elm_box_children_get(container);