[vlc-devel] commit: macosx: show an end-user visible warning in case that VLC was compiled without the update checker ( Felix Paul Kühne )

git version control git at videolan.org
Tue Mar 11 23:53:29 CET 2008


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Mar 11 23:27:53 2008 +0100| [6d4276b4678b11f5e8915eae6e5e5d3052c7c0d1]

macosx: show an end-user visible warning in case that VLC was compiled without the update checker

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6d4276b4678b11f5e8915eae6e5e5d3052c7c0d1
---

 modules/gui/macosx/intf.m |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 9d87106..9fdfed3 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -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
 }
 




More information about the vlc-devel mailing list