[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Proposal: Adding a class to automatically manage the wait cursor and OK button enabled status

From: Friedrich Brunzema <brunzefb_at_yahoo.com>
Date: Thu, 30 May 2013 20:09:46 -0700 (PDT)

I have committed the class, and will now remove the duplication. Stefan, could you do a review? I have some comments on possible code removals, but don't know if they are needed for some other reason. I know some of the code is process re-entrant, don't know how it behaves in that case.

If this class gets used in a nested way, I think the hourglass cursor will still stay (as its reference counted), after the inner object goes out of scope - it then also re-enables OK. As the out object goes out of scope, the hourglass go away, and the Ok which is already enabled gets re-enabled, which is fine.

Best,

Friedrich Brunzema

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3056647

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-05-31 05:09:50 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.