]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/intf.m
* new CheckForUpdate panel (closes #310)
[vlc] / modules / gui / macosx / intf.m
index 7ce714870ca30d530cf9fd70405eb28540a18d44..39b6691a99029977623b7e36ce95dafa1639e999 100644 (file)
@@ -44,7 +44,7 @@
 #include "sfilters.h"
 #include "interaction.h"
 #include "embeddedwindow.h"
-/*#include "update.h"*/
+#include "update.h"
 
 /*****************************************************************************
  * Local prototypes.
@@ -327,7 +327,7 @@ static VLCMain *_o_sharedMainInstance = nil;
     o_embedded_list = [[VLCEmbeddedList alloc] init];
     o_interaction_list = [[VLCInteractionList alloc] init];
     o_sfilters = nil;
-    /*o_update = [[VLCUpdate alloc] init];*/
+    o_update = [[VLCUpdate alloc] init];
 
     i_lastShownVolume = -1;
     return _o_sharedMainInstance;
@@ -486,7 +486,7 @@ static VLCMain *_o_sharedMainInstance = nil;
     /* main menu */
     [o_mi_about setTitle: [_NS("About VLC media player") \
         stringByAppendingString: @"..."]];
-/*    [o_mi_checkForUpdate setTitle: _NS("Check for Update...")];*/
+    [o_mi_checkForUpdate setTitle: _NS("Check for Update...")];
     [o_mi_prefs setTitle: _NS("Preferences...")];
     [o_mi_add_intf setTitle: _NS("Add Interface")];
     [o_mu_add_intf setTitle: _NS("Add Interface")];
@@ -1638,7 +1638,7 @@ static VLCMain *_o_sharedMainInstance = nil;
     [o_prefs showPrefs];
 }
 
-/*- (IBAction)checkForUpdate:(id)sender
+- (IBAction)checkForUpdate:(id)sender
 {
     if (!nib_update_loaded)
     {
@@ -1647,7 +1647,7 @@ static VLCMain *_o_sharedMainInstance = nil;
     } else {
         [o_update showUpdateWindow];
     }
-}*/
+}
 
 - (IBAction)closeError:(id)sender
 {