diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2012-10-06 10:56:26 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2012-10-06 10:56:26 +0000 |
commit | c68b7c22bd877ba609552de152dbb4ed84230bad (patch) | |
tree | ac0cd8f2885f90f8985932752a0b9c8579567d71 /plugins | |
parent | 15dafd06973f1a3a49faeeb7b781bd11f9e011a5 (diff) |
Added hotkey to show/hide offline users (fixes #89)
git-svn-id: http://svn.miranda-ng.org/main/trunk@1791 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Clist_modern/src/modern_keyboard.cpp | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/plugins/Clist_modern/src/modern_keyboard.cpp b/plugins/Clist_modern/src/modern_keyboard.cpp index 56f9ed6d2e..2749eab01d 100644 --- a/plugins/Clist_modern/src/modern_keyboard.cpp +++ b/plugins/Clist_modern/src/modern_keyboard.cpp @@ -46,18 +46,26 @@ int InitSkinHotKeys(void) HOTKEYDESC shk = {0};
shk.cbSize = sizeof(shk);
+ shk.dwFlags = HKD_TCHAR;
- shk.pszDescription = LPGEN("Close Miranda");
+ shk.ptszDescription = LPGENT("Close Miranda");
shk.pszName = "CloseMiranda";
- shk.pszSection = LPGEN("Main");
+ shk.ptszSection = LPGENT("Main");
shk.pszService = "CLIST/HK/CloseMiranda";
Hotkey_Register(&shk);
- shk.pszDescription = LPGEN("Restore last status");
+ shk.ptszDescription = LPGENT("Restore last status");
shk.pszName = "RestoreLastStatus";
- shk.pszSection = LPGEN("Status");
+ shk.ptszSection = LPGENT("Status");
shk.pszService = "CLIST/HK/RestoreStatus";
Hotkey_Register(&shk);
+
+ shk.ptszDescription = LPGENT("Show/Hide Ofline Users");
+ shk.pszName = "SjowHideOfflineUsers";
+ shk.ptszSection = LPGENT("Main");
+ shk.pszService = MS_CLIST_TOGGLEHIDEOFFLINE;
+ Hotkey_Register(&shk);
+
return 0;
}
|