Commit b48dc524 authored by Benjamin Pracht's avatar Benjamin Pracht

Added random, repeat one and repeat all checkboxes to the playlist

parent 63197875
...@@ -331,10 +331,13 @@ ...@@ -331,10 +331,13 @@
LANGUAGE = ObjC; LANGUAGE = ObjC;
OUTLETS = { OUTLETS = {
"o_ctx_menu" = id; "o_ctx_menu" = id;
"o_loop_ckb" = id;
"o_mi_delete" = id; "o_mi_delete" = id;
"o_mi_play" = id; "o_mi_play" = id;
"o_mi_save_playlist" = id; "o_mi_save_playlist" = id;
"o_mi_selectall" = id; "o_mi_selectall" = id;
"o_random_ckb" = id;
"o_repeat_ckb" = id;
"o_status_field" = id; "o_status_field" = id;
"o_table_view" = id; "o_table_view" = id;
"o_tc_author" = id; "o_tc_author" = id;
......
...@@ -3,15 +3,15 @@ ...@@ -3,15 +3,15 @@
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>IBDocumentLocation</key> <key>IBDocumentLocation</key>
<string>27 143 356 496 0 0 1280 1002 </string> <string>502 132 505 541 0 0 1024 746 </string>
<key>IBEditorPositions</key> <key>IBEditorPositions</key>
<dict> <dict>
<key>1617</key> <key>1617</key>
<string>691 686 104 149 0 0 1280 1002 </string> <string>691 686 104 149 0 0 1280 1002 </string>
<key>29</key> <key>29</key>
<string>165 930 419 44 0 0 1280 1002 </string> <string>116 681 419 44 0 0 1024 746 </string>
<key>915</key> <key>915</key>
<string>439 657 93 99 0 0 1280 1002 </string> <string>344 471 93 99 0 0 1024 746 </string>
</dict> </dict>
<key>IBFramework Version</key> <key>IBFramework Version</key>
<string>349.0</string> <string>349.0</string>
...@@ -19,8 +19,10 @@ ...@@ -19,8 +19,10 @@
<array/> <array/>
<key>IBOpenObjects</key> <key>IBOpenObjects</key>
<array> <array>
<integer>915</integer>
<integer>29</integer> <integer>29</integer>
<integer>21</integer> <integer>21</integer>
<integer>1647</integer>
</array> </array>
<key>IBSystem Version</key> <key>IBSystem Version</key>
<string>7C107</string> <string>7C107</string>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* playlist.h: MacOS X interface plugin * playlist.h: MacOS X interface plugin
***************************************************************************** *****************************************************************************
* Copyright (C) 2002-2003 VideoLAN * Copyright (C) 2002-2003 VideoLAN
* $Id: playlist.h,v 1.12 2003/11/12 01:22:40 hartman Exp $ * $Id: playlist.h,v 1.13 2003/11/16 11:21:48 bigben Exp $
* *
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net> * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Derk-Jan Hartman <thedj@users.sourceforge.net> * Derk-Jan Hartman <thedj@users.sourceforge.net>
...@@ -50,6 +50,10 @@ ...@@ -50,6 +50,10 @@
IBOutlet id o_mi_play; IBOutlet id o_mi_play;
IBOutlet id o_mi_delete; IBOutlet id o_mi_delete;
IBOutlet id o_mi_selectall; IBOutlet id o_mi_selectall;
IBOutlet id o_random_ckb;
IBOutlet id o_loop_ckb;
IBOutlet id o_repeat_ckb;
} }
- (NSMenu *)menuForEvent:(NSEvent *)o_event; - (NSMenu *)menuForEvent:(NSEvent *)o_event;
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* playlist.m: MacOS X interface plugin * playlist.m: MacOS X interface plugin
***************************************************************************** *****************************************************************************
* Copyright (C) 2002-2003 VideoLAN * Copyright (C) 2002-2003 VideoLAN
* $Id: playlist.m,v 1.38 2003/11/15 22:42:16 hartman Exp $ * $Id: playlist.m,v 1.39 2003/11/16 11:21:48 bigben Exp $
* *
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net> * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Derk-Jan Hartman <thedj@users.sourceforge.net> * Derk-Jan Hartman <thedj@users.sourceforge.net>
...@@ -140,6 +140,9 @@ ...@@ -140,6 +140,9 @@
[o_mi_selectall setTitle: _NS("Select All")]; [o_mi_selectall setTitle: _NS("Select All")];
[[o_tc_name headerCell] setStringValue:_NS("Name")]; [[o_tc_name headerCell] setStringValue:_NS("Name")];
[[o_tc_author headerCell] setStringValue:_NS("Author")]; [[o_tc_author headerCell] setStringValue:_NS("Author")];
[o_random_ckb setTitle: _NS("Random")];
[o_loop_ckb setTitle: _NS("Repeat All")];
[o_repeat_ckb setTitle: _NS("Repeat One")];
} }
- (BOOL)tableView:(NSTableView *)o_tv - (BOOL)tableView:(NSTableView *)o_tv
......
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