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
d253749f
Commit
d253749f
authored
Aug 02, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: Fix addNode:.
parent
ebac41cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+7
-7
No files found.
modules/gui/macosx/playlist.m
View file @
d253749f
...
...
@@ -1350,24 +1350,24 @@
int
ret_v
;
char
*
psz_name
=
NULL
;
playlist_item_t
*
p_item
;
ret_v
=
intf_UserStringInput
(
p_playlist
,
_
(
"New Node"
),
_
(
"Please enter a name for the new node."
),
&
psz_name
);
PL_LOCK
;
if
(
ret_v
!=
DIALOG_CANCELLED
&&
psz_name
&&
*
psz_name
)
p_item
=
playlist_NodeCreate
(
p_playlist
,
psz_name
,
{
playlist_NodeCreate
(
p_playlist
,
psz_name
,
p_playlist
->
p_local_category
,
0
,
NULL
);
}
else
if
(
!
config_GetInt
(
p_playlist
,
"interact"
)
)
{
/* in case that the interaction is disabled, just give it a bogus name */
p
_item
=
p
laylist_NodeCreate
(
p_playlist
,
_
(
"Empty Folder"
),
playlist_NodeCreate
(
p_playlist
,
_
(
"Empty Folder"
),
p_playlist
->
p_local_category
,
0
,
NULL
);
}
PL_UNLOCK
;
if
(
!
p_item
)
msg_Warn
(
VLCIntf
,
"node creation failed or cancelled by user"
);
vlc_object_release
(
p_playlist
);
pl_Release
(
VLCIntf
);
[
ourPool
release
];
}
...
...
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