summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2022-02-11 19:15:26 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2022-02-11 19:15:26 +0200
commit46acccaa8128a18ed026c9c5b4e6a401a307c3b0 (patch)
treed36442ee58e71aa5cb05ce8e7ac20842d93d8da7 /src
parent2d7ec0718b258dcce1d15ff5b804c69695ba9e66 (diff)
Paperclip icon for data URLs
Diffstat (limited to 'src')
-rw-r--r--src/defs.h1
-rw-r--r--src/gmdocument.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/defs.h b/src/defs.h
index 550ae5bd..cd502f70 100644
--- a/src/defs.h
+++ b/src/defs.h
@@ -187,6 +187,7 @@ iLocalDef int acceptKeyMod_ReturnKeyBehavior(int behavior) {
187#define photo_Icon "\U0001f5bc" 187#define photo_Icon "\U0001f5bc"
188#define fontpack_Icon "\U0001f520" 188#define fontpack_Icon "\U0001f520"
189#define package_Icon "\U0001f4e6" 189#define package_Icon "\U0001f4e6"
190#define paperclip_Icon "\U0001f4ce"
190 191
191#if defined (iPlatformApple) 192#if defined (iPlatformApple)
192# define shift_Icon "\u21e7" 193# define shift_Icon "\u21e7"
diff --git a/src/gmdocument.c b/src/gmdocument.c
index 546dc6f5..63d100e2 100644
--- a/src/gmdocument.c
+++ b/src/gmdocument.c
@@ -907,7 +907,7 @@ static void doLayout_GmDocument_(iGmDocument *d) {
907 : scheme == titan_GmLinkScheme ? uploadArrow 907 : scheme == titan_GmLinkScheme ? uploadArrow
908 : scheme == finger_GmLinkScheme ? pointingFinger 908 : scheme == finger_GmLinkScheme ? pointingFinger
909 : scheme == mailto_GmLinkScheme ? envelope 909 : scheme == mailto_GmLinkScheme ? envelope
910 : scheme == data_GmLinkScheme ? package_Icon 910 : scheme == data_GmLinkScheme ? paperclip_Icon
911 : link->flags & remote_GmLinkFlag ? globe 911 : link->flags & remote_GmLinkFlag ? globe
912 : link->flags & imageFileExtension_GmLinkFlag ? image 912 : link->flags & imageFileExtension_GmLinkFlag ? image
913 : link->flags & fontpackFileExtension_GmLinkFlag ? fontpack_Icon 913 : link->flags & fontpackFileExtension_GmLinkFlag ? fontpack_Icon