mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 21:00:40 +02:00
option to clear the history
This commit is contained in:
parent
be6d7629e3
commit
4659cea65a
5 changed files with 66 additions and 9 deletions
|
|
@ -229,11 +229,16 @@ void window_set_history(WINDOW_REC *window, const char *name)
|
|||
else
|
||||
window->history_name = g_strdup(name);
|
||||
|
||||
signal_emit("window history changed", 1, window, oldname);
|
||||
signal_emit("window history changed", 2, window, oldname);
|
||||
|
||||
g_free_not_null(oldname);
|
||||
}
|
||||
|
||||
void window_clear_history(WINDOW_REC *window, const char *name)
|
||||
{
|
||||
signal_emit("window history cleared", 2, window, name);
|
||||
}
|
||||
|
||||
void window_set_level(WINDOW_REC *window, int level)
|
||||
{
|
||||
g_return_if_fail(window != NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue