Merge branch 'next-gen' of github.com:mcv-software/twblue into next-gen

This commit is contained in:
Manuel Cortez 2023-01-05 17:22:22 -06:00
commit 12b4c8ac23
No known key found for this signature in database
GPG Key ID: 9E0735CA15EFE790

View File

@ -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)