aboutsummaryrefslogtreecommitdiffstats
path: root/src/m_gpg_info/ui/main.lua
blob: c5629ed856c4fc05decd79c5da6498bce48fa612 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
-- GnuPG information: where it is offered. The dialog is the module's own
-- widget, in a frame the Host owns; the entry's title is the command's.

local show = commands.get("com.bktus.gpgfrontend.module.gnupg_info_gathering.show_gnupg_info")

ui.mount { id = "info", anchor = ui.anchor.dialog {}, widget = native.widget("info") }

ui.action {
  id = "help",
  anchor = ui.anchor("main.menu.help"),
  command = show,
  icon = ":/icons/key.png",
}