summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/dropbox_menus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dropbox/src/dropbox_menus.cpp')
-rw-r--r--plugins/Dropbox/src/dropbox_menus.cpp17
1 files changed, 12 insertions, 5 deletions
diff --git a/plugins/Dropbox/src/dropbox_menus.cpp b/plugins/Dropbox/src/dropbox_menus.cpp
index 7ae155bcf5..aff00f4187 100644
--- a/plugins/Dropbox/src/dropbox_menus.cpp
+++ b/plugins/Dropbox/src/dropbox_menus.cpp
@@ -8,10 +8,17 @@ void CDropbox::InitMenus()
mi.cbSize = sizeof(CLISTMENUITEM);
mi.flags = CMIF_TCHAR;
- mi.pszService = MODULE"/RequeriedAccess";
- mi.ptszName = LPGENT("Requeried access");
- mi.position = -201001000 + CMI_API_ACCESS_REQUERIED;
+ /*mi.pszService = MODULE"/SendFilesToDropbox";
+ mi.ptszName = LPGENT("Send files to Dropbox");
+ mi.position = -201000000 + CMI_SEND_FILES;
+ mi.icolibItem = LoadSkinnedIconHandle(SKINICON_EVENT_FILE);
+ ContactMenuItems[CMI_SEND_FILES] = Menu_AddContactMenuItem(&mi);
+ CreateServiceFunction(mi.pszService, SendFilesToDropbox);*/
+
+ mi.pszService = MODULE"/RequestAuthorization";
+ mi.ptszName = LPGENT("Request Authorization");
+ mi.position = -201001000 + CMI_API_REQUEST_AUTH;
mi.icolibItem = LoadSkinnedIconHandle(SKINICON_AUTH_REQUEST);
- ContactMenuItems[CMI_API_ACCESS_REQUERIED] = Menu_AddContactMenuItem(&mi);
- CreateServiceFunction(mi.pszService, RequeriedApiAccess);
+ ContactMenuItems[CMI_API_REQUEST_AUTH] = Menu_AddContactMenuItem(&mi);
+ CreateServiceFunction(mi.pszService, RequestApiAuthorization);
} \ No newline at end of file