diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-10 11:48:17 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-10 11:48:17 +0200 |
commit | d36529d053f7e4f2915e51e7cfbf01aa1c80adf9 (patch) | |
tree | f8e9307eb5836f62a34cf9137039bfbd774e2dac /src/ui/sidebarwidget.c | |
parent | e4e0a543c5c0e838828b88458dbe31ece3901397 (diff) |
Mobile: Working on the phone preferences
Diffstat (limited to 'src/ui/sidebarwidget.c')
-rw-r--r-- | src/ui/sidebarwidget.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c index c2cfe998..8da09b2f 100644 --- a/src/ui/sidebarwidget.c +++ b/src/ui/sidebarwidget.c | |||
@@ -547,7 +547,7 @@ void init_SidebarWidget(iSidebarWidget *d, enum iSidebarSide side) { | |||
547 | iLabelWidget *heading = new_LabelWidget("Identities", NULL); | 547 | iLabelWidget *heading = new_LabelWidget("Identities", NULL); |
548 | setBackgroundColor_Widget(as_Widget(heading), uiBackgroundUnfocusedSelection_ColorId); | 548 | setBackgroundColor_Widget(as_Widget(heading), uiBackgroundUnfocusedSelection_ColorId); |
549 | setTextColor_LabelWidget(heading, uiIcon_ColorId); | 549 | setTextColor_LabelWidget(heading, uiIcon_ColorId); |
550 | setFont_LabelWidget(addChild_Widget(vdiv, iClob(heading)), | 550 | setFont_LabelWidget(addChildFlags_Widget(vdiv, iClob(heading), frameless_WidgetFlag), |
551 | uiLabelLarge_FontId); | 551 | uiLabelLarge_FontId); |
552 | } | 552 | } |
553 | iWidget *content = new_Widget(); | 553 | iWidget *content = new_Widget(); |
@@ -622,6 +622,7 @@ static void itemClicked_SidebarWidget_(iSidebarWidget *d, const iSidebarItem *it | |||
622 | const iGmDocument *doc = document_DocumentWidget(document_App()); | 622 | const iGmDocument *doc = document_DocumentWidget(document_App()); |
623 | const iGmHeading *head = constAt_Array(headings_GmDocument(doc), item->id); | 623 | const iGmHeading *head = constAt_Array(headings_GmDocument(doc), item->id); |
624 | postCommandf_App("document.goto loc:%p", head->text.start); | 624 | postCommandf_App("document.goto loc:%p", head->text.start); |
625 | dismissPortraitPhoneSidebars_Window(get_Window()); | ||
625 | break; | 626 | break; |
626 | } | 627 | } |
627 | case feeds_SidebarMode: { | 628 | case feeds_SidebarMode: { |