OSDN Git Service

MacGui: Remove one last section of code which generated the old update alert window...
authordynaflash <dynaflash@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Tue, 22 Jan 2008 17:16:46 +0000 (17:16 +0000)
committerdynaflash <dynaflash@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Tue, 22 Jan 2008 17:16:46 +0000 (17:16 +0000)
git-svn-id: svn://localhost/HandBrake/trunk@1226 b64f7644-9d1e-0410-96f1-a4d463321fa5

macosx/Controller.mm

index 1651f5c..62a7327 100644 (file)
@@ -130,20 +130,6 @@ static NSString *        ChooseSourceIdentifier             = @"Choose Source It
     
        [self openMainWindow:nil];
     
-    if( ( build = hb_check_update( fHandle, &version ) ) > -1 )
-    {
-        /* Update available - tell the user */
-        
-        NSBeginInformationalAlertSheet( _( @"Update is available" ),
-                                       _( @"Go get it!" ), _( @"Discard" ), NULL, fWindow, self,
-                                       @selector( updateAlertDone:returnCode:contextInfo: ),
-                                       NULL, NULL, [NSString stringWithFormat:
-                                                    _( @"HandBrake %s (build %d) is now available for download." ),
-                                                    version, build] );
-        return;
-        
-    }
-       
     /* Show Browse Sources Window ASAP */
     [self performSelectorOnMainThread: @selector(browseSources:)
                            withObject: NULL waitUntilDone: NO];