Changeset 2209f2992dc3eda6a55a3f07e2f22f2caf772ac2
- Timestamp:
- 27/02/08 22:34:27
(9 months ago)
- Author:
- Felix Paul Kühne <fkuehne@videolan.org>
- git-committer:
- Felix Paul Kühne <fkuehne@videolan.org> 1204148067 +0000
- git-parent:
[887efa47545fa1e6b08acdb1d1a026049bbafe75]
- git-author:
- Felix Paul Kühne <fkuehne@videolan.org> 1204148067 +0000
- Message:
* coding style fixes (please don't do [NSString string], but use an empty constant. It's faster and nicer)
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| re9347d2 |
r2209f29 |
|
| 23 | 23 | *****************************************************************************/ |
|---|
| 24 | 24 | |
|---|
| 25 | | #ifdef HAVE_CONFIG_H |
|---|
| 26 | | # include "config.h" |
|---|
| 27 | | #endif |
|---|
| 28 | | |
|---|
| 29 | 25 | #ifdef UPDATE_CHECK |
|---|
| 30 | 26 | #import <Cocoa/Cocoa.h> |
|---|
| | 27 | #import "intf.h" |
|---|
| 31 | 28 | #import <vlc_update.h> |
|---|
| 32 | 29 | |
|---|
| r818a663 |
r2209f29 |
|
| 23 | 23 | *****************************************************************************/ |
|---|
| 24 | 24 | |
|---|
| 25 | | #ifdef HAVE_CONFIG_H |
|---|
| 26 | | # include "config.h" |
|---|
| 27 | | #endif |
|---|
| 28 | | |
|---|
| 29 | 25 | #ifdef UPDATE_CHECK |
|---|
| 30 | 26 | |
|---|
| … | … | |
| 33 | 29 | *****************************************************************************/ |
|---|
| 34 | 30 | #import "update.h" |
|---|
| 35 | | #import "intf.h" |
|---|
| 36 | 31 | |
|---|
| 37 | 32 | static NSString * kPrefUpdateOnStartup = @"UpdateOnStartup"; |
|---|
| … | … | |
| 174 | 169 | if( uptodate ) |
|---|
| 175 | 170 | { |
|---|
| 176 | | [o_fld_releaseNote setString: [NSString string]]; |
|---|
| 177 | | [o_fld_currentVersion setStringValue: [NSString string]]; |
|---|
| | 171 | [o_fld_releaseNote setString: @""]; |
|---|
| | 172 | [o_fld_currentVersion setStringValue: @""]; |
|---|
| 178 | 173 | [o_fld_status setStringValue: _NS("This version of VLC is the latest available.")]; |
|---|
| 179 | 174 | [o_btn_DownloadNow setEnabled: NO]; |
|---|
| … | … | |
| 213 | 208 | - (void)performDownload:(NSString *)path |
|---|
| 214 | 209 | { |
|---|
| 215 | | update_Download( p_u, (char*)[path UTF8String] ); |
|---|
| | 210 | update_Download( p_u, [path UTF8String] ); |
|---|
| 216 | 211 | [o_btn_DownloadNow setEnabled: NO]; |
|---|
| 217 | 212 | [o_update_window orderOut: self]; |
|---|