mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-28 02:56:22 +00:00
List ignored bookmarks
`/bookmarl ignore` lists the ignored bookmarks. Regards https://github.com/profanity-im/profanity/issues/1115
This commit is contained in:
@@ -2683,3 +2683,18 @@ _show_roster_contacts(GSList *list, gboolean show_groups)
|
||||
curr = g_slist_next(curr);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
cons_show_bookmarks_ignore(gchar **list, gsize len)
|
||||
{
|
||||
int i;
|
||||
ProfWin *console = wins_get_console();
|
||||
|
||||
cons_show("");
|
||||
cons_show("Ignored bookmarks:");
|
||||
|
||||
for(i=0; i<len; i++) {
|
||||
win_print(console, THEME_DEFAULT, "-", " %s", list[i]);
|
||||
win_newline(console);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user