diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2022-02-11 19:15:26 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2022-02-11 19:15:26 +0200 |
commit | 46acccaa8128a18ed026c9c5b4e6a401a307c3b0 (patch) | |
tree | d36442ee58e71aa5cb05ce8e7ac20842d93d8da7 /src | |
parent | 2d7ec0718b258dcce1d15ff5b804c69695ba9e66 (diff) |
Paperclip icon for data URLs
Diffstat (limited to 'src')
-rw-r--r-- | src/defs.h | 1 | ||||
-rw-r--r-- | src/gmdocument.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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 |