Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
fe0ec6a1
Commit
fe0ec6a1
authored
Feb 21, 2014
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx/about: fix layout issue and simply code (close #10746)
parent
39d0b322
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
18 deletions
+5
-18
modules/gui/macosx/about.m
modules/gui/macosx/about.m
+5
-18
No files found.
modules/gui/macosx/about.m
View file @
fe0ec6a1
/*****************************************************************************
* about.m: MacOS X About Panel
*****************************************************************************
* Copyright (C) 2001-201
3
VLC authors and VideoLAN
* Copyright (C) 2001-201
4
VLC authors and VideoLAN
* $Id$
*
* Authors: Derk-Jan Hartman <thedj@users.sourceforge.net>
...
...
@@ -31,13 +31,9 @@
#import <vlc_about.h>
#import "CompatibilityFixes.h"
#ifdef __x86_64__
/* this is a bit weird, but we should be confident that there will be more than
* one arch to support again one day */
#define PLATFORM "Intel 64bit"
#elif __i386__
#define PLATFORM "Intel 32bit"
#else
#define PLATFORM "PowerPC 32bit"
#endif
/*****************************************************************************
* VLAboutBox implementation
...
...
@@ -107,10 +103,8 @@ static VLAboutBox *_o_sharedInstance = nil;
NSString
*
compiler
;
#ifdef __clang__
compiler
=
[
NSString
stringWithFormat
:
@"clang %s"
,
__clang_version__
];
#elif __llvm__
compiler
=
[
NSString
stringWithFormat
:
@"llvm-gcc %s"
,
__VERSION__
];
#else
compiler
=
[
NSString
stringWithFormat
:
@"gcc %s"
,
__VERSION__
];
compiler
=
[
NSString
stringWithFormat
:
@"
llvm-
gcc %s"
,
__VERSION__
];
#endif
[
o_revision_field
setStringValue
:
[
NSString
stringWithFormat
:
_NS
(
"Compiled by %s with %@"
),
VLC_CompileBy
(),
compiler
]];
...
...
@@ -254,14 +248,7 @@ static VLAboutBox *_o_sharedInstance = nil;
-
(
void
)
showGPL
{
[
self
showAbout
];
[
o_credits_scrollview
setHidden
:
NO
];
[
o_credits_textview
setHidden
:
NO
];
[
o_joinus_txt
setHidden
:
YES
];
[
o_credits_textview
setString
:[
NSString
stringWithUTF8String
:
psz_license
]];
[
o_credits_textview
scrollPoint
:
NSMakePoint
(
0
,
0
)];
b_restart
=
YES
;
[
self
buttonAction
:
nil
];
}
/*****************************************************************************
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment