summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/window.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index c13d5843..a447340b 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -178,6 +178,8 @@ static iMenuItem bookmarksMenuItems_[] = {
178 178
179static const iMenuItem identityMenuItems_[] = { 179static const iMenuItem identityMenuItems_[] = {
180 { "New Identity...", SDLK_n, KMOD_PRIMARY | KMOD_SHIFT, "ident.new" }, 180 { "New Identity...", SDLK_n, KMOD_PRIMARY | KMOD_SHIFT, "ident.new" },
181 { "---", 0, 0, NULL },
182 { "Import...", 0, 0, "ident.import" },
181}; 183};
182 184
183static const iMenuItem helpMenuItems_[] = { 185static const iMenuItem helpMenuItems_[] = {
@@ -191,6 +193,7 @@ static const iMenuItem identityButtonMenuItems_[] = {
191 { "---", 0, 0, NULL }, 193 { "---", 0, 0, NULL },
192#if !defined (iHaveNativeMenus) 194#if !defined (iHaveNativeMenus)
193 { "New Identity...", SDLK_n, KMOD_PRIMARY | KMOD_SHIFT, "ident.new" }, 195 { "New Identity...", SDLK_n, KMOD_PRIMARY | KMOD_SHIFT, "ident.new" },
196 { "Import...", 0, 0, "ident.import" },
194 { "---", 0, 0, NULL }, 197 { "---", 0, 0, NULL },
195 { "Show Identities", '4', KMOD_PRIMARY, "sidebar.mode arg:3 show:1" }, 198 { "Show Identities", '4', KMOD_PRIMARY, "sidebar.mode arg:3 show:1" },
196#else 199#else
@@ -521,7 +524,7 @@ static void setupUserInterface_Window(iWindow *d) {
521 setId_Widget(as_Widget(idMenu), "navbar.ident"); 524 setId_Widget(as_Widget(idMenu), "navbar.ident");
522 iLabelWidget *lock = 525 iLabelWidget *lock =
523 addChildFlags_Widget(navBar, 526 addChildFlags_Widget(navBar,
524 iClob(newIcon_LabelWidget("\U0001f513", 0, 0, "server.showcert")), 527 iClob(newIcon_LabelWidget("\U0001f513", SDLK_i, KMOD_PRIMARY, "document.info")),
525 frameless_WidgetFlag | tight_WidgetFlag); 528 frameless_WidgetFlag | tight_WidgetFlag);
526 setId_Widget(as_Widget(lock), "navbar.lock"); 529 setId_Widget(as_Widget(lock), "navbar.lock");
527 setFont_LabelWidget(lock, defaultSymbols_FontId); 530 setFont_LabelWidget(lock, defaultSymbols_FontId);