summaryrefslogtreecommitdiff
path: root/src/ui/root.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-09-21 14:37:19 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-09-21 14:37:19 +0300
commit14eec09b1d6f0d11292b81e23633f6c764755d0f (patch)
tree11431c97b6ded31aaff4043e3cd1b2a281a13706 /src/ui/root.c
parent69529fea17c904dc5205657dd04c7ec66a2a3681 (diff)
Fixed issues with popup windows
Diffstat (limited to 'src/ui/root.c')
-rw-r--r--src/ui/root.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/root.c b/src/ui/root.c
index 2e883787..90c0c6e4 100644
--- a/src/ui/root.c
+++ b/src/ui/root.c
@@ -436,8 +436,9 @@ static void updateNavBarIdentity_(iWidget *navBar) {
436 const iString *subjectName = ident ? name_GmIdentity(ident) : NULL; 436 const iString *subjectName = ident ? name_GmIdentity(ident) : NULL;
437 const char * idLabel = subjectName 437 const char * idLabel = subjectName
438 ? format_CStr(uiTextAction_ColorEscape "%s", cstr_String(subjectName)) 438 ? format_CStr(uiTextAction_ColorEscape "%s", cstr_String(subjectName))
439 : "///${menu.identity.notactive}"; 439 : "${menu.identity.notactive}";
440 setMenuItemLabelByIndex_Widget(menu, 0, idLabel); 440 setMenuItemLabelByIndex_Widget(menu, 0, idLabel);
441 setMenuItemDisabledByIndex_Widget(menu, 0, !ident);
441 iLabelWidget *toolButton = findWidget_App("toolbar.ident"); 442 iLabelWidget *toolButton = findWidget_App("toolbar.ident");
442 iLabelWidget *toolName = findWidget_App("toolbar.name"); 443 iLabelWidget *toolName = findWidget_App("toolbar.name");
443 if (toolName) { 444 if (toolName) {