From 2fb1f5bed356520bc0b668f2a8ffef6c8d0318d2 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Mon, 8 Mar 2021 12:24:10 +0200 Subject: Local Gemini links can use Emoji/symbol from label text Instead of the default link icon, if a label starts with an Emoji or symbol, use that as the icon. This only works with local Gemini links so important information about link destination is not hidden. --- src/gmdocument.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gmdocument.h') diff --git a/src/gmdocument.h b/src/gmdocument.h index 16127ea3..92f62ba4 100644 --- a/src/gmdocument.h +++ b/src/gmdocument.h @@ -69,6 +69,7 @@ enum iGmLinkFlags { visited_GmLinkFlag = iBit(14), /* in the history */ permanent_GmLinkFlag = iBit(15), /* content cannot be dismissed; media link */ query_GmLinkFlag = iBit(16), /* Gopher query link */ + iconFromLabel_GmLinkFlag = iBit(17), /* use an Emoji/special character from label */ }; struct Impl_GmHeading { -- cgit v1.2.3