summaryrefslogtreecommitdiff
path: root/src/fe-text/gui-windows.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-12-17 02:20:22 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-12-17 02:20:22 +0000
commitfc491c5f8dd7f4a2ece6eb46feac687b4b0022ef (patch)
treea88fb52edcabcd7ca82d1007f5497bb45df282b6 /src/fe-text/gui-windows.c
parent3011d2c01c9df4dc0da2efb2cd33b2956c09fa8d (diff)
downloadirssi-fc491c5f8dd7f4a2ece6eb46feac687b4b0022ef.zip
Some minor query fixes. Nick changes are also detected by checking if
query with another nick from same address if found. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@999 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/gui-windows.c')
-rw-r--r--src/fe-text/gui-windows.c17
1 files changed, 6 insertions, 11 deletions
diff --git a/src/fe-text/gui-windows.c b/src/fe-text/gui-windows.c
index e726715d..8ad37451 100644
--- a/src/fe-text/gui-windows.c
+++ b/src/fe-text/gui-windows.c
@@ -732,11 +732,6 @@ static void signal_window_changed(WINDOW_REC *window)
screen_refresh_thaw();
}
-static void signal_window_item_update(WINDOW_REC *window)
-{
- window_update_prompt(window);
-}
-
GList *gui_window_find_text(WINDOW_REC *window, gchar *text, GList *startline, int regexp, int fullword)
{
#ifdef HAVE_REGEX_H
@@ -1082,9 +1077,9 @@ void gui_windows_init(void)
signal_add("window created", (SIGNAL_FUNC) gui_window_created);
signal_add("window destroyed", (SIGNAL_FUNC) gui_window_destroyed);
signal_add_first("window changed", (SIGNAL_FUNC) signal_window_changed);
- signal_add("window item changed", (SIGNAL_FUNC) signal_window_item_update);
- signal_add("window name changed", (SIGNAL_FUNC) signal_window_item_update);
- signal_add("window item remove", (SIGNAL_FUNC) signal_window_item_update);
+ signal_add("window item changed", (SIGNAL_FUNC) window_update_prompt);
+ signal_add("window name changed", (SIGNAL_FUNC) window_update_prompt);
+ signal_add("window item remove", (SIGNAL_FUNC) window_update_prompt);
signal_add("setup changed", (SIGNAL_FUNC) read_settings);
}
@@ -1099,8 +1094,8 @@ void gui_windows_deinit(void)
signal_remove("window created", (SIGNAL_FUNC) gui_window_created);
signal_remove("window destroyed", (SIGNAL_FUNC) gui_window_destroyed);
signal_remove("window changed", (SIGNAL_FUNC) signal_window_changed);
- signal_remove("window item changed", (SIGNAL_FUNC) signal_window_item_update);
- signal_remove("window name changed", (SIGNAL_FUNC) signal_window_item_update);
- signal_remove("window item remove", (SIGNAL_FUNC) signal_window_item_update);
+ signal_remove("window item changed", (SIGNAL_FUNC) window_update_prompt);
+ signal_remove("window name changed", (SIGNAL_FUNC) window_update_prompt);
+ signal_remove("window item remove", (SIGNAL_FUNC) window_update_prompt);
signal_remove("setup changed", (SIGNAL_FUNC) read_settings);
}