mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 04:13:32 +02:00
Lots of changes again. Biggest ones:
- window's text buffer should work better - themes are almost working, you can change the text formats with /format - automatically try to rejoin the channel after 5 minutes if the join there failed because it was "temporarily unavailable" (netsplits) - generally cleaning code.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@216 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
969cfe8abc
commit
cbdaf7d06d
63 changed files with 2471 additions and 1912 deletions
|
|
@ -258,12 +258,6 @@ static void read_keyboard_config(void)
|
|||
CONFIG_NODE *node;
|
||||
GSList *tmp;
|
||||
|
||||
while (keyinfos != NULL)
|
||||
keyinfo_remove(keyinfos->data);
|
||||
if (keys != NULL) g_hash_table_destroy(keys);
|
||||
|
||||
keys = g_hash_table_new((GHashFunc) g_str_hash, (GCompareFunc) g_str_equal);
|
||||
|
||||
node = iconfig_node_traverse("keyboard", FALSE);
|
||||
if (node == NULL) return;
|
||||
|
||||
|
|
@ -280,7 +274,9 @@ static void read_keyboard_config(void)
|
|||
|
||||
void keyboard_init(void)
|
||||
{
|
||||
keyinfos = NULL; keys = NULL;
|
||||
keys = g_hash_table_new((GHashFunc) g_str_hash, (GCompareFunc) g_str_equal);
|
||||
keyinfos = NULL;
|
||||
|
||||
key_bind("command", NULL, "Run any IRC command", NULL, (SIGNAL_FUNC) sig_command);
|
||||
|
||||
read_keyboard_config();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue