mirror of
https://github.com/weechat/weechat.git
synced 2026-07-01 23:36:37 +02:00
core: fix refresh of bar items "buffer_filter" and "scroll" in root bars (bug #36816)
This commit is contained in:
@@ -7,6 +7,8 @@ v0.3.9-dev, 2012-07-09
|
||||
Version 0.3.9 (under dev!)
|
||||
--------------------------
|
||||
|
||||
* core: fix refresh of bar items "buffer_filter" and "scroll" in root bars
|
||||
(bug #36816)
|
||||
* core: add function "hook_set" in plugin API, add "subplugin" in hooks (set by
|
||||
script plugins), display subplugin in /help on commands (task #12049)
|
||||
* core: add option weechat.look.jump_smart_back_to_buffer (jump back to initial
|
||||
|
||||
+10
-6
@@ -1633,10 +1633,10 @@ gui_bar_item_init ()
|
||||
gui_bar_item_new (NULL,
|
||||
gui_bar_item_names[GUI_BAR_ITEM_INPUT_PROMPT],
|
||||
&gui_bar_item_default_input_prompt, NULL);
|
||||
gui_bar_item_hook_signal ("buffer_localvar_*",
|
||||
gui_bar_item_names[GUI_BAR_ITEM_INPUT_PROMPT]);
|
||||
gui_bar_item_hook_signal ("buffer_switch",
|
||||
gui_bar_item_names[GUI_BAR_ITEM_INPUT_PROMPT]);
|
||||
gui_bar_item_hook_signal ("buffer_localvar_*",
|
||||
gui_bar_item_names[GUI_BAR_ITEM_INPUT_PROMPT]);
|
||||
|
||||
/* input search */
|
||||
gui_bar_item_new (NULL,
|
||||
@@ -1651,10 +1651,10 @@ gui_bar_item_init ()
|
||||
gui_bar_item_new (NULL,
|
||||
gui_bar_item_names[GUI_BAR_ITEM_INPUT_TEXT],
|
||||
&gui_bar_item_default_input_text, NULL);
|
||||
gui_bar_item_hook_signal ("input_text_*",
|
||||
gui_bar_item_names[GUI_BAR_ITEM_INPUT_TEXT]);
|
||||
gui_bar_item_hook_signal ("buffer_switch",
|
||||
gui_bar_item_names[GUI_BAR_ITEM_INPUT_TEXT]);
|
||||
gui_bar_item_hook_signal ("input_text_*",
|
||||
gui_bar_item_names[GUI_BAR_ITEM_INPUT_TEXT]);
|
||||
|
||||
/* time */
|
||||
gui_bar_item_new (NULL,
|
||||
@@ -1718,6 +1718,8 @@ gui_bar_item_init ()
|
||||
gui_bar_item_new (NULL,
|
||||
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_FILTER],
|
||||
&gui_bar_item_default_buffer_filter, NULL);
|
||||
gui_bar_item_hook_signal ("buffer_switch",
|
||||
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_FILTER]);
|
||||
gui_bar_item_hook_signal ("buffer_lines_hidden",
|
||||
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_FILTER]);
|
||||
gui_bar_item_hook_signal ("filters_*",
|
||||
@@ -1736,6 +1738,8 @@ gui_bar_item_init ()
|
||||
gui_bar_item_new (NULL,
|
||||
gui_bar_item_names[GUI_BAR_ITEM_SCROLL],
|
||||
&gui_bar_item_default_scroll, NULL);
|
||||
gui_bar_item_hook_signal ("buffer_switch",
|
||||
gui_bar_item_names[GUI_BAR_ITEM_SCROLL]);
|
||||
gui_bar_item_hook_signal ("window_scrolled",
|
||||
gui_bar_item_names[GUI_BAR_ITEM_SCROLL]);
|
||||
|
||||
@@ -1761,10 +1765,10 @@ gui_bar_item_init ()
|
||||
gui_bar_item_new (NULL,
|
||||
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_TITLE],
|
||||
&gui_bar_item_default_buffer_title, NULL);
|
||||
gui_bar_item_hook_signal ("buffer_title_changed",
|
||||
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_TITLE]);
|
||||
gui_bar_item_hook_signal ("buffer_switch",
|
||||
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_TITLE]);
|
||||
gui_bar_item_hook_signal ("buffer_title_changed",
|
||||
gui_bar_item_names[GUI_BAR_ITEM_BUFFER_TITLE]);
|
||||
|
||||
/* buffer nicklist */
|
||||
gui_bar_item_new (NULL,
|
||||
|
||||
Reference in New Issue
Block a user