summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSung-jae Park <nicesj.park@samsung.com>2012-07-17 14:28:36 +0900
committerSung-jae Park <nicesj.park@samsung.com>2012-07-17 14:38:44 +0900
commitc91afa9b7bacf83c2a91ab007f06a79268c29c91 (patch)
treea3622b3301e393ccdb58c9fd994ca3a727d119bc /test
parentc0af216c7c9e8094124ce7c3c043ff15a5a121f6 (diff)
downloadshortcut-c91afa9b7bacf83c2a91ab007f06a79268c29c91.tar.gz
shortcut-c91afa9b7bacf83c2a91ab007f06a79268c29c91.tar.bz2
shortcut-c91afa9b7bacf83c2a91ab007f06a79268c29c91.zip
Add icon handling codes
Change-Id: I2ec5911b672b3f3a811546a4865fc039962d645a
Diffstat (limited to 'test')
-rw-r--r--test/application.c4
-rw-r--r--test/shortcut.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/test/application.c b/test/application.c
index 3680419..b1cff93 100644
--- a/test/application.c
+++ b/test/application.c
@@ -29,10 +29,10 @@ static Eina_Bool shortcut_add_cb(void *data)
{
int ret;
- ret = shortcut_add_to_home("pkgname", "MyName", 0, "/usr/bin/true", "/opt/share/image/what.png", result_cb, NULL);
+ 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 = shortcut_add_to_home_with_period("pkgname", "MyName", 0, "/usr/bin/true", "/opt/share/image/what.png", 1.0f, result_cb, NULL);
+ ret = add_to_home_livebox("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/shortcut.c b/test/shortcut.c
index 09cc962..b7f9a3e 100644
--- a/test/shortcut.c
+++ b/test/shortcut.c
@@ -18,9 +18,9 @@
#include <Elementary.h>
#include <shortcut.h>
-static int shortcut_list_cb(const char *pkgname, const char *name, const char *param, void *data)
+static int shortcut_list_cb(const char *pkgname, const char *icon, const char *name, const char *param, void *data)
{
- printf("pkgname[%s] name[%s] param[%s]\n", pkgname, name, param);
+ printf("pkgname[%s] icon[%s], name[%s] param[%s]\n", pkgname, icon, name, param);
return 0;
}