[vlc-devel] commit: macosx: forward-port [d0fbd04ce361f9dbc16d44dae09c168db708b3a3] ( Felix Paul Kühne )

git version control git at videolan.org
Tue Jul 21 00:02:03 CEST 2009


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Jul 21 00:00:58 2009 +0200| [ef60a4305b205cf5937bf5fd23a885bfe011df09] | committer: Felix Paul Kühne 

macosx: forward-port [d0fbd04ce361f9dbc16d44dae09c168db708b3a3]

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

 modules/gui/macosx/update.m |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/modules/gui/macosx/update.m b/modules/gui/macosx/update.m
index 12f162b..766e59b 100644
--- a/modules/gui/macosx/update.m
+++ b/modules/gui/macosx/update.m
@@ -55,15 +55,6 @@ static VLCUpdate *_o_sharedInstance = nil;
     } else {
         _o_sharedInstance = [super init];
         b_checked = false;
-
-        /* clean the interface */
-        [o_fld_releaseNote setString: @""];
-        [o_fld_currentVersion setString: @""];
-        /* translate strings to the user's language */
-        [o_update_window setTitle: _NS("Check for Updates")];
-        [o_btn_DownloadNow setTitle: _NS("Download now")];
-        [o_btn_okay setTitle: _NS("OK")];
-        [o_chk_updateOnStartup setTitle: _NS("Automatically check for updates")];
     }
 
     return _o_sharedInstance;
@@ -76,6 +67,15 @@ static VLCUpdate *_o_sharedInstance = nil;
 
 - (void)awakeFromNib
 {
+    /* clean the interface */
+    [o_fld_releaseNote setString: @""];
+    [o_fld_currentVersion setStringValue: @""];
+    /* translate strings to the user's language */
+    [o_update_window setTitle: _NS("Check for Updates")];
+    [o_btn_DownloadNow setTitle: _NS("Download now")];
+    [o_btn_okay setTitle: _NS("OK")];
+    [o_chk_updateOnStartup setTitle: _NS("Automatically check for updates")];
+
     /* we don't use - (BOOL)shouldCheckUpdateOnStartup because we don't want
      * the Alert panel to pop up at this time */
     [o_chk_updateOnStartup setState: [[NSUserDefaults standardUserDefaults] boolForKey: kPrefUpdateOnStartup]];




More information about the vlc-devel mailing list