summaryrefslogtreecommitdiff
path: root/src/ui/mobile.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-06-15 11:58:13 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-06-15 11:58:13 +0300
commitc013b8f50c102df14ecf8327ca1a3cb023247086 (patch)
tree7ddaace214eda055e55457e4d67bf21d75a8a8b1 /src/ui/mobile.c
parent8d2154465c5ec92dc9a02f4004ea6ea660467410 (diff)
Preferences: New Fonts tab; reorganized
Added a fonts tab and reorganized settings more logically. Some of the General items were more appropriate for the Style page.
Diffstat (limited to 'src/ui/mobile.c')
-rw-r--r--src/ui/mobile.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/ui/mobile.c b/src/ui/mobile.c
index 7c0c8b60..0ff3fe85 100644
--- a/src/ui/mobile.c
+++ b/src/ui/mobile.c
@@ -473,7 +473,8 @@ void finalizeSheet_Mobile(iWidget *sheet) {
473 0x02699, /* gear */ 473 0x02699, /* gear */
474 0x1f4f1, /* mobile phone */ 474 0x1f4f1, /* mobile phone */
475 0x1f3a8, /* palette */ 475 0x1f3a8, /* palette */
476 0x1f523, 476 0x1f5da, /* aA */
477 0x1f660, /* pointing bud */
477 0x1f5a7, /* computer network */ 478 0x1f5a7, /* computer network */
478 }; 479 };
479 setIcon_LabelWidget(panelButton, icons[i]); 480 setIcon_LabelWidget(panelButton, icons[i]);
@@ -622,6 +623,12 @@ void finalizeSheet_Mobile(iWidget *sheet) {
622 /* Additional elements for preferences. */ 623 /* Additional elements for preferences. */
623 if (isPrefs) { 624 if (isPrefs) {
624 addChild_Widget(topPanel, iClob(makePadding_Widget(lineHeight_Text(labelFont_())))); 625 addChild_Widget(topPanel, iClob(makePadding_Widget(lineHeight_Text(labelFont_()))));
626 /* Management. */ {
627 iLabelWidget *idManButton = addChildFlags_Widget(topPanel,
628 iClob(makePanelButton_(person_Icon " ${sidebar.identities}", "panel.open")),
629 chevron_WidgetFlag | borderTop_WidgetFlag);
630 }
631 addChild_Widget(topPanel, iClob(makePadding_Widget(lineHeight_Text(labelFont_()))));
625 iLabelWidget *aboutButton = addChildFlags_Widget(topPanel, 632 iLabelWidget *aboutButton = addChildFlags_Widget(topPanel,
626 iClob(makePanelButton_(planet_Icon " ${menu.about}", "panel.open")), 633 iClob(makePanelButton_(planet_Icon " ${menu.about}", "panel.open")),
627 chevron_WidgetFlag | borderTop_WidgetFlag); 634 chevron_WidgetFlag | borderTop_WidgetFlag);