pidgin: c7c314a2: Allow binding space, escape and return t...
sadrul at pidgin.im
sadrul at pidgin.im
Sun Jun 29 04:20:44 EDT 2008
-----------------------------------------------------------------
Revision: c7c314a24b71eb00e86c11e07dc64420857b2148
Ancestor: b5d22abac579cbb2742419d7d2d7ea33caa56e39
Author: sadrul at pidgin.im
Date: 2008-06-29T01:50:21
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/c7c314a24b71eb00e86c11e07dc64420857b2148
Modified files:
finch/libgnt/gntkeys.c
ChangeLog:
Allow binding space, escape and return to some action.
-------------- next part --------------
============================================================
--- finch/libgnt/gntkeys.c 909790d405853245551c630baf47e2d57b2628f3
+++ finch/libgnt/gntkeys.c 94c06e40635dbe91fc1e3862f72b94cfe6082eea
@@ -80,6 +80,9 @@ void gnt_init_keys()
INSERT_KEY("down", GNT_KEY_DOWN);
INSERT_KEY("tab", "\t");
+ INSERT_KEY("escape", "\033");
+ INSERT_KEY("space", " ");
+ INSERT_KEY("return", GNT_KEY_ENTER);
INSERT_KEY("menu", GNT_KEY_POPUP);
INSERT_KEY("f1", GNT_KEY_F1);
@@ -119,6 +122,9 @@ void gnt_init_keys()
code[ind] = (c ? 1 : 'a') + ch;
INSERT_COMB(str, code);
}
+ if (c == 0) {
+ INSERT_COMB("tab", "\033\t");
+ }
}
}
c = 0;
More information about the Commits
mailing list