Donate Share

Thingamablog

Tracker: Patches

5 Improve Terminate Action for Mac OS X - ID: 1596186
Last Update: Comment added ( okamura )

I use Thingamablog 1.0.5 with Mac OS X 10.4.8.

Mac users usually use command-Q to terminate an
application in Mac OS. On the other hand, Thingamablog
prepares for terminate command in File menu.

After I terminate Thingamablog, Thingamablog uploads
all files at next publissing. I was embarrassed by this.

One day I noticed that I could evade this. I can evade
this when I terminate Thingamablog with File menu. Then
I tried to trace handling of two termination with a
debugger. As a result, I understood followings.

command-Q:
Call only
net.sf.thingamablog.gui.app.ThingamablogFrame.MyShutdownHook.run

file menu command:
Call net.sf.thingamablog.gui.app.ThingamablogFrame.closeApp
(closeApp method calls System.exit(0).)
Call
net.sf.thingamablog.gui.app.ThingamablogFrame.MyShutdownHook.run

Then I made a patch file. It works with Mac OS X 10.4.8
(both Intel Mac and PPC Mac) well. In addition, I
tested it on Windows XP SP2 a little. This does not
seem to have any problem, too.


okamura ( okamura ) - 2006-11-14 09:52

5

Closed

None

Nobody/Anonymous

None

None

Public


Comment ( 1 )




Date: 2007-01-18 05:54
Sender: okamura


This patch was applied to Thingamablog 1.0.6.


Log in to comment.

Attached File ( 1 )

Filename Description Download
thingamablog-1.0.5-OKAMURA-20061010.patch.gz compressed with gzip Download

Changes ( 3 )

Field Old Value Date By
status_id Open 2007-01-18 05:54 okamura
close_date - 2007-01-18 05:54 okamura
File Added 202750: thingamablog-1.0.5-OKAMURA-20061010.patch.gz 2006-11-14 09:52 okamura