Commit 2a335dff authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* fixed the dockmenu. had gotten disconnected somehow.

* cleaned up the playlist source.
* set the correct sizing properties on the playlist buttons.
  bigben: see the bottom of the size panel of your inspector. when adding items
  always take this into account to make resize work correctly.
  also. windows are opened at the position where you save them when the nib is open.
  Always make sure the controller and playlist are to the upper left side.
parent 132df132
...@@ -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>497 164 505 541 0 0 1024 746 </string> <string>313 340 505 541 0 0 1280 1002 </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>116 681 419 44 0 0 1024 746 </string> <string>165 929 419 44 0 0 1280 1002 </string>
<key>915</key> <key>915</key>
<string>344 471 93 99 0 0 1024 746 </string> <string>439 657 93 99 0 0 1280 1002 </string>
</dict> </dict>
<key>IBFramework Version</key> <key>IBFramework Version</key>
<string>349.0</string> <string>349.0</string>
...@@ -19,9 +19,8 @@ ...@@ -19,9 +19,8 @@
<array/> <array/>
<key>IBOpenObjects</key> <key>IBOpenObjects</key>
<array> <array>
<integer>29</integer> <integer>1617</integer>
<integer>1647</integer> <integer>1647</integer>
<integer>915</integer>
<integer>21</integer> <integer>21</integer>
</array> </array>
<key>IBSystem Version</key> <key>IBSystem Version</key>
......
...@@ -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.45 2003/11/19 19:00:16 bigben Exp $ * $Id: playlist.m,v 1.46 2003/11/20 02:39:09 hartman 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>
...@@ -145,25 +145,6 @@ ...@@ -145,25 +145,6 @@
[o_loop_ckb setTitle: _NS("Repeat Playlist")]; [o_loop_ckb setTitle: _NS("Repeat Playlist")];
[o_repeat_ckb setTitle: _NS("Repeat Item")]; [o_repeat_ckb setTitle: _NS("Repeat Item")];
[o_search_button setTitle: _NS("Search")]; [o_search_button setTitle: _NS("Search")];
/*vlc_value_t val;
intf_thread_t * p_intf = [NSApp getIntf];
playlist_t * p_playlist = vlc_object_find( p_intf, VLC_OBJECT_PLAYLIST,
FIND_ANYWHERE );
if( p_playlist != NULL )
{
var_Get( p_playlist, "random", &val );
[o_random_ckb setState: val.b_bool];
var_Get( p_playlist, "loop", &val );
[o_loop_ckb setState: val.b_bool];
var_Get( p_playlist, "repeat", &val );
[o_repeat_ckb setState: val.b_bool];
vlc_object_release( p_playlist );
}*/
} }
- (BOOL)tableView:(NSTableView *)o_tv - (BOOL)tableView:(NSTableView *)o_tv
...@@ -426,11 +407,7 @@ ...@@ -426,11 +407,7 @@
- (void)playlistUpdated - (void)playlistUpdated
{ {
vlc_value_t val; vlc_value_t val;
[o_table_view reloadData];
intf_thread_t * p_intf = [NSApp getIntf]; intf_thread_t * p_intf = [NSApp getIntf];
playlist_t * p_playlist = vlc_object_find( p_intf, VLC_OBJECT_PLAYLIST, playlist_t * p_playlist = vlc_object_find( p_intf, VLC_OBJECT_PLAYLIST,
FIND_ANYWHERE ); FIND_ANYWHERE );
...@@ -447,6 +424,7 @@ ...@@ -447,6 +424,7 @@
vlc_object_release( p_playlist ); vlc_object_release( p_playlist );
} }
[o_table_view reloadData];
} }
- (void)updateRowSelection - (void)updateRowSelection
......
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