]> git.sesse.net Git - vlc/commitdiff
macosx: show an end-user visible warning in case that VLC was compiled without the...
authorFelix Paul Kühne <fkuehne@videolan.org>
Tue, 11 Mar 2008 22:27:53 +0000 (23:27 +0100)
committerFelix Paul Kühne <fkuehne@videolan.org>
Tue, 11 Mar 2008 22:53:18 +0000 (23:53 +0100)
modules/gui/macosx/intf.m

index 9d87106c8d9b9b008988e7e04c6227c889c4b076..9fdfed39d20ca00214e1c6f7042fad973ee1b9ab 100644 (file)
@@ -56,6 +56,7 @@
 #import "simple_prefs.h"
 
 #import <vlc_input.h>
+#import <vlc_interface.h>
 
 /*****************************************************************************
  * Local prototypes.
@@ -2024,7 +2025,8 @@ static VLCMain *_o_sharedMainInstance = nil;
         nib_update_loaded = [NSBundle loadNibNamed:@"Update" owner:self];
     [o_update showUpdateWindow];
 #else
-    msg_Err( VLCIntf, "Updates checking was not enabled in this build" );
+    msg_Err( VLCIntf, "Update checker wasn't enabled in this build" );
+    intf_UserFatal( VLCIntf, VLC_FALSE, _("Update check failed"), _("Checking for updates was not enabled in this build.") );
 #endif
 }