|
|
@ -92,6 +92,7 @@ class PassUi(wx.Frame):
|
|
|
|
|
|
|
|
|
|
|
|
@redraw
|
|
|
|
@redraw
|
|
|
|
def add_init(self):
|
|
|
|
def add_init(self):
|
|
|
|
|
|
|
|
"""add_init"""
|
|
|
|
select_label: str = "Select GPG Key"
|
|
|
|
select_label: str = "Select GPG Key"
|
|
|
|
if self.gpg_key:
|
|
|
|
if self.gpg_key:
|
|
|
|
label: wx.StaticText = wx.StaticText(self.pnl, label="Selected GPG key:")
|
|
|
|
label: wx.StaticText = wx.StaticText(self.pnl, label="Selected GPG key:")
|
|
|
@ -105,7 +106,7 @@ class PassUi(wx.Frame):
|
|
|
|
lambda event: self.gpg_button_clicked(), gpg_btn)
|
|
|
|
lambda event: self.gpg_button_clicked(), gpg_btn)
|
|
|
|
if self.gpg_key:
|
|
|
|
if self.gpg_key:
|
|
|
|
init_btn: wx.Button = wx.Button(self.pnl, label="Init Local Password Store")
|
|
|
|
init_btn: wx.Button = wx.Button(self.pnl, label="Init Local Password Store")
|
|
|
|
git_btn: wx.Button = wx.Button(self.pnl, label="Init Git Password Store")
|
|
|
|
git_btn: wx.Button = wx.Button(self.pnl, label="Clone Remote Password Store From Git")
|
|
|
|
self.sizer.Add(init_btn, 0, wx.EXPAND) # pylint: disable=no-member
|
|
|
|
self.sizer.Add(init_btn, 0, wx.EXPAND) # pylint: disable=no-member
|
|
|
|
self.sizer.Add(git_btn, 0, wx.EXPAND) # pylint: disable=no-member
|
|
|
|
self.sizer.Add(git_btn, 0, wx.EXPAND) # pylint: disable=no-member
|
|
|
|
self.Bind(wx.EVT_BUTTON,
|
|
|
|
self.Bind(wx.EVT_BUTTON,
|
|
|
|