Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
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 @@
...
@@ -248,6 +248,7 @@
deleteItem = id;
deleteItem = id;
handlePopUp = id;
handlePopUp = id;
playItem = id;
playItem = id;
savePlaylist = id;
searchItem = id;
searchItem = id;
selectAll = id;
selectAll = id;
sortNodeByAuthor = id;
sortNodeByAuthor = id;
...
...
extras/MacOSX/Resources/English.lproj/MainMenu.nib/info.nib
View file @
02a2bd1a
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<plist
version=
"1.0"
>
<plist
version=
"1.0"
>
<dict>
<dict>
<key>
IBDocumentLocation
</key>
<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>
<key>
IBEditorPositions
</key>
<dict>
<dict>
<key>
1617
</key>
<key>
1617
</key>
...
@@ -21,7 +21,6 @@
...
@@ -21,7 +21,6 @@
<array/>
<array/>
<key>
IBOpenObjects
</key>
<key>
IBOpenObjects
</key>
<array>
<array>
<integer>
2029
</integer>
<integer>
21
</integer>
<integer>
21
</integer>
</array>
</array>
<key>
IBSystem Version
</key>
<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 @@
...
@@ -92,6 +92,7 @@
-
(
IBAction
)
servicesChange
:(
id
)
sender
;
-
(
IBAction
)
servicesChange
:(
id
)
sender
;
-
(
IBAction
)
playItem
:(
id
)
sender
;
-
(
IBAction
)
playItem
:(
id
)
sender
;
-
(
IBAction
)
savePlaylist
:(
id
)
sender
;
-
(
IBAction
)
deleteItem
:(
id
)
sender
;
-
(
IBAction
)
deleteItem
:(
id
)
sender
;
-
(
IBAction
)
selectAll
:(
id
)
sender
;
-
(
IBAction
)
selectAll
:(
id
)
sender
;
-
(
IBAction
)
sortNodeByName
:(
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*/
...
@@ -392,6 +392,24 @@ belongs to an Apple hidden private API, and then can "disapear" at any time*/
return
NO
;
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 */
/* When called retrieves the selected outlineview row and plays that node or item */
-
(
IBAction
)
playItem
:(
id
)
sender
-
(
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