Added menu option to delete all trashed messages

This commit is contained in:
Jonathan Warren 2013-05-28 17:04:23 -04:00
parent ac2bf4715a
commit c762d7ed01

View File

@ -777,9 +777,10 @@ class MyForm(QtGui.QMainWindow):
shared.sqlSubmitQueue.put('''delete from sent where folder='trash' ''') shared.sqlSubmitQueue.put('''delete from sent where folder='trash' ''')
shared.sqlSubmitQueue.put('') shared.sqlSubmitQueue.put('')
shared.sqlReturnQueue.get() shared.sqlReturnQueue.get()
shared.sqlSubmitQueue.put('commit') #Commit takes no parameters shared.sqlSubmitQueue.put('commit') #Commit takes no parameters and returns nothing
shared.sqlSubmitQueue.put('vacuum') shared.sqlSubmitQueue.put('vacuum')
shared.sqlSubmitQueue.put('') shared.sqlSubmitQueue.put('')
shared.sqlReturnQueue.get()
shared.sqlLock.release() shared.sqlLock.release()
def click_actionRegenerateDeterministicAddresses(self): def click_actionRegenerateDeterministicAddresses(self):