summaryrefslogtreecommitdiff
path: root/src/ui/root.c
diff options
context:
space:
mode:
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) {