[vlc-devel] commit: macosx: add respective popup menu item to save HTML playlists ( Felix Paul Kühne )

git version control git at videolan.org
Sat Apr 18 00:30:30 CEST 2009


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Apr 18 00:30:25 2009 +0200| [9be75cd6c685381e98a948ca1a53b4b04b9cf38f] | committer: Felix Paul Kühne 

macosx: add respective popup menu item to save HTML playlists

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9be75cd6c685381e98a948ca1a53b4b04b9cf38f
---

 .../Resources/English.lproj/MainMenu.nib/info.nib  |    3 +++
 .../English.lproj/MainMenu.nib/keyedobjects.nib    |  Bin 120822 -> 120960 bytes
 modules/gui/macosx/playlist.m                      |    7 +++----
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/extras/package/macosx/Resources/English.lproj/MainMenu.nib/info.nib b/extras/package/macosx/Resources/English.lproj/MainMenu.nib/info.nib
index 5e61216..62e9195 100644
--- a/extras/package/macosx/Resources/English.lproj/MainMenu.nib/info.nib
+++ b/extras/package/macosx/Resources/English.lproj/MainMenu.nib/info.nib
@@ -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>
diff --git a/extras/package/macosx/Resources/English.lproj/MainMenu.nib/keyedobjects.nib b/extras/package/macosx/Resources/English.lproj/MainMenu.nib/keyedobjects.nib
index 3b8f7f6..5f94edf 100644
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
diff --git a/modules/gui/macosx/playlist.m b/modules/gui/macosx/playlist.m
index 22aa0ef..d01375d 100644
--- a/modules/gui/macosx/playlist.m
+++ b/modules/gui/macosx/playlist.m
@@ -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 at 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];




More information about the vlc-devel mailing list