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
02a2bd1a
Commit
02a2bd1a
authored
May 14, 2005
by
Benjamin Pracht
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore the save Playlist function (copy/paste from 0.8.1)
parent
e9ee83a8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
2 deletions
+21
-2
extras/MacOSX/Resources/English.lproj/MainMenu.nib/classes.nib
...s/MacOSX/Resources/English.lproj/MainMenu.nib/classes.nib
+1
-0
extras/MacOSX/Resources/English.lproj/MainMenu.nib/info.nib
extras/MacOSX/Resources/English.lproj/MainMenu.nib/info.nib
+1
-2
extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib
...s/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib
+0
-0
modules/gui/macosx/playlist.h
modules/gui/macosx/playlist.h
+1
-0
modules/gui/macosx/playlist.m
modules/gui/macosx/playlist.m
+18
-0
No files found.
extras/MacOSX/Resources/English.lproj/MainMenu.nib/classes.nib
View file @
02a2bd1a
...
...
@@ -248,6 +248,7 @@
deleteItem = id;
handlePopUp = id;
playItem = id;
savePlaylist = id;
searchItem = id;
selectAll = id;
sortNodeByAuthor = id;
...
...
extras/MacOSX/Resources/English.lproj/MainMenu.nib/info.nib
View file @
02a2bd1a
...
...
@@ -3,7 +3,7 @@
<plist
version=
"1.0"
>
<dict>
<key>
IBDocumentLocation
</key>
<string>
3
6 197 496 270 0 0 800 578
</string>
<string>
3
48 388 496 270 0 0 1024 746
</string>
<key>
IBEditorPositions
</key>
<dict>
<key>
1617
</key>
...
...
@@ -21,7 +21,6 @@
<array/>
<key>
IBOpenObjects
</key>
<array>
<integer>
2029
</integer>
<integer>
21
</integer>
</array>
<key>
IBSystem Version
</key>
...
...
extras/MacOSX/Resources/English.lproj/MainMenu.nib/objects.nib
View file @
02a2bd1a
No preview for this file type
modules/gui/macosx/playlist.h
View file @
02a2bd1a
...
...
@@ -92,6 +92,7 @@
-
(
IBAction
)
servicesChange
:(
id
)
sender
;
-
(
IBAction
)
playItem
:(
id
)
sender
;
-
(
IBAction
)
savePlaylist
:(
id
)
sender
;
-
(
IBAction
)
deleteItem
:(
id
)
sender
;
-
(
IBAction
)
selectAll
:(
id
)
sender
;
-
(
IBAction
)
sortNodeByName
:(
id
)
sender
;
...
...
modules/gui/macosx/playlist.m
View file @
02a2bd1a
...
...
@@ -392,6 +392,24 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/
return
NO
;
}
-
(
IBAction
)
savePlaylist
:(
id
)
sender
{
intf_thread_t
*
p_intf
=
VLCIntf
;
playlist_t
*
p_playlist
=
vlc_object_find
(
p_intf
,
VLC_OBJECT_PLAYLIST
,
FIND_ANYWHERE
);
NSSavePanel
*
o_save_panel
=
[
NSSavePanel
savePanel
];
NSString
*
o_name
=
[
NSString
stringWithFormat
:
@"%@.m3u"
,
_NS
(
"Untitled"
)];
[
o_save_panel
setTitle
:
_NS
(
"Save Playlist"
)];
[
o_save_panel
setPrompt
:
_NS
(
"Save"
)];
if
(
[
o_save_panel
runModalForDirectory
:
nil
file:
o_name
]
==
NSOKButton
)
{
playlist_Export
(
p_playlist
,
[[
o_save_panel
filename
]
fileSystemRepresentation
],
"export-m3u"
);
}
}
/* When called retrieves the selected outlineview row and plays that node or item */
-
(
IBAction
)
playItem
:(
id
)
sender
...
...
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