Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
7e380bd6
Commit
7e380bd6
authored
Dec 30, 2007
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: backport [23942] as it is save
parent
3c9f7013
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
15 deletions
+12
-15
NEWS
NEWS
+2
-1
modules/gui/macosx/intf.h
modules/gui/macosx/intf.h
+1
-0
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+9
-11
modules/gui/macosx/prefs.m
modules/gui/macosx/prefs.m
+0
-3
No files found.
NEWS
View file @
7e380bd6
...
...
@@ -11,7 +11,8 @@ Security updates:
- M3U Playlist Demuxer
Mac OS X Interface:
* Improved Fullscreen behavior on multi-screen setups
* Corrected fullscreen behavior on multi-screen setups
* Improved behavior of the Preferences window
Changes between 0.8.6c and 0.8.6d:
...
...
modules/gui/macosx/intf.h
View file @
7e380bd6
...
...
@@ -106,6 +106,7 @@ struct intf_sys_t
BOOL
nib_wizard_loaded
;
/* reference to the wizard-nib */
BOOL
nib_extended_loaded
;
/* reference to the extended-nib */
BOOL
nib_bookmarks_loaded
;
/* reference to the bookmarks-nib */
BOOL
nib_prefs_loaded
;
/* reference to the prefs-nib */
BOOL
nib_update_loaded
;
/* reference to the update-nib */
IBOutlet
id
o_window
;
/* main window */
...
...
modules/gui/macosx/intf.m
View file @
7e380bd6
...
...
@@ -339,7 +339,7 @@ static VLCMain *_o_sharedMainInstance = nil;
}
o_about
=
[[
VLAboutBox
alloc
]
init
];
o_prefs
=
nil
;
o_prefs
=
[[
VLCPrefs
alloc
]
init
]
;
o_open
=
[[
VLCOpen
alloc
]
init
];
o_wizard
=
[[
VLCWizard
alloc
]
init
];
o_extended
=
nil
;
...
...
@@ -1552,8 +1552,6 @@ increase/decrease as long as the user holds the left/right, plus/minus button */
{
playlist_t
*
p_playlist
;
vout_thread_t
*
p_vout
;
msg_Dbg
(
p_intf
,
"applicationWillTerminate"
);
#define p_input p_intf->p_sys->p_input
if
(
p_input
)
...
...
@@ -1598,6 +1596,9 @@ increase/decrease as long as the user holds the left/right, plus/minus button */
if
(
nib_about_loaded
&&
o_about
)
[
o_about
release
];
if
(
nib_prefs_loaded
&&
o_prefs
)
[
o_prefs
release
];
if
(
nib_open_loaded
&&
o_open
)
[
o_open
release
];
...
...
@@ -1772,19 +1773,16 @@ increase/decrease as long as the user holds the left/right, plus/minus button */
-
(
IBAction
)
viewAbout
:(
id
)
sender
{
if
(
!
nib_about_loaded
)
{
nib_about_loaded
=
[
NSBundle
loadNibNamed
:
@"About"
owner
:
self
];
[
o_about
showPanel
];
}
else
{
[
o_about
showPanel
];
}
[
o_about
showPanel
];
}
-
(
IBAction
)
viewPreferences
:(
id
)
sender
{
/* GRUIIIIIIIK */
if
(
o_prefs
==
nil
)
o_prefs
=
[[
VLCPrefs
alloc
]
init
];
if
(
!
nib_prefs_loaded
)
nib_prefs_loaded
=
[
NSBundle
loadNibNamed
:
@"Preferences"
owner
:
self
];
[
o_prefs
showPrefs
];
}
...
...
modules/gui/macosx/prefs.m
View file @
7e380bd6
...
...
@@ -108,9 +108,6 @@ static VLCPrefs *_o_sharedMainInstance = nil;
-
(
void
)
showPrefs
{
/* load our nib (if not already loaded) */
[
NSBundle
loadNibNamed
:
@"Preferences"
owner
:
self
];
[
o_prefs_window
center
];
[
o_prefs_window
makeKeyAndOrderFront
:
self
];
}
...
...
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