mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
related changes to textbuffer update..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1444 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
5d5b9cbc28
commit
0cb1752123
@ -33,7 +33,6 @@ typedef struct {
|
||||
int level; /* message level */
|
||||
GSList *bound_items; /* list of WINDOW_BIND_RECs */
|
||||
|
||||
int lines;
|
||||
unsigned int sticky_refnum:1;
|
||||
unsigned int destroying:1;
|
||||
|
||||
|
@ -573,14 +573,11 @@ void format_newline(WINDOW_REC *window)
|
||||
{
|
||||
g_return_if_fail(window != NULL);
|
||||
|
||||
window->lines++;
|
||||
if (window->lines != 1) {
|
||||
signal_emit_id(signal_gui_print_text, 6, window,
|
||||
GINT_TO_POINTER(-1), GINT_TO_POINTER(-1),
|
||||
GINT_TO_POINTER(PRINTFLAG_NEWLINE),
|
||||
"", GINT_TO_POINTER(-1));
|
||||
}
|
||||
}
|
||||
|
||||
/* parse ANSI color string */
|
||||
static char *get_ansi_color(THEME_REC *theme, char *str,
|
||||
|
@ -377,7 +377,6 @@ static void sig_print_text(TEXT_DEST_REC *dest, const char *text)
|
||||
msg_beep_check(dest);
|
||||
|
||||
dest->window->last_line = time(NULL);
|
||||
format_newline(dest->window);
|
||||
|
||||
/* add timestamp/server tag here - if it's done in print_line()
|
||||
it would be written to log files too */
|
||||
|
@ -57,8 +57,6 @@ static void perl_window_fill_hash(HV *hv, WINDOW_REC *window)
|
||||
if (window->active_server)
|
||||
hv_store(hv, "active_server", 13, irssi_bless(window->active_server), 0);
|
||||
|
||||
hv_store(hv, "lines", 5, newSViv(window->lines), 0);
|
||||
|
||||
hv_store(hv, "level", 5, newSViv(window->level), 0);
|
||||
hv_store(hv, "data_level", 8, newSViv(window->data_level), 0);
|
||||
hv_store(hv, "hilight_color", 10, new_pv(window->hilight_color), 0);
|
||||
|
Loading…
Reference in New Issue
Block a user