diff options
Diffstat (limited to 'src/fe-gtk')
-rw-r--r-- | src/fe-gtk/fe-gtk.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/fe-gtk/fe-gtk.c b/src/fe-gtk/fe-gtk.c index 97067f90..af3173e1 100644 --- a/src/fe-gtk/fe-gtk.c +++ b/src/fe-gtk/fe-gtk.c @@ -607,12 +607,13 @@ fe_progressbar_end (server *serv) } void -fe_print_text (struct session *sess, char *text, time_t stamp) +fe_print_text (struct session *sess, char *text, time_t stamp, + gboolean no_activity) { PrintTextRaw (sess->res->buffer, (unsigned char *)text, prefs.hex_text_indent, stamp); - if (!sess->new_data && sess != current_tab && - sess->gui->is_tab && !sess->nick_said && stamp == 0) + if (!no_activity && !sess->new_data && sess != current_tab && + sess->gui->is_tab && !sess->nick_said) { sess->new_data = TRUE; lastact_update (sess); |