ending the waffle

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
Nov 12 06:06 [raw]

for one issue anyway diff --git a/src/bitmessageqt/__init__.py b/src/bitmessageqt/__init__.py index be26a0d..7d62368 100644 --- a/src/bitmessageqt/__init__.py +++ b/src/bitmessageqt/__init__.py @@ -2895,7 +2895,7 @@ class MyForm(settingsmixin.SMainWindow): event.ignore() if not trayonclose: # quit the application - self.quit() + self.ui.actionExit.trigger() def on_action_InboxMessageForceHtml(self): msgid = self.getCurrentMessageId()

BM-2cUdgkDDAahwPAU6oD2A7DnjqZz3hgY832
Nov 12 06:39 [raw]

This looks like a good idea, let me try that. Peter Surda Bitmessage core developer

BM-2cUdgkDDAahwPAU6oD2A7DnjqZz3hgY832
Nov 12 06:46 [raw]

It doesn't work out of the box, but I think the approach is still salvageable. Peter Surda Bitmessage core developer

BM-2cUdgkDDAahwPAU6oD2A7DnjqZz3hgY832
Nov 12 07:06 [raw]

Well, not really. The signal is still blocked even if you call quit indirectly through trigger. It probably has to be redone in an actual thread, self.quit needs to be the thread's run function that is passed the myapp parameter. Upon first time the exit is triggered, the thread would start, and upon subsequent ones it would process the signal and adjust accordingly. One approach that is slightly easier and may work as well is to create a custom event and use pushEvent to put it into the event queue. Peter Surda Bitmessage core developer

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
Nov 12 10:32 [raw]

diff --git a/src/bitmessageqt/__init__.py b/src/bitmessageqt/__init__.py index be26a0d..d6ebd9f 100644 --- a/src/bitmessageqt/__init__.py +++ b/src/bitmessageqt/__init__.py @@ -2895,7 +2895,7 @@ class MyForm(settingsmixin.SMainWindow): event.ignore() if not trayonclose: # quit the application - self.quit() + QtCore.QTimer.singleShot(0, self.quit) def on_action_InboxMessageForceHtml(self): msgid = self.getCurrentMessageId()

BM-2cUdgkDDAahwPAU6oD2A7DnjqZz3hgY832
Nov 12 10:55 [raw]

Sorry, doesn't work. Peter Surda Bitmessage core developer

BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY
Nov 13 04:56 [raw]

which one ? usually TERMinate works

[chan] bitmessage
BM-2cWy7cvHoq3f1rYMerRJp8PT653jjSuEdY

Subject Last Count
possible pull request -- mod for native save-as-dialog, e.g. in KDE - filter mod Feb 23 19:54 5
another great idea of mine : Feb 23 11:28 6
OK, let's hijack a community Feb 22 16:33 5
possible pull request -- mod for native save-as-dialog, complete /src/bitmessageqt/__init__.py Feb 21 22:01 1
possible pull request -- mod for native save-as-dialog, e.g. in KDE Feb 21 20:56 1
cool pyBM modification ! save BM as file natively, with proper KDE dialogue ! only 12 lines Feb 21 20:52 1
(no subject) Feb 21 19:32 1
The Moon Landing Was Faked and Astronauts Are Lying Feb 21 19:31 1
The Moon and the Sun are the Same Size Feb 21 19:24 1
The Earth IS flat Feb 21 19:21 1
UK Column News - 22 February 2019 Feb 21 19:12 1
UK Column News - 25th February 2019 Feb 21 19:10 3
UK Column News - 22nd February 2019 Feb 21 19:05 5
Call to murder Angela Merkel, Emmanuel Macron, Petro Poroshenko, Jens Stoltenberg etc. Feb 21 08:08 3
claws-mail + pyBM + Gtk3 - minitool Feb 19 21:05 7
claws-mail + pyBM + Gtk3. Feb 19 19:58 8
End of support for Windows XP for binary builds Feb 19 10:13 21
None of this is connectd Feb 17 23:58 1
Unextreme and unrelated fish pie Feb 17 23:53 1
Stalin - the greatest guy ever Feb 17 17:56 2
UK Column News - February 22 2019 Feb 17 17:29 1
UK Column News - 21 February 2019 Feb 17 17:27 1
UK Column News - 21st February 2019 Feb 17 17:22 1
UK Column News - February 21 2019 Feb 17 17:21 1
UK Column News - 20th February 2019 Feb 17 17:18 1
UK Column News - February 20 2019 Feb 17 17:16 1
UK Column News - 20 February 2019 Feb 17 17:15 1
UK Column News - February 19th 2019 Feb 17 17:14 1
UK Column News - 18 February 2019 Feb 17 17:10 1
UK Column News 19th - February 2019 Feb 17 17:09 1
UK Column News 19th February 2019 Feb 17 17:08 1
UK Column News - 18th February 2019 Feb 17 17:07 1
Stalin - the greatest guy ever Feb 17 15:43 1
cool BM things in the making Feb 17 12:33 9
NEW python3.7 -- this neat lil editor will kill EMACS for good ! new native dialog feature Feb 17 01:53 2
how to use mailing list...? Feb 17 01:51 4
Security Nightmares: hidden WebTorrent client in web advertisements to provoke copyright cease-and-desist fines Feb 16 21:23 1
End of support for Windows XP for binary builds -- ISO of a live distro Feb 16 08:01 1
UK Column News - 11 February 2019 Feb 10 11:07 5
come on guys, leak some more shitwarez Feb 10 07:28 14
DJ Bernstein sightings on Bitmessage Feb 10 06:57 1
UK Column News - February 12 2019 Feb 9 21:19 1
UK Column News - February 12th 2019 Feb 9 21:19 1
UK Column News - 12th February 2019 Feb 9 21:16 1
UK Column News - 11th February 2019 Feb 9 21:14 1
UK Column News - 9th February 2019 Feb 9 21:13 1
UK Column News - February 2019 7th Feb 7 07:45 2
UK Column News - 7 2019 February Feb 7 07:42 1
UK Column News - 2019 February 7th Feb 7 07:40 2
UK Column News - February 7th 2019 Feb 7 07:37 2
UK Column News - 2019 February 7 Feb 7 07:35 2
UK Column News - February 7 2019 Feb 7 07:29 1
UK Column News - 7th February 2019 Feb 7 07:26 3
UK Column News - 7 February 2019 Feb 7 07:25 1
UK Column News - 6th February 2019 Feb 2 15:57 3
UK Column News - 5th February 2019 Feb 2 15:57 4
UK Column News - 4th February 2019 Feb 2 15:57 5
what does dandelion: 90 do? Feb 1 11:42 7
stop test penis, please. it's OK Jan 30 09:39 2
dammit ! dang nigger pranked Dr. David Duke Jan 27 19:37 2