diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2022-02-07 19:14:01 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2022-02-07 19:14:01 +0200 |
commit | 1f4271ea540b85243df593d64b5d2230ad023343 (patch) | |
tree | e29afc3f7bf3ee0a170b7051117ad596a245d98d | |
parent | 5be7f76e30f6655f82a677b73c7fcea4feeda42d (diff) |
GmDocument: Icon for "data" URLs
-rw-r--r-- | src/defs.h | 1 | ||||
-rw-r--r-- | src/gmdocument.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -186,6 +186,7 @@ iLocalDef int acceptKeyMod_ReturnKeyBehavior(int behavior) { | |||
186 | #define downAngle_Icon "\ufe40" | 186 | #define downAngle_Icon "\ufe40" |
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 | 190 | ||
190 | #if defined (iPlatformApple) | 191 | #if defined (iPlatformApple) |
191 | # define shift_Icon "\u21e7" | 192 | # define shift_Icon "\u21e7" |
diff --git a/src/gmdocument.c b/src/gmdocument.c index 4978d97d..69fe77f8 100644 --- a/src/gmdocument.c +++ b/src/gmdocument.c | |||
@@ -906,6 +906,7 @@ static void doLayout_GmDocument_(iGmDocument *d) { | |||
906 | : scheme == titan_GmLinkScheme ? uploadArrow | 906 | : scheme == titan_GmLinkScheme ? uploadArrow |
907 | : scheme == finger_GmLinkScheme ? pointingFinger | 907 | : scheme == finger_GmLinkScheme ? pointingFinger |
908 | : scheme == mailto_GmLinkScheme ? envelope | 908 | : scheme == mailto_GmLinkScheme ? envelope |
909 | : scheme == data_GmLinkScheme ? package_Icon | ||
909 | : link->flags & remote_GmLinkFlag ? globe | 910 | : link->flags & remote_GmLinkFlag ? globe |
910 | : link->flags & imageFileExtension_GmLinkFlag ? image | 911 | : link->flags & imageFileExtension_GmLinkFlag ? image |
911 | : link->flags & fontpackFileExtension_GmLinkFlag ? fontpack_Icon | 912 | : link->flags & fontpackFileExtension_GmLinkFlag ? fontpack_Icon |