diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2009-04-07 18:22:09 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2009-04-07 18:22:09 +0200 |
commit | 8ac00cdac6ba3a2caf9a7b282701e3bb22c988de (patch) | |
tree | c83a769c48b7682df37ac2ab61e2fda75d75527b /src/plugins/jabber | |
parent | 3aeb24cf1dcfead638b14a8c855128ee7f7f45c2 (diff) | |
download | weechat-8ac00cdac6ba3a2caf9a7b282701e3bb22c988de.zip |
Some improvements on key bindings
List of changes:
- do not automatically create default keys if they do not exist, when reading
weechat.conf (let user do that if needed)
- add "/key missing": add missing keys using default keys (do not update or
remove user keys),
- key "meta-s" moved from irc/jabber plugins to core
- improved output of /key (display number of keys)
Diffstat (limited to 'src/plugins/jabber')
-rw-r--r-- | src/plugins/jabber/jabber-buffer.c | 7 | ||||
-rw-r--r-- | src/plugins/jabber/jabber-server.c | 3 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/plugins/jabber/jabber-buffer.c b/src/plugins/jabber/jabber-buffer.c index a52200f9b..bee32ae35 100644 --- a/src/plugins/jabber/jabber-buffer.c +++ b/src/plugins/jabber/jabber-buffer.c @@ -185,8 +185,6 @@ jabber_buffer_merge_servers () "name", JABBER_BUFFER_ALL_SERVERS_NAME); weechat_buffer_set (jabber_buffer_servers, "short_name", JABBER_BUFFER_ALL_SERVERS_NAME); - weechat_buffer_set (jabber_buffer_servers, "key_bind_meta-s", - "/command jabber /jabber switch"); weechat_buffer_set (jabber_buffer_servers, "localvar_set_server", JABBER_BUFFER_ALL_SERVERS_NAME); weechat_buffer_set (jabber_buffer_servers, @@ -230,11 +228,6 @@ jabber_buffer_split_server () struct t_jabber_server *ptr_server; char buffer_name[256], charset_modifier[256]; - if (jabber_buffer_servers) - { - weechat_buffer_set (jabber_buffer_servers, "key_unbind_meta-s", ""); - } - for (ptr_server = jabber_servers; ptr_server; ptr_server = ptr_server->next_server) { diff --git a/src/plugins/jabber/jabber-server.c b/src/plugins/jabber/jabber-server.c index bb2053e0c..811e1e17b 100644 --- a/src/plugins/jabber/jabber-server.c +++ b/src/plugins/jabber/jabber-server.c @@ -1172,9 +1172,6 @@ jabber_server_connect (struct t_jabber_server *server) weechat_buffer_set (server->buffer, "display", "auto"); weechat_bar_item_update ("buffer_name"); - - weechat_buffer_set (server->buffer, "key_bind_meta-s", - "/command jabber /jabber switch"); } if (!server->address) |