summaryrefslogtreecommitdiff
path: root/src/ui/window.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-09-02 13:29:53 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-09-02 18:00:19 +0300
commit6f7408cbe91523a3dae80952790a4a8ec0d87cf4 (patch)
tree2bb3245660b5b0d06a3aa7e2207875331910da39 /src/ui/window.c
parent77ca5271345e02fc6c4b0ede4621893b5dd523b9 (diff)
DocumentWidget: Dynamic context menu
Diffstat (limited to 'src/ui/window.c')
-rw-r--r--src/ui/window.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 6f60fbb2..69730445 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -329,10 +329,10 @@ static void setupUserInterface_Window(iWindow *d) {
329 addChild_Widget(div, iClob(navBar)); 329 addChild_Widget(div, iClob(navBar));
330 setBackgroundColor_Widget(navBar, uiBackground_ColorId); 330 setBackgroundColor_Widget(navBar, uiBackground_ColorId);
331 setCommandHandler_Widget(navBar, handleNavBarCommands_); 331 setCommandHandler_Widget(navBar, handleNavBarCommands_);
332 addChild_Widget(navBar, iClob(newIcon_LabelWidget("\U0001f850", 0, 0, "navigate.back"))); 332 addChild_Widget(navBar, iClob(newIcon_LabelWidget("\U0001f870", 0, 0, "navigate.back")));
333 addChild_Widget(navBar, iClob(newIcon_LabelWidget("\U0001f852", 0, 0, "navigate.forward"))); 333 addChild_Widget(navBar, iClob(newIcon_LabelWidget("\U0001f872", 0, 0, "navigate.forward")));
334 iLabelWidget *idMenu = 334 iLabelWidget *idMenu = makeMenuButton_LabelWidget(
335 makeMenuButton_LabelWidget("\U0001f464", identityButtonMenuItems, iElemCount(identityButtonMenuItems)); 335 "\U0001f464", identityButtonMenuItems, iElemCount(identityButtonMenuItems));
336 setAlignVisually_LabelWidget(idMenu, iTrue); 336 setAlignVisually_LabelWidget(idMenu, iTrue);
337 addChild_Widget(navBar, iClob(idMenu)); 337 addChild_Widget(navBar, iClob(idMenu));
338 setId_Widget(as_Widget(idMenu), "navbar.ident"); 338 setId_Widget(as_Widget(idMenu), "navbar.ident");