mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
hilight + keyboard fixes so it's possible for xirssi to modify them.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2816 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
b9eda1adb6
commit
dc0088f584
4 changed files with 42 additions and 22 deletions
|
|
@ -388,6 +388,8 @@ static void key_configure_destroy(KEY_REC *rec)
|
|||
rec->info->keys = g_slist_remove(rec->info->keys, rec);
|
||||
g_hash_table_remove(keys, rec->key);
|
||||
|
||||
signal_emit("key destroyed", 1, rec);
|
||||
|
||||
if (!key_config_frozen)
|
||||
key_states_rescan();
|
||||
|
||||
|
|
@ -421,6 +423,8 @@ static void key_configure_create(const char *id, const char *key,
|
|||
info->keys = g_slist_append(info->keys, rec);
|
||||
g_hash_table_insert(keys, rec->key, rec);
|
||||
|
||||
signal_emit("key created", 1, rec);
|
||||
|
||||
if (!key_config_frozen)
|
||||
key_states_rescan();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue