Commit e53fc84b authored by David's avatar David
Browse files

macosx: Remove old and dead code

parent 6d1da70d
......@@ -52,8 +52,6 @@
- (void)playlistUpdated;
- (void)playbackModeUpdated;
- (void)updateTogglePlaylistState;
- (void)outlineViewSelectionDidChange:(NSNotification *)notification;
- (void)sortNode:(int)i_mode;
- (void)currentlyPlayingItemChanged;
......
......@@ -219,42 +219,6 @@
[_model playbackModeUpdated];
}
- (void)updateTogglePlaylistState
{
[self outlineViewSelectionDidChange: NULL];
}
- (void)outlineViewSelectionDidChange:(NSNotification *)notification
{
// // FIXME: unsafe
// playlist_item_t * p_item = [[_outlineView itemAtRow:[_outlineView selectedRow]] pointerValue];
//
// if (p_item) {
// /* update the state of our Reveal-in-Finder menu items */
// NSMutableString *o_mrl;
// char *psz_uri = input_item_GetURI(p_item->p_input);
//
// [o_mi_revealInFinder setEnabled: NO];
// [o_mm_mi_revealInFinder setEnabled: NO];
// if (psz_uri) {
// o_mrl = [NSMutableString stringWithUTF8String: psz_uri];
//
// /* perform some checks whether it is a file and if it is local at all... */
// NSRange prefix_range = [o_mrl rangeOfString: @"file:"];
// if (prefix_range.location != NSNotFound)
// [o_mrl deleteCharactersInRange: prefix_range];
//
// if ([o_mrl characterAtIndex:0] == '/') {
// [o_mi_revealInFinder setEnabled: YES];
// [o_mm_mi_revealInFinder setEnabled: YES];
// }
// free(psz_uri);
// }
//
// /* update our info-panel to reflect the new item */
// [[VLCInfo sharedInstance] updatePanelWithItem:p_item->p_input];
// }
}
- (BOOL)isSelectionEmpty
{
......
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