[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24271] trunk/blender/intern/ghost/intern/ GHOST_SystemCocoa.mm: Slightly nicer OS X quit message
Matt Ebb
matt at mke3.net
Tue Nov 3 08:24:24 CET 2009
Revision: 24271
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24271
Author: broken
Date: 2009-11-03 08:24:22 +0100 (Tue, 03 Nov 2009)
Log Message:
-----------
Slightly nicer OS X quit message
Modified Paths:
--------------
trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm
Modified: trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm 2009-11-03 07:23:02 UTC (rev 24270)
+++ trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm 2009-11-03 07:24:22 UTC (rev 24271)
@@ -786,7 +786,7 @@
case NSFlagsChanged:
handleKeyEvent(event);
- /* Support system-wide keyboard shortcuts, like Exposé, ...) =>included in always NSApp sendEvent */
+ /* Support system-wide keyboard shortcuts, like Exposé, ...) =>included in always NSApp sendEvent */
/* if (([event modifierFlags] & NSCommandKeyMask) || [event type] == NSFlagsChanged) {
[NSApp sendEvent:event];
}*/
@@ -891,8 +891,8 @@
//Check open windows if some changes are not saved
if (m_windowManager->getAnyModifiedState())
{
- int shouldQuit = NSRunAlertPanel(@"Exit Blender", @"Some changes have not been saved. Do you really want to quit ?",
- @"Cancel", @"Quit anyway", nil);
+ int shouldQuit = NSRunAlertPanel(@"Exit Blender", @"Some changes have not been saved.\nDo you really want to quit ?",
+ @"Cancel", @"Quit Anyway", nil);
if (shouldQuit == NSAlertAlternateReturn)
{
pushEvent( new GHOST_Event(getMilliSeconds(), GHOST_kEventQuit, NULL) );
More information about the Bf-blender-cvs
mailing list