1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 07:46:38 +02:00

Added infolist "window", scroll in buffers with free content, fixed config hooks (use of string_match)

This commit is contained in:
Sebastien Helleu
2008-04-17 17:59:27 +02:00
parent 62bcf75851
commit e349ae491a
8 changed files with 387 additions and 114 deletions
+6 -7
View File
@@ -360,13 +360,6 @@ gui_buffer_set_type (struct t_gui_buffer *buffer, enum t_gui_buffer_type type)
gui_chat_line_free_all (buffer);
switch (type)
{
case GUI_BUFFER_TYPE_FORMATED:
break;
case GUI_BUFFER_TYPE_FREE:
break;
}
buffer->type = type;
gui_buffer_ask_chat_refresh (buffer, 2);
}
@@ -520,6 +513,12 @@ gui_buffer_set (struct t_gui_buffer *buffer, char *property, char *value)
else
gui_keyboard_unbind (buffer, property + 11);
}
else if (string_strcasecmp (property, "input") == 0)
{
gui_input_delete_line (buffer);
gui_input_insert_string (buffer, value, 0);
gui_buffer_ask_input_refresh (buffer, 1);
}
}
/*