From f529e9d67a8b5c6e47895ea30d0e00eb28768233 Mon Sep 17 00:00:00 2001

From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= jaakko.keranen@iki.fi

Date: Fri, 17 Sep 2021 19:45:33 +0300

Subject: [PATCH 1/1] Mobile: About page


src/defs.h | 1 +

src/gmdocument.c | 2 +-

src/ui/util.c | 6 ++++--

3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/defs.h b/src/defs.h

index edaaecde..3cb7dd2c 100644

--- a/src/defs.h

+++ b/src/defs.h

@@ -149,6 +149,7 @@ iLocalDef int acceptKeyMod_ReturnKeyBehavior(int behavior) {

#define clipboard_Icon "\U0001f4cb"

#define unhappy_Icon "\U0001f641"

#define globe_Icon "\U0001f310"

+#define envelope_Icon "\U0001f4e7"

#define magnifyingGlass_Icon "\U0001f50d"

#define midEllipsis_Icon "\u00b7\u00b7\u00b7"

#define return_Icon "\u23ce"

diff --git a/src/gmdocument.c b/src/gmdocument.c

index 4e92c89c..97c7b41b 100644

--- a/src/gmdocument.c

+++ b/src/gmdocument.c

@@ -500,7 +500,7 @@ static void doLayout_GmDocument_(iGmDocument *d) {

     0.0f, 0.25f, 1.0f, 0.5f, 1.5f, 0.5f, 0.5f, 0.25f

 };

 static const char *arrow           = rightArrowhead_Icon;

 static const char *bullet          = "\u2022";

 static const char *folder          = "\U0001f4c1";

 static const char *globe           = globe_Icon;

diff --git a/src/ui/util.c b/src/ui/util.c

index 5420e5d2..5361250f 100644

--- a/src/ui/util.c

+++ b/src/ui/util.c

@@ -1948,13 +1948,15 @@ iWidget *makePreferences_Widget(void) {

     iString *aboutText = collectNew_String(); {

         setCStr_String(aboutText, "Lagrange " LAGRANGE_APP_VERSION);

         #if defined (iPlatformAppleMobile)

         #endif

     }

     const iMenuItem aboutPanelItems[] = {

         { format_CStr("heading text:%s", cstr_String(aboutText)) },

         { "button text:" clock_Icon " ${menu.releasenotes}", 0, 0, "!open url:about:version" },

         { "padding" },

         { "button text:" info_Icon " ${menu.aboutpages}", 0, 0, "!open url:about:about" },

         { "button text:" bug_Icon " ${menu.debug}", 0, 0, "!open url:about:debug" },

--

2.25.1

Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/work%2Fv1.7/patch/f529e9d67a8b5c6e47895ea30d0e00eb28768233.patch
Status Code
Success (20)
Meta
text/plain
Capsule Response Time
73.363113 milliseconds
Gemini-to-HTML Time
1.133903 milliseconds

This content has been proxied by September (3851b).