mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-22 19:28:09 -06:00
Mastodon: added keyboard shortcuts for visibility combo box and sensitive content checkbox
This commit is contained in:
parent
18a7a42b5a
commit
b743d7af09
@ -43,13 +43,13 @@ class Post(wx.Dialog):
|
||||
main_sizer.Add(post_actions_sizer, 1, wx.EXPAND, 0)
|
||||
visibility_sizer = wx.BoxSizer(wx.HORIZONTAL)
|
||||
post_actions_sizer.Add(visibility_sizer, 1, wx.EXPAND, 0)
|
||||
label_1 = wx.StaticText(self, wx.ID_ANY, _("Visibility"))
|
||||
label_1 = wx.StaticText(self, wx.ID_ANY, _("&Visibility"))
|
||||
visibility_sizer.Add(label_1, 0, 0, 0)
|
||||
self.visibility = wx.ComboBox(self, wx.ID_ANY, choices=[_("Public"), _("Not listed"), _("Followers only"), _("Direct")], style=wx.CB_DROPDOWN | wx.CB_READONLY | wx.CB_SIMPLE)
|
||||
self.visibility.SetSelection(0)
|
||||
visibility_sizer.Add(self.visibility, 0, 0, 0)
|
||||
self.add = wx.Button(self, wx.ID_ANY, _("A&dd"))
|
||||
self.sensitive = wx.CheckBox(self, wx.ID_ANY, _("Sensitive content"))
|
||||
self.sensitive = wx.CheckBox(self, wx.ID_ANY, _("S&ensitive content"))
|
||||
self.sensitive.SetValue(False)
|
||||
self.sensitive.Bind(wx.EVT_CHECKBOX, self.on_sensitivity_changed)
|
||||
main_sizer.Add(self.sensitive, 0, wx.ALL, 5)
|
||||
|
Loading…
Reference in New Issue
Block a user