(self, event)
| 2847 | |
| 2848 | # window close event |
| 2849 | def closeEvent(self, event): |
| 2850 | self.appIndicatorHide() |
| 2851 | trayonclose = False |
| 2852 | |
| 2853 | try: |
| 2854 | trayonclose = BMConfigParser().getboolean( |
| 2855 | 'bitmessagesettings', 'trayonclose') |
| 2856 | except Exception: |
| 2857 | pass |
| 2858 | |
| 2859 | # always ignore, it shuts down by itself |
| 2860 | if self.quitAccepted: |
| 2861 | event.accept() |
| 2862 | return |
| 2863 | |
| 2864 | event.ignore() |
| 2865 | if not trayonclose: |
| 2866 | # quit the application |
| 2867 | self.quit() |
| 2868 | |
| 2869 | def on_action_InboxMessageForceHtml(self): |
| 2870 | msgid = self.getCurrentMessageId() |
nothing calls this directly
no test coverage detected