summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-01-13 17:28:43 +0100
committerSebastien Helleu <flashcode@flashtux.org>2011-01-13 17:28:43 +0100
commiteb1a2d9a365c0308a15167aa4daff75408bf3936 (patch)
tree425a1e2e34a8d3748600767b6bc7b45a33103d03 /src/gui
parent86932b6c11553c946bf99745e71960cacab958d7 (diff)
downloadweechat-eb1a2d9a365c0308a15167aa4daff75408bf3936.zip
Fix display of bar item "input_prompt" in root bar (patch from Deltafire)
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui-bar-item.c2
1 files changed, 2 insertions, 0 deletions
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,