Added keyboard shortcuts for radio buttons in community timeline dialog

This commit is contained in:
Mohamed 2024-05-24 17:19:03 -04:00
parent 28283c72a3
commit 80dd29fb13

View File

@ -14,8 +14,8 @@ class CommunityTimeline(wx.Dialog):
communitySizer.Add(self.url, 0, wx.ALL, 5) communitySizer.Add(self.url, 0, wx.ALL, 5)
actionSizer = wx.BoxSizer(wx.VERTICAL) actionSizer = wx.BoxSizer(wx.VERTICAL)
label2 = wx.StaticText(panel, -1, _(u"Buffer type")) label2 = wx.StaticText(panel, -1, _(u"Buffer type"))
self.local= wx.RadioButton(panel, -1, _("Local timeline"), style=wx.RB_GROUP) self.local= wx.RadioButton(panel, -1, _("&Local timeline"), style=wx.RB_GROUP)
self.federated= wx.RadioButton(panel, -1, _("Federated Timeline")) self.federated= wx.RadioButton(panel, -1, _("&Federated Timeline"))
hSizer = wx.BoxSizer(wx.HORIZONTAL) hSizer = wx.BoxSizer(wx.HORIZONTAL)
hSizer.Add(label2, 0, wx.ALL, 5) hSizer.Add(label2, 0, wx.ALL, 5)
actionSizer.Add(self.local, 0, wx.ALL, 5) actionSizer.Add(self.local, 0, wx.ALL, 5)