Mercurial > pidgin
view console/libgnt/gntkeys.c @ 14409:a6034bc8c84e
[gaim-migrate @ 17117]
I really like this.
Some changes to the Buddy List:
- Everything is one column now. So things like the group name ellipsizing for
buddy icons that aren't there won't happen anymore.
- Expander Icon set to an invisible column: the correct way to get rid of the
unsightly large blist expander margins
- Group nodes have a background color to more easily tell them apart, now that
the margins are gone. This could be extended to buddies. I'm thinking of
making a notify mode that colors buddies in the list when you have a message
from them. I'm doing this on expanded contacts, but I don't think I like it.
- Expanders are now temporarily pixbufs; this will change to something better later
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Fri, 01 Sep 2006 20:13:47 +0000 |
parents | ae4cbed1b309 |
children | 70623f0d5cdc |
line wrap: on
line source
#include "gntkeys.h" #include <string.h> void gnt_keys_refine(char *text) { if (text[0] == 27) { /* These are for urxvt */ if (strcmp(text + 1, "Oa") == 0) { strcpy(text + 1, GNT_KEY_CTRL_UP); } else if (strcmp(text + 1, "Ob") == 0) { strcpy(text + 1, GNT_KEY_CTRL_DOWN); } } else if ((unsigned char)text[0] == 195) { /* These for xterm */ if (text[2] == 0) { text[0] = 27; text[1] -= 64; } } }