From fad296b79e42a0df6c0f118e1c011f480462551f Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 22 May 2020 13:56:00 +0200 Subject: Display bookmark name Have field in struct and display the name in `/bookmark list`. Regards https://github.com/profanity-im/profanity/issues/697 --- src/ui/console.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/ui/console.c') diff --git a/src/ui/console.c b/src/ui/console.c index 4a1c58d4..337679e0 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -696,7 +696,11 @@ cons_show_bookmarks(const GList *list) if (muc_active(item->barejid) && roomwin) { presence_colour = THEME_ONLINE; } - win_print(console, presence_colour, "-", " %s", item->barejid); + if (item->name) { + win_print(console, presence_colour, "-", " %s - %s", item->name, item->barejid); + } else { + win_print(console, presence_colour, "-", " %s", item->barejid); + } if (item->nick) { win_append(console, presence_colour, "/%s", item->nick); } -- cgit 1.4.1-2-gfad0 anisanti/profani-tty/'>summary refs log tree commit diff stats
path: root/themes/aqua
blob: f8797f0b6159d09c3e92d542fb50457ba32927af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27