summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-09-27 00:11:06 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-09-27 00:11:06 +0000
commita3accf4bbed8229881b534c8a813b0fbea76228d (patch)
tree4f8e690810f1ad688d869ef43feae63e7280466e /src
parent407ee2bd1b08da0389ee2d3937d3e993f4b15449 (diff)
downloadirssi-a3accf4bbed8229881b534c8a813b0fbea76228d.zip
Also moving windows and changing refnum updates activity list.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@679 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/fe-text/statusbar-items.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/fe-text/statusbar-items.c b/src/fe-text/statusbar-items.c
index 2b6abfdb..47639426 100644
--- a/src/fe-text/statusbar-items.c
+++ b/src/fe-text/statusbar-items.c
@@ -471,6 +471,11 @@ static void sig_statusbar_activity_window_destroyed(WINDOW_REC *window)
statusbar_item_redraw(activity_item);
}
+static void sig_statusbar_activity_updated(void)
+{
+ statusbar_item_redraw(activity_item);
+}
+
/* redraw -- more -- */
static void statusbar_more(SBAR_ITEM_REC *item, int ypos)
{
@@ -886,6 +891,7 @@ void statusbar_items_init(void)
activity_list = NULL;
signal_add("window activity", (SIGNAL_FUNC) sig_statusbar_activity_hilight);
signal_add("window destroyed", (SIGNAL_FUNC) sig_statusbar_activity_window_destroyed);
+ signal_add("window refnum changed", (SIGNAL_FUNC) sig_statusbar_activity_updated);
/* more */
more_item = NULL;
@@ -947,6 +953,7 @@ void statusbar_items_deinit(void)
/* activity */
signal_remove("window activity", (SIGNAL_FUNC) sig_statusbar_activity_hilight);
signal_remove("window destroyed", (SIGNAL_FUNC) sig_statusbar_activity_window_destroyed);
+ signal_remove("window refnum changed", (SIGNAL_FUNC) sig_statusbar_activity_updated);
g_list_free(activity_list);
/* more */