1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-07 05:46:35 +01:00

Started adding support for popup notifications and adjustments to new core

This commit is contained in:
mannol
2014-07-27 01:49:59 +02:00
parent 02b192d6ee
commit 18a6f621f0
12 changed files with 162 additions and 81 deletions

View File

@@ -30,6 +30,7 @@
#include "line_info.h"
#include "groupchat.h"
#include "settings.h"
#include "notify.h"
extern struct user_settings *user_settings_;
@@ -414,14 +415,14 @@ static void line_info_scroll_up(struct history *hst)
{
if (hst->line_start->prev)
hst->line_start = hst->line_start->prev;
else beep();
else notify(NULL, error, NT_ALWAYS);
}
static void line_info_scroll_down(struct history *hst)
{
if (hst->line_start->next)
hst->line_start = hst->line_start->next;
else beep();
else notify(NULL, error, NT_ALWAYS);
}
static void line_info_page_up(ToxWindow *self, struct history *hst)