fix operation name
authorJisung Ahn <jcastle.ahn@samsung.com>
Fri, 26 Apr 2013 06:32:20 +0000 (15:32 +0900)
committerJisung Ahn <jcastle.ahn@samsung.com>
Fri, 26 Apr 2013 06:32:20 +0000 (15:32 +0900)
Change-Id: Iaaf7e6aa185c28952b76e4063e4bd6cd737e2cea

feature/src/ivug-ext-ug.c
main/src/view/ivug-main-view-menu.cpp

index 8b79a34..b3fd98a 100755 (executable)
@@ -386,7 +386,7 @@ bool  ivug_ext_launch_email(const char *uri)
                return false;
        }
 
-       ret = service_set_operation(handle, SERVICE_OPERATION_SEND);
+       ret = service_set_operation(handle, "http://tizen.org/appcontrol/operation/send");
        if(ret != SERVICE_ERROR_NONE)
        {
                MSG_IMAGEVIEW_ERROR("service_set_operation failed, %d", ret);
index 0b17791..8d08b03 100755 (executable)
@@ -250,7 +250,7 @@ void _on_share_selected(void *data, Evas_Object *obj, void *event_info)
 
        bool ret = false;
 
-       ret = ivug_ext_launch_default(path, SERVICE_OPERATION_SEND, label, data);
+       ret = ivug_ext_launch_default(path, "http://tizen.org/appcontrol/operation/send", label, data);
 
        /* appsvc failed or ug_create failed */
        if(ret == false)
@@ -1270,7 +1270,7 @@ void on_btn_share_clicked(void *data, Evas_Object *obj, void *event_info)
 
        service_h service;
        service_create(&service);
-       service_set_operation(service, SERVICE_OPERATION_SEND);
+       service_set_operation(service, "http://tizen.org/appcontrol/operation/send");
        service_set_uri(service, mdata->filepath);
        service_foreach_app_matched(service, _share_pkg_cb, (void *)popup);