summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorhyun lee <hyunn.lee@samsung.com>2014-08-08 11:05:48 (GMT)
committerhyun lee <hyunn.lee@samsung.com>2014-08-08 11:30:00 (GMT)
commitcd4546635d418acae793ebc5244246ee7dabc286 (patch)
treeb76ec748d2280ef120fe153421ace4562779a2fa /test
parent91166aa6a30a35d727fcb52ff2899c2fe6c17084 (diff)
downloadshortcut-cd4546635d418acae793ebc5244246ee7dabc286.zip
shortcut-cd4546635d418acae793ebc5244246ee7dabc286.tar.gz
shortcut-cd4546635d418acae793ebc5244246ee7dabc286.tar.bz2
Convert livebox to dynamicbox
Signed-off-by: hyun lee <hyunn.lee@samsung.com>
Diffstat (limited to 'test')
-rwxr-xr-x[-rw-r--r--]test/application.c2
-rwxr-xr-x[-rw-r--r--]test/icon.c16
2 files changed, 9 insertions, 9 deletions
diff --git a/test/application.c b/test/application.c
index 6c1e5f3..5d69981 100644..100755
--- a/test/application.c
+++ b/test/application.c
@@ -32,7 +32,7 @@ static Eina_Bool shortcut_add_cb(void *data)
ret = add_to_home_shortcut("pkgname", "MyName", 0, "/usr/bin/true", "/opt/share/image/what.png", result_cb, NULL);
printf("Client: shortcut_add_to_home returns: %d\n", ret);
- ret = add_to_home_livebox("pkgname", "MyName", 0, "/usr/bin/true", "/opt/share/image/what.png", 1.0f, result_cb, NULL);
+ ret = add_to_home_dynamicbox("pkgname", "MyName", 0, "/usr/bin/true", "/opt/share/image/what.png", 1.0f, result_cb, NULL);
printf("Client: shortcut_add_to_home_with_period returns: %d\n", ret);
return ECORE_CALLBACK_RENEW;
diff --git a/test/icon.c b/test/icon.c
index 3086729..4f1364d 100644..100755
--- a/test/icon.c
+++ b/test/icon.c
@@ -51,14 +51,14 @@ static Eina_Bool test_main(void *data)
snprintf(filename, sizeof(filename), "/opt/usr/share/live_magazine/always/out%d.png", idx);
switch (idx % 7) {
- case 0: type = LIVEBOX_TYPE_1x1; break;
- case 1: type = LIVEBOX_TYPE_2x1; break;
- case 2: type = LIVEBOX_TYPE_2x2; break;
- case 3: type = LIVEBOX_TYPE_4x1; break;
- case 4: type = LIVEBOX_TYPE_4x2; break;
- case 5: type = LIVEBOX_TYPE_4x3; break;
- case 6: type = LIVEBOX_TYPE_4x4; break;
- default: type = LIVEBOX_TYPE_1x1; break;
+ case 0: type = DYNAMICBOX_TYPE_1x1; break;
+ case 1: type = DYNAMICBOX_TYPE_2x1; break;
+ case 2: type = DYNAMICBOX_TYPE_2x2; break;
+ case 3: type = DYNAMICBOX_TYPE_4x1; break;
+ case 4: type = DYNAMICBOX_TYPE_4x2; break;
+ case 5: type = DYNAMICBOX_TYPE_4x3; break;
+ case 6: type = DYNAMICBOX_TYPE_4x4; break;
+ default: type = DYNAMICBOX_TYPE_1x1; break;
}
ret = shortcut_icon_request_send(handle, type, NULL, NULL, filename, result_cb, NULL);