Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
db488b01
Commit
db488b01
authored
May 09, 2002
by
Jon Lech Johansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./plugins/macosx/intf_vlc_wrapper.c: menu code fixes.
parent
be43ab3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
plugins/macosx/intf_vlc_wrapper.c
plugins/macosx/intf_vlc_wrapper.c
+11
-6
No files found.
plugins/macosx/intf_vlc_wrapper.c
View file @
db488b01
...
...
@@ -2,7 +2,7 @@
* intf_vlc_wrapper.c: MacOS X plugin for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: intf_vlc_wrapper.c,v 1.1
2 2002/05/07 20:17:07 massiot
Exp $
* $Id: intf_vlc_wrapper.c,v 1.1
3 2002/05/09 16:15:15 jlj
Exp $
*
* Authors: Florian G. Pflug <fgp@phlo.org>
* Jon Lech Johansen <jon-vl@nanocrew.net>
...
...
@@ -492,23 +492,28 @@ static Intf_VLCWrapper *o_intf = nil;
-
(
void
)
setupMenus
{
#if 0
NSMenu * o_main_menu = [NSApp mainMenu];
NSMenuItem * o_program_item = [o_main_menu itemWithTitle:@"Program"];
#if 0
NSMenu *o_main_menu;
NSMenuItem *o_controls_item;
NSMenuItem *o_program_item;
o_main_menu = [NSApp mainMenu];
o_controls_item = [o_main_menu itemWithTitle: @"Controls"];
o_program_item = [[o_controls_item submenu] itemWithTitle: @"Program"];
if( p_input_bank->pp_input[0] == NULL )
{
NSMenu * o_program = [o_program_item submenu];
// [o_program_item setEnabled:0];
// [o_program removeItemAtIndex:0];
[o_program addItemWithTitle:@"Toto" action:nil keyEquivalent:@""]
[o_program addItemWithTitle: @"Toto" action: nil keyEquivalent: @""];
}
else
{
NSMenu * o_program = [o_program_item submenu];
// [o_program_item setEnabled:1];
// [o_program removeItemAtIndex:0];
[o_program addItemWithTitle:@"Toto" action:nil keyEquivalent:@""]
[o_program addItemWithTitle: @"Toto" action: nil keyEquivalent: @""];
}
#endif
}
...
...
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