From eb1a2d9a365c0308a15167aa4daff75408bf3936 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Thu, 13 Jan 2011 17:28:43 +0100 Subject: Fix display of bar item "input_prompt" in root bar (patch from Deltafire) --- src/gui/gui-bar-item.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/gui/gui-bar-item.c b/src/gui/gui-bar-item.c index 7165e851d..ab1d3fb13 100644 --- a/src/gui/gui-bar-item.c +++ b/src/gui/gui-bar-item.c @@ -1441,6 +1441,8 @@ gui_bar_item_init () &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]); /* input search */ gui_bar_item_new (NULL, -- cgit v1.2.3