1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-10 19:53:13 +02:00

core: add support of multiple layouts (task #11274)

This commit is contained in:
Sebastien Helleu
2013-03-17 08:28:41 +01:00
parent e1e3109da3
commit 30e6acb00d
35 changed files with 1533 additions and 991 deletions
+3 -6
View File
@@ -460,7 +460,7 @@ gui_buffer_new (struct t_weechat_plugin *plugin,
new_buffer->plugin_name_for_upgrade = NULL;
/* number will be set later (when inserting buffer in list) */
gui_layout_buffer_get_number (gui_layout_buffers,
gui_layout_buffer_get_number (gui_layout_current,
plugin_get_name (plugin),
name,
&(new_buffer->layout_number),
@@ -578,11 +578,8 @@ gui_buffer_new (struct t_weechat_plugin *plugin,
/* set notify level */
new_buffer->notify = gui_buffer_notify_get (new_buffer);
/*
* check if this buffer should be assigned to a window,
* according to windows layout saved
*/
gui_layout_window_check_buffer (new_buffer);
/* assign this buffer to windows of layout */
gui_layout_window_assign_buffer (new_buffer);
if (first_buffer_creation)
{