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
4d0438ba
Commit
4d0438ba
authored
Aug 04, 2009
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: backport [
47318ef3
]
parent
a6fb7aec
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
28 additions
and
4 deletions
+28
-4
extras/package/macosx/Resources/English.lproj/MainMenu.nib/classes.nib
...e/macosx/Resources/English.lproj/MainMenu.nib/classes.nib
+4
-0
extras/package/macosx/Resources/English.lproj/MainMenu.nib/info.nib
...kage/macosx/Resources/English.lproj/MainMenu.nib/info.nib
+4
-4
extras/package/macosx/Resources/English.lproj/MainMenu.nib/keyedobjects.nib
...osx/Resources/English.lproj/MainMenu.nib/keyedobjects.nib
+0
-0
modules/gui/macosx/controls.h
modules/gui/macosx/controls.h
+1
-0
modules/gui/macosx/controls.m
modules/gui/macosx/controls.m
+17
-0
modules/gui/macosx/intf.h
modules/gui/macosx/intf.h
+1
-0
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+1
-0
No files found.
extras/package/macosx/Resources/English.lproj/MainMenu.nib/classes.nib
View file @
4d0438ba
...
@@ -328,6 +328,8 @@
...
@@ -328,6 +328,8 @@
<string>
NSMenuItem
</string>
<string>
NSMenuItem
</string>
<key>
o_mi_quit
</key>
<key>
o_mi_quit
</key>
<string>
NSMenuItem
</string>
<string>
NSMenuItem
</string>
<key>
o_mi_quitAfterPB
</key>
<string>
NSMenuItem
</string>
<key>
o_mi_random
</key>
<key>
o_mi_random
</key>
<string>
NSMenuItem
</string>
<string>
NSMenuItem
</string>
<key>
o_mi_readme
</key>
<key>
o_mi_readme
</key>
...
@@ -537,6 +539,8 @@
...
@@ -537,6 +539,8 @@
<string>
id
</string>
<string>
id
</string>
<key>
prev
</key>
<key>
prev
</key>
<string>
id
</string>
<string>
id
</string>
<key>
quitAfterPlayback
</key>
<string>
id
</string>
<key>
random
</key>
<key>
random
</key>
<string>
id
</string>
<string>
id
</string>
<key>
repeat
</key>
<key>
repeat
</key>
...
...
extras/package/macosx/Resources/English.lproj/MainMenu.nib/info.nib
View file @
4d0438ba
...
@@ -10,15 +10,15 @@
...
@@ -10,15 +10,15 @@
<integer>
4
</integer>
<integer>
4
</integer>
<key>
IBOpenObjects
</key>
<key>
IBOpenObjects
</key>
<array>
<array>
<integer>
29
</integer>
<integer>
4470
</integer>
<integer>
2709
</integer>
<integer>
2416
</integer>
<integer>
2416
</integer>
<integer>
3568
</integer>
<integer>
3568
</integer>
<integer>
4470
</integer>
<integer>
235
</integer>
<integer>
21
</integer>
<integer>
21
</integer>
<integer>
2709
</integer>
</array>
</array>
<key>
IBSystem Version
</key>
<key>
IBSystem Version
</key>
<string>
9L
27
</string>
<string>
9L
30
</string>
<key>
targetFramework
</key>
<key>
targetFramework
</key>
<string>
IBCocoaFramework
</string>
<string>
IBCocoaFramework
</string>
</dict>
</dict>
...
...
extras/package/macosx/Resources/English.lproj/MainMenu.nib/keyedobjects.nib
View file @
4d0438ba
No preview for this file type
modules/gui/macosx/controls.h
View file @
4d0438ba
...
@@ -71,6 +71,7 @@
...
@@ -71,6 +71,7 @@
-
(
IBAction
)
repeat
:(
id
)
sender
;
-
(
IBAction
)
repeat
:(
id
)
sender
;
-
(
IBAction
)
loop
:(
id
)
sender
;
-
(
IBAction
)
loop
:(
id
)
sender
;
-
(
IBAction
)
repeatButtonAction
:(
id
)
sender
;
-
(
IBAction
)
repeatButtonAction
:(
id
)
sender
;
-
(
IBAction
)
quitAfterPlayback
:(
id
)
sender
;
/* the three ugly helpers again */
/* the three ugly helpers again */
-
(
void
)
repeatOne
;
-
(
void
)
repeatOne
;
...
...
modules/gui/macosx/controls.m
View file @
4d0438ba
...
@@ -396,6 +396,16 @@
...
@@ -396,6 +396,16 @@
pl_Release
(
p_intf
);
pl_Release
(
p_intf
);
}
}
-
(
IBAction
)
quitAfterPlayback
:(
id
)
sender
{
vlc_value_t
val
;
playlist_t
*
p_playlist
=
pl_Hold
(
VLCIntf
);
var_Get
(
p_playlist
,
"play-and-exit"
,
&
val
);
val
.
b_bool
=
!
val
.
b_bool
;
var_Set
(
p_playlist
,
"play-and-exit"
,
val
);
pl_Release
(
VLCIntf
);
}
-
(
IBAction
)
forward
:(
id
)
sender
-
(
IBAction
)
forward
:(
id
)
sender
{
{
intf_thread_t
*
p_intf
=
VLCIntf
;
intf_thread_t
*
p_intf
=
VLCIntf
;
...
@@ -1059,6 +1069,13 @@
...
@@ -1059,6 +1069,13 @@
i_state
=
val
.
b_bool
?
NSOnState
:
NSOffState
;
i_state
=
val
.
b_bool
?
NSOnState
:
NSOffState
;
[
o_mi
setState
:
i_state
];
[
o_mi
setState
:
i_state
];
}
}
else
if
(
[[
o_mi
title
]
isEqualToString
:
_NS
(
"Quit after Playback"
)]
)
{
int
i_state
;
var_Get
(
p_playlist
,
"play-and-exit"
,
&
val
);
i_state
=
val
.
b_bool
?
NSOnState
:
NSOffState
;
[
o_mi
setState
:
i_state
];
}
else
if
(
[[
o_mi
title
]
isEqualToString
:
_NS
(
"Step Forward"
)]
||
else
if
(
[[
o_mi
title
]
isEqualToString
:
_NS
(
"Step Forward"
)]
||
[[
o_mi
title
]
isEqualToString
:
_NS
(
"Step Backward"
)]
||
[[
o_mi
title
]
isEqualToString
:
_NS
(
"Step Backward"
)]
||
[[
o_mi
title
]
isEqualToString
:
_NS
(
"Jump To Time"
)])
[[
o_mi
title
]
isEqualToString
:
_NS
(
"Jump To Time"
)])
...
...
modules/gui/macosx/intf.h
View file @
4d0438ba
...
@@ -209,6 +209,7 @@ struct intf_sys_t
...
@@ -209,6 +209,7 @@ struct intf_sys_t
IBOutlet
NSMenuItem
*
o_mi_random
;
IBOutlet
NSMenuItem
*
o_mi_random
;
IBOutlet
NSMenuItem
*
o_mi_repeat
;
IBOutlet
NSMenuItem
*
o_mi_repeat
;
IBOutlet
NSMenuItem
*
o_mi_loop
;
IBOutlet
NSMenuItem
*
o_mi_loop
;
IBOutlet
NSMenuItem
*
o_mi_quitAfterPB
;
IBOutlet
NSMenuItem
*
o_mi_fwd
;
IBOutlet
NSMenuItem
*
o_mi_fwd
;
IBOutlet
NSMenuItem
*
o_mi_bwd
;
IBOutlet
NSMenuItem
*
o_mi_bwd
;
IBOutlet
NSMenuItem
*
o_mi_fwd1m
;
IBOutlet
NSMenuItem
*
o_mi_fwd1m
;
...
...
modules/gui/macosx/intf.m
View file @
4d0438ba
...
@@ -645,6 +645,7 @@ static VLCMain *_o_sharedMainInstance = nil;
...
@@ -645,6 +645,7 @@ static VLCMain *_o_sharedMainInstance = nil;
[
o_mi_random
setTitle
:
_NS
(
"Random"
)];
[
o_mi_random
setTitle
:
_NS
(
"Random"
)];
[
o_mi_repeat
setTitle
:
_NS
(
"Repeat One"
)];
[
o_mi_repeat
setTitle
:
_NS
(
"Repeat One"
)];
[
o_mi_loop
setTitle
:
_NS
(
"Repeat All"
)];
[
o_mi_loop
setTitle
:
_NS
(
"Repeat All"
)];
[
o_mi_quitAfterPB
setTitle
:
_NS
(
"Quit after Playback"
)];
[
o_mi_fwd
setTitle
:
_NS
(
"Step Forward"
)];
[
o_mi_fwd
setTitle
:
_NS
(
"Step Forward"
)];
[
o_mi_bwd
setTitle
:
_NS
(
"Step Backward"
)];
[
o_mi_bwd
setTitle
:
_NS
(
"Step Backward"
)];
...
...
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