(self, connectSignal=True)
| 358 | self.on_context_menuSubscriptions) |
| 359 | |
| 360 | def init_sent_popup_menu(self, connectSignal=True): |
| 361 | # Popup menu for the Sent page |
| 362 | self.ui.sentContextMenuToolbar = QtGui.QToolBar() |
| 363 | # Actions |
| 364 | self.actionTrashSentMessage = self.ui.sentContextMenuToolbar.addAction( |
| 365 | _translate( |
| 366 | "MainWindow", "Move to Trash"), self.on_action_SentTrash) |
| 367 | self.actionSentClipboard = self.ui.sentContextMenuToolbar.addAction( |
| 368 | _translate( |
| 369 | "MainWindow", "Copy destination address to clipboard"), |
| 370 | self.on_action_SentClipboard) |
| 371 | self.actionForceSend = self.ui.sentContextMenuToolbar.addAction( |
| 372 | _translate( |
| 373 | "MainWindow", "Force send"), self.on_action_ForceSend) |
| 374 | # self.popMenuSent = QtGui.QMenu( self ) |
| 375 | # self.popMenuSent.addAction( self.actionSentClipboard ) |
| 376 | # self.popMenuSent.addAction( self.actionTrashSentMessage ) |
| 377 | |
| 378 | def rerenderTabTreeSubscriptions(self): |
| 379 | treeWidget = self.ui.treeWidgetSubscriptions |
no test coverage detected