mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-07-17 21:56:07 -04:00
Delete timelines is now possible
This commit is contained in:
@@ -24,4 +24,6 @@ def get_ignored_client():
|
||||
|
||||
def clear_list():
|
||||
dlg = wx.MessageDialog(None, _(u"Do you really want to empty this buffer? It's items will be removed from the list but not from Twitter"), _(u"Empty buffer"), wx.ICON_QUESTION|wx.YES_NO)
|
||||
return dlg.ShowModal()
|
||||
return dlg.ShowModal()
|
||||
def remove_buffer():
|
||||
return wx.MessageDialog(None, _(u"Do you really want to delete this timeline?"), _(u"Attention"), style=wx.ICON_QUESTION|wx.YES_NO).ShowModal()
|
@@ -67,7 +67,7 @@ class mainFrame(wx.Frame):
|
||||
self.autoread.Enable(False)
|
||||
self.clear = buffer.Append(wx.NewId(), _(u"&Clear buffer"))
|
||||
self.deleteTl = buffer.Append(wx.NewId(), _(u"&Remove buffer"))
|
||||
self.deleteTl.Enable(False)
|
||||
# self.deleteTl.Enable(False)
|
||||
|
||||
# Help Menu
|
||||
help = wx.Menu()
|
||||
@@ -169,4 +169,7 @@ class mainFrame(wx.Frame):
|
||||
self.Show()
|
||||
|
||||
def show_address(self, address):
|
||||
wx.MessageDialog(self, address, _(u"Address"), wx.OK).ShowModal()
|
||||
wx.MessageDialog(self, address, _(u"Address"), wx.OK).ShowModal()
|
||||
|
||||
def delete_buffer(self, pos):
|
||||
self.nb.DeletePage(pos)
|
Reference in New Issue
Block a user