]> git.sesse.net Git - vlc/commitdiff
macosx: add respective popup menu item to save HTML playlists
authorFelix Paul Kühne <fkuehne@videolan.org>
Fri, 17 Apr 2009 22:30:25 +0000 (00:30 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Fri, 17 Apr 2009 22:30:25 +0000 (00:30 +0200)
extras/package/macosx/Resources/English.lproj/MainMenu.nib/info.nib
extras/package/macosx/Resources/English.lproj/MainMenu.nib/keyedobjects.nib
modules/gui/macosx/playlist.m

index 5e612163738061cfde93cf10200ce687ea09e37e..62e9195b69f40e55cf6dcf3164e5e660cc252b98 100644 (file)
@@ -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>
index 3b8f7f65ea1f297e27171a5689f2f50b280e4ca1..5f94edfde667a84d109a84e8f2ecf48b8863ac7f 100644 (file)
Binary files a/extras/package/macosx/Resources/English.lproj/MainMenu.nib/keyedobjects.nib and b/extras/package/macosx/Resources/English.lproj/MainMenu.nib/keyedobjects.nib differ
index 22aa0efd520d7392aa66f4934d75e2d9e6e114ff..d01375d9adb4a5b5a3dc9650959a1cadf6b06b03 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * 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>
 
     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];
     [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
     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];