mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Removed ui_unread
This commit is contained in:
parent
7f5b563a81
commit
84adec83f9
@ -972,12 +972,6 @@ ui_room_banned(const char *const roomjid, const char *const actor, const char *c
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
gint
|
|
||||||
ui_unread(void)
|
|
||||||
{
|
|
||||||
return wins_get_total_unread();
|
|
||||||
}
|
|
||||||
|
|
||||||
int
|
int
|
||||||
ui_win_unread(int index)
|
ui_win_unread(int index)
|
||||||
{
|
{
|
||||||
@ -1107,7 +1101,7 @@ _ui_draw_term_title(void)
|
|||||||
|
|
||||||
if (status == JABBER_CONNECTED) {
|
if (status == JABBER_CONNECTED) {
|
||||||
const char * const jid = jabber_get_fulljid();
|
const char * const jid = jabber_get_fulljid();
|
||||||
gint unread = ui_unread();
|
gint unread = wins_get_total_unread();
|
||||||
|
|
||||||
if (unread != 0) {
|
if (unread != 0) {
|
||||||
snprintf(new_win_title, sizeof(new_win_title),
|
snprintf(new_win_title, sizeof(new_win_title),
|
||||||
|
@ -149,7 +149,7 @@ notify_remind(void)
|
|||||||
gdouble elapsed = g_timer_elapsed(remind_timer, NULL);
|
gdouble elapsed = g_timer_elapsed(remind_timer, NULL);
|
||||||
gint remind_period = prefs_get_notify_remind();
|
gint remind_period = prefs_get_notify_remind();
|
||||||
if (remind_period > 0 && elapsed >= remind_period) {
|
if (remind_period > 0 && elapsed >= remind_period) {
|
||||||
gint unread = ui_unread();
|
gint unread = wins_get_total_unread();
|
||||||
gint open = muc_invites_count();
|
gint open = muc_invites_count();
|
||||||
gint subs = presence_sub_request_count();
|
gint subs = presence_sub_request_count();
|
||||||
|
|
||||||
|
@ -70,7 +70,6 @@ unsigned long ui_get_idle_time(void);
|
|||||||
void ui_reset_idle_time(void);
|
void ui_reset_idle_time(void);
|
||||||
ProfPrivateWin* ui_new_private_win(const char *const fulljid);
|
ProfPrivateWin* ui_new_private_win(const char *const fulljid);
|
||||||
void ui_print_system_msg_from_recipient(const char *const barejid, const char *message);
|
void ui_print_system_msg_from_recipient(const char *const barejid, const char *message);
|
||||||
gint ui_unread(void);
|
|
||||||
void ui_close_connected_win(int index);
|
void ui_close_connected_win(int index);
|
||||||
int ui_close_all_wins(void);
|
int ui_close_all_wins(void);
|
||||||
int ui_close_read_wins(void);
|
int ui_close_read_wins(void);
|
||||||
|
@ -94,10 +94,6 @@ ProfChatWin* chatwin_new(const char * const barejid)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void ui_print_system_msg_from_recipient(const char * const barejid, const char *message) {}
|
void ui_print_system_msg_from_recipient(const char * const barejid, const char *message) {}
|
||||||
gint ui_unread(void)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ui_close_connected_win(int index) {}
|
void ui_close_connected_win(int index) {}
|
||||||
int ui_close_all_wins(void)
|
int ui_close_all_wins(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user