Commit 11008861 authored by David's avatar David
Browse files

macosx: remove old playlist data source, remove unneeded outline view inits

parent 598ae833
...@@ -21,12 +21,12 @@ ...@@ -21,12 +21,12 @@
</object> </object>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs"> <object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool> <bool key="EncodedWithXMLCoder">YES</bool>
<integer value="5305"/>
<integer value="5605"/> <integer value="5605"/>
<integer value="4756"/>
<integer value="5265"/> <integer value="5265"/>
<integer value="5260"/> <integer value="21"/>
<integer value="4850"/> <integer value="4850"/>
<integer value="5260"/>
<integer value="5305"/>
</object> </object>
<object class="NSArray" key="IBDocument.PluginDependencies"> <object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool> <bool key="EncodedWithXMLCoder">YES</bool>
...@@ -2462,14 +2462,6 @@ ...@@ -2462,14 +2462,6 @@
</object> </object>
<int key="connectionID">5412</int> <int key="connectionID">5412</int>
</object> </object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">dataSource</string>
<reference key="source" ref="23448837"/>
<reference key="destination" ref="998338913"/>
</object>
<int key="connectionID">5599</int>
</object>
<object class="IBConnectionRecord"> <object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection"> <object class="IBOutletConnection" key="connection">
<string key="label">delegate</string> <string key="label">delegate</string>
......
...@@ -228,10 +228,6 @@ ...@@ -228,10 +228,6 @@
return; return;
playlist_t * p_playlist = pl_Get(VLCIntf); playlist_t * p_playlist = pl_Get(VLCIntf);
[o_outline_view setTarget: self];
[o_outline_view setDelegate: self];
[o_outline_view setAllowsEmptySelection: NO];
[o_outline_view expandItem: [o_outline_view itemAtRow:0]];
[self reloadStyles]; [self reloadStyles];
[self initStrings]; [self initStrings];
...@@ -240,8 +236,10 @@ ...@@ -240,8 +236,10 @@
[o_outline_view setDataSource:o_model]; [o_outline_view setDataSource:o_model];
[o_outline_view reloadData]; [o_outline_view reloadData];
[o_outline_view setTarget: self];
[o_outline_view setDoubleAction: @selector(playItem:)]; [o_outline_view setDoubleAction: @selector(playItem:)];
[o_outline_view setAllowsEmptySelection: NO];
[o_outline_view registerForDraggedTypes: [NSArray arrayWithObjects:NSFilenamesPboardType, @"VLCPlaylistItemPboardType", nil]]; [o_outline_view registerForDraggedTypes: [NSArray arrayWithObjects:NSFilenamesPboardType, @"VLCPlaylistItemPboardType", nil]];
[o_outline_view setIntercellSpacing: NSMakeSize (0.0, 1.0)]; [o_outline_view setIntercellSpacing: NSMakeSize (0.0, 1.0)];
......
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