summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/documentwidget.c2
-rw-r--r--src/ui/root.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index f146a2df..b3dd2e83 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -1277,7 +1277,7 @@ static void updateTrust_DocumentWidget_(iDocumentWidget *d, const iGmResponse *r
1277 set_Block(d->certFingerprint, &response->certFingerprint); 1277 set_Block(d->certFingerprint, &response->certFingerprint);
1278 set_String(d->certSubject, &response->certSubject); 1278 set_String(d->certSubject, &response->certSubject);
1279 } 1279 }
1280 iLabelWidget *lock = findWidget_App("navbar.lock"); 1280 iLabelWidget *lock = findChild_Widget(root_Widget(as_Widget(d)), "navbar.lock");
1281 if (~d->certFlags & available_GmCertFlag) { 1281 if (~d->certFlags & available_GmCertFlag) {
1282 setFlags_Widget(as_Widget(lock), disabled_WidgetFlag, iTrue); 1282 setFlags_Widget(as_Widget(lock), disabled_WidgetFlag, iTrue);
1283 updateTextCStr_LabelWidget(lock, gray50_ColorEscape openLock_Icon); 1283 updateTextCStr_LabelWidget(lock, gray50_ColorEscape openLock_Icon);
diff --git a/src/ui/root.c b/src/ui/root.c
index bec42719..d660c468 100644
--- a/src/ui/root.c
+++ b/src/ui/root.c
@@ -1262,7 +1262,7 @@ void createUserInterface_Root(iRoot *d) {
1262 { "Vertical", '3', 0, "ui.split arg:3 axis:1" }, 1262 { "Vertical", '3', 0, "ui.split arg:3 axis:1" },
1263 { "Vertical 1:2", SDLK_f, 0, "ui.split arg:1 axis:1" }, 1263 { "Vertical 1:2", SDLK_f, 0, "ui.split arg:1 axis:1" },
1264 { "Vertical 2:1", SDLK_r, 0, "ui.split arg:2 axis:1" }, 1264 { "Vertical 2:1", SDLK_r, 0, "ui.split arg:2 axis:1" },
1265 }, 9); 1265 }, 10);
1266 setFlags_Widget(splitMenu, disabledWhenHidden_WidgetFlag, iTrue); /* enabled when open */ 1266 setFlags_Widget(splitMenu, disabledWhenHidden_WidgetFlag, iTrue); /* enabled when open */
1267 setId_Widget(tabsMenu, "doctabs.menu"); 1267 setId_Widget(tabsMenu, "doctabs.menu");
1268 setId_Widget(barMenu, "barmenu"); 1268 setId_Widget(barMenu, "barmenu");