summaryrefslogtreecommitdiff
path: root/src/ui/sidebarwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/sidebarwidget.c')
-rw-r--r--src/ui/sidebarwidget.c3
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: {