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
bce30eb1
Commit
bce30eb1
authored
Dec 31, 2006
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* don't add an 'empty folder' if the user hit cancel when asked to enter a name for it
parent
a610989c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+6
-2
No files found.
modules/gui/macosx/playlist.m
View file @
bce30eb1
...
...
@@ -1341,15 +1341,19 @@ NSLog( @"expandable" );
playlist_item_t
*
p_item
;
ret_v
=
intf_UserStringInput
(
p_playlist
,
_
(
"New Node"
),
_
(
"Please enter a name for the new node."
),
&
psz_name
);
if
(
psz_name
!=
NULL
&&
psz_name
!=
""
)
p_item
=
playlist_NodeCreate
(
p_playlist
,
psz_name
,
p_playlist
->
p_local_category
,
0
);
else
else
if
(
!
config_GetInt
(
p_playlist
,
"interact"
)
)
{
/* in case that the interaction is disabled, just give it a bogus name */
p_item
=
playlist_NodeCreate
(
p_playlist
,
_
(
"Empty Folder"
),
p_playlist
->
p_local_category
,
0
);
}
if
(
!
p_item
)
msg_Warn
(
VLCIntf
,
"node creation failed"
);
msg_Warn
(
VLCIntf
,
"node creation failed
or cancelled by user
"
);
vlc_object_release
(
p_playlist
);
[
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