summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/dropbox_menus.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2014-02-21 19:37:00 +0000
committerAlexander Lantsev <aunsane@gmail.com>2014-02-21 19:37:00 +0000
commit9fbb540928c2584128bdd6361d60ee57f315a0f6 (patch)
treec4287ad64de116771179d5e240b8d4133caaac97 /plugins/Dropbox/src/dropbox_menus.cpp
parent84fb545f1ee85924b1c51971e0d69dcaa49f6fe0 (diff)
insignificant changes
git-svn-id: http://svn.miranda-ng.org/main/trunk@8203 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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