Started an effort to merge the attachment dialogs in socializer. It will be possible to add both local files and files already present in VK

This commit is contained in:
2018-12-20 17:46:54 -06:00
parent d71721ab87
commit fb06df8578
2 changed files with 25 additions and 6 deletions

View File

@@ -79,3 +79,11 @@ class notificationsMenu(wx.Menu):
super(notificationsMenu, self).__init__()
self.mark_as_read = wx.MenuItem(self, wx.NewId(), _(u"Mark as read"))
self.Append(self.mark_as_read)
class attachMenu(wx.Menu):
def __init__(self):
super(attachMenu, self).__init__()
self.upload = wx.MenuItem(self, wx.NewId(), _(u"Upload from computer"))
self.Append(self.upload)
self.add = wx.MenuItem(self, wx.NewId(), _(u"Add from VK"))
self.Append(self.add)