diff options
author | George Hazan <george.hazan@gmail.com> | 2012-08-06 12:08:39 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-08-06 12:08:39 +0000 |
commit | 4207fda2535b6c1c1aa8e242da2de04ab40ba76b (patch) | |
tree | e3faf3288fac0cafd5ed8b60fb7824db798fa27b /plugins/PluginUpdater/src/PluginUpdater.cpp | |
parent | da90f70ee92d2fcf13451ae40516c985f728a560 (diff) |
- added "Update Icons" option;
- removed some garbage from options dialog;
- modeless Apply Updates dialog
git-svn-id: http://svn.miranda-ng.org/main/trunk@1377 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/PluginUpdater.cpp')
-rw-r--r-- | plugins/PluginUpdater/src/PluginUpdater.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/PluginUpdater/src/PluginUpdater.cpp b/plugins/PluginUpdater/src/PluginUpdater.cpp index 73bcee1e13..19cf80e0e7 100644 --- a/plugins/PluginUpdater/src/PluginUpdater.cpp +++ b/plugins/PluginUpdater/src/PluginUpdater.cpp @@ -87,6 +87,18 @@ extern "C" __declspec(dllexport) int Load(void) mi.pszService = MODNAME"/EmptyFolder";
Menu_AddMainMenuItem(&mi);
+ // Add hotkey
+ HOTKEYDESC hkd = {0};
+ hkd.cbSize = sizeof(hkd);
+ hkd.dwFlags = HKD_TCHAR;
+ hkd.pszName = "Check for plugin updates";
+ hkd.ptszDescription = _T("Check for plugin updates");
+ hkd.ptszSection = _T("Plugin Updater");
+ hkd.pszService = MODNAME"/CheckUpdates";
+ hkd.DefHotKey = HOTKEYCODE(HOTKEYF_CONTROL, VK_F10) | HKF_MIRANDA_LOCAL;
+ hkd.lParam = FALSE;
+ Hotkey_Register(&hkd);
+
// Add options hook
HookEvent(ME_OPT_INITIALISE, OptInit);
HookEvent(ME_SYSTEM_MODULESLOADED, ModulesLoaded);
|