Mercurial > pidgin
comparison console/libgnt/gntstyle.c @ 15305:78ff267f50e3
[gaim-migrate @ 18096]
Allow rebinding c-h etc.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Tue, 09 Jan 2007 01:54:32 +0000 |
parents | d08d7b7375c7 |
children | 682022b8a129 |
comparison
equal
deleted
inserted
replaced
15304:492f4e7416a3 | 15305:78ff267f50e3 |
---|---|
143 MATCH("meta-", alt); | 143 MATCH("meta-", alt); |
144 | 144 |
145 if (strlen(key) != 1) /* We can only have stuff like "ctrl-alt-a" */ | 145 if (strlen(key) != 1) /* We can only have stuff like "ctrl-alt-a" */ |
146 return NULL; | 146 return NULL; |
147 | 147 |
148 if (ctrl && (strchr("hijm", *key) != NULL || !isalpha(*key))) { | 148 if (ctrl && !isalpha(*key)) { |
149 /* These keys cannot be used with ctrl */ | 149 /* These keys cannot be used with ctrl */ |
150 return NULL; | 150 return NULL; |
151 } | 151 } |
152 | 152 |
153 if (ctrl) | 153 if (ctrl) |