mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
Merge pull request #505 from Mohamed00/NewShortcuts
Mastodon: added new keyboard shortcuts
This commit is contained in:
commit
7c47d6171a
@ -43,13 +43,13 @@ class Post(wx.Dialog):
|
|||||||
main_sizer.Add(post_actions_sizer, 1, wx.EXPAND, 0)
|
main_sizer.Add(post_actions_sizer, 1, wx.EXPAND, 0)
|
||||||
visibility_sizer = wx.BoxSizer(wx.HORIZONTAL)
|
visibility_sizer = wx.BoxSizer(wx.HORIZONTAL)
|
||||||
post_actions_sizer.Add(visibility_sizer, 1, wx.EXPAND, 0)
|
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)
|
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 = 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)
|
self.visibility.SetSelection(0)
|
||||||
visibility_sizer.Add(self.visibility, 0, 0, 0)
|
visibility_sizer.Add(self.visibility, 0, 0, 0)
|
||||||
self.add = wx.Button(self, wx.ID_ANY, _("A&dd"))
|
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.SetValue(False)
|
||||||
self.sensitive.Bind(wx.EVT_CHECKBOX, self.on_sensitivity_changed)
|
self.sensitive.Bind(wx.EVT_CHECKBOX, self.on_sensitivity_changed)
|
||||||
main_sizer.Add(self.sensitive, 0, wx.ALL, 5)
|
main_sizer.Add(self.sensitive, 0, wx.ALL, 5)
|
||||||
|
Loading…
Reference in New Issue
Block a user