[vlc-devel] commit: macosx: fix addition of empty folders to the playlist. needs some beautification later on. ( Felix Paul Kühne )
git version control
git at videolan.org
Tue Apr 7 19:46:50 CEST 2009
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Apr 7 18:52:22 2009 +0200| [fe273e3da4efec05af1471b0e1c28a831f690277] | committer: Felix Paul Kühne
macosx: fix addition of empty folders to the playlist. needs some beautification later on.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fe273e3da4efec05af1471b0e1c28a831f690277
---
modules/gui/macosx/playlist.m | 16 +---------------
1 files changed, 1 insertions(+), 15 deletions(-)
diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m
index 89216a8..8a81ce7 100644
--- a/modules/gui/macosx/playlist.m
+++ b/modules/gui/macosx/playlist.m
@@ -1458,23 +1458,9 @@
playlist_t * p_playlist = pl_Hold( VLCIntf );
vlc_thread_set_priority( p_playlist, VLC_THREAD_PRIORITY_LOW );
- int ret_v;
- char *psz_name = NULL;
- 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 )
- {
- 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 */
- playlist_NodeCreate( p_playlist, _("Empty Folder"),
+ playlist_NodeCreate( p_playlist, _("Empty Folder"),
p_playlist->p_local_category, 0, NULL );
- }
PL_UNLOCK;
free( psz_name );
More information about the vlc-devel
mailing list