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
f38e73af
Commit
f38e73af
authored
Dec 23, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modules/macosx/playlist.m: Remove code that shouldn't be here, to re-enable services discovery.
parent
4449fe0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
24 deletions
+22
-24
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+22
-24
No files found.
modules/gui/macosx/playlist.m
View file @
f38e73af
...
...
@@ -400,30 +400,28 @@
char
*
objectname
;
NSMenuItem
*
o_lmi
;
if
(
!
strcmp
(
ppsz_services
[
i
],
"services_discovery"
)
)
{
char
*
name
=
ppsz_name
[
i
]
?
ppsz_name
[
i
]
:
ppsz_services
[
i
];
/* Check whether to enable these menuitems */
b_enabled
=
playlist_IsServicesDiscoveryLoaded
(
p_playlist
,
objectname
);
/* Create the menu entries used in the playlist menu */
o_lmi
=
[[
o_mi_services
submenu
]
addItemWithTitle
:
[
NSString
stringWithUTF8String
:
name
]
action:
@selector
(
servicesChange
:)
keyEquivalent:
@""
];
[
o_lmi
setTarget
:
self
];
[
o_lmi
setRepresentedObject
:
[
NSString
stringWithCString
:
ppsz_services
[
i
]]];
if
(
b_enabled
)
[
o_lmi
setState
:
NSOnState
];
/* Create the menu entries for the main menu */
o_lmi
=
[[
o_mm_mi_services
submenu
]
addItemWithTitle
:
[
NSString
stringWithUTF8String
:
name
]
action:
@selector
(
servicesChange
:)
keyEquivalent:
@""
];
[
o_lmi
setTarget
:
self
];
[
o_lmi
setRepresentedObject
:
[
NSString
stringWithCString
:
ppsz_services
[
i
]]];
if
(
b_enabled
)
[
o_lmi
setState
:
NSOnState
];
}
char
*
name
=
ppsz_name
[
i
]
?
ppsz_name
[
i
]
:
ppsz_services
[
i
];
/* Check whether to enable these menuitems */
b_enabled
=
playlist_IsServicesDiscoveryLoaded
(
p_playlist
,
objectname
);
/* Create the menu entries used in the playlist menu */
o_lmi
=
[[
o_mi_services
submenu
]
addItemWithTitle
:
[
NSString
stringWithUTF8String
:
name
]
action:
@selector
(
servicesChange
:)
keyEquivalent:
@""
];
[
o_lmi
setTarget
:
self
];
[
o_lmi
setRepresentedObject
:
[
NSString
stringWithCString
:
ppsz_services
[
i
]]];
if
(
b_enabled
)
[
o_lmi
setState
:
NSOnState
];
/* Create the menu entries for the main menu */
o_lmi
=
[[
o_mm_mi_services
submenu
]
addItemWithTitle
:
[
NSString
stringWithUTF8String
:
name
]
action:
@selector
(
servicesChange
:)
keyEquivalent:
@""
];
[
o_lmi
setTarget
:
self
];
[
o_lmi
setRepresentedObject
:
[
NSString
stringWithCString
:
ppsz_services
[
i
]]];
if
(
b_enabled
)
[
o_lmi
setState
:
NSOnState
];
free
(
ppsz_services
[
i
]
);
free
(
ppsz_name
[
i
]
);
}
...
...
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