Commit 9be75cd6 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: add respective popup menu item to save HTML playlists

parent 8b7e8225
......@@ -8,6 +8,8 @@
<dict>
<key>2197</key>
<string>342 506 596 123 0 0 1280 778 </string>
<key>2709</key>
<string>386 537 508 82 0 0 1280 778 </string>
<key>29</key>
<string>391 728 438 44 0 0 1280 778 </string>
<key>3568</key>
......@@ -28,6 +30,7 @@
<integer>29</integer>
<integer>21</integer>
<integer>2197</integer>
<integer>2709</integer>
</array>
<key>IBSystem Version</key>
<string>9G55</string>
......
/*****************************************************************************
* playlist.m: MacOS X interface module
*****************************************************************************
* Copyright (C) 2002-2008 the VideoLAN team
* Copyright (C) 2002-2009 the VideoLAN team
* $Id$
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
......@@ -193,7 +193,7 @@
if( o_value == nil )
{
/* Why is there a warning if that happens all the time and seems
/* FIXME: Why is there a warning if that happens all the time and seems
* to be normal? Add an assert and fix it.
* msg_Warn( VLCIntf, "playlist item misses pointer value, adding one" ); */
o_value = [[NSValue valueWithPointer: p_return] retain];
......@@ -462,7 +462,7 @@
[o_save_accessory_text setStringValue: _NS("File Format:")];
[[o_save_accessory_popup itemAtIndex:0] setTitle: _NS("Extended M3U")];
[[o_save_accessory_popup itemAtIndex:1] setTitle: _NS("XML Shareable Playlist Format (XSPF)")];
[[o_save_accessory_popup itemAtIndex:2] setTitle: _NS("HTML playlist")];
[[o_save_accessory_popup itemAtIndex:2] setTitle: _NS("HTML Playlist")];
}
- (void)playlistUpdated
......@@ -712,7 +712,6 @@
NSSavePanel *o_save_panel = [NSSavePanel savePanel];
NSString * o_name = [NSString stringWithFormat: @"%@", _NS("Untitled")];
//[o_save_panel setAllowedFileTypes: [NSArray arrayWithObjects: @"m3u", @"xpf", nil] ];
[o_save_panel setTitle: _NS("Save Playlist")];
[o_save_panel setPrompt: _NS("Save")];
[o_save_panel setAccessoryView: o_save_accessory_view];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment