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 @@
<plist version="1.0">
<dict>
<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>
<dict>
<key>1617</key>
<string>691 686 104 149 0 0 1280 1002 </string>
<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>
<string>344 471 93 99 0 0 1024 746 </string>
<string>439 657 93 99 0 0 1280 1002 </string>
</dict>
<key>IBFramework Version</key>
<string>349.0</string>
......@@ -19,9 +19,8 @@
<array/>
<key>IBOpenObjects</key>
<array>
<integer>29</integer>
<integer>1617</integer>
<integer>1647</integer>
<integer>915</integer>
<integer>21</integer>
</array>
<key>IBSystem Version</key>
......
......@@ -2,7 +2,7 @@
* playlist.m: MacOS X interface plugin
*****************************************************************************
* 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>
* Derk-Jan Hartman <thedj@users.sourceforge.net>
......@@ -145,25 +145,6 @@
[o_loop_ckb setTitle: _NS("Repeat Playlist")];
[o_repeat_ckb setTitle: _NS("Repeat Item")];
[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
......@@ -426,11 +407,7 @@
- (void)playlistUpdated
{
vlc_value_t val;
[o_table_view reloadData];
intf_thread_t * p_intf = [NSApp getIntf];
playlist_t * p_playlist = vlc_object_find( p_intf, VLC_OBJECT_PLAYLIST,
FIND_ANYWHERE );
......@@ -447,6 +424,7 @@
vlc_object_release( p_playlist );
}
[o_table_view reloadData];
}
- (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